git-guardrails
Installation
SKILL.md
Skill: Git Guardrails
Use this skill for Git operations and repository safety.
Never Do Without Explicit Approval
git reset --hardgit clean -fdor strongergit checkout -- <path>to discard changes- force push
- deleting branches or tags
Before Commit
- Inspect
git status. - Inspect
git diff. - Inspect recent commits for message style.
- Stage only intended files.
- Do not commit secrets.