knowledge-consolidation
Installation
SKILL.md
Knowledge Consolidation
Project-local fix journal. One conversation → one structured Markdown file in this repo's IDE folder. Stays with the codebase; ships in the repo; future sessions on this project can find it.
Boundary: project-local debugging/config/workflow/lesson notes belong here. Global, reusable knowledge (architectures, design patterns, API integrations, references) belongs in llm-wiki. KC's
promotecommand moves a doc across the seam when it earns its way into the wiki.
When to use
| Trigger | Action |
|---|---|
| User says "save this", "记录下来", "we solved it" | Run cli.cjs save … |
| Stop nudge fired ("looks like you resolved a non-trivial problem") | Offer to save |
| Solved a bug specific to this codebase | --type debug |
| Locked in a non-obvious config / build setting | --type config |
| Established an ops procedure (deploy / rollback) | --type workflow |
| Post-mortem / retrospective takeaway | --type lesson |
Do not use for: cross-project knowledge (→ llm-wiki), reusable skills (→ project-skill-writer), AI rules (→ project-rules-writer), updating a previously saved doc (KC is write-once).