Overview
learn records a piece of tacit knowledge — a non-obvious gotcha, a workaround for a quirk, a pattern the team has converged on, or a discovery from debugging. Learnings are surfaced in future sync responses so every agent inherits them.
Run enagrams compile-rules periodically to bake recent learnings into .cursor/rules/team-learnings.mdc so new Cursor sessions load them as project rules automatically.
Parameters
Example
When to Call learn
- You just spent 20 minutes figuring out something that wasn’t obvious
- You found a workaround for a library quirk
- You discovered that a team pattern exists but wasn’t documented
- You fixed a bug whose root cause would trip up the next agent