git-pr-merge

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.

16 stars

Best use case

git-pr-merge is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

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.

Teams using git-pr-merge should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/git-pr-merge/SKILL.md --create-dirs "https://raw.githubusercontent.com/diegosouzapw/awesome-omni-skill/main/skills/cli-automation/git-pr-merge/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/git-pr-merge/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How git-pr-merge Compares

Feature / Agentgit-pr-mergeStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

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.

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

This skill focuses on the "Gatekeeper" role, ensuring that only high-quality, verified code enters the `main` branch.

## PR Merge & Sync Workflow

1.  **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.

2.  **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`.

3.  **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`.

4.  **Verification**:
    -   Verify that the local state is clean and ready for the next task.

Related Skills

requirements-merge

16
from diegosouzapw/awesome-omni-skill

Combines multiple requirement sources into a single coherent specification, handling conflicts and redundancies while maintaining source traceability and supporting stakeholder review workflows.

sos-emergency

16
from diegosouzapw/awesome-omni-skill

Ship Operating System: Emergency Kubernetes cluster recovery, Talos reset procedures, Synology Container Manager recovery, and graceful shutdown protocols. Trigger with /sos

emergency-distress-signal

16
from diegosouzapw/awesome-omni-skill

紧急求救 - 飞船坠毁后与Stella的首次联系,帮助她评估损伤并制定初步生存计划

pr-merge-recompile

16
from diegosouzapw/awesome-omni-skill

Checkout a PR, merge origin/main, regenerate agentic workflows, and push. Use when: (1) A PR needs to be rebased and workflows recompiled, (2) User provides a PR URL and wants to update it with latest main, (3) User says 'recompile PR' or 'update PR workflows'.

merge

16
from diegosouzapw/awesome-omni-skill

Commit, rebase, and merge the current branch into its base branch (never main).

bgo

10
from diegosouzapw/awesome-omni-skill

Automates the complete Blender build-go workflow, from building and packaging your extension/add-on to removing old versions, installing, enabling, and launching Blender for quick testing and iteration.

Coding & Development

aspire-integration-testing

16
from diegosouzapw/awesome-omni-skill

Write integration tests using .NET Aspire's testing facilities with xUnit. Covers test fixtures, distributed application setup, endpoint discovery, and patterns for testing ASP.NET Core apps with real dependencies.

ash-authentication

16
from diegosouzapw/awesome-omni-skill

AshAuthentication guidelines for implementing authentication in Ash Framework. Use when adding password, magic link, API key, or OAuth2 authentication strategies. Covers token configuration, UserIdentity resources, confirmation add-ons, and customizing authentication actions. Never hardcode credentials.

artifact-sbom-publisher

16
from diegosouzapw/awesome-omni-skill

Produces build artifacts with Software Bill of Materials (SBOM) and supply chain metadata for security and compliance. Use for "artifact publishing", "SBOM generation", "supply chain security", or "build provenance".

artifact-orchestration

16
from diegosouzapw/awesome-omni-skill

Orchestrate multi-agent artifact generation with the Primary Author → Parallel Reviewers → Synthesizer → Archive pattern. Use when relevant to the task.

arlo

16
from diegosouzapw/awesome-omni-skill

Manage Arlo security cameras, video doorbell, and smart home security

ark-dashboard-testing

16
from diegosouzapw/awesome-omni-skill

Test Ark Dashboard with Playwright and create PRs with screenshots. Use when testing dashboard UI, taking screenshots for PRs, or reviewing dashboard changes.