Sprint Review & Retrospective Report Automation
Core Principles
- Transparency is Collaboration: Sprint deliverables, feedback, and improvement suggestions are visible to all, ensuring team alignment
- Risk Early Warning: Issues and risks identified in Retro are exposed promptly, preventing recurrence in subsequent Sprints
- Automated Tracking: Improvement suggestion execution status, action item completion automatically tracked
- Retrospectives are for Learning, Not Blame: The core value of Sprint retrospective reports is extracting reusable learnings from each iteration, forming a flywheel of continuous team improvement. Retrospectives are not scorecards, but improvement roadmaps
Interaction Mode
🤖 AI Auto-Execute
- All preparation and follow-up processing is automatically completed by AI
- Sprint Review meetings still require human facilitation and presentation
- Sprint Retro meetings require human participation in discussion and decision-making
- Improvement suggestions require human confirmation before execution
- Retrospective reports require human review and confirmation (Sprint Goal achievement determination, improvement action item owner assignment, next Sprint capacity forecast)
Input
| Input Item |
Type |
Required |
Source |
Description |
| sprint_backlog |
object |
Yes |
output/pm-project/agile-sprint-planning/sprint_plan.json |
Sprint planned Stories |
| completed_stories |
object[] |
Yes |
User provided |
Completed Stories |
| team_data |
object |
No |
User provided |
Team performance data |
| stakeholder_feedback |
object[] |
No |
User provided |
Stakeholder feedback (optional) |
| daily_sync_records |
markdown |
No |
agile-daily-sync |
Daily sync records (blocker tracking, risk records, progress updates) |
| historical_sprint_data |
text |
No |
User input |
Velocity and delivery data from past 3-5 Sprints |
| release_data |
JSON |
No |
Release Management System |
Release version and change content (required for release retrospective) |
| monitoring_data |
JSON |
No |
Monitoring System |
Business metrics and performance metrics (required for release retrospective) |
| user_feedback_data |
JSON |
No |
Customer Service/Feedback Platform |
User satisfaction and feedback (optional for release retrospective) |
| bug_statistics |
JSON |
No |
Bug Tracking System |
Release-related Bug statistics (optional for release retrospective) |
| release_process_data |
JSON |
No |
Release Logs |
Release process data (optional for release retrospective) |
Execution Steps
Step 1: Sprint Review [Core] (Assess goal achievement and capture improvements)
Step 1.1: Deliverable Inventory Auto-Compilation [Core]
Actions:
- Aggregate all Stories completed in the Sprint
- Organize delivery content for each Story
- Calculate completion rate
- Generate deliverable summary
Output:
{
"deliverables": {
"sprint_summary": {
"sprint_id": "string",
"planned_stories": number,
"completed_stories": number,
"cancelled_stories": number,
"completion_rate": 0.0-1.0,
"planned_points": number,
"completed_points": number,
"points_completion_rate": 0.0-1.0
},
"completed_items": [{
"story_id": "string",
"title": "string",
"story_points": number,
"key_deliverables": ["string"],
"completed_by": "string",
"quality_notes": "string"
}],
"incomplete_items": [{
"story_id": "string",
"title": "string",
"remaining_work": "string",
"carryover_decision": "next_sprint | deprioritize | replan"
}]
}
}
Step 1.2: Demo Preparation Checklist Generation [Conditional]
Actions:
- Generate Demo agenda based on completed Stories
- Assign duration for each Demo
- Prepare Demo environment checklist
- Suggest presentation order
Output:
{
"demo_checklist": {
"demo_duration_minutes": number,
"items": [{
"order": 1,
"demo_topic": "string",
"story_id": "string",
"presenter": "string",
"duration_minutes": number,
"environment_check": {
"staging_ready": boolean,
"test_data_ready": boolean,
"access_verified": boolean
},
"key_points": ["string"],
"questions_to_anticipate": ["string"]
}]
}
}
Step 1.3: Feedback Auto-Collection & Classification [Conditional]
Actions:
- Collect stakeholder feedback
- Classify feedback types (feature/UX/performance/other)
- Identify duplicate feedback
- Sort by importance
Output:
{
"feedback_collected": {
"total_feedback_count": number,
"feedback_by_type": {
"feature_request": number,
"usability_issue": number,
"performance_concern": number,
"bug_report": number,
"positive_feedback": number,
"other": number
},
"feedback_items": [{
"feedback_id": "FB-001",
"description": "string",
"type": "string",
"source": "string",
"timestamp": "ISO datetime",
"priority": "high | medium | low",
"related_story": "string | null",
"actionable": boolean
}]
}
}
Step 1.4: Data Auto-Collection [Core]
Actions:
- Collect Sprint completion rate, quality metrics, collaboration data
- Analyze team cadence and efficiency
- Extract key data metrics
- Generate data summary
Output:
{
"metrics": {
"completion_metrics": {
"story_completion_rate": 0.0-1.0,
"point_completion_rate": 0.0-1.0,
"avg_story_completion_time_days": number,
"carryover_rate": 0.0-1.0
},
"quality_metrics": {
"bug_count": number,
"bug_rejection_rate": 0.0-1.0,
"code_review_turnaround_hours": number,
"build_failure_rate": 0.0-1.0
},
"collaboration_metrics": {
"blocker_resolution_time_hours": number,
"meeting_hours_total": number,
"ad_hoc_interruption_count": number,
"cross_team_dependency_delays": number
},
"team_health": {
"avg_overtime_hours": number,
"member_stress_indicators": ["string"],
"velocity_stability": "stable | fluctuating | declining"
}
}
}
Step 1.5: Problem Auto-Identification [Conditional]
Actions:
- Analyze data to identify patterns and problems
- Detect anomalies within the Sprint
- Identify recurring problems
- Classify problem types (process/technical/collaboration/resource)
Output:
{
"problems_identified": [{
"problem_id": "PRB-001",
"description": "string",
"category": "process | technical | collaboration | resource",
"evidence": "string",
"frequency": "first_time | recurring | persistent",
"severity": "high | medium | low",
"impact": "string"
}]
}
Step 1.6: Improvement Suggestions Auto-Generation [Conditional]
Actions:
- Generate targeted improvement suggestions based on problems
- Consider team context and historical improvements
- Suggest actionable concrete actions
- Annotate suggestion priority
Output:
{
"improvement_suggestions": [{
"suggestion_id": "IMP-001",
"problem_addressed": "PRB-001",
"description": "string",
"proposed_action": "string",
"expected_impact": "string",
"implementation_effort": "low | medium | high",
"priority": "high | medium | low",
"owner_suggestion": "string",
"success_metric": "string"
}]
}
Step 2: Retrospective Report Generation [Core] (Sprint goal achievement analysis, delivery quality assessment, team velocity trends, improvement action items)
Step 2 receives Step 1's output as input, combined with Sprint plan and historical data, to generate a complete retrospective report.
Step 2.1: Sprint Goal Achievement Analysis [Core]
Compare plan vs actual delivery:
- Sprint Goal Achievement: Fully achieved / Partially achieved / Not achieved
- Story Completion Rate: Planned Stories vs Completed Stories vs Spilled Stories
- Story Point Achievement Rate: Committed SP vs Completed SP vs Spilled SP
- Spillover Analysis: Root cause classification of spilled Stories (estimation inaccuracy/requirement changes/technical debt/external dependencies)
Step 2.2: Delivery Quality Assessment [Core]
Assess the quality of this Sprint's deliverables:
- Defect Density: Defects per Story Point, compared with historical average
- Defect Distribution: By severity (P0/P1/P2/P3)
- Rework Rate: Proportion of Stories reworked due to quality issues
- Technical Debt: Technical debt added/paid off this Sprint
Step 2.3: Team Velocity Analysis [Conditional]
Analyze team delivery velocity trends:
- This Sprint Velocity: Completed SP, effective working days, daily average SP
- Velocity Trend: Velocity change trend over last 5 Sprints (increasing/stable/decreasing)
- Velocity Volatility: Standard deviation and coefficient of variation, assess predictability
- Capacity Utilization: Actual output vs available capacity ratio
Step 2.4: Improvement Action Item Extraction [Core]
Extract actionable improvement suggestions from execution data:
- Keep (What went well): Practices worth maintaining this Sprint
- Improve (What needs improvement): Problems exposed this Sprint and improvement directions
- Try (New experiments): New practices suggested for next Sprint
- Action Item List: Each improvement has a clear owner, deadline and acceptance criteria
Step 2.5: Next Sprint Recommendations [Deep]
Provide recommendations for the next Sprint based on retrospective conclusions:
- Velocity Forecast: Predict next Sprint's committable SP range based on trends
- Risk Anticipation: Anticipate next Sprint risks based on this Sprint's spillover root causes
- Capacity Recommendations: Capacity adjustments considering holidays, personnel changes, etc.
- Improvement Experiments: Suggest 1-2 improvement experiments to validate in the next Sprint
Step 2.6: Report Assembly [Core]
Assemble the above content into a complete report.
Markdown Report Structure:
# Sprint Retrospective Report: Sprint {NN}
## 1. Executive Summary
- Sprint Goal achievement / Story completion rate / Velocity / Top 3 improvement items
## 2. Goal Achievement Analysis
- Sprint Goal assessment
- Story completion rate (planned/completed/spilled)
- Story Point achievement rate
- Spillover root cause analysis
## 3. Delivery Quality Assessment
- Defect density (vs historical average)
- Defect distribution (P0-P3)
- Rework rate
- Technical debt change
## 4. Team Velocity Analysis
- This Sprint velocity
- Velocity trend (last 5 Sprints chart)
- Velocity volatility and predictability
- Capacity utilization
## 5. Improvement Action Items
- ✅ Keep (What went well)
- 🔧 Improve (What needs improvement)
- 🧪 Try (New experiments)
- Action item list (owner/deadline/acceptance criteria)
## 6. Next Sprint Recommendations
- Velocity forecast range
- Risk anticipation
- Capacity recommendations
- Improvement experiment suggestions
JSON Structure:
{
"sprint_id": "S{NN}",
"sprint_dates": { "start": "", "end": "" },
"report_date": "",
"goal_achievement": {
"status": "fully|partially|not_achieved",
"sprint_goal": "",
"evidence": ""
},
"delivery_metrics": {
"stories_planned": 0,
"stories_completed": 0,
"stories_spilled": 0,
"sp_planned": 0,
"sp_completed": 0,
"spill_reasons": []
},
"quality_metrics": {
"defect_density": 0,
"defect_distribution": { "P0": 0, "P1": 0, "P2": 0, "P3": 0 },
"rework_rate": 0,
"tech_debt_delta": ""
},
"velocity": {
"current": 0,
"trend": "increasing|stable|decreasing",
"historical": [],
"capacity_utilization": 0
},
"action_items": {
"keep": [],
"improve": [],
"try": []
},
"next_sprint_recommendation": {
"velocity_range": [0, 0],
"risks": [],
"capacity_adjustment": "",
"experiments": []
}
}
Step 3: Release Retrospective [Conditional]
Step 3 is executed after release completion (recommended T+2 weeks), automatically collecting multi-source data to review release effectiveness, engineering quality, and release process, and generate improvement action items.
Step 3.1: Effectiveness Review [Conditional] (Post-release core metric comparison)
Actions:
- Collect post-release core business metrics and performance metrics data
- Compare release targets vs actual achievement
- Perform attribution analysis on unachieved metrics
- Assess data quality and completeness
Output:
{
"release_effectiveness": {
"release_id": "string",
"retrospective_period": {
"start": "ISO date",
"end": "ISO date"
},
"goal_vs_actual": [{
"metric": "string",
"target": number,
"actual": number,
"achievement_rate": 0.0-1.0,
"status": "achieved | partially_achieved | not_achieved | exceeded",
"gap": number,
"significance": "high | medium | low"
}],
"attribution_analysis": [{
"metric": "string",
"actual_vs_target_gap": number,
"attributions": [{
"factor": "string",
"impact": number,
"confidence": 0.0-1.0,
"evidence": "string"
}],
"primary_cause": "string"
}],
"data_quality": {
"completeness": 0.0-1.0,
"accuracy": "verified | unverified",
"gaps": ["string"]
}
}
}
Step 3.2: Engineering Quality Review [Conditional] (Bug density, tech debt change)
Actions:
- Count post-release Bug count, severity distribution, source distribution
- Compare Bug trends between this and previous release
- Analyze technical debt change (added/paid off)
- Identify Bug root cause patterns
Output:
{
"release_quality": {
"bug_statistics": {
"total_bugs": number,
"by_severity": { "P0": number, "P1": number, "P2": number, "P3": number },
"by_source": {
"testing_discovered": number,
"production_reported": number,
"leakage_rate": 0.0-1.0
},
"by_category": { "functional": number, "ui_ux": number, "performance": number, "security": number, "other": number }
},
"bug_trend_analysis": {
"trend_comparison": {
"total_bugs": { "current": number, "previous": number, "change_pct": number, "trend": "improving | stable | worsening" },
"leakage_rate": { "current": number, "previous": number, "change_pct": number, "trend": "improving | stable | worsening" },
"avg_fix_time_days": { "current": number, "previous": number, "change_pct": number, "trend": "improving | stable | worsening" }
},
"root_cause_patterns": [{
"pattern": "string",
"evidence": "string",
"confidence": 0.0-1.0
}]
},
"technical_debt_analysis": {
"code_quality": {
"maintainability_index": number,
"baseline": number,
"status": "improving | stable | slight_degradation | significant_degradation"
},
"debt_items": [{
"item": "string",
"severity": "high | medium | low",
"estimated_debt_hours": number,
"introduced_in": "string"
}],
"total_estimated_debt_hours": number
}
}
}
Step 3.3: Process Review [Deep] (Sprint efficiency, collaboration quality)
Actions:
- Analyze issue discovery timing distribution (percentage across dev/testing/production stages)
- Assess incident response speed (detection, response, resolution duration)
- Analyze team collaboration efficiency (satisfaction, bottleneck identification)
- Assess release process quality
Output:
{
"release_process": {
"issue_discovery_timing": {
"discovery_stages": [{
"stage": "string",
"issues_found": number,
"pct": 0.0-1.0,
"cost_multiplier": number
}],
"assessment": {
"ideal_production_share": "string",
"actual_production_share": "string",
"status": "good | needs_improvement | critical"
}
},
"response_speed_analysis": {
"incident_response": {
"avg_detection_time_minutes": number,
"avg_response_time_minutes": number,
"avg_resolution_time_minutes": number,
"benchmark": "string"
},
"assessment": "good | acceptable | needs_improvement"
},
"collaboration_efficiency": {
"team_feedback_summary": {
"survey_response_rate": 0.0-1.0,
"overall_satisfaction": number,
"key_positives": ["string"],
"key_improvements": ["string"]
},
"bottlenecks_identified": [{
"bottleneck": "string",
"frequency": "string",
"impact": "string",
"owner": "string"
}]
}
}
}
Step 3.4: Improvement Action Item Generation [Conditional]
Actions:
- Auto-generate improvement action items based on effectiveness review, engineering quality review, and process review results
- Rank by composite score of impact/urgency/feasibility
- Each action item includes owner, deadline, verification method and success criteria
- Action item categories: product improvement, test improvement, infrastructure improvement, process improvement
Output:
{
"release_action_items": {
"items": [{
"item_id": "string",
"source": "Effectiveness Review | Engineering Quality Review | Process Review",
"title": "string",
"description": "string",
"priority": "high | medium | low",
"type": "product_improvement | test_improvement | infrastructure | process_improvement",
"owner": "string",
"due_date": "ISO date",
"verification_method": "string",
"success_criteria": "string",
"status": "open | in_progress | done"
}],
"priority_ranking": [{
"item_id": "string",
"priority_score": number,
"factors": {
"impact": number,
"urgency": number,
"feasibility": number
},
"rank": number
}]
}
}
Step 3.5: Release Retrospective Report Assembly [Conditional]
Assemble effectiveness review, engineering quality review, process review and improvement action items into a complete release retrospective report.
Markdown Report Structure:
# Release Retrospective Report: {release_id}
## 1. Executive Summary
- Release version / Retrospective period / Goal achievement overview / Top 3 improvement action items
## 2. Effectiveness Review
- Target vs actual comparison
- Attribution analysis
- Data quality assessment
## 3. Engineering Quality Review
- Bug statistics and trends
- Technical debt change
- Root cause pattern identification
## 4. Process Review
- Issue discovery timing analysis
- Response speed assessment
- Collaboration efficiency analysis
## 5. Improvement Action Items
- Action item list (source/priority/owner/deadline/verification method)
- Priority ranking
## 6. Overall Assessment
- Rating (good / acceptable / needs_improvement)
- Comprehensive summary
JSON Structure:
{
"release_retrospective": {
"release_id": "string",
"retrospective_period": { "start": "ISO date", "end": "ISO date" },
"generated_at": "ISO datetime",
"effectiveness": {
"summary": {
"goals_achieved": number,
"goals_partially_achieved": number,
"goals_not_achieved": number
},
"goal_vs_actual": [],
"attribution_analysis": []
},
"quality": {
"bug_statistics": {},
"bug_trend_analysis": {},
"technical_debt_analysis": {}
},
"process": {
"issue_discovery_timing": {},
"response_speed_analysis": {},
"collaboration_efficiency": {}
},
"action_items": [],
"overall_assessment": {
"rating": "good | acceptable | needs_improvement",
"summary": "string"
}
}
}
Output
Storage Path: output/pm-project/agile-review/
Output Depth Classification
| Depth Level |
Output Scope |
Description |
| quick |
Iteration score + TOP3 improvement items |
Core conclusions + minimum viable output, only Step 1.1 deliverable inventory and Step 2.1/2.2/2.4 core conclusions |
| standard |
Complete retrospective report (current default) |
Complete output, including all Step 1-2 outputs and Step 3 (if release data available) |
| deep |
Complete retrospective + extended analysis |
Complete output + team dynamics analysis + trend comparison + improvement roadmap + decision records + risk assessment |
Output Files:
| File |
Path |
Description |
| Sprint Review Data |
sprint_review.json |
Sprint review data, including deliverables, Demo checklist and feedback collection |
| Sprint Retro Data |
sprint_retro.json |
Sprint retrospective data, including metrics, problem identification and improvement suggestions |
| Sprint Retrospective Report |
sprint-retro-S{NN}.md |
Human-readable complete retrospective report |
| Retrospective Structured Data |
sprint-retro-S{NN}.json |
Machine-consumable retrospective structured data |
| Metadata |
metadata.json |
Metadata |
| Release Retrospective Data |
release_retro.json |
Release retrospective data, including effectiveness review, engineering quality review, process review and improvement action items |
| Release Retrospective Report |
release-retro-{release_id}.md |
Human-readable release retrospective report |
| Release Retrospective Structured Data |
release-retro-{release_id}.json |
Machine-consumable release retrospective structured data |
Output Schema:
{
"type": "object",
"required": ["sprint_review", "sprint_retro", "metadata"],
"properties": {
"sprint_review": {"type": "object", "description": "Sprint review data, including deliverables, Demo checklist and feedback collection"},
"sprint_retro": {"type": "object", "description": "Sprint retrospective data, including metrics, problem identification and improvement suggestions"},
"retrospective_report": {"type": "object", "description": "Retrospective report data, including goal achievement, delivery quality, velocity trends, improvement action items"},
"release_retrospective": {"type": "object", "description": "Release retrospective data, including effectiveness review, engineering quality review, process review and improvement action items"}
}
}
Output Validation Rules
| Field Path |
Type |
Required |
Description |
| sprint_review.deliverables.sprint_summary.sprint_id |
string |
Yes |
Sprint unique identifier, format SPR-YYYY-SNN |
| sprint_review.deliverables.sprint_summary.completion_rate |
number |
Yes |
Story completion rate, range 0.0-1.0 |
| sprint_review.deliverables.sprint_summary.points_completion_rate |
number |
Yes |
Story point completion rate, range 0.0-1.0 |
| sprint_review.deliverables.completed_items |
array |
Yes |
Completed Story list, each must contain story_id, title, story_points |
| sprint_review.deliverables.incomplete_items |
array |
Yes |
Incomplete Story list, carryover_decision must be enum value |
| sprint_review.demo_checklist.items |
array |
Yes |
Demo checklist, each must contain order, demo_topic, duration_minutes |
| sprint_review.demo_checklist.items[].environment_check |
object |
No |
Environment check items, contains staging_ready, test_data_ready, access_verified |
| sprint_review.feedback_collected.total_feedback_count |
number |
Yes |
Total feedback count, must be ≥ feedback_items array length |
| sprint_review.feedback_collected.feedback_items[].priority |
string |
Yes |
Priority, enum high/medium/low |
| sprint_retro.metrics.completion_metrics.story_completion_rate |
number |
Yes |
Story completion rate, must match sprint_summary |
| sprint_retro.problems_identified[].category |
string |
Yes |
Problem category, enum process/technical/collaboration/resource |
| sprint_retro.problems_identified[].frequency |
string |
Yes |
Occurrence frequency, enum first_time/recurring/persistent |
| sprint_retro.improvement_suggestions[].problem_addressed |
string |
Yes |
Related problem ID, must correspond to problem_id in problems_identified |
| sprint_retro.improvement_suggestions[].implementation_effort |
string |
Yes |
Implementation cost, enum low/medium/high |
| retrospective_report.sprint_id |
string |
Yes |
Sprint identifier, format S{NN} |
| retrospective_report.sprint_dates.start |
string |
Yes |
Sprint start date, ISO 8601 format |
| retrospective_report.sprint_dates.end |
string |
Yes |
Sprint end date, ISO 8601 format |
| retrospective_report.report_date |
string |
Yes |
Report generation date, ISO 8601 format |
| retrospective_report.goal_achievement.status |
string |
Yes |
Achievement status, enum fully/partially/not_achieved |
| retrospective_report.goal_achievement.sprint_goal |
string |
Yes |
Sprint goal description |
| retrospective_report.goal_achievement.evidence |
string |
Yes |
Achievement determination basis |
| retrospective_report.delivery_metrics.stories_planned |
number |
Yes |
Planned Story count, must be ≥ 0 |
| retrospective_report.delivery_metrics.stories_completed |
number |
Yes |
Completed Story count, must be ≤ stories_planned |
| retrospective_report.delivery_metrics.stories_spilled |
number |
Yes |
Spilled Story count, must be = stories_planned-stories_completed |
| retrospective_report.delivery_metrics.sp_planned |
number |
Yes |
Planned SP count, must be ≥ 0 |
| retrospective_report.delivery_metrics.sp_completed |
number |
Yes |
Completed SP count |
| retrospective_report.delivery_metrics.spill_reasons |
array |
No |
Spillover root cause list, each must have root cause label |
| retrospective_report.quality_metrics.defect_density |
number |
Yes |
Defect density, must be ≥ 0 |
| retrospective_report.quality_metrics.defect_distribution |
object |
Yes |
Defect distribution, contains P0/P1/P2/P3 counts |
| retrospective_report.quality_metrics.rework_rate |
number |
Yes |
Rework rate, range 0.0-1.0 |
| retrospective_report.quality_metrics.tech_debt_delta |
string |
Yes |
Technical debt change description |
| retrospective_report.velocity.current |
number |
Yes |
Current Sprint velocity, must be ≥ 0 |
| retrospective_report.velocity.trend |
string |
Yes |
Velocity trend, enum increasing/stable/decreasing |
| retrospective_report.velocity.historical |
array |
No |
Historical velocity data |
| retrospective_report.velocity.capacity_utilization |
number |
Yes |
Capacity utilization, range 0.0-1.0 |
| retrospective_report.action_items.keep |
array |
Yes |
Keep items list |
| retrospective_report.action_items.improve |
array |
Yes |
Improve items list |
| retrospective_report.action_items.try |
array |
Yes |
Try items list |
| retrospective_report.next_sprint_recommendation.velocity_range |
array |
Yes |
Velocity forecast range, [lower_bound, upper_bound] |
| retrospective_report.next_sprint_recommendation.risks |
array |
No |
Risk anticipation list |
| retrospective_report.next_sprint_recommendation.capacity_adjustment |
string |
Yes |
Capacity adjustment recommendation |
| retrospective_report.next_sprint_recommendation.experiments |
array |
No |
Improvement experiment suggestions |
| metadata.sprint_id |
string |
Yes |
Sprint identifier, must match sprint_summary |
| metadata.generated_at |
string |
Yes |
Generation timestamp, ISO 8601 format |
| metadata.review_completed |
boolean |
Yes |
Whether Review is completed |
| metadata.retro_completed |
boolean |
Yes |
Whether Retro is completed |
| metadata.report_completed |
boolean |
Yes |
Whether retrospective report is completed |
| release_retrospective.release_id |
string |
Yes |
Release ID, unique identifier for this release |
| release_retrospective.retrospective_period.start |
string |
Yes |
Retrospective period start date, ISO 8601 format |
| release_retrospective.retrospective_period.end |
string |
Yes |
Retrospective period end date, ISO 8601 format |
| release_retrospective.effectiveness.summary.goals_achieved |
number |
Yes |
Achieved goals count, must be ≥ 0 |
| release_retrospective.effectiveness.summary.goals_not_achieved |
number |
Yes |
Not achieved goals count, must be ≥ 0 |
| release_retrospective.effectiveness.goal_vs_actual |
array |
Yes |
Target vs actual comparison list, each must contain metric, target, actual, status |
| release_retrospective.effectiveness.goal_vs_actual[].status |
string |
Yes |
Achievement status, enum achieved/partially_achieved/not_achieved/exceeded |
| release_retrospective.quality.bug_statistics.total_bugs |
number |
Yes |
Total Bug count, must be ≥ 0 |
| release_retrospective.quality.bug_statistics.by_severity |
object |
Yes |
Bug severity distribution, contains P0/P1/P2/P3 counts |
| release_retrospective.quality.bug_trend_analysis.trend_comparison |
object |
Yes |
Bug trend comparison, contains total_bugs/leakage_rate/avg_fix_time_days trends |
| release_retrospective.quality.technical_debt_analysis.total_estimated_debt_hours |
number |
Yes |
Total technical debt estimated hours, must be ≥ 0 |
| release_retrospective.process.issue_discovery_timing.discovery_stages |
array |
Yes |
Issue discovery stage distribution, each must contain stage, issues_found, pct |
| release_retrospective.process.collaboration_efficiency.bottlenecks_identified |
array |
No |
Identified bottlenecks list |
| release_retrospective.action_items |
array |
Yes |
Improvement action items list, each must contain item_id, title, priority, owner, due_date |
| release_retrospective.action_items[].status |
string |
Yes |
Action item status, enum open/in_progress/done |
| release_retrospective.overall_assessment.rating |
string |
Yes |
Overall rating, enum good/acceptable/needs_improvement |
| release_retrospective.overall_assessment.summary |
string |
Yes |
Overall assessment summary |
Output Example
{
"sprint_review": {
"deliverables": { /* sprint_summary/completed_items/incomplete_items */ },
"demo_checklist": { /* demo_duration_minutes/items[] */ },
"feedback_collected": { /* total_feedback_count/feedback_by_type/feedback_items[] */ }
},
"sprint_retro": {
"metrics": { /* completion_metrics/quality_metrics/collaboration_metrics/team_health */ },
"problems_identified": [{ /* problem_id/description/category/evidence/frequency/severity/impact */ }],
"improvement_suggestions": [{ /* suggestion_id/problem_addressed/proposed_action/priority/... */ }]
},
"retrospective_report": {
"sprint_id": "S08",
"goal_achievement": { /* status/sprint_goal/evidence */ },
"delivery_metrics": { /* stories_planned/completed/spilled/sp_planned/completed/spill_reasons */ },
"quality_metrics": { /* defect_density/defect_distribution/rework_rate/tech_debt_delta */ },
"velocity": { /* current/trend/historical/capacity_utilization */ },
"action_items": { /* keep[]/improve[]/try[] */ },
"next_sprint_recommendation": { /* velocity_range/risks/capacity_adjustment/experiments */ }
},
"metadata": {
"sprint_id": "SPR-2024-S08",
"generated_at": "ISO datetime",
"review_completed": true,
"retro_completed": true,
"report_completed": true
}
}
Review Duration Recommendations
| Segment |
Recommended Duration |
| Demo Presentation |
50% |
| Feedback Discussion |
30% |
| Next Steps Alignment |
20% |
Retro Duration Recommendations
| Segment |
Recommended Duration |
| Data Review |
15% |
| Problem Discussion |
50% |
| Improvement Suggestions |
35% |
Decision Rules
| Condition |
Action |
| Sprint completion rate < 60% |
Trigger deep retrospective |
| Quality issue count abnormally increased |
Trigger quality-focused Retro |
| Improvement suggestions not executed for 2 consecutive Sprints |
Escalate to team discussion |
| Team health metrics deteriorating |
Escalate to management attention |
| Sprint Goal not achieved |
Spillover root cause analysis is mandatory |
| Velocity declining for 3 consecutive Sprints |
Auto-flag as risk and suggest focused retrospective |
| Rework rate > 20% |
Quality improvement action item priority elevated to highest |
| Effectiveness below expectation ≥ 30% |
Trigger deep release analysis |
| P0 defect appears post-release |
Trigger urgent release retrospective |
| Bug leakage rate increase > 20% |
Trigger root cause analysis |
| Release rollback occurs |
Trigger focused release retrospective |
| Goals not achieved |
Generate product/operations improvement action items |
| Bug trend worsening |
Generate test/quality improvement action items |
| Collaboration efficiency issues |
Generate process improvement action items |
| Technical debt increasing |
Generate technical improvement action items |
Quality Checks
P0 Checks (must pass for quick/standard/deep)
P1 Checks (must pass for standard/deep)
P2 Checks (must pass for deep only)
Degradation Strategy
Upstream File Missing Degradation Plan
| Missing Upstream Input |
Degradation Plan |
Output Impact |
| Sprint deliverable data |
User provides completion status (completed/incomplete Stories), AI generates Review/Retro |
Review/Retro generated based on user input, lacking automated data support |
| Team performance data |
Skip collaboration and efficiency dimension analysis, retrospective based on delivery data only |
Retro missing team collaboration and efficiency dimension analysis |
| Stakeholder feedback |
Skip feedback collection, annotate "no stakeholder feedback" in Review |
Review report has no external feedback content |
| Sprint plan |
Reverse-engineer Sprint goals from review results, annotate "plan information missing" |
Goal achievement analysis based on reverse-engineered data, lacking plan baseline comparison |
| Daily sync records |
Skip blocker analysis, annotate "blocker data missing" |
Retrospective report missing blocker tracking and risk record dimension |
| Historical Sprint data |
Skip velocity trend analysis, annotate "first Sprint, no trend data" |
No velocity trend and predictability analysis, needs subsequent Sprint data accumulation |
| Release data missing |
User provides release content description → generate release retrospective framework |
Cannot perform target vs actual comparison |
| Monitoring data missing |
Skip metric comparison in effectiveness review |
Effectiveness review section annotated "to be supplemented" |
| User feedback data missing |
Skip user satisfaction analysis |
User feedback dimension missing |
| Bug statistics data missing |
Skip Bug statistical analysis in engineering quality review |
Bug statistics dimension missing |
| Release process data missing |
Skip response speed and collaboration efficiency analysis in process review |
Process review dimension missing |
Data Acquisition Instructions
When upstream files are missing, obtain necessary data through the following methods:
- Sprint deliverable data missing: Ask user to provide completion status, including: completed Stories list, incomplete Stories and reasons, story point completion status, AI will generate Review and Retro reports accordingly
- Team performance data missing: Skip collaboration and efficiency dimension analysis, Retro based on delivery and quality data only, annotate "missing team collaboration data"
- Stakeholder feedback missing: Skip feedback collection in Review, annotate "no stakeholder feedback", suggest supplementing through other channels
- Sprint plan missing: Reverse-engineer goals from review results, annotate "plan information missing"
- Historical Sprint data missing: Skip velocity trend analysis, annotate "first Sprint, no trend data"
- Data unavailable: Generate retrospective framework, key metrics annotated "awaiting data supplementation"
- Release data missing: Ask user to provide release content description (what features were released, what the goals were), AI will generate release retrospective framework accordingly
- Monitoring data missing: Skip effectiveness review metric comparison, annotate "awaiting monitoring data supplementation", suggest supplementing later
- Bug statistics data missing: Skip engineering quality review Bug statistics, annotate "awaiting Bug data supplementation"
- Release process data missing: Skip process review response speed and collaboration efficiency analysis, annotate "awaiting process data supplementation"
Upstream Change Response
Upstream Change Impact Table
| Upstream Change |
Impact Scope |
Response Strategy |
| Sprint plan change (Story additions/removals/priority adjustments) |
Deliverable inventory, completion rate calculation, Demo agenda |
Re-compile deliverable inventory, update completion rate and Demo preparation checklist |
| Team data update (personnel changes/performance changes) |
Retro collaboration metrics, team health assessment |
Recalculate collaboration metrics, update problem identification and improvement suggestions |
| Feedback data supplementation (new stakeholder feedback) |
Feedback collection classification, priority ranking |
Re-classify feedback, update feedback statistics and priority ranking |
| Sprint review result change (deliverable/feedback update) |
Delivery quality assessment, improvement action items |
Update quality metrics and improvement suggestions, regenerate report |
| Historical Sprint data supplementation |
Velocity trend analysis, predictability assessment |
Recalculate velocity trend and forecast range |
| Release notes change |
Release retrospective scope and metric review |
Update retrospective scope, re-evaluate metric review |
| Gradual release result change |
Release retrospective effectiveness assessment |
Update gradual release related retrospective content, flag for human confirmation |
| Acceptance report change |
Release retrospective quality assessment and improvement suggestions |
Update quality-related metrics, re-evaluate improvement suggestions |
| Change log change |
Release retrospective scope |
Update change impact assessment, flag for human confirmation |
Downstream Notification Mechanism Table
| Change Type |
Impact Scope |
Notification Method |
| Sprint review result change |
Sprint retrospective report, next Sprint planning |
Update sprint_review.json, notify a |
…(truncated)
1---2name: agile-review3description: "Use when automating Sprint reviews and retrospective reports. Integrated Sprint review and retrospective reporting, Step 1 completes Sprint review (deliverable inventory, Demo preparation checklist, feedback collection & classification, data collection, problem identification, improvement suggestion generation), Step 2 generates complete retrospective report (Sprint goal achievement analysis, delivery quality assessment, team velocity trends, improvement action items, next Sprint recommendations), Step 3 completes release retrospective (effectiveness review, engineering quality review, process review, improvement action item generation). Keywords: Sprint Review, Sprint Retro, iteration review, iteration retrospective, agile retrospective, review meeting, retrospective report, Sprint retrospective, improvement action items, how did it go, release retrospective, release review, effectiveness assessment, continuous improvement."4metadata:5 source: https://skillmd.com/skills/luckyonetwothree/agile-review6 module: "Project Management & Execution"7 sub-module: "Agile Execution"8 type: "pipeline"9 version: "3.1"10 domain_tags: ["Internet", "SaaS", "General"]11 trigger_examples:12 - "Sprint ended, need review"13 - "How to do iteration retrospective"14 - "How did this iteration go"15 - "How to write Sprint retrospective report"16 - "Help me produce an iteration retrospective report"17 - "Summarize this iteration"18 - "Two weeks after release, do a retrospective"19 - "Help me summarize the results of this release"20 - "Hold a retrospective meeting, organize improvement points"21 interaction_mode: "ai_auto"22execution_depth:23 default: standard24 quick_description: "Only output iteration score and TOP3 improvement items"25 deep_description: "Complete retrospective + team dynamics analysis + trend comparison + improvement roadmap"26---2728# Sprint Review & Retrospective Report Automation2930## Core Principles31321. **Transparency is Collaboration**: Sprint deliverables, feedback, and improvement suggestions are visible to all, ensuring team alignment332. **Risk Early Warning**: Issues and risks identified in Retro are exposed promptly, preventing recurrence in subsequent Sprints343. **Automated Tracking**: Improvement suggestion execution status, action item completion automatically tracked354. **Retrospectives are for Learning, Not Blame**: The core value of Sprint retrospective reports is extracting reusable learnings from each iteration, forming a flywheel of continuous team improvement. Retrospectives are not scorecards, but improvement roadmaps3637## Interaction Mode3839**🤖 AI Auto-Execute**4041- All preparation and follow-up processing is automatically completed by AI42- Sprint Review meetings still require human facilitation and presentation43- Sprint Retro meetings require human participation in discussion and decision-making44- Improvement suggestions require human confirmation before execution45- Retrospective reports require human review and confirmation (Sprint Goal achievement determination, improvement action item owner assignment, next Sprint capacity forecast)4647---4849## Input5051| Input Item | Type | Required | Source | Description |52|--------|------|------|------|------|53| sprint_backlog | object | Yes | output/pm-project/agile-sprint-planning/sprint_plan.json | Sprint planned Stories |54| completed_stories | object[] | Yes | User provided | Completed Stories |55| team_data | object | No | User provided | Team performance data |56| stakeholder_feedback | object[] | No | User provided | Stakeholder feedback (optional) |57| daily_sync_records | markdown | No | agile-daily-sync | Daily sync records (blocker tracking, risk records, progress updates) |58| historical_sprint_data | text | No | User input | Velocity and delivery data from past 3-5 Sprints |59| release_data | JSON | No | Release Management System | Release version and change content (required for release retrospective) |60| monitoring_data | JSON | No | Monitoring System | Business metrics and performance metrics (required for release retrospective) |61| user_feedback_data | JSON | No | Customer Service/Feedback Platform | User satisfaction and feedback (optional for release retrospective) |62| bug_statistics | JSON | No | Bug Tracking System | Release-related Bug statistics (optional for release retrospective) |63| release_process_data | JSON | No | Release Logs | Release process data (optional for release retrospective) |6465## Execution Steps6667### Step 1: Sprint Review [Core] (Assess goal achievement and capture improvements)6869#### Step 1.1: Deliverable Inventory Auto-Compilation [Core]7071**Actions**:72- Aggregate all Stories completed in the Sprint73- Organize delivery content for each Story74- Calculate completion rate75- Generate deliverable summary7677**Output**:78```json79{80 "deliverables": {81 "sprint_summary": {82 "sprint_id": "string",83 "planned_stories": number,84 "completed_stories": number,85 "cancelled_stories": number,86 "completion_rate": 0.0-1.0,87 "planned_points": number,88 "completed_points": number,89 "points_completion_rate": 0.0-1.090 },91 "completed_items": [{92 "story_id": "string",93 "title": "string",94 "story_points": number,95 "key_deliverables": ["string"],96 "completed_by": "string",97 "quality_notes": "string"98 }],99 "incomplete_items": [{100 "story_id": "string",101 "title": "string",102 "remaining_work": "string",103 "carryover_decision": "next_sprint | deprioritize | replan"104 }]105 }106}107```108109#### Step 1.2: Demo Preparation Checklist Generation [Conditional]110111**Actions**:112- Generate Demo agenda based on completed Stories113- Assign duration for each Demo114- Prepare Demo environment checklist115- Suggest presentation order116117**Output**:118```json119{120 "demo_checklist": {121 "demo_duration_minutes": number,122 "items": [{123 "order": 1,124 "demo_topic": "string",125 "story_id": "string",126 "presenter": "string",127 "duration_minutes": number,128 "environment_check": {129 "staging_ready": boolean,130 "test_data_ready": boolean,131 "access_verified": boolean132 },133 "key_points": ["string"],134 "questions_to_anticipate": ["string"]135 }]136 }137}138```139140#### Step 1.3: Feedback Auto-Collection & Classification [Conditional]141142**Actions**:143- Collect stakeholder feedback144- Classify feedback types (feature/UX/performance/other)145- Identify duplicate feedback146- Sort by importance147148**Output**:149```json150{151 "feedback_collected": {152 "total_feedback_count": number,153 "feedback_by_type": {154 "feature_request": number,155 "usability_issue": number,156 "performance_concern": number,157 "bug_report": number,158 "positive_feedback": number,159 "other": number160 },161 "feedback_items": [{162 "feedback_id": "FB-001",163 "description": "string",164 "type": "string",165 "source": "string",166 "timestamp": "ISO datetime",167 "priority": "high | medium | low",168 "related_story": "string | null",169 "actionable": boolean170 }]171 }172}173```174175#### Step 1.4: Data Auto-Collection [Core]176177**Actions**:178- Collect Sprint completion rate, quality metrics, collaboration data179- Analyze team cadence and efficiency180- Extract key data metrics181- Generate data summary182183**Output**:184```json185{186 "metrics": {187 "completion_metrics": {188 "story_completion_rate": 0.0-1.0,189 "point_completion_rate": 0.0-1.0,190 "avg_story_completion_time_days": number,191 "carryover_rate": 0.0-1.0192 },193 "quality_metrics": {194 "bug_count": number,195 "bug_rejection_rate": 0.0-1.0,196 "code_review_turnaround_hours": number,197 "build_failure_rate": 0.0-1.0198 },199 "collaboration_metrics": {200 "blocker_resolution_time_hours": number,201 "meeting_hours_total": number,202 "ad_hoc_interruption_count": number,203 "cross_team_dependency_delays": number204 },205 "team_health": {206 "avg_overtime_hours": number,207 "member_stress_indicators": ["string"],208 "velocity_stability": "stable | fluctuating | declining"209 }210 }211}212```213214#### Step 1.5: Problem Auto-Identification [Conditional]215216**Actions**:217- Analyze data to identify patterns and problems218- Detect anomalies within the Sprint219- Identify recurring problems220- Classify problem types (process/technical/collaboration/resource)221222**Output**:223```json224{225 "problems_identified": [{226 "problem_id": "PRB-001",227 "description": "string",228 "category": "process | technical | collaboration | resource",229 "evidence": "string",230 "frequency": "first_time | recurring | persistent",231 "severity": "high | medium | low",232 "impact": "string"233 }]234}235```236237#### Step 1.6: Improvement Suggestions Auto-Generation [Conditional]238239**Actions**:240- Generate targeted improvement suggestions based on problems241- Consider team context and historical improvements242- Suggest actionable concrete actions243- Annotate suggestion priority244245**Output**:246```json247{248 "improvement_suggestions": [{249 "suggestion_id": "IMP-001",250 "problem_addressed": "PRB-001",251 "description": "string",252 "proposed_action": "string",253 "expected_impact": "string",254 "implementation_effort": "low | medium | high",255 "priority": "high | medium | low",256 "owner_suggestion": "string",257 "success_metric": "string"258 }]259}260```261262---263264### Step 2: Retrospective Report Generation [Core] (Sprint goal achievement analysis, delivery quality assessment, team velocity trends, improvement action items)265266Step 2 receives Step 1's output as input, combined with Sprint plan and historical data, to generate a complete retrospective report.267268#### Step 2.1: Sprint Goal Achievement Analysis [Core]269270Compare plan vs actual delivery:2712721. **Sprint Goal Achievement**: Fully achieved / Partially achieved / Not achieved2732. **Story Completion Rate**: Planned Stories vs Completed Stories vs Spilled Stories2743. **Story Point Achievement Rate**: Committed SP vs Completed SP vs Spilled SP2754. **Spillover Analysis**: Root cause classification of spilled Stories (estimation inaccuracy/requirement changes/technical debt/external dependencies)276277#### Step 2.2: Delivery Quality Assessment [Core]278279Assess the quality of this Sprint's deliverables:2802811. **Defect Density**: Defects per Story Point, compared with historical average2822. **Defect Distribution**: By severity (P0/P1/P2/P3)2833. **Rework Rate**: Proportion of Stories reworked due to quality issues2844. **Technical Debt**: Technical debt added/paid off this Sprint285286#### Step 2.3: Team Velocity Analysis [Conditional]287288Analyze team delivery velocity trends:2892901. **This Sprint Velocity**: Completed SP, effective working days, daily average SP2912. **Velocity Trend**: Velocity change trend over last 5 Sprints (increasing/stable/decreasing)2923. **Velocity Volatility**: Standard deviation and coefficient of variation, assess predictability2934. **Capacity Utilization**: Actual output vs available capacity ratio294295#### Step 2.4: Improvement Action Item Extraction [Core]296297Extract actionable improvement suggestions from execution data:2982991. **Keep** (What went well): Practices worth maintaining this Sprint3002. **Improve** (What needs improvement): Problems exposed this Sprint and improvement directions3013. **Try** (New experiments): New practices suggested for next Sprint3024. **Action Item List**: Each improvement has a clear owner, deadline and acceptance criteria303304#### Step 2.5: Next Sprint Recommendations [Deep]305306Provide recommendations for the next Sprint based on retrospective conclusions:3073081. **Velocity Forecast**: Predict next Sprint's committable SP range based on trends3092. **Risk Anticipation**: Anticipate next Sprint risks based on this Sprint's spillover root causes3103. **Capacity Recommendations**: Capacity adjustments considering holidays, personnel changes, etc.3114. **Improvement Experiments**: Suggest 1-2 improvement experiments to validate in the next Sprint312313#### Step 2.6: Report Assembly [Core]314315Assemble the above content into a complete report.316317**Markdown Report Structure**:318```markdown319# Sprint Retrospective Report: Sprint {NN}320321## 1. Executive Summary322- Sprint Goal achievement / Story completion rate / Velocity / Top 3 improvement items323324## 2. Goal Achievement Analysis325- Sprint Goal assessment326- Story completion rate (planned/completed/spilled)327- Story Point achievement rate328- Spillover root cause analysis329330## 3. Delivery Quality Assessment331- Defect density (vs historical average)332- Defect distribution (P0-P3)333- Rework rate334- Technical debt change335336## 4. Team Velocity Analysis337- This Sprint velocity338- Velocity trend (last 5 Sprints chart)339- Velocity volatility and predictability340- Capacity utilization341342## 5. Improvement Action Items343- ✅ Keep (What went well)344- 🔧 Improve (What needs improvement)345- 🧪 Try (New experiments)346- Action item list (owner/deadline/acceptance criteria)347348## 6. Next Sprint Recommendations349- Velocity forecast range350- Risk anticipation351- Capacity recommendations352- Improvement experiment suggestions353```354355**JSON Structure**:356```json357{358 "sprint_id": "S{NN}",359 "sprint_dates": { "start": "", "end": "" },360 "report_date": "",361 "goal_achievement": {362 "status": "fully|partially|not_achieved",363 "sprint_goal": "",364 "evidence": ""365 },366 "delivery_metrics": {367 "stories_planned": 0,368 "stories_completed": 0,369 "stories_spilled": 0,370 "sp_planned": 0,371 "sp_completed": 0,372 "spill_reasons": []373 },374 "quality_metrics": {375 "defect_density": 0,376 "defect_distribution": { "P0": 0, "P1": 0, "P2": 0, "P3": 0 },377 "rework_rate": 0,378 "tech_debt_delta": ""379 },380 "velocity": {381 "current": 0,382 "trend": "increasing|stable|decreasing",383 "historical": [],384 "capacity_utilization": 0385 },386 "action_items": {387 "keep": [],388 "improve": [],389 "try": []390 },391 "next_sprint_recommendation": {392 "velocity_range": [0, 0],393 "risks": [],394 "capacity_adjustment": "",395 "experiments": []396 }397}398```399400---401402### Step 3: Release Retrospective [Conditional]403404Step 3 is executed after release completion (recommended T+2 weeks), automatically collecting multi-source data to review release effectiveness, engineering quality, and release process, and generate improvement action items.405406#### Step 3.1: Effectiveness Review [Conditional] (Post-release core metric comparison)407408**Actions**:409- Collect post-release core business metrics and performance metrics data410- Compare release targets vs actual achievement411- Perform attribution analysis on unachieved metrics412- Assess data quality and completeness413414**Output**:415```json416{417 "release_effectiveness": {418 "release_id": "string",419 "retrospective_period": {420 "start": "ISO date",421 "end": "ISO date"422 },423 "goal_vs_actual": [{424 "metric": "string",425 "target": number,426 "actual": number,427 "achievement_rate": 0.0-1.0,428 "status": "achieved | partially_achieved | not_achieved | exceeded",429 "gap": number,430 "significance": "high | medium | low"431 }],432 "attribution_analysis": [{433 "metric": "string",434 "actual_vs_target_gap": number,435 "attributions": [{436 "factor": "string",437 "impact": number,438 "confidence": 0.0-1.0,439 "evidence": "string"440 }],441 "primary_cause": "string"442 }],443 "data_quality": {444 "completeness": 0.0-1.0,445 "accuracy": "verified | unverified",446 "gaps": ["string"]447 }448 }449}450```451452#### Step 3.2: Engineering Quality Review [Conditional] (Bug density, tech debt change)453454**Actions**:455- Count post-release Bug count, severity distribution, source distribution456- Compare Bug trends between this and previous release457- Analyze technical debt change (added/paid off)458- Identify Bug root cause patterns459460**Output**:461```json462{463 "release_quality": {464 "bug_statistics": {465 "total_bugs": number,466 "by_severity": { "P0": number, "P1": number, "P2": number, "P3": number },467 "by_source": {468 "testing_discovered": number,469 "production_reported": number,470 "leakage_rate": 0.0-1.0471 },472 "by_category": { "functional": number, "ui_ux": number, "performance": number, "security": number, "other": number }473 },474 "bug_trend_analysis": {475 "trend_comparison": {476 "total_bugs": { "current": number, "previous": number, "change_pct": number, "trend": "improving | stable | worsening" },477 "leakage_rate": { "current": number, "previous": number, "change_pct": number, "trend": "improving | stable | worsening" },478 "avg_fix_time_days": { "current": number, "previous": number, "change_pct": number, "trend": "improving | stable | worsening" }479 },480 "root_cause_patterns": [{481 "pattern": "string",482 "evidence": "string",483 "confidence": 0.0-1.0484 }]485 },486 "technical_debt_analysis": {487 "code_quality": {488 "maintainability_index": number,489 "baseline": number,490 "status": "improving | stable | slight_degradation | significant_degradation"491 },492 "debt_items": [{493 "item": "string",494 "severity": "high | medium | low",495 "estimated_debt_hours": number,496 "introduced_in": "string"497 }],498 "total_estimated_debt_hours": number499 }500 }501}502```503504#### Step 3.3: Process Review [Deep] (Sprint efficiency, collaboration quality)505506**Actions**:507- Analyze issue discovery timing distribution (percentage across dev/testing/production stages)508- Assess incident response speed (detection, response, resolution duration)509- Analyze team collaboration efficiency (satisfaction, bottleneck identification)510- Assess release process quality511512**Output**:513```json514{515 "release_process": {516 "issue_discovery_timing": {517 "discovery_stages": [{518 "stage": "string",519 "issues_found": number,520 "pct": 0.0-1.0,521 "cost_multiplier": number522 }],523 "assessment": {524 "ideal_production_share": "string",525 "actual_production_share": "string",526 "status": "good | needs_improvement | critical"527 }528 },529 "response_speed_analysis": {530 "incident_response": {531 "avg_detection_time_minutes": number,532 "avg_response_time_minutes": number,533 "avg_resolution_time_minutes": number,534 "benchmark": "string"535 },536 "assessment": "good | acceptable | needs_improvement"537 },538 "collaboration_efficiency": {539 "team_feedback_summary": {540 "survey_response_rate": 0.0-1.0,541 "overall_satisfaction": number,542 "key_positives": ["string"],543 "key_improvements": ["string"]544 },545 "bottlenecks_identified": [{546 "bottleneck": "string",547 "frequency": "string",548 "impact": "string",549 "owner": "string"550 }]551 }552 }553}554```555556#### Step 3.4: Improvement Action Item Generation [Conditional]557558**Actions**:559- Auto-generate improvement action items based on effectiveness review, engineering quality review, and process review results560- Rank by composite score of impact/urgency/feasibility561- Each action item includes owner, deadline, verification method and success criteria562- Action item categories: product improvement, test improvement, infrastructure improvement, process improvement563564**Output**:565```json566{567 "release_action_items": {568 "items": [{569 "item_id": "string",570 "source": "Effectiveness Review | Engineering Quality Review | Process Review",571 "title": "string",572 "description": "string",573 "priority": "high | medium | low",574 "type": "product_improvement | test_improvement | infrastructure | process_improvement",575 "owner": "string",576 "due_date": "ISO date",577 "verification_method": "string",578 "success_criteria": "string",579 "status": "open | in_progress | done"580 }],581 "priority_ranking": [{582 "item_id": "string",583 "priority_score": number,584 "factors": {585 "impact": number,586 "urgency": number,587 "feasibility": number588 },589 "rank": number590 }]591 }592}593```594595#### Step 3.5: Release Retrospective Report Assembly [Conditional]596597Assemble effectiveness review, engineering quality review, process review and improvement action items into a complete release retrospective report.598599**Markdown Report Structure**:600```markdown601# Release Retrospective Report: {release_id}602603## 1. Executive Summary604- Release version / Retrospective period / Goal achievement overview / Top 3 improvement action items605606## 2. Effectiveness Review607- Target vs actual comparison608- Attribution analysis609- Data quality assessment610611## 3. Engineering Quality Review612- Bug statistics and trends613- Technical debt change614- Root cause pattern identification615616## 4. Process Review617- Issue discovery timing analysis618- Response speed assessment619- Collaboration efficiency analysis620621## 5. Improvement Action Items622- Action item list (source/priority/owner/deadline/verification method)623- Priority ranking624625## 6. Overall Assessment626- Rating (good / acceptable / needs_improvement)627- Comprehensive summary628```629630**JSON Structure**:631```json632{633 "release_retrospective": {634 "release_id": "string",635 "retrospective_period": { "start": "ISO date", "end": "ISO date" },636 "generated_at": "ISO datetime",637 "effectiveness": {638 "summary": {639 "goals_achieved": number,640 "goals_partially_achieved": number,641 "goals_not_achieved": number642 },643 "goal_vs_actual": [],644 "attribution_analysis": []645 },646 "quality": {647 "bug_statistics": {},648 "bug_trend_analysis": {},649 "technical_debt_analysis": {}650 },651 "process": {652 "issue_discovery_timing": {},653 "response_speed_analysis": {},654 "collaboration_efficiency": {}655 },656 "action_items": [],657 "overall_assessment": {658 "rating": "good | acceptable | needs_improvement",659 "summary": "string"660 }661 }662}663```664665---666667## Output668669**Storage Path**: `output/pm-project/agile-review/`670671### Output Depth Classification672673| Depth Level | Output Scope | Description |674|----------|----------|------|675| quick | Iteration score + TOP3 improvement items | Core conclusions + minimum viable output, only Step 1.1 deliverable inventory and Step 2.1/2.2/2.4 core conclusions |676| standard | Complete retrospective report (current default) | Complete output, including all Step 1-2 outputs and Step 3 (if release data available) |677| deep | Complete retrospective + extended analysis | Complete output + team dynamics analysis + trend comparison + improvement roadmap + decision records + risk assessment |678679**Output Files**:680681| File | Path | Description |682|------|------|------|683| Sprint Review Data | sprint_review.json | Sprint review data, including deliverables, Demo checklist and feedback collection |684| Sprint Retro Data | sprint_retro.json | Sprint retrospective data, including metrics, problem identification and improvement suggestions |685| Sprint Retrospective Report | sprint-retro-S{NN}.md | Human-readable complete retrospective report |686| Retrospective Structured Data | sprint-retro-S{NN}.json | Machine-consumable retrospective structured data |687| Metadata | metadata.json | Metadata |688| Release Retrospective Data | release_retro.json | Release retrospective data, including effectiveness review, engineering quality review, process review and improvement action items |689| Release Retrospective Report | release-retro-{release_id}.md | Human-readable release retrospective report |690| Release Retrospective Structured Data | release-retro-{release_id}.json | Machine-consumable release retrospective structured data |691692**Output Schema**:693694```json695{696 "type": "object",697 "required": ["sprint_review", "sprint_retro", "metadata"],698 "properties": {699 "sprint_review": {"type": "object", "description": "Sprint review data, including deliverables, Demo checklist and feedback collection"},700 "sprint_retro": {"type": "object", "description": "Sprint retrospective data, including metrics, problem identification and improvement suggestions"},701 "retrospective_report": {"type": "object", "description": "Retrospective report data, including goal achievement, delivery quality, velocity trends, improvement action items"},702 "release_retrospective": {"type": "object", "description": "Release retrospective data, including effectiveness review, engineering quality review, process review and improvement action items"}703 }704}705```706707### Output Validation Rules708709| Field Path | Type | Required | Description |710|----------|------|------|------|711| sprint_review.deliverables.sprint_summary.sprint_id | string | Yes | Sprint unique identifier, format SPR-YYYY-SNN |712| sprint_review.deliverables.sprint_summary.completion_rate | number | Yes | Story completion rate, range 0.0-1.0 |713| sprint_review.deliverables.sprint_summary.points_completion_rate | number | Yes | Story point completion rate, range 0.0-1.0 |714| sprint_review.deliverables.completed_items | array | Yes | Completed Story list, each must contain story_id, title, story_points |715| sprint_review.deliverables.incomplete_items | array | Yes | Incomplete Story list, carryover_decision must be enum value |716| sprint_review.demo_checklist.items | array | Yes | Demo checklist, each must contain order, demo_topic, duration_minutes |717| sprint_review.demo_checklist.items[].environment_check | object | No | Environment check items, contains staging_ready, test_data_ready, access_verified |718| sprint_review.feedback_collected.total_feedback_count | number | Yes | Total feedback count, must be ≥ feedback_items array length |719| sprint_review.feedback_collected.feedback_items[].priority | string | Yes | Priority, enum high/medium/low |720| sprint_retro.metrics.completion_metrics.story_completion_rate | number | Yes | Story completion rate, must match sprint_summary |721| sprint_retro.problems_identified[].category | string | Yes | Problem category, enum process/technical/collaboration/resource |722| sprint_retro.problems_identified[].frequency | string | Yes | Occurrence frequency, enum first_time/recurring/persistent |723| sprint_retro.improvement_suggestions[].problem_addressed | string | Yes | Related problem ID, must correspond to problem_id in problems_identified |724| sprint_retro.improvement_suggestions[].implementation_effort | string | Yes | Implementation cost, enum low/medium/high |725| retrospective_report.sprint_id | string | Yes | Sprint identifier, format S{NN} |726| retrospective_report.sprint_dates.start | string | Yes | Sprint start date, ISO 8601 format |727| retrospective_report.sprint_dates.end | string | Yes | Sprint end date, ISO 8601 format |728| retrospective_report.report_date | string | Yes | Report generation date, ISO 8601 format |729| retrospective_report.goal_achievement.status | string | Yes | Achievement status, enum fully/partially/not_achieved |730| retrospective_report.goal_achievement.sprint_goal | string | Yes | Sprint goal description |731| retrospective_report.goal_achievement.evidence | string | Yes | Achievement determination basis |732| retrospective_report.delivery_metrics.stories_planned | number | Yes | Planned Story count, must be ≥ 0 |733| retrospective_report.delivery_metrics.stories_completed | number | Yes | Completed Story count, must be ≤ stories_planned |734| retrospective_report.delivery_metrics.stories_spilled | number | Yes | Spilled Story count, must be = stories_planned-stories_completed |735| retrospective_report.delivery_metrics.sp_planned | number | Yes | Planned SP count, must be ≥ 0 |736| retrospective_report.delivery_metrics.sp_completed | number | Yes | Completed SP count |737| retrospective_report.delivery_metrics.spill_reasons | array | No | Spillover root cause list, each must have root cause label |738| retrospective_report.quality_metrics.defect_density | number | Yes | Defect density, must be ≥ 0 |739| retrospective_report.quality_metrics.defect_distribution | object | Yes | Defect distribution, contains P0/P1/P2/P3 counts |740| retrospective_report.quality_metrics.rework_rate | number | Yes | Rework rate, range 0.0-1.0 |741| retrospective_report.quality_metrics.tech_debt_delta | string | Yes | Technical debt change description |742| retrospective_report.velocity.current | number | Yes | Current Sprint velocity, must be ≥ 0 |743| retrospective_report.velocity.trend | string | Yes | Velocity trend, enum increasing/stable/decreasing |744| retrospective_report.velocity.historical | array | No | Historical velocity data |745| retrospective_report.velocity.capacity_utilization | number | Yes | Capacity utilization, range 0.0-1.0 |746| retrospective_report.action_items.keep | array | Yes | Keep items list |747| retrospective_report.action_items.improve | array | Yes | Improve items list |748| retrospective_report.action_items.try | array | Yes | Try items list |749| retrospective_report.next_sprint_recommendation.velocity_range | array | Yes | Velocity forecast range, [lower_bound, upper_bound] |750| retrospective_report.next_sprint_recommendation.risks | array | No | Risk anticipation list |751| retrospective_report.next_sprint_recommendation.capacity_adjustment | string | Yes | Capacity adjustment recommendation |752| retrospective_report.next_sprint_recommendation.experiments | array | No | Improvement experiment suggestions |753| metadata.sprint_id | string | Yes | Sprint identifier, must match sprint_summary |754| metadata.generated_at | string | Yes | Generation timestamp, ISO 8601 format |755| metadata.review_completed | boolean | Yes | Whether Review is completed |756| metadata.retro_completed | boolean | Yes | Whether Retro is completed |757| metadata.report_completed | boolean | Yes | Whether retrospective report is completed |758| release_retrospective.release_id | string | Yes | Release ID, unique identifier for this release |759| release_retrospective.retrospective_period.start | string | Yes | Retrospective period start date, ISO 8601 format |760| release_retrospective.retrospective_period.end | string | Yes | Retrospective period end date, ISO 8601 format |761| release_retrospective.effectiveness.summary.goals_achieved | number | Yes | Achieved goals count, must be ≥ 0 |762| release_retrospective.effectiveness.summary.goals_not_achieved | number | Yes | Not achieved goals count, must be ≥ 0 |763| release_retrospective.effectiveness.goal_vs_actual | array | Yes | Target vs actual comparison list, each must contain metric, target, actual, status |764| release_retrospective.effectiveness.goal_vs_actual[].status | string | Yes | Achievement status, enum achieved/partially_achieved/not_achieved/exceeded |765| release_retrospective.quality.bug_statistics.total_bugs | number | Yes | Total Bug count, must be ≥ 0 |766| release_retrospective.quality.bug_statistics.by_severity | object | Yes | Bug severity distribution, contains P0/P1/P2/P3 counts |767| release_retrospective.quality.bug_trend_analysis.trend_comparison | object | Yes | Bug trend comparison, contains total_bugs/leakage_rate/avg_fix_time_days trends |768| release_retrospective.quality.technical_debt_analysis.total_estimated_debt_hours | number | Yes | Total technical debt estimated hours, must be ≥ 0 |769| release_retrospective.process.issue_discovery_timing.discovery_stages | array | Yes | Issue discovery stage distribution, each must contain stage, issues_found, pct |770| release_retrospective.process.collaboration_efficiency.bottlenecks_identified | array | No | Identified bottlenecks list |771| release_retrospective.action_items | array | Yes | Improvement action items list, each must contain item_id, title, priority, owner, due_date |772| release_retrospective.action_items[].status | string | Yes | Action item status, enum open/in_progress/done |773| release_retrospective.overall_assessment.rating | string | Yes | Overall rating, enum good/acceptable/needs_improvement |774| release_retrospective.overall_assessment.summary | string | Yes | Overall assessment summary |775776### Output Example777778```json779{780 "sprint_review": {781 "deliverables": { /* sprint_summary/completed_items/incomplete_items */ },782 "demo_checklist": { /* demo_duration_minutes/items[] */ },783 "feedback_collected": { /* total_feedback_count/feedback_by_type/feedback_items[] */ }784 },785 "sprint_retro": {786 "metrics": { /* completion_metrics/quality_metrics/collaboration_metrics/team_health */ },787 "problems_identified": [{ /* problem_id/description/category/evidence/frequency/severity/impact */ }],788 "improvement_suggestions": [{ /* suggestion_id/problem_addressed/proposed_action/priority/... */ }]789 },790 "retrospective_report": {791 "sprint_id": "S08",792 "goal_achievement": { /* status/sprint_goal/evidence */ },793 "delivery_metrics": { /* stories_planned/completed/spilled/sp_planned/completed/spill_reasons */ },794 "quality_metrics": { /* defect_density/defect_distribution/rework_rate/tech_debt_delta */ },795 "velocity": { /* current/trend/historical/capacity_utilization */ },796 "action_items": { /* keep[]/improve[]/try[] */ },797 "next_sprint_recommendation": { /* velocity_range/risks/capacity_adjustment/experiments */ }798 },799 "metadata": {800 "sprint_id": "SPR-2024-S08",801 "generated_at": "ISO datetime",802 "review_completed": true,803 "retro_completed": true,804 "report_completed": true805 }806}807```808809---810811## Review Duration Recommendations812813| Segment | Recommended Duration |814|------|----------|815| Demo Presentation | 50% |816| Feedback Discussion | 30% |817| Next Steps Alignment | 20% |818819## Retro Duration Recommendations820821| Segment | Recommended Duration |822|------|----------|823| Data Review | 15% |824| Problem Discussion | 50% |825| Improvement Suggestions | 35% |826827---828829## Decision Rules830831| Condition | Action |832|------|------|833| Sprint completion rate < 60% | Trigger deep retrospective |834| Quality issue count abnormally increased | Trigger quality-focused Retro |835| Improvement suggestions not executed for 2 consecutive Sprints | Escalate to team discussion |836| Team health metrics deteriorating | Escalate to management attention |837| Sprint Goal not achieved | Spillover root cause analysis is mandatory |838| Velocity declining for 3 consecutive Sprints | Auto-flag as risk and suggest focused retrospective |839| Rework rate > 20% | Quality improvement action item priority elevated to highest |840| Effectiveness below expectation ≥ 30% | Trigger deep release analysis |841| P0 defect appears post-release | Trigger urgent release retrospective |842| Bug leakage rate increase > 20% | Trigger root cause analysis |843| Release rollback occurs | Trigger focused release retrospective |844| Goals not achieved | Generate product/operations improvement action items |845| Bug trend worsening | Generate test/quality improvement action items |846| Collaboration efficiency issues | Generate process improvement action items |847| Technical debt increasing | Generate technical improvement action items |848849## Quality Checks850851### P0 Checks (must pass for quick/standard/deep)852853- [ ] Review covers all completed Stories854- [ ] Goal achievement is consistent with data (achievement determination matches Story completion rate)855- [ ] Action items are actionable (each has owner and deadline)856857### P1 Checks (must pass for standard/deep)858859- [ ] Demo content corresponds to acceptance criteria860- [ ] Feedback is classified (accepted/rejected/improved)861- [ ] Improvement suggestions have clear owners and follow-up plans862- [ ] Spillover root causes are classified (each spilled Story has root cause label)863- [ ] Velocity trend is evidence-based (trend judgment based on at least 3 Sprint data points, otherwise annotate "insufficient data, trend under observation")864- [ ] Release retrospective data sources are annotated865- [ ] Release retrospective target vs actual comparison is clear866- [ ] Release retrospective attribution analysis is evidence-supported867- [ ] Release retrospective action items have owners and deadlines868869### P2 Checks (must pass for deep only)870871- [ ] Release retrospective Bug trend analysis is complete872- [ ] Release retrospective process issues are identified873- [ ] Release retrospective action items have verification methods874- [ ] Team dynamics analysis is complete (team collaboration patterns, communication efficiency, decision quality)875- [ ] Trend comparison analysis is complete (cross-Sprint metric trend comparison, improvement effect tracking)876- [ ] Improvement roadmap is generated (short-term/mid-term/long-term improvement plan, with milestones and acceptance criteria)877878## Degradation Strategy879880### Upstream File Missing Degradation Plan881882| Missing Upstream Input | Degradation Plan | Output Impact |883|---------------|---------|---------|884| Sprint deliverable data | User provides completion status (completed/incomplete Stories), AI generates Review/Retro | Review/Retro generated based on user input, lacking automated data support |885| Team performance data | Skip collaboration and efficiency dimension analysis, retrospective based on delivery data only | Retro missing team collaboration and efficiency dimension analysis |886| Stakeholder feedback | Skip feedback collection, annotate "no stakeholder feedback" in Review | Review report has no external feedback content |887| Sprint plan | Reverse-engineer Sprint goals from review results, annotate "plan information missing" | Goal achievement analysis based on reverse-engineered data, lacking plan baseline comparison |888| Daily sync records | Skip blocker analysis, annotate "blocker data missing" | Retrospective report missing blocker tracking and risk record dimension |889| Historical Sprint data | Skip velocity trend analysis, annotate "first Sprint, no trend data" | No velocity trend and predictability analysis, needs subsequent Sprint data accumulation |890| Release data missing | User provides release content description → generate release retrospective framework | Cannot perform target vs actual comparison |891| Monitoring data missing | Skip metric comparison in effectiveness review | Effectiveness review section annotated "to be supplemented" |892| User feedback data missing | Skip user satisfaction analysis | User feedback dimension missing |893| Bug statistics data missing | Skip Bug statistical analysis in engineering quality review | Bug statistics dimension missing |894| Release process data missing | Skip response speed and collaboration efficiency analysis in process review | Process review dimension missing |895896### Data Acquisition Instructions897898When upstream files are missing, obtain necessary data through the following methods:8999001. **Sprint deliverable data missing**: Ask user to provide completion status, including: completed Stories list, incomplete Stories and reasons, story point completion status, AI will generate Review and Retro reports accordingly9012. **Team performance data missing**: Skip collaboration and efficiency dimension analysis, Retro based on delivery and quality data only, annotate "missing team collaboration data"9023. **Stakeholder feedback missing**: Skip feedback collection in Review, annotate "no stakeholder feedback", suggest supplementing through other channels9034. **Sprint plan missing**: Reverse-engineer goals from review results, annotate "plan information missing"9045. **Historical Sprint data missing**: Skip velocity trend analysis, annotate "first Sprint, no trend data"9056. **Data unavailable**: Generate retrospective framework, key metrics annotated "awaiting data supplementation"9067. **Release data missing**: Ask user to provide release content description (what features were released, what the goals were), AI will generate release retrospective framework accordingly9078. **Monitoring data missing**: Skip effectiveness review metric comparison, annotate "awaiting monitoring data supplementation", suggest supplementing later9089. **Bug statistics data missing**: Skip engineering quality review Bug statistics, annotate "awaiting Bug data supplementation"90910. **Release process data missing**: Skip process review response speed and collaboration efficiency analysis, annotate "awaiting process data supplementation"910911## Upstream Change Response912913### Upstream Change Impact Table914915| Upstream Change | Impact Scope | Response Strategy |916|----------|----------|----------|917| Sprint plan change (Story additions/removals/priority adjustments) | Deliverable inventory, completion rate calculation, Demo agenda | Re-compile deliverable inventory, update completion rate and Demo preparation checklist |918| Team data update (personnel changes/performance changes) | Retro collaboration metrics, team health assessment | Recalculate collaboration metrics, update problem identification and improvement suggestions |919| Feedback data supplementation (new stakeholder feedback) | Feedback collection classification, priority ranking | Re-classify feedback, update feedback statistics and priority ranking |920| Sprint review result change (deliverable/feedback update) | Delivery quality assessment, improvement action items | Update quality metrics and improvement suggestions, regenerate report |921| Historical Sprint data supplementation | Velocity trend analysis, predictability assessment | Recalculate velocity trend and forecast range |922| Release notes change | Release retrospective scope and metric review | Update retrospective scope, re-evaluate metric review |923| Gradual release result change | Release retrospective effectiveness assessment | Update gradual release related retrospective content, flag for human confirmation |924| Acceptance report change | Release retrospective quality assessment and improvement suggestions | Update quality-related metrics, re-evaluate improvement suggestions |925| Change log change | Release retrospective scope | Update change impact assessment, flag for human confirmation |926927### Downstream Notification Mechanism Table928929| Change Type | Impact Scope | Notification Method |930|----------|----------|----------|931| Sprint review result change | Sprint retrospective report, next Sprint planning | Update sprint_review.json, notify a932933…(truncated)