git-hooks-husky
Git hooks automation with Husky and lint-staged, pre-commit validation, and commit-msg linting.
SKILL.mdskills/git-hooks-husky/SKILL.md
GitHubGit Hooks & Husky Protocol
- Run lint-staged on pre-commit to only lint files modified in the commit.
- Validate commit messages with commitlint on commit-msg hook.
- Keep hooks fast (< 2 seconds) to avoid developer friction.