git-standards
Installation
SKILL.md
<skill_doc>
Git Standards & Protocols
🛑 SAFETY CHECKS (Critical)
Tool Enforcement:
Use the git_safe tool for all git operations (status, diff, log, add, commit, push).
Manual Agent Checks:
Before ANY commit, scan staged files using git_safe(action: "diff", target: "--cached") for:
- Secrets:
.env,*_KEY,*_SECRET,password,token. - Large Files: Anything >10MB or binary files.
- Build Artifacts:
dist/,node_modules/,.DS_Store. Action: If found, UNSTAGE immediately and warn user.
📝 Commit Protocol (Conventional)
Format: <type>(<scope>): <description>