Command Palette

Search for a command to run...

Назад к скиллам
скилл № 35133

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от 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:

  1. Analyze. Examine what happened with evidence (transcript metrics, conversation context, feedback regressions)
  2. Identify. Find errors, behavioral adjustments, process improvements, and skill/tool candidates
  3. 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_DIR is set and not empty, SESSION_DATA_DIR is that directory (a relative value resolves against the working directory). Neither the transcript-source resolver nor the session-file ls lookup below runs, and a transcript or memory/ 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 the transcript_sources_file option 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_DIR is <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 absent

  • Pointer: 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 repo

  • Parser: ${CLAUDE_PLUGIN_ROOT}/scripts/parse_transcript.py, run per ${CLAUDE_PLUGIN_ROOT}/reference/transcript-parser.md

  • Lane transcript sink (ci-runs only): --sink <dir>, else the lane_transcript_sink option 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.md in this plugin's marketplace repository); the resolver is ${CLAUDE_PLUGIN_ROOT}/scripts/lane_legs.py

  • Lane score history (ci-runs only): ${CLAUDE_PLUGIN_DATA}/scores/lanes/<lane>.md, one file per lane

Step 0: Detect mode

| Signal | Mode | Context fil

Полный SKILL.md на GitHub

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

  • 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 запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить Retro с