Fanout
Breadth review: fans a change to many reviewers (agents, criteria docs, review plugins) into one combined, deduplicated, severity-ranked report on disk; fix…
от melodic-software★ 34 звезды на GitHub
Установить Fanout в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Fanout
Arguments. [run-everything|fix] [--yes] [--unattended]. e.g., /review:fanout, /review:fanout run-everything, /review:fanout --unattended, /review:fanout fix, /review:fanout fix --yes
Repository context. Gather first
Run each command below as its own Bash call, all sent together in one message (worktree isolation).
Keep any bound in the command's own pipe (output limits).
Unless this section says otherwise, treat a failure (not a repository, git unavailable) as an unknown value and carry on. Keep these as body calls, never ## Pre-computed context lines (gather-block convention).
- Current branch,
git branch --show-current - Working tree status (empty = clean),
git status --porcelain | head -20 - Uncommitted diff size,
git diff --shortstat HEAD - Remote session marker,
printenv CLAUDE_CODE_REMOTE(set means the run is unattended: "Arguments")
Pre-computed context
Open PRs (match headRefName to current branch above; baseRefName is the PR's real base): !gh pr list --json number,title,headRefName,baseRefName --limit 10 2>/dev/null || echo "unknown"
Committed diff size vs default-base merge base (recompute against the PR's baseRefName when it differs): !bash "${CLAUDE_PLUGIN_ROOT}/skills/fanout/scripts/diff-vs-base.sh" 2>/dev/null || echo "unavailable"
Purpose
Breadth review: fan out across many finding-producing surfaces at once (quality-gate picks one lens), then normalize their heterogeneous free-text, which carries two independent axes (severity, confidence) with most surfaces filling only one, through a 5-stage pipeline (extraction → severity crosswalk → confidence enum → dedup → agreement/rank, findings-normalization.md) into one severity-ranked report persisted to disk.
Review modes report; a separate fix action applies. The default and run-everything modes fan out, normalize, and persist findings, mutating nothing but the findings file. The fix action consumes the persisted findings and is the only mode that touches the working tree.
Stub-scaffold phase. When a stub-scaffold phase (the planning plugin's scaffold_stubs setting) is committed, fanout may review that diff before the bodies are filled in, so file layout and signatures get a review while they are still cheap to change. It runs as an ordinary review of the committed diff, with no argument, setting or step of its own.
Shared inputs
- Review diff base: change-set.md "Review diff base". The pre-computed PR list above is the capped list that section names.
- Severity vocabulary: change-set.md "Severity vocabulary".
- Findings location: change-set.md "Findings location". The review modes' writer and the
fixaction's reader both resolve it there.
Arguments
A positional mode token (Step 0) plus two flags:
| Flag | Default | Effect |
|---|---|---|
--yes / -y |
Off | Skip the pre-execution confirmation gate for the fix action. Required for headless runs. |
--unattended |
Off | The caller declares that nobody is present (a loop, a routine, a lane rule). The review modes then run no proposed check and ask nothing. |
Unattended. A review-mode run is unattended when --unattended is passed or the environment
says nobody is present (CLAUDE_CODE_REMOTE set, claude -p, an autonomous loop), the test in
${CLAUDE_PLUGIN_ROOT}/reference/run-reviewed-code.md "Who counts as
unattended". Every other run is attended. The fix action keeps its own session test and gate
(context/fix-pass-mode.md "Step 3: Plan + confirmation gate"); this
flag does not change them.
--yes applies only to the tree-mutating fix action; it is inert for the report-only review modes, which mutate nothing to gate. For fix it is the explicit headless opt-in: in a non-interactive session fix applies only with this flag; without it, fix emits its classification plan and stops (context/fix-pass-mode.md "Step 3: Plan + confirmation gate").
fanout_diversity (run-everything and its fallback only). It sets how the leaf fan-out
spreads: lens runs one reviewer agent per concern, model sends one review prompt to each
distinct fan-out model, and codex runs the lens roster with the Codex reviewer as the
model-diversity panel in place of those fan-out models
([context/run-every
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
- 01
Workflow(review:fanout-sweep) - 02
Bash(node "${CLAUDE_PLUGIN_ROOT}/skills/setup/scripts/setup-apply.mjs" --check:*) - 03
Bash(node "${CLAUDE_PLUGIN_ROOT}/scripts/loosened-check-settings.mjs":*) - 04
Bash(node ${CLAUDE_PLUGIN_ROOT}/skills/setup/scripts/setup-apply.mjs --check:*) - 05
Bash(node "${CLAUDE_PLUGIN_ROOT}/skills/council/scripts/council-plan.mjs" member:*) - 06
Bash(node ${CLAUDE_PLUGIN_ROOT}/skills/council/scripts/council-plan.mjs member:*) - 07
Bash(external-agents review codex:*)
Вложенные файлы
- context/codex-adversarial-brief.md
- context/default-mode.md
- context/fix-pass-mode.md
- context/leaf-roster.md
- context/run-everything-mode.md
- evals/evals.json
- scripts/diff-vs-base.sh
- scripts/diff-vs-base.test.sh
FAQ
Что делает скилл Fanout?
Breadth review: fans a change to many reviewers (agents, criteria docs, review plugins) into one combined, deduplicated, severity-ranked report on disk; fix applies persisted findings. Use for a breadth review (every reviewer, angle, or side at once) or 'fix the review findings'. Not for one lens: /review:quality-gate.
Как установить скилл Fanout?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл Fanout запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
docx
AnthropicUse this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
xlsx
AnthropicUse this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
pptx
AnthropicUse this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…