AI AGENT ADDONS

Husky and lint-staged help you run checks on your code before each commit. They automatically format your files with Prettier, check for type errors, and run your tests. This catches mistakes early and keeps your code consistent.

Setting up these tools takes just a few steps. You install the dependencies, initialize Husky, and create a pre-commit hook file. The hook runs lint-staged on staged files first, then runs typecheck and test scripts. This way every commit meets your quality standards.

No more forgetting to format or running tests manually. Your team gets cleaner code with less effort.

Add Setup Pre Commit skill to your workflow

Global

mkdir -p ~/.claude/skills/setup-pre-commit

Project

mkdir -p .claude/skills/setup-pre-commit

Source Repository

Stars
1,155
Forks
104
Watchers
1,155
License
MIT
Last Push
1 month ago
Created
2 months ago