retro
БесплатноБез исполняемых скриптовНе проверенReview a coding session and propose environment changes that prevent repeated agent mistakes.
от jellydn★ 130 звёзд на GitHubОб этом скилле
Coding Session Retrospective
Inspect a real coding session and propose improvements to the agent's environment, not the product code. The goal is to make the next run easier to navigate and harder to get wrong.
This is human-in-the-loop. Present findings first; do not edit steering files, standards, hooks, CI, or skills until the user chooses which findings to apply.
When to Use
Use when:
- A coding session was unusually long, confusing, or error-prone.
- The user asks to review recent agent sessions.
- A bug or repeated mistake suggests a missing guardrail.
The default target is the current session. If the user names a count or date range, inspect that exact range. If session history is unavailable, say so and review the repository evidence only.
Sources
Read the real sources before judging:
- Session transcript and tool output, using session search when available.
AGENTS.md,CLAUDE.md,GLOSSARY.md,GLOSSARY-MAP.md, and repository-local steering files.CODING_STANDARDS.mdor equivalent review guidance.- Existing
package.json,pyproject.toml,Makefile, task runner, hooks, and CI workflows. - The final diff, test output, and any unresolved warnings.
Do not infer a recurring mistake from one suspicious line. Tie every finding to concrete evidence from the session or repository.
Review Lens
Rank findings by severity and expected leverage. For each, record:
Finding: what happened
Evidence: session message, command, file, or diff
Prevention: the smallest environment change that would stop it
Owner: repo check | agent skill | steering file | tool | documentation
Cost: maintenance and false-positive risk
Inspect these categories:
Skill learning loop
Treat a human correction as training data for the workflow, not as a one-off preference:
- Save the agent's output before editing it.
- Make and save the human-edited version against the same input.
- State what decision the edit reflects that the skill did not encode.
- Rewrite the rule as a decision procedure, including when it does not apply.
- Rerun the original input and compare the result with the edited version.
Do not add vague rules such as “make it better” or blindly encode every edit as a universal instruction. Keep only lessons that held up on real work. If a lesson is mechanical and stable, prefer a linter, test, hook, or CI check over more prose. Keep shared rules in the main skill and context-specific rules in a linked reference or style file so the skill does not grow indiscriminately.
Navigation
Could the agent have found the right file, command, dependency, or domain term sooner? Prefer a short navigation pointer or a GLOSSARY.md entry over a large instruction block.
Automated checks
Could a deterministic test, linter, typecheck, pre-commit hook, or CI job catch the mistake? Read the existing check commands first. If a check exists but is not wired or is silently broken, fix the wiring rather than inventing another check.
Mechanical mistakes belong in automation: banned APIs, required file locations, schema shape, generated-file drift, import rules, or formatting. A sentence saying “remember to do this” is not a guardrail.
Coding standards
Reserve CODING_STANDARDS.md for judgement calls that automation cannot decide: cross-file consistency, design fit, naming in context, and review expectations. Put reviewer-facing rules there, not implementation trivia.
Steering files
Remove no-op advice and move detailed procedures into skills or docs. Keep AGENTS.md and equivalent files short, navigational, and high-signal. Check for stale names such as CONTEXT.md; this repository uses GLOSSARY.md when that convention applies.
Tool economy
Look for repeated broad searches, redundant reads, missing filters, or expensive calls that a narrow command could replace. Recommend a tool or script change only when it reduces repeated cost without hiding important output.
Information access
Identify information the agent needed but could not access: logs, service status, readonly API data, fixtures, schemas, or architecture notes. Prefer safe readonly access and concise pointers.
Skill drift
When an installed or existing skill repeatedly needs correction, compare the same input across the old and revised versions. Treat the difference as evidence of skill drift: the user's standard moved, the skill was underspecified, or the rule was too literal. Record the smallest durable change and its verification result.
Memory-store learning loop
A retrospective that only looks at one session forgets on the next one. Also mine the durable stores, so repeated lessons become repository changes instead of re-learned memories:
- Read the memory layer the session used, per
~/.ai-tools/MEMORY.md:qmdcollections for project learnings (qmd search),agentmemoryfor session findings (memory_recall), and~/.ai-tools/MEMORY.md/agent-memory.mdt
Установить retro в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл retro?
Review a coding session and propose environment changes that prevent repeated agent mistakes.
Как установить скилл retro?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл retro запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic