Lesson Learned
SkillMonitoring & opsLets your agent review recent git commits and pull out practical engineering lessons from the code changes.
Available today. Use it from your connected AI after setup.
No other account needed.
Connect ahel once, and every AI you use reads what you have installed.
Then ask your AI: use the Lesson Learned skill
About this capability
Extract evidence-backed engineering lessons from recent changes or incidents. Use for requested reflection, lesson updates, or retiring an obsolete workflow rule.
What this skill tells your AI
The instructions your AI receives, as published by compozy/compozy in .agents/skills/lesson-learned/SKILL.md and read by ahel’s review.
Extract or revise an engineering lesson from concrete incident evidence, code changes, and user decisions. Keep the causal explanation and the narrow rule it supports.
- Resolve the requested commit, diff, incident, or lesson scope from context. Reuse gathered evidence; inspect additional files only to answer a specific causal question.
- Separate incident facts, current policy, and historical practice. Check whether a newer directive supersedes the original assumption before promoting it to a rule.
- State what happened, the confirmed cause, the consequence, and the smallest reusable decision that prevents recurrence. Cite local paths/commits. Record uncertainty rather than forcing a lesson from weak evidence.
- Keep an existing lesson's ID and source trail when its policy changes. Mark obsolete guidance as historical, update the current application and index, and link the authoritative replacement.
- Check referenced files and policy consistency. Editorial lesson changes need no tests that freeze prose and no new runtime QA cycle.
Read the matching entry in references/se-principles.md only when a named principle helps explain the evidence; references/anti-patterns.md is optional diagnostic background. A lesson does not automatically require a new skill, test file, approval, review round, or whole-project gate.
Present the finding in a short explanation or the repository's established lesson format. Include current scope and supersession conditions for procedural guidance. Avoid generic advice, mandatory templates for trivial changes, and claims that an old incident proves a model-wide limitation.
Signals
- GitHub stars
- 3k
- Forks
- 177
- Last commit
- Sep 2026
Advanced
- Catalog kind
- skill
- Gateway key
lesson-learned- Source
- github.com/compozy/compozy