modbender/skill-library-mcp/husky-gen
Claude Code and agent skill by modbender/skill-library-mcp
- community
- ext:[{"type":"hook","description":"Pre/post lifecycle hooks"}]
Checking that the SKILL.md file is still in the repository.
Set up git hooks tailored to your project. Use when adding pre-commit hooks.
Install
npx vskill@latest install modbender/skill-library-mcp/husky-genSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
The same SKILL.md was published earlier as modbender/skill-library-mcp/husky-gen.
Husky Generator
Git hooks are powerful but setting them up is a pain. This tool analyzes your project and creates the right hooks for your workflow.
One command. Zero config. Just works.
Quick Start
What It Does
- Installs and configures Husky
- Creates pre-commit hooks for linting staged files
- Sets up pre-push hooks for running tests
- Adds commit-msg hook for conventional commits
Usage Examples
Best Practices
- Lint staged files only - don't lint the whole codebase
- Run tests on push - catch issues before PR
- Keep hooks fast - slow hooks get bypassed
- Make them skippable - --no-verify for emergencies
When to Use This
- Setting up a new project with git hooks
- Adding code quality checks to existing project
- Enforcing commit message format
- Standardizing pre-commit workflow
Part of the LXGIC Dev Toolkit
This is one of 110+ free developer tools built by LXGIC Studios. No paywalls, no sign-ups, no API keys on free tiers. Just tools that work.
Find more:
- GitHub: https://github.com/LXGIC-Studios
- Twitter: https://x.com/lxgicstudios
- Substack: https://lxgicstudios.substack.com
- Website: https://lxgic.dev
Requirements
No install needed. Just run with npx. Node.js 18+ recommended. Needs OPENAI_API_KEY environment variable.
How It Works
Analyzes your package.json to determine what linters, formatters, and test runners you use. Then generates appropriate Husky hooks that run the right commands at the right times.
License
MIT. Free forever. Use it however you want.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingdata/husky-gen/SKILL.md
Popularity
- 7-day trend score
- 5
Not refreshed yet.
Extension points
hookPre/post lifecycle hooks
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/modbender/skill-library-mcp/husky-gen)