<< All versions
Skill v1.0.0
Automated scandiegosouzapw/awesome-omni-skill/git-pr-merge-mattg101
──Details
PublishedMarch 25, 2026 at 05:47 AM
Content Hashsha256:e3b0c44298fc1c14...
Git SHAdiscovery:3d
──Files
Files (1 file, 1.3 KB)
SKILL.md1.3 KBactive
SKILL.md · 29 lines · 1.3 KB
version: "1.0.0" name: git-pr-merge description: Conducts an audit of a Pull Request, merges it into main, and synchronizes the local environment. Use this skill when a PR is ready for final review and integration. trigger: always_on
This skill focuses on the "Gatekeeper" role, ensuring that only high-quality, verified code enters the main branch.
PR Merge & Sync Workflow
- Audit:
- Inspect the PR diff using
gh pr diff [id]. Focus on source code changes, excluding third-party packages or generated binaries. - Create an audit report in
audit_reports/audit_PR-[id].mdconfirming compliance with tech specs and UI guides.
- Merge Execution:
- Once the user approves the audit, perform the merge:
gh pr merge [id] --merge --delete-branch(if it''s a feature branch). - For core
devbranches, use--mergeto integrate intomain.
- Local Sync:
- Switch to
mainand pull the latest changes:git checkout main; git pull origin main. - Switch back to
devand mergemainto ensure the local development branch is up-to-date:git checkout dev; git merge main. - Push the updated
devbranch to the remote:git push origin dev.
- Verification:
- Verify that the local state is clean and ready for the next task.