Safe Git & PR Workflow Assistant

•
343
•

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.

Características Principales

01Monorepo-safe directory-level checkout and merge protocols
02343 GitHub stars
03Advanced branch auditing for squash and rebase merge verification
04Automated GitHub PR creation with mandatory summaries and test plans
05Fail-closed security checks for all destructive Git operations
06Standardized branch naming conventions (feat/, fix/, docs/, etc.)

Casos de Uso

01Standardizing team-wide PR reviews and documentation requirements
02Auditing and cleaning up local/remote branches after large-scale PR merges
03Safely merging specific sub-directories in a Monorepo without data loss