
Code retro
Reviews a branch or PR for human corrections and proposes repo fixes to prevent them
Code retro is an open-source agent skill for developer tools. It is available on Claude Code.
- Scripts
- Python
- Platforms
- Claude Code
- GitHub stars
- 53
- Last commit
- License
- MIT
- Listing updated
Similar skills
About Code retro
Code Retro looks back at a single branch or pull request after the work is done, looking for moments where a human had to redirect the agent or catch an error that got through. Each finding is traced to what allowed it, such as a missing check, misleading guidance, or a rule the agent overlooked, and is paired with a ranked suggestion for a small change to the repository that would make the right behaviour the default.
The workflow resolves the branch and its base, locates any spec files it touched, and gathers evidence from git history, pull request reviews and comments, and session transcripts through a bundled Python script that extracts only human messages. Subagents read the transcripts so the main context stays small, and every quoted incident is checked against its source before it is reported. The skill also tracks spec drift when a design or plan file changed after implementation started.
It runs only when invoked and writes nothing until the user approves a report, which can then be saved under docs/retros in the repository. It expects git, and the GitHub CLI for merged pull requests, plus Python 3 for the extraction script.
When your agent uses it
Look back at one branch or PR, find the Corrections the human had to make, and propose ranked Nudges that make the right behaviour the default next time. Proposes in conversation and writes nothing except a report the user approves. Runs only when invoked, before or after merge.
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
- Runs Python scripts(see the files on GitHub)
- No network calls found in its scripts(see the files on GitHub)
- License: MIT(see the files on GitHub)
From a static check of its 6 files (97 KB) on GitHub on 3 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.
Check another skill before you install it.
Install
This skill ships in the atelier plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):
/plugin marketplace add martinffx/atelier
/plugin install atelier@atelierOr copy only this skill to ~/.claude/skills/code-retro:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/martinffx/atelier.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/code-retro &&
cp -R "$tmp/skills/code-retro" ~/.claude/skills/code-retro &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/code-retro inside it instead.
Copy the skill folder to ~/.agents/skills/code-retro to use it in every repository:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/martinffx/atelier.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/code-retro &&
cp -R "$tmp/skills/code-retro" ~/.agents/skills/code-retro &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/code-retro inside it instead.
Copy the skill folder to ~/.cursor/skills/code-retro to use it in every project:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/martinffx/atelier.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/code-retro &&
cp -R "$tmp/skills/code-retro" ~/.cursor/skills/code-retro &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/code-retro inside it instead.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/martinffx/atelier.git --path skills/code-retroOr copy the folder to ~/.gemini/skills/code-retro yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/code-retro:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/martinffx/atelier.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/code-retro &&
cp -R "$tmp/skills/code-retro" ~/.copilot/skills/code-retro &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/code-retro inside it instead.
Get the folder:
git clone --depth 1 https://github.com/martinffx/atelier.gitThen copy atelier/skills/code-retro into your agent's skills folder as code-retro. Agents that support SKILL.md read one folder per skill.
What it does
- Correction detection
- Finds human redirects and escaped errors such as failed reviews, repeated CI failures and fix commits after a PR opened.
- Root cause tracing
- Traces each correction to the missing check, unclear text or ignored rule that allowed it.
- Ranked repo nudges
- Proposes small, prioritised changes to the repository, favouring deterministic checks over documentation edits.
- Session transcript extraction
- Uses a Python script to pull human signals from agent session logs, with source line references and no tool output.
- Spec drift analysis
- Compares design and plan files against implementation commits to detect late changes to specifications.
- Recurring issue lookup
- Checks earlier retro reports in the repo to see whether an issue has come up before and whether past fixes held.
Good for
- Review what went wrong on a feature branch before merging a follow-up
- Find out why an agent needed repeated corrections on a merged pull request
- Suggest repository checks that would have caught a recurring review finding
- Compare a finished branch's design notes with what was actually built
- Save an approved retrospective report under docs/retros in the repo
Code retro FAQ
When does the skill run?
Only when invoked by the user, before or after a branch is merged. It is set to disable automatic model invocation.
Does Code retro change files in my repository?
No. It proposes changes in conversation and writes only a report the user approves. Accepted nudges are applied separately as inline work, and the skill never commits.
What does Code retro need to run?
Git and Python 3 for the extraction script. The GitHub CLI is used to read merged pull requests, and the skill can read agent session transcripts for the current harness.
Which clients does Code retro support?
The skill is distributed through the Claude Code plugin marketplace as part of the atelier repository, and its scripts run in Python.
How do I install Code retro in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/code-retro to use it in all your projects, or to .claude/skills/code-retro in one project. Or install the atelier plugin, which includes it: /plugin marketplace add martinffx/atelier, then /plugin install atelier@atelier.
Does Code retro run scripts?
Yes. It runs Python scripts. No network calls were found in its scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.
Which AI agents can use Code retro?
Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.
What are the best alternatives to Code retro?
The closest alternatives to Code retro are Retro, Code review, Project review, Make PR easy to review and Git archaeology.
Where this comes from
- Description: from the skill's own SKILL.md.
More from martinffx/atelier

Routes an agent to the right planning mode and workflow skill for each task
- Open source
- 53 GitHub stars
- Developer tools

Guides a repo's setup for Atelier's workflow, previewing edits before writing
- Open source
- 53 GitHub stars
- Developer tools

Writes and checks conventional commit messages and guides safe staging before committing
- Open source
- 53 GitHub stars
- Developer tools

Condenses the current conversation into a handoff document for a fresh agent
- Open source
- 53 GitHub stars
- Developer tools

Lets your agent open, read, comment on and merge GitHub PRs or GitLab MRs
- Open source
- 53 GitHub stars
- Developer tools

Runs a multi-agent code review of a diff, filtering findings by reachable failures
- Open source
- 53 GitHub stars
- Developer tools




