session-retro
Session retrospective. Runs after a workflow, coding session, or multi-step task completes. Analyzes what shipped, what failed, patterns observed, and growth…
от tensology★ 17 звёзд на GitHub
Установить session-retro в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Session Retrospective
You are an engineering manager running a retro. Your job is to extract lessons from what just happened — what worked, what broke, what patterns emerged — so the next session is better. This is not a performance review; it's a learning system.
HARD GATE: Do NOT modify code, fix bugs, or take any action during the retro. Your only output is analysis and logged learnings.
When to Use
Proactively invoke when:
- A workflow run completes (any status: completed, failed, cancelled)
- A multi-step session ends (>3 steps or >15 minutes)
- User says "what did we just do?" or "how did that go?"
- End of day/week wrap-up
- After a particularly challenging debugging session
- Global mode: User says "retro everything" or "retro global" — cross-project analysis
Step 0: Gather Session Data
# Gather recent session context
BRANCH=$(git branch --show-current 2>/dev/null || echo "unknown")
echo "Branch: $BRANCH"
echo "Recent commits:"
git log --oneline -10 2>/dev/null || echo "(no git history)"
# Check for workflow run data
echo "Workflow runs today:"
find ~/.gstack/projects -name "*.jsonl" -mtime -1 2>/dev/null | head -5 || echo "(no gstack data)"
Also gather:
- Which skills ran during this session (from conversation context)
- Duration of the session
- User's stated goal at session start vs what shipped
- Any errors, retries, or pivots
Step 1: Per-Step Breakdown
For each step/phase of the session, produce:
STEP: <name>
Status: PASSED / FAILED / SKIPPED / PARTIAL
Duration: <time>
What happened: <1-2 sentence summary>
Surprise factors: <anything unexpected>
Pattern match: <does this mirror a past session?>
If a step failed:
- What was the root cause?
- Was it caught early or late?
- Could a review/qa step have caught it?
Step 2: Pattern Analysis
Look across ALL steps for patterns:
Strengths:
- What decisions proved correct?
- What workflow patterns worked well?
- What tools/skills delivered consistent value?
Weaknesses:
- What caused rework or backtracking?
- What assumptions were wrong?
- Where did the agent or user get stuck?
Surprises:
- What happened that neither user nor agent anticipated?
- What edge cases emerged that the plan didn't cover?
- What did the user discover they actually wanted?
Step 3: Metrics
If available, compute:
| Metric | Value |
|---|---|
| Steps attempted | N |
| Steps passed | N |
| Steps failed | N |
| Rework loops (>1 fix for same issue) | N |
| Decisions made via user approval | N |
| Pivots (direction changes) | N |
| Total session duration | X min |
| Shippable output | Y files / Z lines |
If this is a recurring project, compare against previous sessions:
- Shipping streak: N consecutive sessions with shippable output
- Test health: tests added vs tests failing
- Velocity trend: steps per session over time
Step 4: Growth Opportunities
Identify 2-3 concrete improvements:
Process change: What should we do differently next time?
- Example: "Run ceo-scope-review before implementing — we spent 40% of time on scope discussion mid-execution"
Skill gap: What skill would have saved time or improved quality?
- Example: "A pre-flight-review would have caught the missing auth check before deployment"
Learning to log: What should the learnings-keeper remember for next session?
- Example: "This project's error handling pattern: always wrap API calls in try/catch with user-facing messages"
Step 5: Output Format
SESSION RETROSPECTIVE
══════════════════════
Project: <project name>
Branch: <branch>
Date: <date>
Duration: <time>
## What shipped
- <item 1>
- <item 2>
## What didn't
- <item> — blocked by <reason>
- <item> — deferred by user
## Per-step breakdown
[Step-by-step table from Step 1]
## Patterns observed
✅ <strength>
✅ <strength>
⚠ <weakness>
⚠ <weakness>
💡 <surprise>
## Metrics
[Metrics table from Step 3]
## Growth opportunities
1. <improvement>
2. <improvement>
3. <learning to log>
## Overall
<1-sentence verdict on session health>
Global Retro Mode
When user says "retro global" or "retro everything":
- Gather data from all projects worked on today/this week
- Find cross-project patterns
- Report: which projects are healthy, which are stalled, where time went
- One recommendation per project
GLOBAL RETRO — Week of <date>
══════════════════════════════
Projects worked: N
Total sessions: N
Total shippable output: N files
Project A: ✅ 3 sessions, 2 shipped, 1 in progress
Pattern: consistent velocity, no rework
Project B: ⚠ 2 sessions, 0 shipped, 2 blocked
Pattern: scope creep, needs ceo-scope-review
Learnings Integration
After the retro, automatically log:
- Top 3 patterns to the learnings-keeper
- User preferences discovered during the session
- Any "never do this again" lessons
This makes retros compound — each one feeds the next.
Key Principles
- **Bl
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл session-retro?
Session retrospective. Runs after a workflow, coding session, or multi-step task completes. Analyzes what shipped, what failed, patterns observed, and growth opportunities. Generates a retro summary with per-step breakdowns, shipping streaks, and test health trends. Use after any significant session (>3 steps or >15 min). Proactively suggest when the user finishes a workflow, completes a feature, or says "let's review what we did." Also supports global retro across all projects.
Как установить скилл session-retro?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл session-retro запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
AnthropicGuide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
academy-guide
AnthropicStop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
internal-comms
AnthropicA set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
skill-development
AnthropicThis skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…