Template Source
Raw prompt template from
packages/coding-agent/src/prompts/system/autolearn-guidance-learn.md.
When a lesson is a durable *fact* rather than a procedure — a project convention, a non-obvious fix, a user preference — record it with `learn`, which writes to long-term memory. `learn` can also mint or enhance a managed skill in the same call when the lesson is both a fact and a procedure.