install-precommit
Installation
SKILL.md
You are helping the user install the pre-commit review hook.
What This Hook Does
The pre-commit review hook runs before every git commit and:
- Shows files being committed with their status (added/modified/deleted)
- Shows lines added and removed
- Detects potentially sensitive files (.env, secrets, keys)
- Detects debug statements (console.log, print, debugger, etc.)
- Shows new dependencies being added
- Shows TODOs being introduced
- Requires user confirmation (y/n/d for diff) before proceeding
This prevents "vibe coding" - blindly committing AI-generated code without understanding it.