husky
Installation
SKILL.md
Husky
Overview
Husky manages Git hooks from package.json. Run linters, formatters, tests, and commit checks automatically before commits and pushes.
Instructions
Step 1: Setup
npm install -D husky lint-staged
npx husky init
Step 2: Pre-commit Hook
# .husky/pre-commit — Run lint-staged before each commit
npx lint-staged