From laravel-livewire-superpowers
Generate a sprint retrospective report from plan-doc + git history + audit reports. Outputs Pilot 2.0 contract compliance per phase, skill-invocation count vs expected, drift instances, test-suite delta, screenshot artifacts list.
How this command is triggered — by the user, by Claude, or both
Slash command
/laravel-livewire-superpowers:retroThis command is limited to the following tools:
The summary Claude sees in its command listing — used to decide when to auto-load this command
# laravel-livewire-superpowers:retro Generate an end-of-sprint retrospective report from the active branch's state. Read-only; never mutates anything. ## Workflow ### Step 1: Detect active plan-doc + branch state ### Step 2: Per-phase Pilot 2.0 compliance For each `## Phase N` in the plan-doc, read the Pilot 2.0 Tactic Tracking section: - T1: dispatched? cite audit path - T2: VC offered? accepted/skipped? - T3: review evidence per commit? - T4: specialist audit per test-write? - T5: clean push? (banned-token sweep automated) - T6: clean push? (deferred-items automated) Tabulate as ...
Generate an end-of-sprint retrospective report from the active branch's state. Read-only; never mutates anything.
branch="$(git rev-parse --abbrev-ref HEAD)"
topic="${branch#*/}"
plan="docs/superpowers/plans/${topic}.md"
[ -f "$plan" ] || plan="docs/plans/${topic}.md"
commits="$(git log main..HEAD --oneline)"
commit_count="$(echo "$commits" | wc -l)"
For each ## Phase N in the plan-doc, read the Pilot 2.0 Tactic Tracking section:
Tabulate as compliance matrix.
Scan for known drift markers:
git log --pretty='%h %s' | grep -i amendgit log --pretty='%h %s' -- 'docs/superpowers/plans/' | wc -l (>3 commits suggests churn)git diff main..HEAD --name-only -- 'tests/' | wc -l # files touched
for f in $(git diff main..HEAD --name-only -- 'tests/'); do
grep -cE "(it|test|describe)\(|expect\(" "$f" 2>/dev/null
done | paste -sd+ | bc 2>/dev/null # total assertions added
git diff main..HEAD --name-only | grep -iE '\.(png|jpg|jpeg|gif|webp|mp4|webm)$' | head -10
# Sprint Retro — <branch>
## Sprint metadata
- Branch: <branch>
- Commits: <N>
- Plan-doc: <path>
- Duration: <git log first..last commit date diff>
## Pilot 2.0 contract compliance
| Phase | T1 | T2 | T3 | T4 | T5 | T6 |
|---|---|---|---|---|---|---|
| 1 | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
| 2 | ✓ | skip | ✗ | ✓ | ✓ | ✓ |
| ... | | | | | | |
## Drift instances
- <list, or "None observed">
## Test-suite delta
- Files touched: N
- Assertions added: M
## Screenshot artifacts
- <list of image/video files added in this sprint>
## Recommendations for next sprint
<heuristic recommendations based on drift instances>
npx claudepluginhub altraweb/laravel-superpowers --plugin laravel-superpowers/retroGenerates engineering retrospectives from git history including commit trends, contributor breakdowns, hotspots, session analysis, and metrics over a time window like 7d/14d/30d.
/retroGenerates sprint retrospective from git history: analyzes velocity, commit patterns (features vs fixes), test health, hot files, shipping cadence. Outputs insights and recommendations.
/retroWrite this session's lessons into the project's lessons/ directory using the memory-discipline format.
/retroAnalyzes recent Claude Code transcripts to detect recurring fixes, repeated instructions, and frequent mistakes, then suggests where to absorb them (CLAUDE.md / skills / commands) with a decision table and PR draft.
/retroRun a post-ship retrospective — measure outcomes vs. predictions, extract lessons, update memory, and feed insights back into the PM system
/retroFacilitates agile retrospective for a sprint or period with optional focus, invoking agile-coach agent to generate improvement insights and action items.