name: distill-lessons description: "Use at the end of a workflow or after significant debugging. Captures what went well, what went wrong, and what to do differently next time." phase: any transitions: [] gates: entry: "A workflow has completed or a significant debugging session has concluded" exit: "Retrospective document written with actionable takeaways"
Distill Lessons
Reflect on completed work to extract reusable insights. This is not a status report. It is an honest assessment of what the process revealed, what surprised you, and what should change for next time.
Process Flow
digraph distill_lessons {
"Review workflow state" [shape=box];
"Review git history" [shape=box];
"Identify what went well" [shape=box];
"Identify what went wrong" [shape=box];
"Identify surprises" [shape=box];
"Extract actionable takeaways" [shape=box];
"Write retrospective" [shape=box];
"Done" [shape=doublecircle];
"Review workflow state" -> "Review git history";
"Review git history" -> "Identify what went well";
"Identify what went well" -> "Identify what went wrong";
"Identify what went wrong" -> "Identify surprises";
"Identify surprises" -> "Extract actionable takeaways";
"Extract actionable takeaways" -> "Write retrospective";
"Write retrospective" -> "Done";
}
Checklist
- Review the workflow -- read
.forge/forge-state.json, the spec, the plan, and verification evidence - Review git history -- look at the commits, the timeline, and what was reworked
- Answer these questions honestly:
- What went well? What parts of the process produced good results efficiently?
- What went wrong? Where did rework happen? What was harder than expected?
- What was surprising? What assumptions turned out to be wrong?
- What would you do differently? Specific, actionable changes for next time.
- Write a brief retrospective (not a novel) to
.forge/evidence/retrospective.md:
# Retrospective: [Feature Name]
**Date**: YYYY-MM-DD
## What Went Well
- [Specific observation]
## What Went Wrong
- [Specific observation + what caused it]
## Surprises
- [What we didn't expect + what it taught us]
## Actionable Takeaways
- [Specific change for next time]
Anti-Patterns
"Everything went great" If everything went perfectly, you are not looking hard enough. Every project has friction. Finding it is the point.
"We should have planned better" Too vague. What specifically was missing from the plan? Which task was underspecified? What question should the discovery phase have asked?
"This was a waste of time" The retrospective takes 5 minutes and prevents repeating mistakes across future workflows. The waste is not reflecting.
Evidence Requirements
- Retrospective document exists at
.forge/evidence/retrospective.md - Contains at least one entry in each section (went well, went wrong, surprises, takeaways)
- Takeaways are specific and actionable (not "be better at planning")
Transition
This is the terminal skill. The Forge workflow is complete.