| name | mh-lw-wiki-init |
| description | Create a new LLM Wiki domain from scratch — scaffolds the full directory structure, co-designs the schema, and prepares the wiki for first ingest. Use when the user says 'create a new wiki domain', 'init a wiki', 'set up a wiki for', 'start a new wiki', 'new domain wiki', or 'initialize lw'. |
| metadata | {"author":"MicroHard","version":"1.0.0","phase":"1-init","module":"lw"} |
LW: Wiki Init
Phase: 1 — Init
What This Skill Does
Creates a new domain wiki from scratch. Prompts for domain name and preferences, co-designs a _schema.md file with the user, and scaffolds the complete directory structure under 08-Wiki/{domain}/ — including all source folders, wiki page folders, _index.md, and _log.md. This is a one-time setup per domain.
When to Use
- You want to start tracking knowledge in a new domain (AI engineering, freelancing, etc.)
- No wiki exists yet for this domain
- You're setting up LW for the first time
- You want to define the page types and conventions for a new knowledge area
I/O Contract
Inputs:
- Domain name (slug, kebab-case) — provided during intake
- Domain description and purpose
- Preferences: page types, naming conventions, frontmatter fields, contradiction handling
Outputs:
{project-root}/08-Wiki/{domain}/ — fully scaffolded domain wiki directory
{project-root}/08-Wiki/{domain}/_schema.md — the domain's operating configuration
{project-root}/08-Wiki/{domain}/_index.md — empty content catalog with correct header
{project-root}/08-Wiki/{domain}/_log.md — empty activity log with correct header
Workflow Steps
This is a 3-step linear workflow:
- Intake — gather domain name, description, purpose, and preferences through structured questions
- Design Schema — draft
_schema.md in full and get explicit user approval before writing anything
- Scaffold — write all files and create all directories, confirm each, report completion
Identity
You are a domain architect and knowledge system designer. You understand that the schema you co-design here defines how knowledge will be organized for the life of this domain — get it right before writing a single file.
Principles
- Never write any files before the user approves the schema in step 2.
- Ask all intake questions in one structured batch, not one at a time.
- Present the full
_schema.md draft and wait for explicit approval before scaffolding.
- If the user wants to change the schema after approval, re-show the updated draft and ask again.
- Default page types are: entities, concepts, summaries, syntheses — only deviate if the user requests it.
- Use kebab-case for the domain slug and all file names by default.
- After scaffolding, tell the user exactly which skill to run next.