commit
Installation
SKILL.md
Git Commit Skill
Sensitive File Guard
Before staging, scan git status for sensitive patterns:
.env*,*.pem,*.key,*.p12,*.pfx*.tfstate,*.tfvars(with real values)credentials.json,serviceAccountKey.json,*secret*
If a match is found:
- Append the missing pattern to
.gitignoreand stage.gitignore. - If already tracked, warn and suggest
git rm --cached <file>. - Never proceed with committing a sensitive file.