What problem does it solve?
After completing difficult tasks, valuable lessons learned during debugging and verification loops are often lost. This Skill captures those insights as structured reflections and persists them into the project knowledge base so future sessions can benefit.
Core Features & Use Cases
- Triggered Reflection: Activates after tasks that required 2+ verification loops, 3+ debugging attempts, plan changes, or user corrections.
- Incremental Knowledge Appending: Appends dated lessons to the experience sections of relevant modules/*.md files, or to context.md for project-level insights, without rewriting existing content.
- Quality Guardrails: Enforces abstract, concise guidance (max 2 lines per lesson) instead of concrete code templates that could anchor future sessions on wrong details.
- Use Case: After a session where a bug took four attempts to fix, run this Skill to record the root-cause pattern as a reusable lesson in the relevant module document.
Quick Start
Ask the agent to generate a session reflection and append the lessons learned to the relevant knowledge base module documents.