Husky
Git hooks made easy 🐶 woof!
Install / Use
/learn @typicode/HuskyREADME
husky
Modern native Git hooks made easy
Husky improves your commits and more 🐶 woof!
[!NOTE] Using React? See MistCSS typed CSS components.
Features
- Just
2 kB(📦 gzipped) with no dependencies - Fastest due to being lightweight (runs in
~1ms) - Uses new Git feature (
core.hooksPath) - Supports:
- macOS, Linux, Windows
- Git GUIs, Node version managers, custom hooks directory, nested projects, monorepos
- All 13 client-side Git hooks
And more:
- Branch-specific hooks
- Use POSIX shell to script advanced cases
- Adheres to Git's native hook organization
- Aligns with npm best practices using
preparescript - Opt-in/opt-out options
- User-friendly error messages
Changelog
Check out the v9 changelog to discover all the new and improved features!
Documentation
https://typicode.github.io/husky
Important Upgrading from v4 to v9 requires migrating previous config, please see the docs.
Sponsors
Support this project by becoming a sponsor here 💖
GitHub
<p align="center"> <a href="http://git-tower.com/?utm_source=husky&utm_medium=referral"> <img height="100" style="height: 100px; width: auto; max-width: none;" alt="Git Tower" src="https://camo.githubusercontent.com/4b4d0ae4ec27fe8591b575c86fe21c562f34926893272dccc05fbf0447d38694/68747470733a2f2f6a736f6e706c616365686f6c6465722e74797069636f64652e636f6d2f746f7765722d69636f6e2d616e642d6c6f676f2d31343030783236302e706e67" /> </a> </p> <p align="center"> <a href="https://serpapi.com/?utm_source=typicode"> <img height="100" style="height: 100px; width: auto; max-width: none;" src="https://github.com/user-attachments/assets/52b3039d-1e4c-4c68-951c-93f0f1e73611" alt="SerpApi" /> </a> </p> <p align="center"> <a href="../docs/sponsorkit/sponsors.svg"> <img src='../docs/sponsorkit/sponsors.svg'/> </a> </p>Open Collective
<a href="https://opencollective.com/husky/tiers/company/0/website"><img src="https://opencollective.com/husky/tiers/company/0/avatar.svg?avatarHeight=120"></a>
<a href="https://opencollective.com/husky/tiers/company/1/website"><img src="https://opencollective.com/husky/tiers/company/1/avatar.svg?avatarHeight=120"></a>
<a href="https://opencollective.com/husky/tiers/company/2/website"><img src="https://opencollective.com/husky/tiers/company/2/avatar.svg?avatarHeight=120"></a>
<a href="https://opencollective.com/husky/tiers/company/3/website"><img src="https://opencollective.com/husky/tiers/company/3/avatar.svg?avatarHeight=120"></a>
<a href="https://opencollective.com/husky/tiers/company/4/website"><img src="https://opencollective.com/husky/tiers/company/4/avatar.svg?avatarHeight=120"></a>
<a href="https://opencollective.com/husky/tiers/company/5/website"><img src="https://opencollective.com/husky/tiers/company/5/avatar.svg?avatarHeight=120"></a>
Related Skills
apple-reminders
337.3kManage Apple Reminders via remindctl CLI (list, add, edit, complete, delete). Supports lists, date filters, and JSON/plain output.
gh-issues
337.3kFetch GitHub issues, spawn sub-agents to implement fixes and open PRs, then monitor and address PR review comments. Usage: /gh-issues [owner/repo] [--label bug] [--limit 5] [--milestone v1.0] [--assignee @me] [--fork user/repo] [--watch] [--interval 5] [--reviews-only] [--cron] [--dry-run] [--model glm-5] [--notify-channel -1002381931352]
healthcheck
337.3kHost security hardening and risk-tolerance configuration for OpenClaw deployments
node-connect
337.3kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
