Agile Retrospective Skill
Use this skill at the end of every significant task or when an error occurs to capture learning.
Steps
- •
Analyze Context:
- •Review
agent/SCRATCHPAD.mdand recent tool outputs. - •Identify the primary goal and the actual outcome.
- •Review
- •
Identify Key Events:
- •Successes: What worked well? (e.g., correct tool usage, efficient plan)
- •Failures: What broke? (e.g., lint errors, test failures, wrong assumption)
- •
Root Cause Analysis (5 Whys):
- •For any failure, ask "Why?" until the root cause (often process or knowledge gap) is found.
- •
Update Memory:
- •Append to
agent/memory/LESSONS.md:markdown### [Task Name] - **Date**: [YYYY-MM-DD] - **Outcome**: [Success/Failure] - **Lesson**: [What was learned] - **Action**: [What we will do differently]
- •Append to
- •
Enforce Rules (Optional):
- •If the lesson is a permanent rule (e.g., "Always run lint before commit"), UPDATE
agent/GEMINI.mdoragent/CLAUDE.md. - •Add strictly enforced rules to the
Iron Lawssection or appropriate Agent Protocol section.
- •If the lesson is a permanent rule (e.g., "Always run lint before commit"), UPDATE