From empire-dev
Spawns parallel specialist subagents to review code diffs and consolidates findings into a single report. Useful for comprehensive multi-perspective code reviews without touching GitHub.
How this skill is triggered — by the user, by Claude, or both
Slash command
/empire-dev:team-reviewThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
<section id="intent-gate">
gh pr review, gh pr comment, gh pr editBefore dispatch: read CONTEXT.md at repo root if present and include its vocabulary in each specialist brief — reviewers MUST use project terms verbatim.
Read relevant ADRs from docs/adr/ if present; include them in specialist briefs for architectural or design findings.
If neither exists, proceed without them.
Agent tool's subagent_type parametersubagent_type values + one-line rationale per pick BEFORE dispatchSend single message with multiple Agent tool calls (one per specialist)
Each specialist receives:
CONTEXT.md vocabulary (read from repo root before dispatch; include if file exists, omit if absent)docs/adr/ (include summaries of ADRs touching changed paths; omit if folder absent)Required specialist output format:
## Must-fix
<file:line-range> [`<category>`] — <concrete suggestion>
## Should-fix
<file:line-range> [`<category>`] — <concrete suggestion>
## Nits
<file:line-range> [`<category>`] — <concrete suggestion>
## Praise
<what was done well>
<file:line-range> = exact line or hyphen range (e.g. src/auth.ts:42 or src/auth.ts:42-58)
<category> MUST be exactly one of: correctness, security, performance, architecture, tests, style, docs
One finding per line; no prose paragraphs between findings
Cap each specialist response under 400 words
After all specialists return, produce consolidated report
Summary table:
| Specialist | Must-fix | Should-fix | Nits |
|---|---|---|---|
Aggregate findings by tier — vote across specialists on (file, line-range, category) match key
Two findings match when: same file path AND overlapping line-range (within ±5 lines) AND identical category
Merge matched findings into one entry; preserve clearest suggestion wording; tally specialist count
Tiers (let M = roster size):
Consensus — flagged by strict majority (> M/2)Corroborated — flagged by ≥ 2 specialists, below majoritySingle-source — flagged by exactly 1 specialistRequired report structure:
## Consensus (> M/2 specialists agree)
### Must-fix
<file:line-range> [`<category>`] — <merged suggestion> ×N/M
### Should-fix
...
### Nits
...
## Corroborated (≥ 2 specialists)
### Must-fix
<file:line-range> [`<category>`] — <merged suggestion> ×K [<specialist-A>, <specialist-B>]
...
## Single-source (1 specialist — low confidence, treat as optional)
### Must-fix
<file:line-range> [`<category>`] — <suggestion> [<specialist>]
...
## Conflicts
<file:line-range> — <specialist-A says X> vs <specialist-B says Y>
## Recommended actions
1. <action> — <rationale referencing tier + severity>
...
Omit any tier or severity heading that has no entries
Prioritize Recommended actions: Consensus before Corroborated before Single-source; within each tier, Must-fix before Should-fix before Nits
Single-source findings MUST carry the low-confidence tag and MUST be excluded from Recommended actions unless the lone specialist is the domain owner for that category (e.g. only security-auditor flagged a security finding); user may still promote them manually
Rationale: per-finding majority vote outperforms iterative debate at lower cost ("Debate or Vote", arxiv:2508.17536, NeurIPS 2025); tiering preserves recall without sacrificing precision
Provides behavioral guidelines to reduce common LLM coding mistakes, focusing on simplicity, surgical changes, assumption surfacing, and verifiable success criteria.
Searches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.
npx claudepluginhub marcoskichel/empire --plugin empire-dev