git-safety
Installation
SKILL.md
Git Safety Rules for AI Agents
🚫 CRITICAL: Protected Branch Rules
AI agents must NEVER commit to or push to protected branches under any circumstances.
Protected Branches
main- Primary production branchlatest- Latest stable releaserelease/*- Release branches (e.g.,release/v2.0.0)
This is a non-negotiable rule that applies to all scenarios: