Skill Tracer
Skills › gstack › retro › report-format.md

report-format.md

130 lines · retro/sections/report-format.md at 3f79d81

Open on GitHub

Most marks come from matching words in the file, so treat them as pointers.

1<!-- AUTO-GENERATED from report-format.md.tmpl — do not edit directly -->
2<!-- Regenerate: bun run gen:skill-docs -->
3Structure the output as:
4
5---
6
7**Tweetable summary** (first line, before everything else):
8```
9Week of Mar 1: 47 commits (3 contributors), 3.2k LOC, 38% tests, 12 PRs, peak: 10pm | Streak: 47d
10```

<!-- AUTO-GENERATED from report-format.md.tmpl — do not edit directly --> <!-- Regenerate: bun run gen:skill-docs --> Structure the output as:


Tweetable summary (first line, before everything else):

Week of Mar 1: 47 commits (3 contributors), 3.2k LOC, 38% tests, 12 PRs, peak: 10pm | Streak: 47d
Raw lines 1 to 11
12## Engineering Retro: [date range]

Engineering Retro: [date range]

Raw lines 12 to 13
14### Summary Table
15(from Step 2)

Summary Table

(from Step 2)

Raw lines 14 to 16
17### Trends vs Last Retro
18(from Step 12, loaded before save — skip if no matching history; in `compare` mode use **Current vs Prior Period** from the computed prior window even on the first run). Include the Recommendation follow-through line when Step 12 produced one.

Trends vs Last Retro

(from Step 12, loaded before save — skip if no matching history; in compare mode use Current vs Prior Period from the computed prior window even on the first run). Include the Recommendation follow-through line when Step 12 produced one.

Raw lines 17 to 19
20### Time & Session Patterns
21(from Steps 3-4)
23Narrative interpreting what the team-wide patterns mean:
24- When the most productive hours are and what drives them
25- Whether sessions are getting longer or shorter over time
26- Estimated hours per day of active coding (team aggregate)
27- Notable patterns: do team members code at the same time or in shifts?

Time & Session Patterns

(from Steps 3-4)

Narrative interpreting what the team-wide patterns mean:

  • When the most productive hours are and what drives them
  • Whether sessions are getting longer or shorter over time
  • Estimated hours per day of active coding (team aggregate)
  • Notable patterns: do team members code at the same time or in shifts?
Raw lines 20 to 28
29### Shipping Velocity
30(from Steps 5-7)
32Narrative covering:
33- Commit type mix and what it reveals
34- PR size distribution and what it reveals about shipping cadence
35- Fix-chain detection (sequences of fix commits on the same subsystem)
36- Version bump discipline

Shipping Velocity

(from Steps 5-7)

Narrative covering:

  • Commit type mix and what it reveals
  • PR size distribution and what it reveals about shipping cadence
  • Fix-chain detection (sequences of fix commits on the same subsystem)
  • Version bump discipline
Raw lines 29 to 37
38### Factory scorecard
39(from Step 7.5 when it ran; the table as printed, `unavailable (...)` lines kept; omit the section when the step was skipped)

Factory scorecard

(from Step 7.5 when it ran; the table as printed, unavailable (...) lines kept; omit the section when the step was skipped)

Raw lines 38 to 40
41### Code Quality Signals
42- Test LOC ratio trend
43- Hotspot analysis (are the same files churning?)
44- Greptile signal ratio and trend (if history exists): "Greptile: X% signal (Y valid catches, Z false positives)"

Code Quality Signals

  • Test LOC ratio trend
  • Hotspot analysis (are the same files churning?)
  • Greptile signal ratio and trend (if history exists): "Greptile: X% signal (Y valid catches, Z false positives)"
Raw lines 41 to 45
46### Test Health
47- Total test files: N (`TEST_FILES_TOTAL`)
48- Test files changed this period: M (`TEST_FILES_CHANGED`; not newly added test cases)
49- Regression test commits: list the `REGRESSION_COMMIT` lines (`test(qa):`, `test(design):`, and `test: coverage` commits)
50- If prior retro exists and has `test_health`: show delta "Test count: {last} → {now} (+{delta})"
51- If test ratio < 20%: flag as growth area — "100% test coverage is the goal. Tests make vibe coding safe."

