AIToday
Large Language ModelsAI Coding AssistantsZenn AI/MLPublished: Nov 8, 2026, 19:01 JST

/retro proposes fixes for agent mistakes, but only when asked

Send on LINE
/retro proposes fixes for agent mistakes, but only when asked

3 Key Points

  1. What happened

    Matt Pocock's /retro skill reads one coding session, sorts the mistakes into seven categories, and proposes a fix for each — but it only proposes. Nothing changes until the user picks a candidate.

  2. Why it matters

    The proposals aim at the agent's environment rather than the code, and because /retro runs only when a user explicitly invokes it, adopting a suggestion stays a human decision.

Not sure about something? Ask the AI

Questions and answers are published on this page.

Summaries like this, every morning.

By signing up you agree to the Terms of Service and Privacy Policy.

Context & Analysis

The skill sits inside the mattpocock/skills repository, and the explanatory page lives at docs/engineering/retro.md with the skill body in skills/engineering/retro/SKILL.md, both quoted as of commit 4ae2317 (2026-10-31) under an MIT license. Its four-step flow starts by loading a writing-for-agents guide, then reads a session log — the current session by default, or a local log the user names — before mapping mistakes to seven categories and presenting candidates by importance.

The design separates two kinds of mistakes. Pattern-detectable ones, such as forbidden API use or import style, are routed to automatic checks because, as the page puts it, a check can fail and a sentence in a standards file can't. Judgment-based ones, such as consistency with surrounding code, alone go to CODING_STANDARDS.md, which the skill offers to create the first time such a rule appears and which the code-review skill then reads. For a Rust personal project adding English and Japanese UI text, the author reports /retro warning that someone could hard-code Japanese under src/ui/ and tests would still pass; the suggested test caught 10 non-displayed strings, which were then allow-listed, and a deliberately added Japanese string confirmed the test fails.

The write-up also links the approach to research and other tooling. Reflexion (Shinn et al., 2023) keeps self-written reflections in an episodic memory buffer, while the page insists retro is not a memory system and instead changes the environment. Huang et al.'s 2023 paper found LLMs struggle to self-correct without external feedback, which the author reads as support for routing detectable mistakes into checks that fail — though the paper covers reasoning tasks, so the mapping is the author's interpretation. SSW Rules' nightly retro and Claude Code's /insights differ in scope: /insights analyzes recent sessions machine-wide into an HTML report, while SSW warns never to auto-apply proposals.

FAQ
Does /retro change my repository automatically?
No. The documentation says it only proposes, and nothing changes until the user picks a candidate. Because the skill's frontmatter sets disable-model-invocation: true, it runs only when a user explicitly calls it.
Where do the proposed fixes go?
Most go outside CLAUDE.md or AGENTS.md: mechanical mistakes become lint rules, type checks, tests, pre-commit hooks, or CI jobs, while judgment-based mistakes go into CODING_STANDARDS.md for a review agent. Instruction files are meant to keep only a short pointer line to detailed docs.
What is /retro's biggest weakness?
The documentation calls stale-rule detection its weakest spot. /retro reads only one session, so it cannot notice that a lint rule added last month now produces false positives, leaving rule cleanup to the user.
Send on LINE

AI news that matters for your work, delivered every morning.

Pick your industry and the AI tools you use, and get news related to your work every day.

By signing up you agree to the Terms of Service and Privacy Policy.

Free · 30 seconds with Google · unsubscribe anytimeWhat is AIToday? →

Ask AI

Ask AI anything about this article. The AI reads this article, earlier AIToday articles, and Wikipedia, and cites its sources. Q&As are published on this page for other readers too.

Questions and answers are published on this page.

Related Articles

Next articlePangram AI Detection test: ChatGPT and Qwen Image 2.1 images caught