# Autopilot PR Review Worker

Use this skill to run a multi-persona expert advisory review on a labelled pull request...

- Repository: https://github.com/microsoft/apm (4171 stars)
- Category: Git and review
- License: MIT
- Last updated: 2026-10-30
- Runs scripts: yes, review before use

## Install

Claude Code: `npx skills add microsoft/apm --skill autopilot-pr-review-worker -g -a claude-code -y`
Codex: `npx skills add microsoft/apm --skill autopilot-pr-review-worker -g -a codex -y`
Cursor: `npx skills add microsoft/apm --skill autopilot-pr-review-worker -g -a cursor -y`
Gemini CLI: `npx skills add microsoft/apm --skill autopilot-pr-review-worker -g -a gemini-cli -y`

## Description

Use this skill to run a multi-persona expert advisory review on a labelled pull request in microsoft/apm. panel-mode (full | lean | delta) selects a surface-gated roster plus a CEO synthesizer; omitted or unknown mode is lean. Do not spawn inactive stubs. The orchestrator is the sole writer to the PR: ONE recommendation comment, no verdict labels, no merge gating. The panel is advisory -- it surfaces findings, prioritizes follow-ups, and renders a ship-recommendation that the maintainer and author weigh.

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

# autopilot-pr-review-worker - Fan-Out Advisory Review

The panel is FAN-OUT + SYNTHESIZER. Each persona runs in its own agent
thread (via the `task` tool) and returns JSON matching
`assets/panelist-return-schema.json`. The orchestrator schema-validates
each return, hands all returns to the apm-ceo synthesizer (also a task
thread, returns JSON matching `assets/ceo-return-schema.json`), then
renders ONE recommendation comment from `assets/recommendation-template.md`.

This skill is ADVISORY by design. It does not compute a binary verdict, it
does not apply verdict labels, and it does not gate merge. The panel
surfaces findings; the maintainer and the PR author decide ship.

## Activation card

`activation_card: on`. Before any PR read or GitHub write, emit
this Enter card with every field filled. Missing field -> stop.

```text
skill: autopilot-pr-review-worker
skill_path: <resolved directory of this SKILL.md>
mode: run
subject: microsoft/apm#<pr-number>
path: review
intent: advise one already-selected PR
origin: unattended | actor-session
write: on | off
debug: off | on
repo: microsoft/apm
pr: <positive integer>
invocation: agentic-workflow | actor-session
invocation_mode: session-review | direct-user-review | composed-implementation-review
panel-mode: full | lean | delta
```

Rules:

The rest: https://github.com/microsoft/apm/blob/HEAD/.agents/skills/autopilot-pr-review-worker/SKILL.md
