Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Requires pull requests for all changes to main, forbidding local merges and direct pushes, and guides coordinator batch-merging of open PRs.
Use this skill ↓41% 64%+23 ptsof test cases passed
Passed 14 of 22 test cases with the skill, and 9 of 22 without it.
3 of 3 safety checks passed
Not used yet
Principle: All work targeting main (or production-equivalent branch) must go through Pull Request on GitHub/GitLab/Gitea/etc. — never git merge locally followed by git push origin main. No exceptions across any Git-based project using collaborative workflows.
Permanent paper trail. PRs remain indexed and shareable forever — a link for documentation, retrospectives, and future debugging ("when did this change land? what was the context?"). git log alone cannot answer "what was tried, rejected, or decided?"
Squash-merge consolidates. PR allows squashing 5–10 local commits into 1 clean commit per feature. Main remains auditable (1 line per logical change, not 50 noisy commits).
Revert is trivial. GitHub's "Revert" button creates a reverse PR; manual git revert <sha> is error-prone in squashed histories and causes merge conflicts.
CI/CD gates. Pipelines configured to run on PR catch regressions that local pre-commit hooks miss (E2E tests, security scans, integration tests, etc.).
Branch protection enforcement. Production branches should be protected; direct push is blocked anyway. PR is the only path.
Discoverability. PR list shows what's in flight to other team members and future sessions — git log local context does not.
1. Work on feature/fix/* branch (never directly on main)
2. Make local commits with clear messages (Conventional Commits preferred)
3. git push -u origin <branch>
4. gh pr create --title "..." --body "..." (or web UI if preferred)
5. Wait for CI to pass (if configured)
6. Merge via UI (squash-merge for features, merge-commit for complex hotfixes)
7. Branch auto-deleted post-merge
AI responsibility: Execute gh pr create programmatically — do not ask the human to open UI. Return the PR URL for visibility.
git checkout main && git merge feature/x && git push → forbidden, even as solo maintainerSkills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.