Create custom modules for knowledge-os. Use when the user wants to create a new module, new workflow, new template type, or says "module-creator", "create module", "new module", "I need a module for".
This skill creates custom modules for the knowledge-os wiki system. Each module adds new entity types, commands, and workflows to the wiki.
Walk the user through these steps interactively. Ask one question at a time and confirm before generating.
Ask: "What do you want this module to do? Describe the use case."
Listen for:
Ask about each of these, one at a time:
book-notes, meeting-log, code-review)"meeting, review, recipe)"log meeting, add review, process paper)"Present a summary to the user:
Module: <name>
Entity types: <list>
Commands: <list>
Workflow: <steps>
Ask: "Does this look right? Any changes?"
Create two things:
modules/<name>/schema.mdFormat:
## Module: <Name>
<One-line description of what this module does.>
### <command-phrase> — <short description>
When user says "<trigger phrase 1>", "<trigger phrase 2>", or "<trigger phrase 3>":
1. <Step 1>
2. <Step 2>
3. <Step 3>
4. Add [[wikilinks]] to related existing pages
5. Update index.md
6. Write to log.md
Rules for schema.md:
## Module: <Name> as the top-level heading (this is how add-module/remove-module find it)modules/<name>/templates/<entity>.mdmodules/<name>/templates/<entity>.mdOne template per entity type. Format:
---