Retro

Automated sprint retrospective using git metrics—commit velocity, file hotspots, churn ratio, and plan completion—delivered as a structured report.

What This Skill Does

Retro pulls real data from your git history and plan files to generate an honest retrospective. No guesswork—metrics from actual commits, LOC changes, test coverage deltas, and plan completion percentages.

When to Use

  • End of sprint, week, or milestone
  • Team wants data-backed retrospective instead of vibes
  • Comparing current period against previous (trend analysis)
  • Generating a shareable report for stakeholders

Core Capabilities

  • Parse configurable timeframes (7d, 2w, 1m, sprint, date
    )
  • Compute commit velocity, lines changed, file hotspots, churn ratio
  • Calculate test coverage delta between periods
  • Track plan completion percentage from plans/ directory
  • Compare against previous period (--compare)
  • Output as markdown or HTML

Arguments

ArgumentDescription
timeframe7d, 2w, 1m, sprint, or YYYY-MM-DD:YYYY-MM-DD
--compareCompare current period vs previous equivalent period
--teamInclude per-author breakdown
--format html|mdOutput format (default: md)

Example Usage

/ck:retro 2w
/ck:retro sprint --compare
/ck:retro 2025-01-01:2025-01-15 --team --format html

6-Step Workflow

  1. Parse timeframe — resolve date range from argument or sprint config
  2. Gather metricsgit log, git diff --stat, file change frequency
  3. Compute health score — velocity trend, churn ratio, hotspot concentration
  4. Track plan progress — scan plans/ for [x] vs [ ] checkboxes
  5. Generate report — structured markdown with tables and trend indicators
  6. Deliver — write to plans/reports/retro-{date}.md or open HTML

Metrics Tracked

MetricSource
Commit velocitygit log --oneline count
Lines changedgit diff --shortstat
File hotspotsFiles changed most frequently
Churn ratioLines deleted / lines added
Test coverage deltaDiff coverage reports if present
Plan completion %Checked vs total items in plan files
  • Cook — implementation skill retro measures
  • Journal — daily entries that feed retrospectives
  • Plans Kanban — visual plan progress this skill summarizes