Download

skill · Testing & QA

Setup Pre Commit

by mattpocock

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…

Calyban is a free desktop app. It checks Setup Pre Commit for red flags before installing, lets you choose the agent and folder, and undoes it in one click.

Install Setup Pre Commit manually

Prefer the terminal? This does the same thing as Calyban's install.

Claude Code

git clone --depth 1 https://github.com/mattpocock/skills.git calyban-tmp-setup-pre-commit
mkdir -p ~/.claude/skills
cp -r calyban-tmp-setup-pre-commit/skills/misc/setup-pre-commit ~/.claude/skills/setup-pre-commit
rm -rf calyban-tmp-setup-pre-commit

Codex

git clone --depth 1 https://github.com/mattpocock/skills.git calyban-tmp-setup-pre-commit
mkdir -p ~/.codex/skills
cp -r calyban-tmp-setup-pre-commit/skills/misc/setup-pre-commit ~/.codex/skills/setup-pre-commit
rm -rf calyban-tmp-setup-pre-commit

Start a new Claude Code, Codex & more session afterwards so it picks up the change.

Similar skills

All skills →

Guides

Listed in the public Calyban catalog. Setup Pre Commit is made by mattpocock, not Calyban. Inclusion isn't an endorsement and safety checks aren't a guarantee.