Retro
Turn this task's wrong turns into a check, a step in a skill, or a rule.
SKILL.mdmarkdown · 31 lines
---
name: retro
description: >
Look back after a task: where did it go sideways, and which check, skill, or rule would have caught it.
Use at the end of a long task, when the same mistake happens a second time, or when the user corrects how you work.
---
# Retro
One goal: don't take the same wrong turn twice.
## Steps
1. List the wrong turns: what the user corrected, what had to be redone, what took too long to notice. If there were none, say so. Don't invent any.
2. For each one, ask what would stop it next time. Take the first option that works:
- An automated check (a test, a lint rule, CI). If a machine can catch it, don't rely on memory.
- A step added to a skill
- A line in the rules file, only if it must hold on every task
- A paragraph in the docs, for things that matter only when touching one area
3. Put these changes in their own PR, separate from feature work.
4. What can't be fixed now goes in [docs/ledger/].
## Output
At most 5 items, most costly first. Three parts each:
- Wrong turn: what happened
- Caught by: check / skill / rule / docs
- Change: the file and the PR
## Don't
- Don't turn a one-off into a rule.
- Don't add lines like "be more careful". Nobody can execute that.
- When you add a rule, look for an old one that a check now covers and delete it.