delegated-review-loop
БесплатноБез исполняемых скриптовНе проверенRun a delegated build-review-improve loop when the user explicitly invokes this skill or explicitly asks to have sub-agents build and iteratively review the…
от buYoung★ 21 звезда на GitHubОб этом скилле
Delegated Review Loop
A quality loop built for users who want to describe what they need and get a result that has already survived scrutiny — without reading schemas, configuring panels, or supervising rounds. The main agent acts purely as an orchestrator: it delegates context-gathering to a scout, the work to a worker sub-agent, fans out an automatically-selected reviewer panel, routes findings back to the worker, and repeats until the panel passes.
Why the main agent never holds the pen: an author reviewing its own work in the same context inherits its own blind spots. Separating the worker (full task context, makes decisions) from the reviewers (clean context, see only the request and the artifact) keeps the critique honest, and keeping the main agent out of authorship keeps the orchestration judgment unbiased.
When to use
Only when the user explicitly invokes this skill or explicitly asks for sub-agents to build and iteratively review/improve something. Never auto-trigger on ordinary implementation requests or on task completion.
If the user already has a finished artifact and only wants it verified — not rebuilt or improved by sub-agents — iterative-self-review is the right tool, not this one.
Roles
| Role | Holds | Never does |
|---|---|---|
| Main agent (orchestrator) | Session lifecycle, task classification, panel selection, finding merge, loop control, final summary | Write or edit the artifact; review it itself; inline document content into sub-agent prompts |
| Scout sub-agent (optional) | Read-only context gathering before the build | Edit anything; make implementation decisions |
| Worker sub-agent | Full task context; produces and improves the artifact | Grade its own work; talk to the user |
| Reviewer sub-agents | Clean context: task request + current artifact only | Edit anything; see the scout's notes, other reviewers' findings, or the worker's reasoning |
Session directory and path-passing rule
All inter-agent content travels as documents inside one per-session directory under .agents/agents-community/<session-id>/, created by the main agent at the start and cleaned up by it at the end. The orchestration rule is strict and is what keeps the main agent's context lean:
- The main agent hands sub-agents file paths only — it never pastes document content into a prompt.
- Each sub-agent reads its inputs from the files itself and writes its output as a new document in the session directory, returning only the path.
- Which paths the main agent hands to whom is the isolation contract. A reviewer that receives the scout's notes or the worker's report path is no longer blind. The full layout and read-access matrix live in session_protocol.md — follow it exactly.
The deliverable itself (code, the actual document) lives at its real repository path; the session directory holds coordination documents only.
Workflow
Step 1 — Frame the task and open the session
Extract the substantive task request from the user's own words. If the invocation message itself is contentless (e.g., just the skill name), reconstruct the request from the user's earlier utterances — verbatim quotes only. Create the session directory per session_protocol.md and write the request to task_request.md. This file is immutable for the rest of the loop and is the one document every agent may read.
Step 2 — Select the reviewer panel
Classify the deliverable (code / document / design or plan / mixed) and pick 2–4 review lenses from the roster in reviewer_panel.md. Correctness and requirements-fit are always in; the rest depend on what the task actually risks. Don't pad the panel — every extra reviewer costs a full read of the artifact, so add a lens only when the task plausibly fails along it.
Then, as a required action of this step — not a formality: print the chosen panel to the user in one line (e.g., "리뷰어 패널: 정확성, 요구사항 충족, 단순성") before spawning any sub-agent (scout included). This line is one of only three things the user sees while the loop runs; skipping it leaves them watching an opaque, slow process with no idea what is happening. Selecting the panel silently and only revealing it in the final summary defeats the line's purpose. No further configuration dialog — defaults carry the rest.
Step 3 — Scout gathers context, and the simplicity gate
If the task depends on context the worker would otherwise have to rediscover — an unfamiliar codebase area, related existing implementations, external constraints — spawn a read-only scout sub-agent first using the prompt in worker_prompt.md. It writes its findings to research/context.md and returns the path. Skip the scout for self-contained tasks; a one-file fix does not need a survey.
The scout's notes go to the worker only. Reviewers never receive this
Установить delegated-review-loop в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл delegated-review-loop?
Run a delegated build-review-improve loop when the user explicitly invokes this skill or explicitly asks to have sub-agents build and iteratively review the work. A worker sub-agent produces the artifact (with an optional scout sub-agent gathering context first), a task-matched panel of independent reviewer sub-agents critiques it in parallel, and the worker improves until the panel passes or the iteration cap is reached. All inter-agent content flows through documents in a per-session directory; the main agent orchestrates by passing file paths only and never writes the artifact itself. Applies to any deliverable: code changes, documents, designs, plans. Do not auto-trigger on ordinary requests; this is an explicit-invocation skill. Distinct from iterative-self-review, where the main agent holds the pen and a single blind verifier checks it.
Как установить скилл delegated-review-loop?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл delegated-review-loop запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic