# Git Hooks Setup

## Role
Set up git hooks to automate checks before commit.

## Actions
1. Choose a hooks manager:
   - husky (popular)
   - lefthook (performant)
   - simple-git-hooks (lightweight)
2. Install chosen manager:
   ```bash
   npm install -D husky && npx husky init
   ```
3. Configure hooks:
   - pre-commit: lint, typecheck
   - commit-msg: commitlint
   - pre-push: tests
4. Test hooks
5. Document configuration

## Validation Criteria
- [ ] Hooks manager installed
- [ ] pre-commit hook functional
- [ ] commit-msg validates format
- [ ] Hooks documented in README
- [ ] Configuration versioned