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.
Drive ONE already selected open pull request in microsoft/apm to mergeable.
$ npx skills add microsoft/apm --skill autopilot-pr-merge-worker -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install microsoft/apm autopilot-pr-merge-worker --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/microsoft/apm.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/autopilot-pr-merge-worker .claude/skills/autopilot-pr-merge-worker && 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 "autopilot-pr-merge-worker" agent skill from https://github.com/microsoft/apm/tree/main/.agents/skills/autopilot-pr-merge-worker into .claude/skills/autopilot-pr-merge-worker/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "autopilot-pr-merge-worker", 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/microsoft/apm/tree/main/.agents/skills/autopilot-pr-merge-workerType 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 microsoft/apm --skill autopilot-pr-merge-worker -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install microsoft/apm autopilot-pr-merge-worker --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/microsoft/apm.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/autopilot-pr-merge-worker .agents/skills/autopilot-pr-merge-worker && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "autopilot-pr-merge-worker" agent skill from https://github.com/microsoft/apm/tree/main/.agents/skills/autopilot-pr-merge-worker into .agents/skills/autopilot-pr-merge-worker/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "autopilot-pr-merge-worker", 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 microsoft/apm --skill autopilot-pr-merge-worker -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install microsoft/apm autopilot-pr-merge-worker --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/microsoft/apm.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/autopilot-pr-merge-worker .cursor/skills/autopilot-pr-merge-worker && 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 "autopilot-pr-merge-worker" agent skill from https://github.com/microsoft/apm/tree/main/.agents/skills/autopilot-pr-merge-worker into .cursor/skills/autopilot-pr-merge-worker/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "autopilot-pr-merge-worker", 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/microsoft/apm.git --path .agents/skills/autopilot-pr-merge-worker--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 microsoft/apm --skill autopilot-pr-merge-worker -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install microsoft/apm autopilot-pr-merge-worker --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/microsoft/apm.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/autopilot-pr-merge-worker .gemini/skills/autopilot-pr-merge-worker && 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 "autopilot-pr-merge-worker" agent skill from https://github.com/microsoft/apm/tree/main/.agents/skills/autopilot-pr-merge-worker into .gemini/skills/autopilot-pr-merge-worker/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "autopilot-pr-merge-worker", 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 microsoft/apm autopilot-pr-merge-workerInstalls 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 microsoft/apm --skill autopilot-pr-merge-worker -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/microsoft/apm.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/autopilot-pr-merge-worker .github/skills/autopilot-pr-merge-worker && 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 "autopilot-pr-merge-worker" agent skill from https://github.com/microsoft/apm/tree/main/.agents/skills/autopilot-pr-merge-worker into .github/skills/autopilot-pr-merge-worker/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "autopilot-pr-merge-worker", 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 microsoft/apm --skill autopilot-pr-merge-worker -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install microsoft/apm autopilot-pr-merge-worker --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/microsoft/apm.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/autopilot-pr-merge-worker .opencode/skills/autopilot-pr-merge-worker && 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 "autopilot-pr-merge-worker" agent skill from https://github.com/microsoft/apm/tree/main/.agents/skills/autopilot-pr-merge-worker into .opencode/skills/autopilot-pr-merge-worker/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "autopilot-pr-merge-worker", 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.
autopilot-pr-merge-workerDrive ONE already selected open pull request in microsoft/apm to mergeable.
Autopilot PR Merge Worker is an agent skill from microsoft/apm, published by the product's own GitHub organization. Drive ONE already selected open pull request in microsoft/apm to mergeable. Classifies copilot-pull-request-reviewer[bot] inline review, runs autopilot-pr-review-worker, folds (by default) every recommendation inside the PR's stated scope, pushes to the head branch or a superseding PR that preserves authorship via commit trailers, watches CI to green (agent-merge when that skill or <agentmergestate is present; otherwise gh pr checks --watch), and iterates under fixed caps until ready-to-merge…
Its SKILL.md is about 3.4k tokens, which your agent loads only when the skill is triggered. The skill folder holds 13 other files, including scripts, reference files and assets (for example `apm.yml`, `assets/ci-recovery-checklist.md` and `assets/completion-schema.json`).
It sits in Development, covering Pull requests and Monitoring and alerting. The repository describes itself as: Agent Package Manager. The licence is MIT.
11 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 280b8a7. 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.
Ships 1 file in scripts/ (Python), which the agent can run.
Shell commands in SKILL.md call:
uvghruffFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use uv and gh, which can reach the network depending on how they are called.
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.
Autopilot PR Merge Worker loads about 3.4k tokens when it runs, and up to ~5.2k if it reads all its reference files. Until then it costs about 196 tokens; SKILL.md has 1,444 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); the scripts in this folder are not scanned.
The full file from microsoft/apm at commit 280b8a7, republished under its MIT licence (© microsoft). 1,444 words, ~3,426 tokens.
.claude/skills/autopilot-pr-merge-worker/SKILL.md (or your agent's skills folder). This skill also uses 10 other files; get the full folder from GitHub.Writes are optional via the activation card (write: on default).
autopilot-pr-review-scheduler never spawns this skill.
The PR review scheduler never comments, labels, assigns, or
requests reviewers.
panel-review requests a review. status/accepted is the human
action flag. No accepted, no review. If status/accepted is
missing on this PR and every linked issue: remove panel-review
if present, do not comment, stop. Never assign. The scheduler
and panel stop the same way and leave no comment.
activation_card: on. Before any PR read or GitHub write, emit
this Enter card with every field filled. Missing field -> stop.
skill: autopilot-pr-merge-worker
skill_path: <resolved directory of this SKILL.md>
mode: run
subject: microsoft/apm#<pr-number>
path: merge
intent: drive one already-selected PR
origin: unattended | actor-session
write: on | off
repo: microsoft/apm
pr: <positive integer>
invocation: agentic-workflow | actor-session
invocation_mode: composed-implementation-reviewRules:
write defaults to on when the caller omitted it.write: off returns the filled template only. Do not comment,
add labels, remove labels, push, or request reviewers.write: on, post the one advisory comment via
autopilot-comment (source_skill: autopilot-pr-merge-worker) and fold/push inside the PR's
stated scope. Never assign. Never request the implementer as
a reviewer. Do not call gh pr comment yourself.origin fail-closed unknown -> unattended.plan_first defaults to yes. Do not fold, push, or request
reviewers until Step 0.P exists. Copilot App spawn uses
kickoff_mode: plan. If the session started interactive, still
write that plan in-session and do not skip it. Wait for operator
approval when a plan-mode gate is present.After the loop, emit this Exit receipt:
skill: autopilot-pr-merge-worker
subject: microsoft/apm#<pr-number>
path: merge
write: on | off
posted: yes | no
pushed: yes | no
reviewer_requested: no
approved: n/aThis SKILL.md is the natural-language module derived from a genesis design packet; refactors re-run the genesis skill from that packet.
This skill is a BUILDING BLOCK, not the PR-review queue.
autopilot-pr-review-scheduler never composes it. Invoke it by
name when the caller asked to drive a PR to merge. It COMPOSES
the autopilot-pr-review-worker
skill for the advisory pass -- it does NOT re-implement panel
review.
DOES: take ONE PR that already exists and drive it to a terminal
landing-ready state; resolve cross-PR merge conflicts; emit the
PR-facing advisory and supersede comments; return a schema-valid
completion_return.
Does NOT: triage issues, decide which issues are worth fixing, open the first PR for an issue, choose the batch, or maintain the orchestrator's ground-truth table. Those are the parent orchestrator's responsibility. If you find yourself triaging or opening greenfield PRs, you are in the wrong skill.
The parent scheduler, for each PR in its batch, spawns ONE
autopilot-pr-merge-worker subagent with the spawn body in
assets/worker-prompt.md.
The orchestrator passes the inputs that prompt declares (PR_NUMBER,
ISSUE_NUMBER, AUTHOR, HEAD_REPO, HEAD_BRANCH, MAINTAINER_CAN_MODIFY,
REPO_ROOT, ORIGIN, optional PANEL_PRIOR). The subagent owns the whole
convergence loop end-to-end and returns a completion_return.
After every driven PR returns ready-to-merge, the orchestrator
runs the conflict-resolution phase: probe mergeability and, on
DIRTY / BEHIND / CONFLICTING, spawn one conflict-resolution subagent
per assets/conflict-resolution-prompt.md.
The step-by-step gate procedure is in
references/mergeability-gate.md
(load it when entering that phase).
This skill is a same-repo LOCAL SIBLING. A consuming orchestrator MUST declare the dependency at its own distribution surface and PROBE for this skill before spawning. The probe is a tool call, not an assertion from recall (A9 SUPERVISED EXECUTION; truth #2 CONTEXT EXPLICIT):
test -f ../autopilot-pr-merge-worker/assets/worker-prompt.md \
&& test -f ../autopilot-pr-merge-worker/assets/completion-schema.json \
&& test -f ../autopilot-pr-merge-worker/scripts/owner_touch_gate.py \
&& echo "autopilot-pr-merge-worker present" \
|| echo "MISSING autopilot-pr-merge-worker - stop and ask the operator"On a probe MISS the orchestrator stops and asks the operator rather than re-implementing the loop inline (avoids HAND-ROLLED HALLUCINATION and PHANTOM DEPENDENCY).
This skill itself COMPOSES autopilot-pr-review-worker.
A consuming orchestrator inherits that transitive dependency; the
spawned autopilot-pr-merge-worker subagent PROBES for it at preflight (all
load-bearing panel assets under
$REPO_ROOT/.agents/skills/autopilot-pr-review-worker/) and returns
status: blocked ONLY on a genuine asset MISS, before any checkout
(see the spawn body Step 0.0). Note: a missing skill TOOL is NOT a
miss -- in the normal subagent context the panel is executed INLINE
from its on-disk SKILL.md + schemas (Step X.1.1), which is a
first-class path, not a fallback.
The autopilot-pr-merge-worker subagent runs this loop (full detail in the spawn body):
agent-merge when available else
assets/ci-recovery-checklist.md. Do not checkout, fold, or
push until that plan exists (and is approved when plan-mode).copilot-pull-request-reviewer[bot]
inline review per
assets/copilot-classification-prompt.md.autopilot-pr-review-worker against the PR: via the
skill tool if present, otherwise (the normal subagent case)
execute it INLINE from its on-disk SKILL.md + schemas. Both paths
produce the same single recommendation comment.recommended_followups) and apply the fold-vs-defer rubric per
assets/fold-vs-defer-rubric.md..apm/instructions/architecture.instructions.md; no LLM
self-classification may override a detected touch. Every touched
owner requires executed exact-head functional test IDs/evidence in
addition to the boundary lint and any required dual guardrail.
Schema-validate and semantically verify the version 2 completion
evidence. Missing evidence stays in the loop or returns blocked;
it is never deferred.agent-merge skill when it
is loaded or the prompt contains <agent_merge_state> (do not
sleep/watch inside that tick; never merge). Otherwise watch +
recover per
assets/ci-recovery-checklist.md.head_sha, mergeable,
mergeStateStatus, and CI status for the completion return.When a cap is hit with foldable items still open, return
advisory-with-deferred with a scope-boundary note per deferred
item. Caps exist to bound non-determinism; they are not targets.
The subagent returns exactly one schema-valid completion_return
matching assets/completion-schema.json:
ready-to-merge -- clean convergence; CI observed green; lint
silent; canonical-owner gate passed with schema-valid and
semantically verified architecture_evidence version 2.advisory-with-deferred -- iteration cap hit with foldable items
remaining (rare); each deferred item carries a scope-boundary note.superseded -- push fell back to a superseding PR (records
superseded_by).blocked -- CI cap hit, panel assets genuinely absent (Step 0.0
probe miss -- NOT merely the skill tool being unavailable), or
unresolvable scope conflict (records a one-paragraph blocker).The orchestrator schema-validates every return. On malformed, re-spawn ONCE; on a second malformed return, mark the row blocked and continue.
decisions[]; terminal v1 returns are malformed and
re-spawn once. A new owner, centralization, or split-authority repair
also requires the full dual guardrail (behavioral regression test,
static boundary guard, matching test_architecture_*.py assertion,
and mutation-break evidence) plus a clean
scripts/lint-architecture-boundaries.sh. Missing evidence stays in
the loop or returns blocked; it is never deferred.uv run --extra dev ruff check src/ tests/ and
ruff format --check src/ tests/) must be silent before any push.ready-to-merge requires real CI
evidence, not an assumption.autopilot-comment.Every side effect (push, comment, PR open/close, label, CI read,
mergeability probe) goes through a deterministic CLI (gh, git,
uv run ruff) wrapped in plan + execute + verify (A9 SUPERVISED
EXECUTION). Present-state facts (CI status, mergeable, head sha) are
READ from gh/git at terminal, never asserted from recall.
completion and conflict-resolution return
shapes. Schema-validate every subagent return.--help for its CLI.© microsoft, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 10 other files (scripts, references, assets) in .agents/skills/autopilot-pr-merge-worker of microsoft/apm.
Open the folder on GitHubat commit 280b8a7
Autopilot PR Merge Worker 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 |
|---|---|---|---|---|---|---|
| Autopilot PR Merge Worker this skillmicrosoft/apm | 4k | — | ~3.4k | Automated safety check: Pass | MIT | |
| Finishing a Development Branchobra/superpowers | 297k | 5 repos | ~1.9k | Automated safety check: Pass | MIT | |
| PR Babysitteropeninterpreter/openinterpreter | 69k | 3 repos | ~4.2k | Automated safety check: Pass | Apache-2.0 | |
| Check PRonyx-dot-app/onyx | 32k | 2 repos | ~2.3k | Automated safety check: Pass | MIT | |
| PR Design DocOpenHands/OpenHands | 90k | — | ~2.4k | Automated safety check: Pass | MIT | |
| WooCommerce Code Reviewwoocommerce/woocommerce | 11k | 3 repos | ~1.1k | Automated safety check: Pass | Custom licence |
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.
openinterpreter/openinterpreter
Watches an open GitHub pull request until it merges, handling review comments, diagnosing CI failures and retrying flaky checks along the way.
onyx-dot-app/onyx
Checks a GitHub, GitLab, or Perforce (p4) pull request (or merge request, or shelved changelist) for unresolved review comments, failing status checks, and incomplete PR descriptions.
OpenHands/OpenHands
For a non-trivial pull request, write a self-contained HTML design doc under the temporary .pr/ directory and link a visibility-appropriate preview in the PR description, so maintainers grasp the…
woocommerce/woocommerce
Reviews WooCommerce code changes against the project's standards, flagging backend PHP architecture, naming, documentation, data integrity and testing violations.
payloadcms/payload
A skill your agent uses when a Payload pull request needs a concise visual walkthrough for reviewers.
microsoft/apm
A skill your agent uses to cut an APM release from the current worktree: assess whether the cycle since the last tag warrants a patch or minor bump (semver discipline against the…
microsoft/apm
A skill your agent uses to run a holistic regrounding pass on the entire microsoft/apm documentation corpus against current source code, page-by-page, and emit surgical fixes for stale claims.
microsoft/apm
A skill your agent uses to verify CLAIM-LEVEL grounding of a documentation page (or set of pages) against the source code.
microsoft/apm
A skill your agent uses to write the PR description (PR body) for any pull request opened against microsoft/apm.
microsoft/apm
A skill your agent uses to implement ONE microsoft/apm issue already selected by autopilot-issue-delivery-scheduler.
microsoft/apm
A skill your agent uses to run a four-panel adversarial advisory review on any pull request that touches the OpenAPM specification artifact (docs/src/content/docs/specs/openapm-.md), its inline /…
Categories
Drive ONE already selected open pull request in microsoft/apm to mergeable. Autopilot PR Merge Worker is an agent skill from microsoft/apm, published by the product's own GitHub organization. Drive ONE already selected open pull request in microsoft/apm to mergeable.
Autopilot PR Merge Worker fits situations like: tasks that involve Pull requests; tasks that involve Monitoring and alerting.
Run `npx skills add microsoft/apm --skill autopilot-pr-merge-worker -a claude-code`. Or copy the skill folder (.agents/skills/autopilot-pr-merge-worker in microsoft/apm) into .claude/skills/autopilot-pr-merge-worker in your project. Claude Code loads it when a task matches its description.
Run `npx skills add microsoft/apm --skill autopilot-pr-merge-worker -a codex`. Or copy the skill folder (.agents/skills/autopilot-pr-merge-worker in microsoft/apm) into .agents/skills/autopilot-pr-merge-worker 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 microsoft/apm --skill autopilot-pr-merge-worker -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/autopilot-pr-merge-worker, .gemini/skills/autopilot-pr-merge-worker, .github/skills/autopilot-pr-merge-worker and .opencode/skills/autopilot-pr-merge-worker in your project.
Going by SKILL.md and its folder, Autopilot PR Merge Worker needs Python for the scripts in its folder and the command-line tools its instructions call (uv, gh and ruff). Our summary lists: Python 3.
SKILL.md contains no URLs. Its commands use uv and gh, which can reach the network depending on how they are called. 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. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.
Autopilot PR Merge Worker is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 3.4k tokens (SKILL.md is roughly 14k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 1.8k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Autopilot PR Merge Worker: Finishing a Development Branch (obra/superpowers, 297k stars), PR Babysitter (openinterpreter/openinterpreter, 69k stars), Check PR (onyx-dot-app/onyx, 32k stars) and PR Design Doc (OpenHands/OpenHands, 90k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
microsoft (a GitHub organization, an official publisher) maintains it in microsoft/apm, which has 3,988 GitHub stars. The repository holds 27 skills in this directory. The repository was last updated on October 9, 2026.
Source: microsoft/apm on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.