This skill automates the setup of Husky pre-commit hooks in a JavaScript/TypeScript repository. It walks an agent through detecting the package manager, installing Husky, lint-staged, and Prettier, configuring hook files, and verifying the setup with a smoke-test commit. It also handles optional typecheck and test script integration.
Domains: development, cloud-devops · Tags: frontend, devops, pre-commit-hooks, code-formatting · 1 downloads
mkdir -p .claude/skills
curl -sSL https://skillpatch.dev/install_skill/setup-pre-commit | tar -xz -C .claude/skills/Works with Claude Code, Cursor, GitHub Copilot, Codex and any agent that reads the open SKILL.md standard. Every skill on SkillPatch passes an automated 6-dimension security review before it is published.
Browse all skills · What are agent skills? · Quick setup guide