/retro
Automated retrospective generator that analyzes project data to surface insights, patterns, and actionable improvements using the Start/Stop/Continue format.
Quick Start
/agileflow:retroGenerates a retrospective for the last 2 weeks using project data.
Parameters
| Parameter | Required | Default | Description |
|---|---|---|---|
TIMEFRAME | No | 2weeks | Period to analyze: sprint, 2weeks, 30d, or 90d |
EPIC | No | - | Analyze specific epic only (e.g., EP-0010) |
FORMAT | No | ascii | Output format: ascii, markdown, or html |
SAVE | No | true | Save to docs/08-project/retrospectives/ |
Examples
Standard 2-Week Retrospective
/agileflow:retroAnalyzes the last 2 weeks with ASCII-formatted output including:
- Sprint summary (stories, velocity, cycle time)
- What went well (Continue section)
- What needs improvement (Start/Stop sections)
- Actionable items by priority
- Team contributions
- Predictions for next sprint
Last 30 Days Retrospective
/agileflow:retro TIMEFRAME=30d FORMAT=markdownAnalyzes the last 30 days and saves as markdown for easy sharing.
Epic-Specific Retrospective
/agileflow:retro EPIC=EP-0010 FORMAT=markdownFocuses retrospective analysis on a specific epic's completion with:
- Epic success metrics
- What went well during epic execution
- Challenges encountered
- Learnings for future epics
Export Without Saving
/agileflow:retro SAVE=false FORMAT=markdownGenerates and displays retrospective without saving to disk (useful for quick analysis).
Output
ASCII Format (Default)
Creates a formatted report with Unicode box drawing:
╔════════════════════════════════════════════════════════════════╗
║ AGILEFLOW RETROSPECTIVE ║
║ Sprint: Oct 17 - Oct 31 (2 weeks) ║
╠════════════════════════════════════════════════════════════════╣
║ ║
║ 📊 SPRINT SUMMARY ║
║ Stories Completed: 17 (85% of planned 20) ║
║ Velocity: 8.5 stories/week (↗ +12%) ║
║ Cycle Time: 3.2 days avg (↓ -8%) ║
║ ║
║ ✅ WHAT WENT WELL (Continue) ║
║ 1. Velocity increased +12% vs previous sprint ║
║ 2. Completed EP-0010 (Authentication) on schedule ║
║ 3. 12 stories completed in \<2 days ║
║ ║
║ ⚠️ WHAT NEEDS IMPROVEMENT ║
║ 1. Average review time: 2.5 days (up from 1.8) ║
║ 🛑 STOP: Letting PRs sit unreviewed ║
║ ▶️ START: Daily 30min review slot ║
║ ║
║ 🎯 ACTION ITEMS ║
║ HIGH Priority: ║
║ [ ] Unblock US-0045 (escalate for API keys) ║
║ [ ] Set up daily review time block (30min) ║
║ ║
║ 🔮 PREDICTIONS FOR NEXT SPRINT ║
║ Based on current velocity: ║
║ EP-0011 (Payment): 40% → 75% (6 stories) ║
╚════════════════════════════════════════════════════════════════╝Saved Files
Automatically saves to:
docs/08-project/retrospectives/retro-<YYYYMMDD>.md
docs/08-project/retrospectives/README.md (updated with index)Data Sources
Analyzes data from 4 sources:
- docs/09-agents/bus/log.jsonl - Event patterns, status transitions, blockers
- docs/09-agents/status.json - Current state, WIP levels, ownership
- docs/06-stories//US-*.md** - Completion data, estimates vs actuals
- Velocity data - Points completed, throughput trends
Retrospective Structure
Continue (What Went Well)
Patterns identified:
- High velocity increases
- Fast cycle times (under 2 days)
- Zero blocked stories
- Epic completions
- Good estimation accuracy (under 20% variance)
- Balanced agent workload
Start (New Practices)
Recommendations for:
- Daily standups to identify blockers earlier
- Breaking down stories into smaller chunks
- Finishing stories before starting new ones
- Pre-sprint dependency checks
- Dedicated review time blocks
- Planning poker for estimation
- Cross-training on bottleneck areas
Stop (Things to Eliminate)
Anti-patterns detected:
- Letting PRs sit unreviewed
- Starting stories with external dependencies
- Estimating without understanding complexity
- Over-committing in sprint planning
- Context switching between stories
- Large PRs (>400 lines)
- Assigning all work to one agent
Analysis Insights
Pattern Detection
The command identifies:
- Recurring blockers - Stories blocked multiple times
- Day-of-week patterns - When most work completes
- Handoff patterns - Knowledge silos or unclear ownership
- Story size correlations - What sizes are most efficient
- Velocity trends - Improving or declining productivity
Celebration Moments
Highlights wins like:
- Epic completions
- Velocity milestones (double-digit stories/week)
- Zero bugs reported
- Fast deliveries (under 4 hours)
- 100% test coverage achievements
Workflow
- Load data sources (bus logs, status, story data)
- Analyze what went well (velocity, cycle time, completion)
- Analyze what needs improvement (drops, long cycles, WIP)
- Detect advanced patterns
- Generate prioritized action items
- Create celebration section
- Generate comprehensive report
- Save to retrospectives directory
- Update index with latest entry
Use When
- Sprint boundaries - After each sprint or iteration
- Epic completions - Retrospective on the full epic
- Team reviews - Monthly or quarterly check-ins
- Process improvement - Identifying patterns over time
- Before planning - Apply learnings to next sprint
- Metrics context - Understand what numbers mean
Integration
Works well with:
/metrics- Contextualize metrics data/velocity- Analyze velocity trends/babysit- Suggests retro at sprint boundaries/status- References current story status
Related Commands
On This Page
/retroQuick StartParametersExamplesStandard 2-Week RetrospectiveLast 30 Days RetrospectiveEpic-Specific RetrospectiveExport Without SavingOutputASCII Format (Default)Saved FilesData SourcesRetrospective StructureContinue (What Went Well)Start (New Practices)Stop (Things to Eliminate)Analysis InsightsPattern DetectionCelebration MomentsWorkflowUse WhenIntegrationRelated Commands