/ideate
Generate improvement ideas by deploying multiple domain experts in parallel to analyze your codebase from different perspectives (security, performance, code quality, UX, testing, API/Architecture).
Quick Start
/agileflow:ideate SCOPE=all DEPTH=quick OUTPUT=reportParameters
| Parameter | Required | Default | Description |
|---|---|---|---|
SCOPE | No | all | Which domains to analyze: all, security, perf, code, ux |
DEPTH | No | quick | Analysis depth: quick (3 ideas), deep (5 ideas) |
OUTPUT | No | report | Output type: report (ideation only), stories (create stories), both |
Examples
Analyze All Domains - Quick Scope
/agileflow:ideate SCOPE=all DEPTH=quick OUTPUT=reportDeploys 6 experts (security, performance, refactor, ui, testing, api) to generate 3 improvement ideas each. Results in ideation report with high/medium confidence ideas.
Deep Security Analysis
/agileflow:ideate SCOPE=security DEPTH=deep OUTPUT=storiesFocuses on security with deep analysis (5 ideas per expert). Creates stories for high-confidence items immediately.
Performance Analysis with Both Report and Stories
/agileflow:ideate SCOPE=perf DEPTH=deep OUTPUT=bothAnalyzes performance with experts (performance, database, api), generates report and creates implementation stories.
Scope Mapping
| SCOPE | Experts Deployed | Best For |
|---|---|---|
all | Security, Performance, Refactor, UI, Testing, API | Comprehensive analysis (6 experts) |
security | Security, API, Testing | Security review (3 experts) |
perf | Performance, Database, API | Performance optimization (3 experts) |
code | Refactor, Testing, API | Code quality (3 experts) |
ux | UI, Accessibility, API | User experience (3 experts) |
Output Structure
Ideation Report (output.md)
The command generates docs/08-project/ideation-<YYYYMMDD>.md with:
- Summary: Total ideas, confidence breakdown
- High-Confidence Improvements: Ideas agreed by 2+ experts (prioritize these)
- Medium-Confidence Opportunities: Single expert with evidence (worth exploring)
- Summary by Category: Table of idea counts per domain
- Recommended Next Steps: Implementation guidance
Confidence Scoring
| Confidence | Criteria | Action |
|---|---|---|
| HIGH | 2+ experts suggest similar idea | Include prominently, recommend immediate action |
| MEDIUM | 1 expert with specific evidence (file paths, metrics) | Include as opportunity |
| LOW | 1 expert, vague/no evidence | Exclude from report |
Sample Report Section
# Ideation Report
**Generated**: 2025-12-30
**Scope**: all
**Depth**: quick
**Total Ideas**: 15 (High: 4, Medium: 8, Low: 3)
## 🎯 High-Confidence Improvements
*Agreed by multiple experts - prioritize these*
### 1. Add request rate limiting to API
**Category**: Security | **Impact**: High | **Effort**: 1-2 days
**Experts**: Security, API
**Why**: Prevents DDoS attacks and brute force attempts
**Files**: `src/api/middleware/auth.ts`, `src/api/routes/`
## 💡 Medium-Confidence Opportunities
*Single expert with evidence - worth exploring*
### 5. Implement caching layer for database queries
**Category**: Performance | **Impact**: High | **Effort**: 2-3 days
**Expert**: Performance
**Why**: Your homepage renders 200+ components, this would fix 2-second load time
**Files**: `src/db/queries.ts`, `src/cache/`Generated Stories (Optional)
When OUTPUT=stories or OUTPUT=both, creates implementation stories in docs/06-stories/ for each high-confidence idea:
---
story_id: US-XXXX
type: improvement
ideation_source: ideation-20251230.md
estimate: 1d
---
# US-XXXX: Idea from Ideation
## Background
Identified in ideation report. Agreed by: Security, API experts.
## Acceptance Criteria
- [ ] Specific criterion 1
- [ ] Specific criterion 2
- [ ] Tests pass
## Technical Notes
Implementation approach from ideation analysis.How It Works
- Parse Arguments: Determines which experts to deploy and analysis depth
- Deploy Experts in Parallel: Launches all experts simultaneously
- Each Expert Generates Ideas: 3-5 specific, actionable improvement ideas
- Collect Results: Waits for all experts to complete
- Synthesize: Groups overlapping ideas, scores confidence
- Generate Output: Creates report (and optional stories)
Best Practices
Get the Most from /ideate
Do This:
- Use
SCOPE=allquarterly for comprehensive analysis - Use specific SCOPE for focused improvement areas
- Use
DEPTH=deepwhen investigating specific domain - Review HIGH-confidence ideas first
- Create stories for HIGH-confidence improvements
Don't Do This:
- Ignore MEDIUM-confidence ideas with specific evidence
- Try to implement everything at once
- Use without running git to get latest code context
- Skip the "why" section when deciding to implement
Interpreting Results
High-Confidence Ideas (2+ experts):
- Strong signal of real improvement opportunity
- Recommended for immediate action
- Usually require 1-3 days of effort
Medium-Confidence Ideas (single expert):
- Valuable but less certain
- Worth discussing with team
- Often good candidates for next sprint
Vague Ideas:
- Automatically excluded from report
- Too generic without file paths or metrics
- If interested, do focused research first
Related Commands
/epic- Create epic for ideation improvements/story- Create story for specific improvement/research:analyze- Deep dive on specific improvement area/babysit- Get help implementing an improvement
Integration
With Sprint Planning
After ideation, use high-confidence items to populate sprint:
/agileflow:ideate SCOPE=all DEPTH=quick OUTPUT=stories
# Stories created → add to sprint planning with /agileflow:sprintWith Retrospectives
Run ideation after retrospectives to find systemic improvements:
/agileflow:ideate SCOPE=code DEPTH=deep
# Analyze code quality problems identified in retroWith ADRs
Convert architectural ideas into ADRs:
/agileflow:ideate SCOPE=architecture OUTPUT=report
# Review HIGH-confidence architectural improvements
/agileflow:adr NUMBER=0045 TITLE="..." CONTEXT="From ideation"On This Page
/ideateQuick StartParametersExamplesAnalyze All Domains - Quick ScopeDeep Security AnalysisPerformance Analysis with Both Report and StoriesScope MappingOutput StructureIdeation Report (output.md)Confidence ScoringSample Report SectionGenerated Stories (Optional)How It WorksBest PracticesGet the Most from /ideateInterpreting ResultsRelated CommandsIntegrationWith Sprint PlanningWith RetrospectivesWith ADRs