setup-husky
Git64 downloads · by community
Install Husky git hooks with pre-commit lint-staged and commit-msg checks
Install
npx @claudeskill/cli install setup-huskyWhat this skill does
Installs Husky and wires up pre-commit and commit-msg hooks. Adds lint-staged with a sensible default for staged files, hooks up commitlint with conventional-commits rules, and updates package.json scripts so the setup survives fresh clones. Plays nicely with monorepos via Turborepo or Nx.
Use cases
- Blocking lint and type errors at commit time
- Enforcing conventional commit messages
- Running format-only on staged files for fast feedback
- Setting up a consistent dev workflow across a team