Test Health

  • Total test files: N (TEST_FILES_TOTAL)
  • Test files changed this period: M (TEST_FILES_CHANGED; not newly added test cases)
  • Regression test commits: list the REGRESSION_COMMIT lines (test(qa):, test(design):, and test: coverage commits)
  • If prior retro exists and has test_health: show delta "Test count: {last} → {now} (+{delta})"
  • If test ratio < 20%: flag as growth area — "100% test coverage is the goal. Tests make vibe coding safe."
Raw lines 46 to 52
53### Plan Completion
54Check review JSONL logs for plan completion data from /ship runs this period:
56```bash
57GSTACK_STATE_ROOT=$(~/.claude/skills/gstack/bin/gstack-paths --get GSTACK_STATE_ROOT); : "${GSTACK_STATE_ROOT:?gstack-paths failed; reinstall with ./setup or /gstack-upgrade}"
58setopt +o nomatch 2>/dev/null || true # zsh compat
59SLUG=$(~/.claude/skills/gstack/bin/gstack-slug --get SLUG 2>/dev/null)
60cat "$GSTACK_STATE_ROOT"/projects/$SLUG/*-reviews.jsonl 2>/dev/null | grep '"skill":"ship"' | grep '"plan_items_total"' || echo "NO_PLAN_DATA"
61```
63If plan completion data exists within the retro time window:
64- Count branches shipped with plans (entries that have `plan_items_total` > 0)
65- Compute average completion: sum of `plan_items_done` / sum of `plan_items_total`
66- Identify most-skipped item category if data supports it
68Output:
69```
70Plan Completion This Period:
71 {N} branches shipped with plans
72 Average completion: {X}% ({done}/{total} items)
73```
75If no plan data exists, skip this section silently.

Plan Completion

Check review JSONL logs for plan completion data from /ship runs this period:

