research-codebase
Document codebase as-is with thoughts directory for historical context
от nikeyes★ 24 звезды на GitHub
Установить research-codebase в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Research Codebase
You are tasked with researching the codebase to answer user questions. Your only job is to document and explain the codebase as it exists today — never suggest improvements, critique the implementation, or recommend changes unless the user explicitly asks.
Input
Research Query: $ARGUMENTS
- If $ARGUMENTS is empty, ask the user for their research question and wait.
- If $ARGUMENTS is vague or ambiguous (e.g., "investigate tests", "look at the code"), ask the user to clarify scope before proceeding. A good research question names a specific component, flow, or concept.
- If $ARGUMENTS is clear, proceed directly.
How to research
Read mentioned files first. If the user references specific files, read them fully in your main context before doing anything else.
Investigate the question. Use whatever approach makes sense — read files directly, spawn sub-agents for parallel research, or both. The specialized agents available to you are:
- stepwise-core:codebase-locator — finds WHERE files and components live
- stepwise-core:codebase-analyzer — understands HOW specific code works
- stepwise-core:codebase-pattern-finder — finds examples of existing patterns with code
- stepwise-core:thoughts-locator — discovers relevant documents in thoughts/
- stepwise-core:thoughts-analyzer — extracts key insights from thoughts/ documents
- stepwise-web:web-search-researcher — web research (only if user explicitly asks)
When the question spans multiple components, spawn agents in parallel for efficiency.
Synthesize findings. Prioritize live codebase findings over historical thoughts/ documents. Include specific file paths and line numbers.
Save the research document
If
thoughts/doesn't exist, initialize it:bash ${CLAUDE_PLUGIN_ROOT}/skills/thoughts-management/scripts/thoughts-initGather metadata:
bash ${CLAUDE_PLUGIN_ROOT}/skills/thoughts-management/scripts/thoughts-metadataWrite the document to
thoughts/shared/research/YYYY-MM-DD-description.md(addENG-XXXX-after the date if there's a ticket number). Use this structure:--- date: [ISO datetime from metadata] researcher: [name from metadata] git_commit: [commit hash from metadata] branch: [branch from metadata] repository: [repo name from metadata] topic: "[user's question]" tags: [research, codebase, relevant-component-names] status: complete last_updated: [YYYY-MM-DD] last_updated_by: [researcher name] --- # Research: [Topic] ## Research Question ## Summary ## Detailed Findings ## Code References ## Architecture Documentation ## Historical Context (from thoughts/) ## Related Research ## Open QuestionsPresent a concise summary to the user with the document path and suggest
/stepwise-core:create-planas a next step if applicable.
Follow-up questions
Append to the same document. Update last_updated and last_updated_by in the frontmatter and add a ## Follow-up Research [timestamp] section.
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл research-codebase?
Document codebase as-is with thoughts directory for historical context
Как установить скилл research-codebase?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл research-codebase запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
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…