Log learnings and errors to markdown files for continuous improvement. Coding agents can later process these into fixes, and important learnings get promoted to project memory.
| Command/operation fails | Log to .learnings/ERRORS.md | | User corrects you | Log to .learnings/LEARNINGS.md with category correction | | User wants missing feature | Log to .learnings/FEATUREREQUESTS.md | | API/external tool fails | Log to .learnings/ERRORS.md with integration details |
| Knowledge was outdated | Log to .learnings/LEARNINGS.md with category knowledgegap | | Found better approach | Log to .learnings/LEARNINGS.md with category bestpractice | | Simplify/Harden recurring patterns | Log/update .learnings/LEARNINGS.md with Source: simplify-and-harden and a stable Pattern-Key |
Cattura apprendimenti, errori e correzioni per consentire un miglioramento continuo. Da utilizzare quando: (1) Un comando o un'operazione fallisce inaspettatamente, (2) L'utente corregge Claude ("No, è sbagliato...", "In realtà..."), (3) L'utente richiede una funzionalità che non esiste, (4) Un'API o uno strumento esterno non funziona, (5) Claude si rende conto che le sue conoscenze sono obsolete o errate, (6) Viene scoperto un approccio migliore per un'attività ricorrente. Rivedi anche gli apprendimenti prima delle attività principali. Fonte: peterskoett/self-improving-agent.