Husky.Net
Lint your commit messages, run tests, format or analyze code, and perform any other checks automatically when you commit or push. 🚀
Install / Use
/learn @alirezanet/Husky.NetREADME
Husky.Net

Introduction
Husky improves your commits and more 🐶 woof! Run linters against staged git files and don't let 💩 slip into your code base!
Inspired by the awesome Husky and lint-staged tools from the JS world, I built Husky.Net to bring the same power and simplicity to .NET developers — and then some! It lets you lint your commit messages, run tests, format or analyze code, and perform any other checks automatically when you commit or push. 🚀
Features
- 🔥 It brings the dev-dependency concept to the .NET world!
- 🔥 Internal task runner!
- 🔥 Supports all Git & gitflow hooks
- Multiple file states (staged, last-commit, git-files, etc...)
- CSharp scripts (csx)
- Supports macOS, Linux and Windows
- Powered by modern new Git feature (core.hooksPath)
- User-define variables
- Compatible with dotnet-format, CSharpier, ReSharper command line tools and other formatting tools
- User-friendly messages
- Git GUIs
- Custom directories
- Monorepo
Documentation
Support
- Don't forget to give a ⭐ on GitHub
- Share your feedback and ideas to improve this tool
- Share Husky.Net on your favorite social media and your friends
- Write a blog post about Husky.Net
Articles / Examples
- Pre-commit hooks with Husky.NET - build, format, and test your .NET application before a Git commit
- Automatically version and release .Net Application by @antosubash
- <span dir="rtl" align="right">چرا باید از Git Hooks استفاده کنیم؟ معرفی Husky.Net</span>
- Comming soon
Contribution
Feel free to send me a pull request!
Check out the Contribution Page
Contributors
Thank you to everyone who has contributed to the Huskt.Net codebase. We appreciate you!
<a href="https://github.com/alirezanet/Husky.Net/graphs/contributors"> <img src="https://contrib.rocks/image?repo=alirezanet/Husky.Net" /> </a>Credits
- This tool inspired of husky & lint-staged and a few other tools, for DotNet, so make sure to support them too!
License
Related Skills
apple-reminders
334.5kManage Apple Reminders via remindctl CLI (list, add, edit, complete, delete). Supports lists, date filters, and JSON/plain output.
gh-issues
334.5kFetch 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
334.5kHost security hardening and risk-tolerance configuration for OpenClaw deployments
node-connect
334.5kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
