SkillTrust

← All skills

setup-pre-commit

80 / 100 · Low risk

Fine to try. Some of what it can do is expected: a coding skill usually runs build and test commands.

By mattpocock/skills (GitHub) · coding · 321,467 stars · scanned at commit 4ae2317

Set up Husky pre-commit hooks with lint-staged (Prettier), type checking, and tests in the current repo. Use when user wants to add pre-commit hooks, set up Husky, configure lint-staged, or add commit-time formatting/typechecking/testing.

Works with any agent that supports SKILL.md skills.

What this skill can do

Downloads and installs other software

The author does not mention this.

Found in 3 places.

Runs commands on your computer

The author does not mention this. Expected for a coding skill.

Found in 1 place.

Install

Paste this into your terminal. It downloads exactly the version we scanned, not whatever is newest.

if [ -e ~/.agents/skills/'setup-pre-commit' ] || [ -L ~/.agents/skills/'setup-pre-commit' ]; then echo 'A skill folder named setup-pre-commit already exists — not replacing it' >&2; false; else d=$(mktemp -d) && git clone --quiet --filter=blob:none --no-checkout 'https://github.com/mattpocock/skills' "$d" && git -C "$d" checkout --quiet '4ae2317ddb22b046e26455e4f9c9b3aaaf62212d' -- 'skills/misc/setup-pre-commit' && mkdir -p ~/.agents/skills && cp -R "$d"/'skills/misc/setup-pre-commit' ~/.agents/skills/'setup-pre-commit' && rm -rf "$d"; fi

Codex reads ~/.agents/skills directly. For Claude Code, Cursor, Copilot, Gemini CLI, Antigravity or OpenCode, also link it. For Claude Code: ln -s ~/.agents/skills/'setup-pre-commit' ~/.claude/skills/'setup-pre-commit' (other agents: ~/.cursor/skills, ~/.copilot/skills, ~/.gemini/skills, ~/.gemini/config/skills, ~/.config/opencode/skills). Or install through the finder skill, which does both.

Badge for your README

The badge for mattpocock/skills shows the score of its lowest-scoring skill.

SkillTrust badge for mattpocock/skills

[![SkillTrust](https://zalavijaysinh.github.io/skilltrust/badges/mattpocock/skills.svg)](https://zalavijaysinh.github.io/skilltrust/repos/mattpocock/skills/)

Score history

DateVersionScore
2026-11-084ae231780
2026-11-074ae231780