Finishing a Development Branch
obra/superpowers
Walks the last step of a branch: confirm tests pass, detect the git environment, ask how to integrate, carry out your choice and clean up the worktree.
Works through analyzed pull request plans, repairs approved fixes while keeping contributor credit, validates candidates and merges only owner-authorized groups.
$ npx skills add diegosouzapw/OmniRoute --skill merge-prs -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install diegosouzapw/OmniRoute merge-prs --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/diegosouzapw/OmniRoute.git skills-src && mkdir -p .claude/skills && cp -r skills-src/config/quality/skill-templates/merge-prs .claude/skills/merge-prs && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "merge-prs" agent skill from https://github.com/diegosouzapw/OmniRoute/tree/release%2Fv3.8.52/config/quality/skill-templates/merge-prs into .claude/skills/merge-prs/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "merge-prs", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/diegosouzapw/OmniRoute/tree/release%2Fv3.8.52/config/quality/skill-templates/merge-prsType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add diegosouzapw/OmniRoute --skill merge-prs -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install diegosouzapw/OmniRoute merge-prs --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/diegosouzapw/OmniRoute.git skills-src && mkdir -p .agents/skills && cp -r skills-src/config/quality/skill-templates/merge-prs .agents/skills/merge-prs && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "merge-prs" agent skill from https://github.com/diegosouzapw/OmniRoute/tree/release%2Fv3.8.52/config/quality/skill-templates/merge-prs into .agents/skills/merge-prs/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "merge-prs", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add diegosouzapw/OmniRoute --skill merge-prs -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install diegosouzapw/OmniRoute merge-prs --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/diegosouzapw/OmniRoute.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/config/quality/skill-templates/merge-prs .cursor/skills/merge-prs && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "merge-prs" agent skill from https://github.com/diegosouzapw/OmniRoute/tree/release%2Fv3.8.52/config/quality/skill-templates/merge-prs into .cursor/skills/merge-prs/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "merge-prs", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/diegosouzapw/OmniRoute.git --path config/quality/skill-templates/merge-prs--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add diegosouzapw/OmniRoute --skill merge-prs -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install diegosouzapw/OmniRoute merge-prs --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/diegosouzapw/OmniRoute.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/config/quality/skill-templates/merge-prs .gemini/skills/merge-prs && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "merge-prs" agent skill from https://github.com/diegosouzapw/OmniRoute/tree/release%2Fv3.8.52/config/quality/skill-templates/merge-prs into .gemini/skills/merge-prs/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "merge-prs", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install diegosouzapw/OmniRoute merge-prsInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add diegosouzapw/OmniRoute --skill merge-prs -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/diegosouzapw/OmniRoute.git skills-src && mkdir -p .github/skills && cp -r skills-src/config/quality/skill-templates/merge-prs .github/skills/merge-prs && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "merge-prs" agent skill from https://github.com/diegosouzapw/OmniRoute/tree/release%2Fv3.8.52/config/quality/skill-templates/merge-prs into .github/skills/merge-prs/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "merge-prs", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add diegosouzapw/OmniRoute --skill merge-prs -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install diegosouzapw/OmniRoute merge-prs --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/diegosouzapw/OmniRoute.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/config/quality/skill-templates/merge-prs .opencode/skills/merge-prs && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "merge-prs" agent skill from https://github.com/diegosouzapw/OmniRoute/tree/release%2Fv3.8.52/config/quality/skill-templates/merge-prs into .opencode/skills/merge-prs/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "merge-prs", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
merge-prsWorks through analyzed pull request plans, repairs approved fixes while keeping contributor credit, validates candidates and merges only owner-authorized groups.
This skill executes plans produced by an earlier PR review stage. Before acting it reads the shared base-green, validation-gate, merge-gates, protected-surfaces and credit-preservation documents, whose rules apply throughout. It refreshes live PR states, heads and bases, worktree ownership, freeze state and existing plans in the analyzed folder, and returns to review if no plan exists.
It presents a report grouped by readiness and contributor or theme, with each PR's rating, scope, risks, mandatory fixes and recommendation. The owner picks items or groups and receives a merge dossier covering what enters, leaves or changes, authorship, dependencies, validation, risks, rollback, order and the final candidate. Merging needs explicit authorization for that group; general permission to keep developing does not count.
Repairs happen in an isolated worktree at the contributor's head, after verifying identity and rechecking the remote before every push. Only approved mandatory items are implemented, with red-to-green test proof, and original authorship is preserved alongside maintainer co-authorship. The skill does not stash, reset a contributor branch or force-push over concurrent work, and unknown or failing required checks keep a PR on hold.
4 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 4ea24a2. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md.
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Authorized PR Merge Workflow loads about 1.3k tokens when it runs. Until then it costs about 71 tokens; SKILL.md has 632 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from diegosouzapw/OmniRoute at commit 4ea24a2, republished under its MIT licence (© diegosouzapw). 632 words, ~1,261 tokens.
.claude/skills/merge-prs/SKILL.md (or your agent's skills folder).Read ../_shared/base-green.md, ../_shared/validation-gate.md,
../_shared/merge-gates.md, ../_shared/protected-surfaces.md and
../_shared/credit-preservation.md before execution. Their authority and evidence
boundaries apply throughout; no throughput exception waives required checks.
Refresh live PR states/heads/bases, worktree ownership, freeze state and existing
plans under _tasks/pipeline/prs/1-analyzed/. Preserve other sessions' claims.
No plan means return to review; an explicit owner request for inline review may
authorize a bounded mini-analysis, not skip validation or merge authorization.
Present the organization report by readiness and contributor/theme, including review rating, scope, risks, mandatory fixes and recommendation. Sound ideas that need substantial work may be offered for uplift; do not dispatch it without the owner's choice. The owner selects the items/groups, then receives a merge dossier: what enters, leaves or changes; authorship; dependencies; validation; risks; rollback; order and final candidate identity. Obtain explicit authorization for that group. General permission to continue development is not merge permission. An explicit owner instruction naming PRs and requesting their merge can satisfy the selection/dossier decision; record the scope, but retain all safety gates.
Claim only selected eligible plans via the pipeline's atomic move into
2-implementing/; if another session wins, stop that item. Stage owned paths only
in the separate private _tasks repo and regenerate its index when appropriate.
Merged items go to 3-done/ with actual evidence; closed/unmerged items are not
reported as delivered. Age alone does not establish that a claim is abandoned.
Create an isolated worktree at the observed contributor head. Verify identity before changing anything and recheck the remote predecessor before every push. Implement only the approved mandatory items, with RED-to-GREEN proof and affected suites. Preserve original authorship and appropriate maintainer co-authorship. Do not stash, reset a contributor branch, overwrite unrelated edits or force-push over concurrent work. Reconstruct only in a separate recovery branch after owner review; locked forks follow the credit-preservation protocol and stay open.
Use fragments-first changelog entries where supported. During synchronization, verify sibling entries remain intact; do not overwrite the complete changelog. Live validation or credentials that are genuinely required remain an explicit HOLD, with a durable release-drain record; they are not optional because CI passed.
Use the exact-candidate contract from the shared validation/merge rules. Local
fast checks, head-only pre_greened stamps, a previous day's full train, an empty
incident list, or DRIFT alone never grant admission. Do not run a fallback
command after a failed gate to manufacture success. Missing/contradictory artifacts
and incomplete build/package evidence remain failures or HOLD.
Base failures require exact-base reproduction and repair in their own PR; they
do not justify an administrative bypass. Fork action_required requires a reviewed
trust decision for the exact head/workflow and explicit approval authority. Never
auto-approve every pushed fork run. A cancelled/slow check is not automatically
flaky or infrastructure-related; establish the cause from evidence.
When the owner has authorized the group and all required checks pass, merge only
through ../_shared/merge-gates.md, serialized. Immediately recheck freeze, PR
head, base, candidate and protected surfaces. Any movement or retarget invalidates
the receipt. A full train tip cannot authorize different intermediate squash
trees. Skip held items without silently expanding the approved batch.
Read back actual merged state/SHA and credit, refresh the base, retain artifacts and update only owned private plans. Track the post-merge base validation separately. Do not mark prepared/draft PRs or unmerged patches complete.
Closing/defer/subsumed dispositions need separate explicit per-item owner approval. Prove supersession by affected behavior and direction, not an issue-number match. Keep reporter/contributor credit and explain the precise scope in any authorized public response. Do not close a PR merely because its code was cherry-picked.
End with counts of merged, prepared, held and still-failing items plus exact evidence. Teardown only owned clean backed-up worktrees under the shared teardown protocol. Preserve the shared checkout and do not update memory without a request.
© diegosouzapw, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in config/quality/skill-templates/merge-prs of diegosouzapw/OmniRoute.
Open the folder on GitHubat commit 4ea24a2
Authorized PR Merge Workflow next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Authorized PR Merge Workflow this skilldiegosouzapw/OmniRoute | 74k | — | ~1.3k | Automated safety check: Pass | MIT | |
| Finishing a Development Branchobra/superpowers | 297k | 5 repos | ~1.9k | Automated safety check: Pass | MIT | |
| Contributor-First PR MergeHKUDS/OpenHarness | 16k | 1 repos | ~847 | Automated safety check: Pass | MIT | |
| Create Pull Requestcline/cline | 70k | 1 repos | ~1.6k | Automated safety check: Pass | Apache-2.0 | |
| Git Branch Namingmakeplane/plane | 61k | — | ~594 | Automated safety check: Pass | AGPL-3.0 | |
| Creating Description For Gh PRredis/jedis | 12k | — | ~838 | Automated safety check: Pass | MIT |
obra/superpowers
Walks the last step of a branch: confirm tests pass, detect the git environment, ask how to integrate, carry out your choice and clean up the worktree.
HKUDS/OpenHarness
Merges external GitHub pull requests while keeping the original author credited, and fixes conflicts after the merge instead of rewriting the contribution.
cline/cline
Opens a GitHub pull request from your current branch with the gh CLI, after reviewing the commits and diff and gathering the details the PR needs.
makeplane/plane
Names a new Git branch with a type prefix, the lowercased work item ID and a short kebab-case description, so the ID can be extracted later from the branch name.
redis/jedis
Generate a clear, concise GitHub PR title and description from the diff between two local git branches, and save it to prDescription.md in the repo root.
makeplane/plane
Opens a pull request for the current branch using the repo's template, a work item ID in the title and a description filled in from the actual diff.
diegosouzapw/OmniRoute
Backup and restore OmniRoute data from the CLI. Trigger incremental snapshots, sync to cloud storage, manage backup schedules, and restore from archive files.
diegosouzapw/OmniRoute
Runs a scoped, read-only quality scan on a repository candidate and reports exact evidence, failures and frozen debt, without treating a static scan as release acceptance.
diegosouzapw/OmniRoute
Manages AI provider connections, API keys, OAuth flows and connection tests through OmniRoute's REST API across its 327-provider catalog.
diegosouzapw/OmniRoute
Read and update global application settings: system prompts, thinking budget, IP filters, payload rules, combo defaults, and require-login configuration.
diegosouzapw/OmniRoute
Trigger system backups, restore from backup files, and manage the SQLite database lifecycle. Supports export, import, and incremental snapshot strategies.
diegosouzapw/OmniRoute
Submit and monitor batch inference jobs from the CLI. Upload and manage files for batch processing, retrieve results, and integrate batch pipelines with CI/CD…
Categories
Works through analyzed pull request plans, repairs approved fixes while keeping contributor credit, validates candidates and merges only owner-authorized groups. This skill executes plans produced by an earlier PR review stage. Before acting it reads the shared base-green, validation-gate, merge-gates, protected-surfaces and credit-preservation documents, whose rules apply throughout.
Authorized PR Merge Workflow fits situations like: merging a batch of reviewed pull requests that the owner has approved; applying mandatory fixes to a contributor's PR while keeping their authorship; producing a merge dossier before the owner authorizes a group; holding PRs whose required checks are unknown or failing.
Run `npx skills add diegosouzapw/OmniRoute --skill merge-prs -a claude-code`. Or copy the skill folder (config/quality/skill-templates/merge-prs in diegosouzapw/OmniRoute) into .claude/skills/merge-prs in your project. Claude Code loads it when a task matches its description.
Run `npx skills add diegosouzapw/OmniRoute --skill merge-prs -a codex`. Or copy the skill folder (config/quality/skill-templates/merge-prs in diegosouzapw/OmniRoute) into .agents/skills/merge-prs in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add diegosouzapw/OmniRoute --skill merge-prs -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/merge-prs, .gemini/skills/merge-prs, .github/skills/merge-prs and .opencode/skills/merge-prs in your project.
SKILL.md names no scripts, command-line tools or credentials: Authorized PR Merge Workflow is instructions for the agent only. Our summary lists: A repository using the shared pipeline layout, with analyzed PR plans under _tasks/pipeline/prs; Prior review evidence for each pull request.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Authorized PR Merge Workflow is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.3k tokens (SKILL.md is roughly 5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Authorized PR Merge Workflow: Finishing a Development Branch (obra/superpowers, 297k stars), Contributor-First PR Merge (HKUDS/OpenHarness, 16k stars), Create Pull Request (cline/cline, 70k stars) and Git Branch Naming (makeplane/plane, 61k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
diegosouzapw (a GitHub user) maintains it in diegosouzapw/OmniRoute, which has 74,424 GitHub stars. The repository holds 50 skills in this directory. The repository was last updated on October 8, 2026.
Source: diegosouzapw/OmniRoute on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.