setup-pre-commit
Installation
SKILL.md
Setup Pre-Commit Hooks
Hook System Detection
Two systems are in use across projects. Detect which one applies:
| Signal | System |
|---|---|
.pre-commit-config.yaml present |
pre-commit (Python tool) |
.husky/ directory present |
Husky (Node.js) |
| Neither | Default to Husky for Node projects, pre-commit for Python projects |
Required Hooks (Both Systems)
Every active project must have these three hooks: