Retro
Structured retrospective of a session or chosen CI lane runs from sealed transcripts: metrics, quality across 5 dimensions, feedback-memory regression check…
от melodic-software★ 34 звезды на GitHub
Установить Retro в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Retro
Arguments. [session [--pattern '<regex>']|quick|ci-runs <run>…] [--sink <dir>] [--unattended]. Full ci-runs form: ci-runs [quick] (<run url or id>… | --lane <workflow stem> --last <n> | [--lane <stem>] --since <day> [--until <day>] [--outcome <o>] [--model <m>]) [--sink <dir>] [--unattended] ["<your view of the result>"]. e.g., /retro, /retro session, /retro session --pattern 'PROJ-\d+', /retro quick, /retro quick --unattended, /retro ci-runs <run url>, /retro ci-runs 4471, /retro ci-runs --lane pr-verify --last 3, /retro ci-runs quick --since 2026-11-01 --outcome error --sink /srv/lane-transcripts "it approved a change it should have stopped"
Context. Gather first
Take session-id, branch, status, recent-commits at -5, and changed-files.
Probe commands, the one-command-per-call and treat-failure-as-unknown rules, and the $-expansion
rationale for gathering at run time rather than pre-computing:
${CLAUDE_PLUGIN_ROOT}/reference/gather.md.
Purpose
The self-improvement loop. Answers: "What happened, what did we learn, and how do we prevent the same mistakes next time?"
Three concepts this skill enforces:
- Analyze. Examine what happened with evidence (transcript metrics, conversation context, feedback regressions)
- Identify. Find errors, behavioral adjustments, process improvements, and skill/tool candidates
- Codify. Persist learnings durably (the consuming repo's instruction files and rules, or Claude Code auto-memory for contributor-specific facts)
What this skill is not: not a code review (design judgment on current work), not outcome
verification (does the change match intent), and not Claude Code's built-in /insights
(cross-session usage analytics); this is structured quality analysis with codification.
Paths
Resolve at runtime, never hardcode machine-specific paths:
Eval session data. When
EVAL_RETRO_SESSION_DATA_DIRis set and not empty,SESSION_DATA_DIRis that directory (a relative value resolves against the working directory). Neither the transcript-source resolver nor the session-filelslookup below runs, and a transcript ormemory/folder missing there counts as absent, with no docs fetch for it. The variable exists only so a plugin-eval run can hand the skill a session data directory; when it is unset, the steps below apply unchanged.Session data root.
<config dir>/projects/<project-slug>/. Each<config dir>is one line the transcript-source resolver prints, the local sources of thetranscript_sources_fileoption in file order (unset, or still reading${user_config.…}: pass'', which prints this host's configuration directory).<project-slug>is the project's absolute path with every character outside[A-Za-z0-9]replaced by-:python3 "${CLAUDE_PLUGIN_ROOT}/scripts/transcript_sources.py" local-config-dir \ --sources-file '${user_config.transcript_sources_file}' PROJECT_SLUG=$(pwd -W 2>/dev/null || pwd) # Windows drive form when available PROJECT_SLUG=$(printf '%s' "$PROJECT_SLUG" | sed 's/[^A-Za-z0-9]/-/g')SESSION_DATA_DIRis<config dir>/projects/<PROJECT_SLUG>for the first printed directory where it exists. When the slug misses in every one, locate the current session's JSONL:ls '<config dir>/projects'/*/"${CLAUDE_CODE_SESSION_ID}.jsonl"for each printed directory. Exit 2 names a malformed sources file: say so and stop.Transcript:
<SESSION_DATA_DIR>/<session-id>.jsonl; subagents:<SESSION_DATA_DIR>/<session-id>/subagents/Auto-memory (feedback regression check):
<SESSION_DATA_DIR>/memory/. Present only when the consumer uses Claude Code auto-memory; degrade gracefully when absentPointer: when the computed transcript or auto-memory path misses, fetch Where transcripts are stored and auto memory's Storage location live.
Score history (plugin state):
${CLAUDE_PLUGIN_DATA}/scores/<project-slug>.md. Survives plugin updates, never lands in the consumer's repoParser:
${CLAUDE_PLUGIN_ROOT}/scripts/parse_transcript.py, run per${CLAUDE_PLUGIN_ROOT}/reference/transcript-parser.mdLane transcript sink (
ci-runsonly):--sink <dir>, else thelane_transcript_sinkoption under "Session settings". Neither set: stop and ask for--sink. There is no default location. Its layout is the lane-transcripts contract (docs/contracts/lane-transcripts/README.mdin this plugin's marketplace repository); the resolver is${CLAUDE_PLUGIN_ROOT}/scripts/lane_legs.pyLane score history (
ci-runsonly):${CLAUDE_PLUGIN_DATA}/scores/lanes/<lane>.md, one file per lane
Step 0: Detect mode
| Signal | Mode | Context fil
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- context/ci-runs.md
- context/quick.md
- context/session.md
- evals/evals.json
- reference/ecosystem-improvement-catalog.md
- reference/enforcement-ladder.md
- reference/native-insights.md
- scripts/parse-concern-value.sh
- scripts/yaml-subset.awk
FAQ
Что делает скилл Retro?
Structured retrospective of a session or chosen CI lane runs from sealed transcripts: metrics, quality across 5 dimensions, feedback-memory regression check, and codified learnings. Use when: 'retro', 'what did we learn', 'retro these CI runs', why a lane run went wrong, or end of session. Not for mid-session: /session-flow:running-retro.
Как установить скилл Retro?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл Retro запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
ci-review
AnthropicThe scan that the plugin's GitHub Action runs.
azure-static-web-apps
GitHubHelps create, configure, and deploy Azure Static Web Apps using the SWA CLI. Use when deploying static sites to Azure, setting up SWA local development…
ai-ready
GitHubMake any repo AI-ready — analyzes your codebase and generates AGENTS.md, copilot-instructions.md, CI workflows, issue templates, and more. Mines your PR…
aws-cdk-python-setup
GitHubSetup and initialization guide for developing AWS CDK (Cloud Development Kit) applications in Python. This skill enables users to configure environment…