Files

15 lines
690 B
Markdown

---
description: Capture durable knowledge — architecture decisions, debugging patterns, procedures — to the docs repo with EEMS indexing.
---
The user invoked `/insight` with argument: `$ARGUMENTS`
If `$ARGUMENTS` is empty, ask the user what insight to capture — category and topic.
Otherwise, parse `$ARGUMENTS` as free text describing the insight. Derive:
- category: infer from content (e.g. "architecture", "debugging", "procedures", "reference")
- slug: kebab-case from the topic
- content: synthesize from the current session context and the user's description
Store the insight to EEMS with subject `insight.<category>.<slug>` and the markdown content. Report the result.