multi-specialist-review
БесплатноЗапускает вложенные скриптыНе проверенUser-triggered multi-agent code review. Spawns 3-5 parallel specialist sub-agents that read actual source files, runs mechanical citation verification, and…
от NickCrew★ 76 звёзд на GitHubОб этом скилле
Multi-Specialist Review
Team-based code review that spawns 3-5 parallel specialist sub-agents to examine a diff through different perspectives (correctness, security, performance, architecture, etc.), mechanically verifies every finding against the actual source files, and synthesizes a single prioritized review artifact.
When to Use
This skill is user-triggered. It is not part of routine agent workflows — the cost and authority profile warrants explicit user invocation. Use when:
- PR-level changes (5+ modified files)
- Multi-commit ranges (
main..feature-branch) rather than atomic commits - Security-sensitive paths (auth, crypto, payments, input validation)
- Single-turn
specialist-reviewflagged quality concerns that need deeper scrutiny
For atomic-commit review, use the baseline specialist-review.sh from the
agent-loops skill instead — it's 4-6x cheaper and sufficient for small diffs.
Prerequisites — Claude Code Only
This skill requires the Claude Code
Agenttool with thecode-reviewersubagent type available. It cannot be invoked from Codex or Gemini sessions, or from external shells. Parallelism comes from issuing multipleAgentcalls in a single assistant message — no team API is needed.
Cost
Approximately $2-3 per review vs ~$2.00 for single-turn specialist-review.
The premium buys multi-perspective coverage, grounded findings (sub-agents read
source files, not just diffs), and mechanical citation verification.
CRITICAL — How specialists are spawned
Spawn specialists with one-shot
Agent()calls only. Do NOT useTeamCreate,team_name=, orTaskCreateto spawn them.Team-spawned subagents inherit a restricted runtime tool set (
SendMessage,Task*only) — no Read, Grep, Glob, Write, or Bash. The observable failure is specialists narrating "I'll read the files" in plain text and idling between turns without invoking any tool. This has burned this skill twice. The fix is structural: use one-shotAgent()calls in a single message, which inherit thecode-revieweragent type's full toolset and have no between-turn idle state. Phase 1 below codifies this; the anti-pattern section at the bottom repeats the rule with the diagnostic signal so it can't be missed.
Orchestration Procedure
Follow these phases exactly. You are the orchestrator — do not delegate orchestration. Each phase is run by you in-context; only Phase 1 spawns sub-agents, and they are one-shot Agent calls that return and exit.
Phase 0 — Triage (deterministic, no API cost)
Generate the diff you want reviewed, then select perspectives:
# Generate the diff
git diff main..HEAD -- src/ > /tmp/review-diff.patch
# Select perspectives (3-5 from the catalog based on file types and content signals)
python3 skills/multi-specialist-review/scripts/triage_perspectives.py /tmp/review-diff.patch
This outputs JSON with perspectives, display_names, focus_areas, and
changed_files. Save the output — you'll use it to parameterize each specialist.
Phase 1 — Spawn specialists as parallel one-shot Agents
Spawn all specialists in a single assistant message with one Agent
tool call per perspective. Issuing multiple Agent calls in one message runs
them concurrently — that is the parallelism mechanism. Do not use
team_name=, TeamCreate, or TaskCreate; see the anti-pattern note below
for why.
For each perspective from the triage output:
Agent(
description="Specialist review: {perspective}",
subagent_type="code-reviewer",
model="sonnet",
prompt=<specialist-prompt-template.md with {{PERSPECTIVE}}, {{FOCUS_AREAS}},
{{CHANGED_FILES}}, {{DIFF_CONTENT}} filled in>
)
The template is at skills/multi-specialist-review/references/specialist-prompt-template.md.
Each specialist:
- Inherits the
code-reviewertoolset (Read, Grep, Glob, etc.) because it is a one-shot Agent call, not a team spawn - Reads actual source files via Read/Grep/Glob (not just inlined diffs)
- Returns its structured JSON object as its final assistant message
When each Agent call returns, you (the orchestrator) write its JSON
result to .agents/reviews/specialist-{perspective}-{timestamp}.json. The
verifier in Phase 2 reads these files from disk.
Phase 2 — Citation verification (deterministic, no API cost)
Run the citation verifier on all specialist output files:
python3 skills/multi-specialist-review/scripts/verify_citations.py \
.agents/reviews/specialist-*.json > .agents/reviews/verified-findings.json
This mechanically validates every finding:
- File exists on disk
- Line range is within file length
- Quoted code actually appears near the cited lines (±5 line window, whitespace-normalized)
Findings that fail verification are stripped with documented reasons.
Phase 3 — Synthesis (orchestrator, no extra agent)
Read the verified findings JSON and `skills/multi-specialist-review/refere
Установить multi-specialist-review в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл multi-specialist-review?
User-triggered multi-agent code review. Spawns 3-5 parallel specialist sub-agents that read actual source files, runs mechanical citation verification, and synthesizes a single review artifact. Use for PR-level changes, multi-commit ranges, or security-sensitive work where single-turn review is insufficient.
Как установить скилл multi-specialist-review?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл multi-specialist-review запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic