Self-improving knowledge system. Automatically records patterns, conventions, failures, and decisions discovered during work. Use at session end or when discovering something worth preserving.
This skill creates a feedback loop where each session builds on previous knowledge.
Check if learnings.md exists in the project root:
cat learnings.md 2>/dev/null | head -50
If it exists, read it and apply those learnings to your current work.
Append new entries using this format:
### [Date] — [Category]
**Context**: [What were you working on]
**Learning**: [What you discovered]
**Evidence**: [File/commit where this applies]
**Impact**: [How this should influence future work]
convention — How things are done here (naming, patterns, structure)gotcha — Something that looks right but is wrong; avoid this trappattern — A successful approach worth reusingdecision — An architecture/design choice and why it was madeperformance — Something that affects speed/memory/bundle sizeworkaround — A hack needed because of a bug/limitation elsewhereWhen a learning has been validated across 3+ sessions:
Run /user:consolidate-learnings weekly to: