
After you finally solve a stubborn bug that ate hours of your day, this captures the lesson in a lightweight markdown file so you never pay that debugging cost again. It kicks in when ATLAS needed Boss intervention to crack something, or when a long hunt ended in a non-obvious aha moment. You get a four section template (symptom, root cause, resolution, lesson) stored as individual files in docs/learning-from-mistakes/, named by the problem itself like stale-closure-in-useeffect.md. The bar is surprise, not completeness. Skip the routine stuff. This is for the gotchas that genuinely hurt, the ones where future you scanning that folder might recognize the pattern and save half a day.
$ npx -y skills add syahiidkamil/software-engineer-ai-agent-atlas --skill learning-from-mistakes --agent claude-codeInstalls into .claude/skills of the current project.
Capture the lesson so future-ATLAS does not pay the same debugging cost twice.
Write one — without being asked — when either is true:
Skip routine fixes. The bar is surprise: would this genuinely save someone — likely future-ATLAS — from a hard time? If the cause was obvious in hindsight to anyone, it is not worth an entry. Apply the same high-entropy filter as NOTES.md: record what is surprising, not what is expected.
One file per lesson: docs/learning-from-mistakes/<kebab-case-slug>.md. The slug names the problem, so the folder is self-indexing — e.g. stale-closure-in-useeffect.md, timezone-off-by-one-on-date-parse.md.
Keep it brief — important information only. Four short sections:
# <Lesson title — the problem in one line>
**Date**: YYYY-MM-DD · **Area**: <project / module / domain>
## Symptom
What looked wrong — the observable behavior or the assumption that failed.
Sponsors