SKILL.md
<skill_doc>
Git Standards & Protocols
🛑 SAFETY CHECKS (Critical)
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/,nodemodules/,.DSStore.
Action: If found, UNSTAGE immediately and warn user.
📝 Commit Protocol (Conventional)
Format: <type>(<scope>): <description>
| Type | Meaning |
|---|---|
feat |
New feature |
fix |
Bug fix |
docs |
Documentation only |
refactor |
Code change (no feature/fix) |
perf |
Performance improvement |
test |
Adding/fixing tests |
chore |
Build/auxiliary tools |
Examples:
feat(auth): add google oauth providerfix(login): handle null session token
🚀 PR Protocol
Title: Matches commit format. Body:
## Why
(Context/Problem)
## What
(Summary of changes)
## Verification
- [ ] Tests
- [ ] Manual Check
</skill_doc>