From 0aeb17708cb3431c81e16533f87057f1c50b3005 Mon Sep 17 00:00:00 2001 From: Garry Tan Date: Wed, 18 Mar 2026 11:05:33 -0700 Subject: [PATCH] feat: add skills-used-this-week to /retro MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Retro Step 2 now reads skill-usage.jsonl and shows which gstack skills were used during the retro window. Follows the same pattern as the Greptile signal and Backlog Health metrics — read file, filter by date, aggregate, present. Skips silently if no analytics data exists. Co-Authored-By: Claude Opus 4.6 (1M context) --- retro/SKILL.md.tmpl | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/retro/SKILL.md.tmpl b/retro/SKILL.md.tmpl index 92d5c40b..27921324 100644 --- a/retro/SKILL.md.tmpl +++ b/retro/SKILL.md.tmpl @@ -159,6 +159,14 @@ Include in the metrics table: If TODOS.md doesn't exist, skip the Backlog Health row. +**Skill Usage (if analytics exist):** Read `~/.gstack/analytics/skill-usage.jsonl` if it exists. Filter entries within the retro time window by `ts` field. Separate skill activations (no `event` field) from hook fires (`event: "hook_fire"`). Aggregate by skill name. Present as: + +``` +| Skill Usage | /ship(12) /qa(8) /review(5) · 3 safety hook fires | +``` + +If the JSONL file doesn't exist or has no entries in the window, skip the Skill Usage row. + ### Step 3: Commit Time Distribution Show hourly histogram in Pacific time using bar chart: