with one click
retro
// End-of-cycle retrospective. The agent self-critiques, participant reacts, encode learnings into AGENTS.md and MEMORY.md immediately. Trigger for: /retro, retrospective, wrap up, what did we learn, end of cycle.
// End-of-cycle retrospective. The agent self-critiques, participant reacts, encode learnings into AGENTS.md and MEMORY.md immediately. Trigger for: /retro, retrospective, wrap up, what did we learn, end of cycle.
| name | retro |
| description | End-of-cycle retrospective. The agent self-critiques, participant reacts, encode learnings into AGENTS.md and MEMORY.md immediately. Trigger for: /retro, retrospective, wrap up, what did we learn, end of cycle. |
Run this at the end of each build cycle, OR any time mid-session when a learning surfaces and we need to codify it before it slips. Goal is not reflection ā it's codification. You're looking for things to encode so the next cycle is measurably better.
Before doing anything else, set expectations in plain English:
"I'll surface what I think went well and what I got wrong this cycle first ā you react, add what I missed. Then for each item, I propose how to codify it (project rules, memory note, or a new skill) and you approve. I make the edits in front of you so you see exactly what got remembered. The output is the changed files, not a retro document."
This sets the shape: agent-self-critique-first, react-not-articulate, codify-immediately. Then start the procedure below.
Open by self-critiquing. You know your own failure modes best ā surface them before the participant has to. They react, add what you missed, then you encode both.
This matches the plugin's react-not-articulate principle: don't ask the participant to articulate what went wrong ā you propose, they react.
/retro doesn't only run at end-of-cycle. If the participant says something that sounds like a learning mid-session ("oh wait, X always means Y", "we tried Z and it didn't work because W", "actually, can you not do A in this project"), surface it on the spot:
"That sounds like something I should remember. Want me to encode it into project rules / memory / a skill now? It'll take 30 seconds and the next session will have it."
If yes, run a compressed version of the procedure for that one learning:
Then continue whatever the participant was doing before. Don't run the full self-critique procedure for a single mid-session learning ā that's saved for end-of-cycle.
Look back across the cycle. Output a concrete self-critique in two short lists:
What I got wrong / had to correct:
What worked:
Keep each list to 3ā5 items. Don't pad.
"Anything I missed? Anything I got wrong but didn't catch?"
They may add:
Take what they add seriously. They see things you don't.
For each item (yours + theirs), ask:
Was there context I should have had permanently?
ā Goes into the project rules file (AGENTS.md on Codex, CLAUDE.md on Claude Code). Constraints, preferences, domain knowledge, working style. If you had to be told something you should have known, that's a project-rules gap.
Was there a fact about this project I should remember?
ā Goes into MEMORY.md. Things like: "The Shopify tenant is on the 2024-10 API version"; "Tuesday report lands in Sheet tab 'Weekly Stock'"; "We tried approach X and it failed because Y". Historical / factual context that future cycles need.
Was there a repeatable procedure? ā If it's something you'll do again in this project, write a project-scoped skill or macro.
Every rule or fact must be general, not specific to this one case:
ā "When the participant says 50 boxes, double-check."
ā "Always confirm quantities before placing orders."
ā "The order cancellation bug is fixed."
ā
"When summarising orders, filter out cancelled orders. The order status field is financial_status; 'voided' and 'refunded' mean cancelled."
Make the changes NOW. Do not just list what should change. Edit AGENTS.md. Append to MEMORY.md. Write the skill file. Then commit.
Read back to the participant what you changed, briefly:
"Updated AGENTS.md with a 'Order status filtering' section. Added to MEMORY.md: Shopify API version + cancelled-order handling. Committed."
git add . && git commit -m "retro: <one-line summary of what was encoded>"
If MEMORY.md doesn't exist yet, create it with:
# Project Memory
Factual and historical context about this project. The agent reads this alongside `AGENTS.md` to stay grounded.
## Key Facts
_(Things that are true about the domain, the platforms, the data.)_
## Decisions
_(Things we chose and why. Includes things we tried that didn't work.)_
## Events / Milestones
_(What happened, when, why it mattered.)_
Append to the relevant section. Keep entries short ā one or two lines each.
Brief summary:
The changed files are the real output, not the summary.
AGENTS.md / MEMORY.md ARE the output. No standalone retro-notes file.[HINT] Download the complete skill directory including SKILL.md and all related files