Perform project research and technical investigation without implementation
Investigates codebase with confidence-scored findings, generating detailed research reports without implementation.
/plugin marketplace add thkt/claude-config/plugin install complete-workflow-system@thkt-development-workflows[research topic or question]inheritInvestigate codebase with confidence-based findings (✓/→/?), without implementation.
!`git log --oneline -10 || echo "Not a git repository"`
!`ls -la package.json pyproject.toml go.mod Cargo.toml 2>/dev/null | head -5 || echo "No standard project files"`
!`git diff --name-only HEAD~1 2>/dev/null | head -10 || echo "No recent changes"`
!`grep -E "jest|mocha|vitest|pytest" package.json 2>/dev/null | head -3 || echo "No test framework detected"`
Use throughout all findings:
First, get a quick overview of the codebase:
Task({
subagent_type: "Explore",
description: "Codebase overview",
prompt: `
Thoroughness: medium (options: quick | medium | very thorough)
Topic: "${researchTopic}"
Investigate:
1. Architecture: structure, entry points [✓]
2. Tech stack: frameworks, versions [✓]
3. Key components: modules, APIs [→]
4. Patterns: conventions, practices [→]
5. Unknowns: what needs verification [?]
Return findings with confidence markers (✓/→/?).
`
})
Then, launch 2-3 code-explorer agents in parallel for detailed analysis:
// Agent 1: Similar features
Task({
subagent_type: "feature-dev:code-explorer",
description: "Find similar features",
prompt: `
Topic: "${researchTopic}"
Find features similar to this topic and trace their implementation comprehensively.
Output:
- Entry points with file:line references
- Step-by-step execution flow
- Key components and responsibilities
- List of 5-10 essential files to read
`
})
// Agent 2: Architecture mapping
Task({
subagent_type: "feature-dev:code-explorer",
description: "Map architecture",
prompt: `
Topic: "${researchTopic}"
Map the architecture and abstractions for this area, tracing through the code comprehensively.
Output:
- Architecture layers (presentation → business → data)
- Design patterns and decisions
- Dependencies and integrations
- List of 5-10 essential files to read
`
})
// Agent 3: Current implementation (if applicable)
Task({
subagent_type: "feature-dev:code-explorer",
description: "Analyze current implementation",
prompt: `
Topic: "${researchTopic}"
Analyze the current implementation of related features.
Output:
- Data flow and transformations
- State changes and side effects
- Error handling patterns
- List of 5-10 essential files to read
`
})
Use for structure only: [@../templates/research/context.md]
IMPORTANT:
Always save two files:
.claude/workspace/research/YYYY-MM-DD-[topic].md
Full research report with all discoveries.
.claude/workspace/research/YYYY-MM-DD-[topic]-context.md
Structured context following Golden Master format.
Display after save:
📄 Research saved:
Findings: .claude/workspace/research/[date]-[topic].md
Context: .claude/workspace/research/[date]-[topic]-context.md
# Topic-based research (auto-selects depth)
/research "authentication system"
# Force quick overview
/research --quick "API structure"
# Force deep analysis
/research --deep "complete architecture"
# No topic (explores current project)
/research
After research:
/think (auto-detects context file)/fix for targeted solutions/code for implementation