AI SummaryAutomates PR auditing, merging to main, and local environment synchronization, helping teams enforce code quality gates and streamline integration workflows.
Install
Copy this and paste it into Claude Code, Cursor, or any AI assistant:
I want to install the "git-pr-merge" skill in my project. Please run this command in my terminal: # Install skill into the correct directory (2 files) mkdir -p .claude/skills/git-pr-merge && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/git-pr-merge/SKILL.md "https://raw.githubusercontent.com/majiayu000/claude-skill-registry/main/skills/other/git-pr-merge/SKILL.md" && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/git-pr-merge/metadata.json "https://raw.githubusercontent.com/majiayu000/claude-skill-registry/main/skills/other/git-pr-merge/metadata.json" Then restart Claude Code (or reload the window in Cursor) so the skill is picked up.
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.
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].md confirming 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 dev branches, use --merge to integrate into main. • Local Sync: • Switch to main and pull the latest changes: git checkout main; git pull origin main. • Switch back to dev and merge main to ensure the local development branch is up-to-date: git checkout dev; git merge main. • Push the updated dev branch to the remote: git push origin dev. • Verification: • Verify that the local state is clean and ready for the next task.
Discussion
Health Signals
My Fox Den
Community Rating
Sign in to rate this booster