Merge PR
Merge a single PR into the integration branch. For simple PRs, uses gh pr merge --squash --auto to enforce GitHub's required status checks. For needs_check PRs, re-assesses complexity and returns needs_plan=true with a conflict report when conflicts are detected. Use inside the merge-prs loop.
Install
npx skills add TalonT-Org/AutoSkillit --skill merge-prgit clone --depth 1 https://github.com/TalonT-Org/AutoSkillit.git /tmp/AutoSkillit
mkdir -p ~/.claude/skills
cp -r /tmp/AutoSkillit/src/autoskillit/skills_extended/merge-pr ~/.claude/skills/merge-prPersonal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.
From the SKILL.md
# PR Merge Skill
Merge one PR into the current working branch (the integration branch). Handles both
simple direct merges and complexity re-assessment for PRs that may have accumulated
conflicts from earlier merges in the queue.
## When to Use
- Inside the `merge-prs` loop, once per PR
- Called with the PR number and its complexity tag from `analyze-prs` output
## Arguments
```
{pr_number} {complexity}
```
- `pr_number` — GitHub PR number (integer)
- `complexity` — `simple` or `needs_check` (from `analyze-prs` pr_order JSON)
## Critical Constraints
**NEVER:**
- Modify any source code files directly (conflict resolution is handled by `make-plan` + `implement-worktree-no-merge`)
- Use `git merge` to merge the PR into the integration branch — always use `gh pr merge --squash --auto` (when `autoMergeAllowed=true`) or `gh pr merge --squash` (when `autoMergeAllowed=false`)
- Close or comment on the PR
- Leave the git working tree in a dirty state
- Create files outside `{{AUTOSKILLIT_TEMP}}/merge-prs/` directory
- Run subagents in the background (`run_in_background: true` is prohibited)
**ALWAYS:**
- Run `git status` before any operation to verify clean state
- Detect `autoMergeAllowed` via GraphQL before Step 2 (Step 1.8) to select the correct merge command
- Use `gh pr merge {pr_number} --squash --auto` when `autoMergeAllowed=true` — enforces required status checks before merge executesDetails
- Skill name
merge-pr- Repository
- TalonT-Org/AutoSkillit
- Path
src/autoskillit/skills_extended/merge-pr/SKILL.md- License
- MIT
- Repo updated
- 8 November 2026
FAQ
What does the Merge PR skill do?
Merge a single PR into the integration branch. For simple PRs, uses gh pr merge --squash --auto to enforce GitHub's required status checks. For needs_check PRs, re-assesses complexity and returns needs_plan=true with a conflict report when conflicts are detected. Use inside the merge-prs loop.
How do I install the Merge PR skill?
skills CLI (Claude Code, Cursor, Codex and more): npx skills add TalonT-Org/AutoSkillit --skill merge-pr. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is Merge PR popular?
It lives in TalonT-Org/AutoSkillit, which has 5 GitHub stars and 1 forks.
Related skills
Analyze Prs
5TalonT-Org/AutoSkillit
Analyze all open PRs targeting a base branch — determine merge order, identify file overlaps, and tag each PR as simple or needs_check for complexity. Use at the start of a PR consolidation workflow.
Arch Lens C4 Container
5TalonT-Org/AutoSkillit
Create C4 Container architecture diagram showing static structure, building blocks, and technology choices. Anatomical lens answering "How is it built?
Arch Lens Concurrency
5TalonT-Org/AutoSkillit
Create Concurrency architecture diagram showing parallel execution patterns, thread pools, synchronization, and barriers. Physiological lens answering "How does parallelism work?
Open Integration PR
5TalonT-Org/AutoSkillit
Create an integration PR for the merge-prs. Reads pr_order_file JSON, generates a rich PR body with per-PR details, arch-lens diagrams, and carried-forward Closes #N references. Closes all collapsed PRs with a comment after creation. Use inside the merge-prs after all PRs have been merged into the integration branch.
Issue Splitter
5TalonT-Org/AutoSkillit
Analyze a GitHub issue for mixed concerns and split it into focused sub-issues with proper cross-references. Integrates into triage-issues as a pre-classification step.
Pipeline Summary
5TalonT-Org/AutoSkillit
Create a GitHub issue and PR summarizing pipeline bugs and fixes. Use when a pipeline run completes with accumulated bug fixes on a feature branch.
Browse the most popular Claude skills, all git & code review skills, or write your own with the skills generator.