codebase-study-parallel-reporters
БесплатноБез исполняемых скриптовНе проверенStudy an unfamiliar codebase (or audit a feature across repos) by dispatching PARALLEL READ-ONLY reporter subagents in a SINGLE tool block, NOT by reading…
от ericmjl★ 45 звёзд на GitHubОб этом скилле
Codebase Study via Parallel Reporters
Study an unfamiliar codebase (or audit how a feature is implemented across a repo) by dispatching PARALLEL READ-ONLY reporter subagents in a SINGLE tool block. Do NOT read files one-at-a-time in the main thread with narration between each.
When to use
The user asks any of:
- "study how X wires / implements Y"
- "audit the codebase" / "understand the architecture"
- "investigate the repo" / "read these files and report"
- "give me a thorough, code-quoting technical breakdown of ..."
- hands you a list of files / line-ranges / grep commands to examine
- asks to compare how two repos implement the same feature
The user will often pre-digest the exploration for you: exact file paths, line ranges (e.g. "a1.py lines 350-587"), grep commands, and a numbered report outline. This is a gift — execute against it immediately, do not re-deliberate.
The critical discipline (anti-narration)
If your plan names 2+ files or sources to examine, put ALL of the read / grep / subagent-dispatch calls in ONE tool block THIS turn.
The #1 failure mode is the announce-read-narrate-next-read loop:
Turn 1: "Let me start by exploring the repo. I'll dispatch parallel searches." (zero tool calls) Turn 2: "Let me read all the requested files in parallel. I'll start by reading all the requested files." (zero tool calls — DOUBLED narration) Turn 3: "Now let me dispatch parallel reads." (zero tool calls) User: "Take action now."
Each announcement of intent that does not resolve into a tool call forces the user to interrupt and do the work themselves. ACT, then report. End the turn with tool calls, not with a description of intended tool calls.
Procedure
1. Decompose into orthogonal concerns
Split the investigation into N focused, non-overlapping concerns. Examples for an agent-framework study:
- core agent loop + message handling
- LLM / dependency layer (which SDK, hard dep vs optional extra)
- the specific feature under study (MCP consumption, MCP exposure, HITL, tools)
- default / built-in tool registry
- tests and usage examples
2. Dispatch one READ-ONLY reporter subagent per concern, ALL IN ONE BLOCK
Each reporter subagent prompt MUST specify:
- Scope: the single concern it owns (reporters must not overlap).
- Files to read IN FULL: exact paths and line ranges the user supplied, plus any the reporter should discover via glob/grep.
- Optional discovery globs: e.g. directory shape, import graphs.
- Numbered-question output template: the structured questions the reporter must answer, in order.
- Citation contract: every claim MUST cite
file_path:line_number. No uncited assertions. - Output format: a markdown brief.
- READ-ONLY: the reporter reports findings; it does not edit anything.
Reporters are READ-ONLY so they can run concurrently without conflicting with each other or with the main thread. Partition concerns so no two reporters read-edit the same files.
3. Synthesize, do not relay
Collect the reporters' briefs and synthesize them into a single answer that addresses the user's original questions. Resolve contradictions between reporters by re-reading the cited lines yourself.
Output contract
The final synthesized answer is a markdown brief structured around the user's numbered questions (or the standard breakdown if the user did not supply one): dependency, direction(s) of data flow, the relevant method signatures quoted with line numbers, the failure modes, and the concrete takeaways.
Related
- Global AGENTS.md rules: Parallelism-via-Subagents, Verification-via-Subagents.
- Memory #1796 (the positive workflow this skill codifies), #1797 and #1769 (the narration-without-action failure mode this skill counteracts), #59 (read full files not just diffs).
dispatch-shape-discipline
- When the batch spans MANY items (quiz questions, files, lint warnings, doc sections — not just codebase study), partition the items into K SUBSETS of ~2-4 items each and dispatch K reporter subagents in ONE tool block. Two distinct defects to avoid, both flagged by user correction 2026-08-02 (sgbs-training Lesson 2 quiz audit: 'you did sequential, and each one only did one question, that was wrong, it has gotta be parallel subagents, each handling a small subset for review'): (1) SEQUENTIAL dispatch — subagents fire one-after-another (each returns before the next is issued) instead of all-at-once in a single tool block; (2) ONE-ITEM-per-subagent — N subagents each auditing a single item wastes per-subagent overhead and is the wrong shape for large batches. The correct shape is subset-partitioned SINGLE-BLOCK dispatch: inventory all items, group into K subsets, issue K Task calls in ONE assistant turn. Do NOT narrate 'let me inventory first... let me count... let me read AGENTS.md...' across sequential turns before dispatching — that announce-inventory-narrate-next-step loop is the #152 failure mode and forces a
Установить codebase-study-parallel-reporters в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл codebase-study-parallel-reporters?
Study an unfamiliar codebase (or audit a feature across repos) by dispatching PARALLEL READ-ONLY reporter subagents in a SINGLE tool block, NOT by reading files one-at-a-time in the main thread. Use when the user says 'study how X works', 'audit the codebase', 'understand the architecture', 'investigate the repo', 'read these files and report', hands you a file/line-range/grep list to examine, or asks to compare how two repos implement the same feature. Each reporter gets: a focused concern, a specific file list to read IN FULL, a numbered-question output template, a hard file_path:line citation requirement, and a markdown-brief format. CRITICAL: if your plan names 2+ files to examine, put ALL read/grep/dispatch calls in ONE tool block THIS turn — never announce the next read without executing it. Synthesis guidance in the body.
Как установить скилл codebase-study-parallel-reporters?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл codebase-study-parallel-reporters запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
docx
Use 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…
от Anthropicxlsx
Use 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…
от Anthropicpptx
Use 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…
от Anthropic