Safe Git & PR Workflow Assistant
Enforces secure Git protocols, Monorepo-safe merges, and automated GitHub PR management with fail-closed safety checks.
This skill provides a comprehensive framework for managing complex Git lifecycles, specifically optimized for collaborative environments and Monorepo architectures. It standardizes branch naming, automates the creation and review of GitHub Pull Requests via the 'gh' CLI, and implements a sophisticated auditing system for cleaning up stale branches—even those merged via squash or rebase. By enforcing a 'fail-closed' safety protocol, the skill ensures that destructive actions like force pushes or hard resets are never performed without explicit user consent, while directory-level checkout rules prevent accidental file loss during cross-module merges.