Capture learnings after completing work. Use when finishing a task, fixing a bug, discovering a pattern, or learning something worth remembering for future sessions. Helps build institutional memory.
name squads-learn description Capture learnings after completing work. Use when finishing a task, fixing a bug, discovering a pattern, or learning something worth remembering for future sessions. Helps build institutional memory. Capture Learnings After completing work, capture what you learned so future sessions can benefit. When to Use After fixing a bug
squads learn "PostgreSQL connection pool exhaustion was caused by unclosed transactions in error paths" --category failure --tags db,postgres,connection
squads learn "Using TypeScript strict mode caught 3 type errors before runtime" --category success --tags typescript,types
squads learn "When context exceeds 70%, always run squads memory sync before continuing" --category pattern --tags context,memory
squads learn "The gh CLI is faster than the GitHub API for simple operations" --category tip --tags github,cli View Learnings squads learnings show <squad>
squads learnings search "<query>"
squads learnings show engineering -n 5
Key Principle Learnings compound. Each captured insight makes future sessions smarter. A 30-second squads learn call can save hours of re-discovery.