/skillz-claude:retrofrom skillz-claude
Rétrospective engineering — analyse commits, sessions de travail, métriques, streaks, et tendances. Usage: /retro [7d|14d|30d|24h] [compare]
Ships in skillz-claude. Installing the plugin adds it to Claude Code.
Generates a comprehensive engineering retrospective analyzing commit history, work patterns, and code quality metrics. Team-aware: identifies contributors with per-person praise and growth opportunities.
This command is observational and read-only. It may propose changes for human review, but it must not mutate workflow files, planning documents, retrospectives, Git state, or project configuration.
/retro — default: last 7 days/retro 24h — last 24 hours/retro 14d — last 14 days/retro 30d — last 30 days/retro compare — compare current window vs prior same-length windowArgument validation: If the argument doesn't match a number followed by d, h, or w, or the word compare, show usage and stop.
Use the locally available origin/main ref and identify the current user. Do not fetch or mutate refs; report the ref timestamp so the human can judge freshness:
git config user.name
git config user.email
git log -1 --format="%H|%ai" origin/main
The name returned by git config user.name is "you" — the person reading this retro.
Run ALL of these git commands in parallel (they are independent):
# 1. All commits with timestamps, subject, hash, author, stats
git log origin/main --since="<window>" --format="%H|%aN|%ae|%ai|%s" --shortstat
# 2. Per-commit test vs total LOC breakdown
git log origin/main --since="<window>" --format="COMMIT:%H|%aN" --numstat
# 3. Commit timestamps for session detection
git log origin/main --since="<window>" --format="%at|%aN|%ai|%s" | sort -n
# 4. Files most frequently changed (hotspot analysis)
git log origin/main --since="<window>" --format="" --name-only | grep -v '^$' | sort | uniq -c | sort -rn
# 5. PR numbers from commit messages
git log origin/main --since="<window>" --format="%s" | grep -oE '#[0-9]+' | sort -n | uniq
# 6. Per-author commit counts
git shortlog origin/main --since="<window>" -sn --no-merges
| Metric | Value |
|---|---|
| Commits to main | N |
| Contributors | N |
| PRs merged | N |
| Total insertions | N |
| Total deletions | N |
| Net LOC added | N |
| Test LOC ratio | N% |
| Active days | N |
| Sessions detected | N |
Per-author leaderboard:
Contributor Commits +/- Top area
You (name) 32 +2400/-300 src/
alice 12 +800/-150 tests/
Show hourly histogram using bar chart:
Hour Commits ████████████████
09: 5 █████
22: 8 ████████
Identify: peak hours, dead zones, late-night clusters (after 10pm).
Detect sessions using 45-minute gap threshold between consecutive commits.
Classify:
Calculate: total active coding time, average session length, LOC per active hour.
Categorize by conventional commit prefix (feat/fix/refactor/test/chore/docs). Show as percentage bar:
feat: 20 (40%) ████████████████████
fix: 27 (54%) ███████████████████████████
Flag if fix ratio exceeds 50% — signals "ship fast, fix fast" pattern.
Top 10 most-changed files. Flag:
Bucket PRs by size:
Focus score: % of commits touching the most-changed directory. Higher = deeper work.
Ship of the week: Highest-LOC PR — highlight PR number, title, LOC, why it matters.
For each contributor:
For "You": Deepest treatment — sessions, patterns, focus.
For teammates:
AI collab: Track Co-Authored-By AI trailers as a neutral metric.
# Count consecutive days with commits to origin/main
git log origin/main --format="%ad" --date=format:"%Y-%m-%d" | sort -u
Count backward from today.
ls -t .context/retros/*.json 2>/dev/null
If prior retros exist, load most recent. Show deltas:
Last Now Delta
Test ratio: 22% → 41% ↑19pp
Sessions: 10 → 14 ↑4
If first retro, skip comparison.
Answer these four stable questions using only evidence gathered in this retro. Clearly label an answer Insufficient evidence instead of inventing causality.
Each answer is an observation proposed to the human. It may include an evidence-backed suggestion, but it must never update a skill, command, process, plan, or configuration automatically.
Structure:
Tweetable summary (first line):
Week of Mar 1: 47 commits (3 contributors), 3.2k LOC, 38% tests, 12 PRs | Streak: 47d
Summary Table (Step 2)
Trends vs Last Retro (Step 11)
Time & Session Patterns (Steps 3-4)
Shipping Velocity (Steps 5-7)
Code Quality Signals
Focus & Highlights (Step 8)
Your Week (personal deep-dive)
Team Breakdown (per teammate)
Top 3 Team Wins
3 Things to Improve
Rework Lens (the four stable questions from Step 12)
3 Habits for Next Week
When user runs /retro compare:
Arguments reçus : $ARGUMENTS
Je collecte les données git pour la rétrospective...
What the command file sets; muted values are Claude Code's defaults
7-day visitors to each command page
Generated from the plugin's indexed repository (elsolal/skillz-claude-codex-and-more) — no native marketplace selected
npx claudepluginhub p/elsolal-skillz-claude24 commands in this plugin
/design-audit/design-auditAudit design system/UI/agent-surface avec tokens, composants, a11y, taste, drift Figma/code et signal Lyse optionnel. Usage: /design-audit <url|path|figma|screenshot> [--quick|--full|--squad|--ship-gate]/design-audit-squad/design-audit-squadOrchestration complète Lyse Design Squad: 12 agents UI/DS/agent-surface, Lyse statique optionnel, taste, a11y, Figma/code, AI governance et ship-gate. Usage: /design-audit-squad <url|path|figma|screenshot> [--step-by-step|--all-at-once|--ship-gate]/devDev — $ARGUMENTSDéveloppe une feature avec le workflow adaptatif D-EPCT+R v6 (niveaux 0-4, stop unique au plan, boucle quality-gate). Usage: /dev [issue] ou /dev "description"/discoveryDiscovery — $ARGUMENTSPlanning v6 en niveaux 0-4 — tech-spec directe pour les petits scopes, chaîne Brainstorm → PRD → Architecture → Stories au-delà, spec consolidée approuvée en sortie. Usage: /discovery "besoin"/elicitElicit — $ARGUMENTSRé-examine une sortie existante (PRD, plan, spec, code, doc) sous UNE lentille de raisonnement nommée (Pre-mortem, Inversion, First Principles, Red/Blue…). Usage: /elicit [lentille] [cible]/gateGate — $ARGUMENTSLance la boucle quality-gate en standalone sur un diff — reviews multi-lentilles, contre-vérification adversariale, gate file PASS/CONCERNS/FAIL/WAIVED. Usage: /gate [niveau 1-4] [cible]Other plugins' commands for the same job