/stepwise-core:research-codebasefrom stepwise-core
Documents and explains a codebase as-is to answer research questions, saving findings to a thoughts/ directory for historical context.
Ships in stepwise-core. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
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.
Research Query: $ARGUMENTS
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:
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.
If thoughts/ doesn't exist, initialize it:
bash ${CLAUDE_PLUGIN_ROOT}/skills/thoughts-management/scripts/thoughts-init
Gather metadata:
bash ${CLAUDE_PLUGIN_ROOT}/skills/thoughts-management/scripts/thoughts-metadata
Write the document to thoughts/shared/research/YYYY-MM-DD-description.md (add ENG-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 Questions
Present a concise summary to the user with the document path and suggest /stepwise-core:create-plan as a next step if applicable.
Append to the same document. Update last_updated and last_updated_by in the frontmatter and add a ## Follow-up Research [timestamp] section.
What SKILL.md sets; muted values are Claude Code's defaults
inheritThree short reads, in order
npx claudepluginhub nikeyes/stepwise-dev --plugin stepwise-core15 skills in this plugin
/bugmagnetLightweight bug discovery and test coverage analysis for a code module. Use when the user asks to find bugs, analyze test coverage, write edge case tests, or do exploratory testing on a file. Triggers on "bugmagnet", "find bugs in", "test coverage gaps", "edge cases for", or "exploratory testing on <file>"./create-planCreate detailed implementation plans through interactive research and iteration/create-plan-liteCreate a short implementation plan (under 80 lines) from a ticket or a description, after researching the codebase. Experimental lighter alternative to create-plan/grill-meInterview the user relentlessly about a plan or design until reaching shared understanding, resolving each branch of the decision tree. Use when user wants to stress-test a plan, get grilled on their design, or mentions "grill me"./hamburger-methodSlices features into vertical deliverable pieces using the Hamburger Method. Generates 4-5 implementation options per layer and composes minimal end-to-end slices. Use when slicing work, breaking down features into layers, or delivering incrementally./implement-planImplement technical plans from thoughts/shared/plans with verificationOther plugins' skills for the same job