GSTACK_STATE_ROOT=$(~/.claude/skills/gstack/bin/gstack-paths --get GSTACK_STATE_ROOT); : "${GSTACK_STATE_ROOT:?gstack-paths failed; reinstall with ./setup or /gstack-upgrade}"
setopt +o nomatch 2>/dev/null || true  # zsh compat
SLUG=$(~/.claude/skills/gstack/bin/gstack-slug --get SLUG 2>/dev/null)
cat "$GSTACK_STATE_ROOT"/projects/$SLUG/*-reviews.jsonl 2>/dev/null | grep '"skill":"ship"' | grep '"plan_items_total"' || echo "NO_PLAN_DATA"

If plan completion data exists within the retro time window:

  • Count branches shipped with plans (entries that have plan_items_total > 0)
  • Compute average completion: sum of plan_items_done / sum of plan_items_total
  • Identify most-skipped item category if data supports it

Output:

Plan Completion This Period:
  {N} branches shipped with plans
  Average completion: {X}% ({done}/{total} items)

If no plan data exists, skip this section silently.

Raw lines 53 to 76
Runs code bin/gstack-paths :57
Runs code bin/gstack-slug :59
77### Focus & Highlights
78(from Step 8)
79- Focus score with interpretation
80- Ship of the week callout

Focus & Highlights

(from Step 8)

  • Focus score with interpretation
  • Ship of the week callout
Raw lines 77 to 81
82### Shipping Streaks
83(from Step 11: team and personal streaks, including broken-streak disclosure)

Shipping Streaks

(from Step 11: team and personal streaks, including broken-streak disclosure)

Raw lines 82 to 84
85### Shortcut Debt
86(from Step 11.5: marker ledger and count, or the clean-ledger statement)

Shortcut Debt

(from Step 11.5: marker ledger and count, or the clean-ledger statement)

Raw lines 85 to 87
88### Your Week (personal deep-dive)
89(from Step 9, for the current user only)
91This is the section the user cares most about. Include:
92- Their personal commit count, LOC, test ratio
93- Their session patterns and peak hours
94- Their focus areas
95- Their biggest ship
96- **What you did well** (2-3 specific things anchored in commits)
97- **Where to level up** (1-2 specific, actionable suggestions)

Your Week (personal deep-dive)

(from Step 9, for the current user only)

This is the section the user cares most about. Include:

  • Their personal commit count, LOC, test ratio
  • Their session patterns and peak hours
  • Their focus areas
  • Their biggest ship
  • What you did well (2-3 specific things anchored in commits)
  • Where to level up (1-2 specific, actionable suggestions)
Raw lines 88 to 98
99### Team Breakdown
100(from Step 9, for each teammate — skip if solo repo)
102For each teammate (sorted by commits descending), write a section:
104#### [Name]
105- **What they shipped**: 2-3 sentences on their contributions, areas of focus, and commit patterns
106- **Praise**: 1-2 specific things they did well, anchored in actual commits. Be genuine — what would you actually say in a 1:1? Examples:
107 - "Cleaned up the entire auth module in 3 small, reviewable PRs — textbook decomposition"
108 - "Added integration tests for every new endpoint, not just happy paths"
109 - "Fixed the N+1 query that was causing 2s load times on the dashboard"
110- **Opportunity for growth**: 1 specific, constructive suggestion. Frame as investment, not criticism. Examples:
111 - "Test coverage on the payment module is at 8% — worth investing in before the next feature lands on top of it"
112 - "Most commits land in a single burst — spacing work across the day could reduce context-switching fatigue"
113 - "All commits land between 1-4am — sustainable pace matters for code quality long-term"
115**AI collaboration note:** If many commits have `Co-Authored-By` AI trailers (e.g., Claude, Copilot), note the AI-assisted commit percentage as a team metric. Frame it neutrally — "N% of commits were AI-assisted" — without judgment.

Team Breakdown

(from Step 9, for each teammate — skip if solo repo)

For each teammate (sorted by commits descending), write a section:

[Name]

  • What they shipped: 2-3 sentences on their contributions, areas of focus, and commit patterns
  • Praise: 1-2 specific things they did well, anchored in actual commits. Be genuine — what would you actually say in a 1:1? Examples:
  • "Cleaned up the entire auth module in 3 small, reviewable PRs — textbook decomposition"
  • "Added integration tests for every new endpoint, not just happy paths"
  • "Fixed the N+1 query that was causing 2s load times on the dashboard"
  • Opportunity for growth: 1 specific, constructive suggestion. Frame as investment, not criticism. Examples:
  • "Test coverage on the payment module is at 8% — worth investing in before the next feature lands on top of it"
  • "Most commits land in a single burst — spacing work across the day could reduce context-switching fatigue"
  • "All commits land between 1-4am — sustainable pace matters for code quality long-term"

AI collaboration note: If many commits have Co-Authored-By AI trailers (e.g., Claude, Copilot), note the AI-assisted commit percentage as a team metric. Frame it neutrally — "N% of commits were AI-assisted" — without judgment.

Raw lines 99 to 116
117### Top 3 Team Wins
118Identify the 3 highest-impact things shipped in the window across the whole team. For each:
119- What it was
120- Who shipped it
121- Why it matters (product/architecture impact)

Top 3 Team Wins

Identify the 3 highest-impact things shipped in the window across the whole team. For each:

  • What it was
  • Who shipped it
  • Why it matters (product/architecture impact)
Raw lines 117 to 122
123### 3 Things to Improve
124Specific, actionable, anchored in actual commits. Mix personal and team-level suggestions. Phrase as "to get even better, the team could..." These are the items saved as `recommendations` in the Step 13 snapshot, which the next retro scores for follow-through, so name a concrete file, script or check in each.

3 Things to Improve

Specific, actionable, anchored in actual commits. Mix personal and team-level suggestions. Phrase as "to get even better, the team could..." These are the items saved as recommendations in the Step 13 snapshot, which the next retro scores for follow-through, so name a concrete file, script or check in each.

Raw lines 123 to 125
126### 3 Habits for Next Week
127Small, practical, realistic. Each must be something that takes <5 minutes to adopt. At least one should be team-oriented (e.g., "review each other's PRs same-day").

3 Habits for Next Week

Small, practical, realistic. Each must be something that takes <5 minutes to adopt. At least one should be team-oriented (e.g., "review each other's PRs same-day").

Raw lines 126 to 128
129### Week-over-Week Trends
130(if applicable, from Step 10)

Week-over-Week Trends

(if applicable, from Step 10)

Raw lines 129 to 130