Flow Research
Conduct pre-PRD research including codebase analysis and documentation lookup.
Usage
flow-research <topic>
Workflow
Phase 1: Research Initialization
- Define Topic: Use provided argument or ask user
- Classify Type: New Feature, Bug Investigation, Integration, Refactoring, Performance
Phase 2: Codebase Exploration
- Map relevant modules and files
- Identify existing patterns
- Analyze dependencies
Phase 3: External Documentation
- Lookup relevant library documentation
- Note APIs, best practices, gotchas
Phase 4: Prior Art
- Check git history for similar work
- Research external patterns
Phase 5: Risk Assessment
- Identify technical risks
- Plan recovery strategy
Phase 6: Create Research Document
Create .agent/research/{research_id}/research.md with:
- Executive Summary
- Codebase Analysis
- Library Documentation
- Prior Art
- Risk Assessment
- Recommended Approach
Critical Rules
- THOROUGH EXPLORATION - Analyze codebase before external research
- ACTIONABLE OUTPUT - Research should inform PRD creation
微信扫一扫