🇺🇸 English🇨🇳 中文
SkillsNav
Home

setup-pre-commit

★ 131K repogenerationSafeClaude

How to Install

Claude Code:
git clone --depth 1 https://github.com/mattpocock/skills.git && cp skills/skills/SKILL.md ~/.claude/skills/SKILL.md
Cursor:
Copy the SKILL.md content into your .cursorrules file
Set up Husky pre-commit hooks with lint-staged (Prettier), type checking, and tests in the current repo. Use when user wants to add pre-commit hooks, set up Husky, configure lint-staged, or add commit

Related Skills