Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

codebase-research

БесплатноБез исполняемых скриптовНе проверен

Orchestrates comprehensive codebase research by decomposing user queries into parallel sub-agent tasks and synthesizing findings. This skill should be used…

mhylleот mhylle★ 20 звёзд на GitHub13 установок в других каталогах

Об этом скилле

Codebase Research

Contents

Overview

This skill enables comprehensive codebase research through parallel sub-agent orchestration. It decomposes research questions into focused sub-tasks, executes them in parallel for efficiency, and synthesizes findings into structured research documents.

Critical Constraint

THE ONLY JOB IS TO DOCUMENT AND EXPLAIN THE CODEBASE AS IT EXISTS TODAY.

Do NOT:

  • Suggest improvements unless explicitly requested
  • Perform uninvited root cause analysis
  • Propose enhancements or optimizations
  • Critique implementation choices or identify problems
  • Recommend refactoring or architectural changes

DO:

  • Describe what exists
  • Explain where functionality lives
  • Document how components work
  • Map component interactions and dependencies

Initial Response

When this skill is invoked, respond:

"I'm ready to research the codebase. Please provide your research question or area of interest, and I'll analyze it thoroughly by exploring relevant components and connections."

Available Sub-Agents

Codebase Agents

Agent Purpose When to Use
codebase-locator Finds files by topic/feature Need to locate all files related to a feature
codebase-analyzer Traces implementation with file:line refs Need to understand how code works
codebase-pattern-finder Finds code patterns with examples Need to see how patterns are implemented

Documentation Agents

Agent Purpose When to Use
docs-locator Finds docs, ADRs, design documents Need to find documentation about a topic
docs-analyzer Extracts decisions and specs from docs Need to understand documented decisions

External Research

Agent Purpose When to Use
web-search-researcher Researches external documentation Explicitly requested or need external context

Research Workflow

Step 1: Read Mentioned Files

Read any files directly mentioned by the user completely (without limit/offset parameters) before spawning sub-tasks. This establishes baseline context.

Step 2: Analyze and Decompose

Analyze the research question considering:

  • Patterns and architectural implications
  • Related components and dependencies
  • Potential sub-questions to explore
  • Whether documentation exists that provides context

Create a research plan using TodoWrite with specific investigation areas.

Step 3: Spawn Parallel Sub-Agents

Use the Task tool to spawn parallel sub-agents. Match agents to research needs:

For "Where is X? questions:

Task(subagent_type="codebase-locator", prompt="Find all files related to [topic]...")

For "How does X work?" questions:

Task(subagent_type="codebase-analyzer", prompt="Trace the implementation of [feature]...")

For "How should I implement X?" questions:

Task(subagent_type="codebase-pattern-finder", prompt="Find patterns for [type] including examples...")

For "Why was X done this way?" questions:

Task(subagent_type="docs-locator", prompt="Find design docs and ADRs related to [topic]...")
Task(subagent_type="docs-analyzer", prompt="Extract decisions and rationale for [topic]...")

For external documentation needs (only if explicitly requested):

Task(subagent_type="web-search-researcher", prompt="Research [library/API] documentation for [topic]...")

Spawn multiple agents in parallel (single message with multiple Task tool calls) for efficiency.

Step 4: Await and Compile Results

Wait for all sub-agents to complete using Ag

Полный SKILL.md на GitHub

Установить codebase-research в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Read
Glob
Grep
Bash

FAQ

Что делает скилл codebase-research?

Orchestrates comprehensive codebase research by decomposing user queries into parallel sub-agent tasks and synthesizing findings. This skill should be used when users ask questions about how code works, where functionality exists, how components interact, or need comprehensive documentation of existing implementations. It focuses exclusively on documenting and explaining the codebase as it exists today.

Как установить скилл codebase-research?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл codebase-research запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить codebase-research с