retrospective
БесплатноЗапускает вложенные скриптыНе проверенInteractive post-session retrospective that captures learnings, updates skills, and saves memories. Use when the user says "/retrospective", "let's do a…
от glebis★ 417 звёзд на GitHubОб этом скилле
Retrospective
Interactive post-session retro. Scans sessions, asks focused questions, proposes concrete actions the user approves in one step.
Modes
Single-session mode (default when inside a substantial conversation)
Scans the current conversation only. This is the original behavior.
Multi-session mode (default when invoked with no args, or with "today", or with a date)
Scans all sessions from a given day (default: today) across all projects. Extracts user corrections, skill failures, and patterns from JSONL transcripts.
Trigger: /retrospective at the start of a fresh session, or /retrospective today, or /retrospective 2026-05-24.
Multi-Session Discovery
Step 0 — Discover sessions
# Find today's sessions (default)
find ~/.claude/projects -maxdepth 2 -name "*.jsonl" -not -path "*/subagents/*" -mtime 0
# Or for a specific date, filter by file modification date
find ~/.claude/projects -maxdepth 2 -name "*.jsonl" -not -path "*/subagents/*" -newermt "YYYY-MM-DD" ! -newermt "YYYY-MM-DD + 1 day"
For each JSONL file found, extract a summary:
- Parse the project name from the path (the directory name after
projects/, decoded from the path-encoding) - Extract
userandassistantmessages (typeuserandassistant) - For user messages:
message.content(may be string or array of{type: "text", text: "..."}) - For assistant messages: collect text blocks from
message.contentarray wheretype == "text" - Build a condensed transcript: first 10 user messages + last 5 user messages (to capture corrections at the end)
- Skip sessions with fewer than 3 user messages (too short to have learnings)
Step 0b — Present session list
Show the user what was found:
Found N sessions today:
- project-name-1 (session-id[:8]) — "first user message preview..."
- project-name-2 (session-id[:8]) — "first user message preview..."
Then continue to Step 1a with the combined findings from all sessions. Each candidate action should note which session it came from (project name + short ID).
Single-Session Process
Step 0 — Gate Check (silent)
Scan the conversation and estimate session depth. Look for tool calls (Read, Edit, Write, Bash, Skill invocations), errors encountered, and back-and-forth exchanges. Don't try to count exactly — judge by feel:
- Short session (a quick question and answer, ~1-2 tasks) → Fast mode (Step 1b)
- Substantial session (multiple tasks, skill usage, errors, corrections) → Full mode (Step 1a)
Step 1a — Full Mode
Silently scan the conversation and collect:
- Skills invoked — which succeeded, which failed, workarounds applied
- User corrections — explicit "no, do it this way" moments (highest signal)
- Repeated patterns — same error hit multiple times, same workaround applied
- Cross-skill workflows — 3+ skills chained in sequence
Then read existing state:
- Find the current project's memory directory:
glob ~/.claude/projects/*/memory/MEMORY.mdand read it plus relevant memory files - Read skill files for any skills that were invoked (
~/.claude/skills/{name}/skill.md) - Check if Linear CLI exists:
test -f ~/.claude/skills/linear/scripts/linear && echo "configured" || echo "not configured"
Generate up to 5 candidate actions, ranked by signal strength:
- User corrections (highest priority)
- Failed/workarounded skills
- Repeated patterns
- Error patterns
- Workflow patterns (lowest)
Dedup rules:
- If a candidate's content overlaps with an existing memory file → drop it
- If a skill update candidate overlaps with existing skill file content → drop it
- If Linear is not configured → omit any Linear task candidates
Present everything in a single AskUserQuestion call (up to 4 questions):
| # | Question | Type |
|---|---|---|
| 1 | "Quick session check?" | Single select: Productive / Mixed / Rough / Skip retro |
| 2 | "What felt slow or broken?" | Free text via Other (optional) |
| 3 | "Anything to carry forward as a rule?" | Free text via Other (optional) |
| 4 | "Which of these should I save?" | Multi-select: generated candidates with descriptions. Always include a "Nothing / skip all" option. |
If Q1 = "Skip retro" → exit immediately.
If Q1 = "Rough" and Q2/Q3 are empty → exit with "Nothing to save — session closed." Don't add another question after the user already signaled they're done.
Step 1b — Fast Mode
Single AskUserQuestion call with one question:
- "Anything worth remembering from this session?" with options:
- "Nothing, we're done" (default)
- Other (free text)
If "Nothing" → exit. If free text → save as memory, exit.
Step 2 — Execute (silent, no re-confirmation)
For each approved item from Q4 (plus any insights from Q2/Q3 free text):
- Read the target file before writing
- Check for conflicts/duplicates against current content
- Write the change if clean
- Skip with warning if conflict detected
Ac
Установить retrospective в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл retrospective?
Interactive post-session retrospective that captures learnings, updates skills, and saves memories. Use when the user says "/retrospective", "let's do a retro", "what did we learn", "session review", "retro", or "wrap up". Also use at the end of long productive sessions when significant patterns or corrections emerged. Supports multi-session mode — by default processes all of today's sessions across projects.
Как установить скилл retrospective?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл retrospective запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
patterns
Find patterns worth sharing from recent PRs and repo history, both repeats to fix and good practices worth spreading. Use when a champion wants to know what…
от Anthropiccopilot-cli-quickstart
Use this skill when someone wants to learn GitHub Copilot CLI from scratch. Offers interactive step-by-step tutorials with separate Developer and…
от GitHubvardoger-analyze
Use when the user asks to personalize the GitHub Copilot CLI assistant, adapt Copilot to their style, use vardoger, or analyze their Copilot CLI conversation…
от GitHubpolicy-lookup
Find and explain company policies in plain language. Trigger with "what's our PTO policy", "can I work remotely from another country", "how do expenses work"…
от Anthropic