All skills
garrytan avatar

/retro

@730a101 official
by Garry Tangarrytan/gstack135k stars
20,051

Weekly engineering retrospective. (gstack)

Use this Skill: https://skilld.dev/gh/garrytan/gstack/retro

This session only. Nothing lands on disk.

sectionsreport-format.md

≈1.3k tokens on demand. Your agent reads this file only when SKILL.md points to it.

<!-- 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

Engineering Retro: [date range]

Summary Table

(from Step 2)

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)

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?

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

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)"

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."

Plan Completion

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

eval "$(~/.claude/skills/gstack/bin/gstack-paths)"; : "${GSTACK_STATE_ROOT:?gstack-paths failed; reinstall with ./setup or /gstack-upgrade}"
setopt +o nomatch 2>/dev/null || true  # zsh compat
eval "$(~/.claude/skills/gstack/bin/gstack-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.

Focus & Highlights

(from Step 8)

  • Focus score with interpretation
  • Ship of the week callout

Shipping Streaks

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

Shortcut Debt

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

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)

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.

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)

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..."

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").

Week-over-Week Trends

(if applicable, from Step 10)

Source: SKILL.md on GitHub

1 warning3d4 checks · Risk SAFE
  • Gen Agent Trust Hub3d

    The skill is a retrospective tool for analyzing engineering work patterns. It gathers metrics from git history, local logs, and project files to generate a weekly report. It uses vendor-provided binaries for data aggregation and telemetry. No security issues were detected.

  • Socket3d

    No alerts

  • Snyk3d

    Risk: LOW · No issues

  • Runlayer6mo

    1/1 file flagged

Signed by skilld at 730a101. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 16 hours ago.

Activeupdated last week
What it can do
Runs commands Reads files Edits files
preamble-tier
2
version
2.0.0
triggers
[
  "weekly retro",
  "what did we ship",
  "engineering retrospective"
]
All 5 allowed tools
BashReadWriteGlobAskUserQuestion
Other metadata
gbrain
{
  "schema": 1,
  "context_queries": [
    {
      "id": "prior-retros",
      "kind": "filesystem",
      "glob": ".context/retros/*.json",
      "sort": "mtime_desc",
      "limit": 5,
      "render_as": "## Prior retros for this project"
    },
    {
      "id": "recent-timeline",
      "kind": "filesystem",
      "glob": "~/.gstack/projects/{repo_slug}/timeline.jsonl",
      "tail": 30,
      "render_as": "## Recent timeline events"
    },
    {
      "id": "recent-learnings",
      "kind": "filesystem",
      "glob": "~/.gstack/projects/{repo_slug}/learnings.jsonl",
      "tail": 10,
      "render_as": "## Recent learnings"
    }
  ]
}
  • retro
  • retrospective
  • engineering
  • commit-history
  • team-metrics
  • timeline
  • learnings
  • gstack

README badge

README badge for garrytan/gstack/retro

Generates a weekly engineering retrospective by analyzing commit history, work patterns, and code quality metrics. Tracks contributions per team member, surfaces learnings and timeline events, and maintains persistent history for trend tracking across sprints.

Generated from the current SKILL.md.

What does this skill actually do?
Analyzes commit history, work patterns, and code quality metrics to generate a weekly engineering retrospective. It tracks prior retros, recent timeline events, and learnings, breaking down contributions per team member.
How does it know what to include in the retro?
The skill reads from gstack's persistent filesystem cache: prior retros from ~/.gstack/projects/{repo}/retros/*.md, timeline events from timeline.jsonl, and learnings from learnings.jsonl. It pulls the 5 most recent retros, 30 recent timeline events, and 10 recent learnings.
How do I trigger this skill?
Invoke it with phrases like 'weekly retro', 'what did we ship', or 'engineering retrospective'. It can also be proactively suggested at the end of a work week or sprint.
Does this require gstack to be already installed and configured?
Yes. The skill depends on gstack binaries in ~/.claude/skills/gstack/bin/ and requires gstack's project tracking infrastructure (timeline.jsonl, learnings.jsonl, prior retro files).
Can this work in plan mode?
Yes. The skill follows plan mode safety rules: it reads from ~/.gstack/, runs bash commands to gather data, and will block on AskUserQuestion in headless sessions or render a prose fallback in interactive mode.

Generated from the current SKILL.md. These answers refresh after source changes.