pre-commit-check
Installation
SKILL.md
Pre-Commit Check
This is a strict guideline. Follow these rules exactly.
Before any commit, review only the staged files against three gates. All three must pass.
Gate 1: Security
Delegate to the security-checklist skill. Scan staged files for:
- Hardcoded secrets, API keys, tokens, passwords
.envfiles with real values- Credentials, private keys, connection strings
If found: STOP. Do not proceed to Gate 2.