mh-lw-wiki-init
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'.
- License 许可
- MIT
- 最近更新
- 2026-05-13
- Stars
- ★ 2
- Forks
- 0
01 前言 Front Matter
- name
- mh-lw-wiki-init
- metadata
- { "phase": "1-init", "author": "MicroHard", "module": "lw", "version": "1.0.0" }
- 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'.
02 资源文件 6
- 其他customize.toml110 B
- 参考文档mh-skill-manifest.yaml507 B
- 参考文档steps/step-01-intake.md3.4 KB
- 参考文档steps/step-02-design-schema.md4.2 KB
- 参考文档steps/step-03-scaffold.md2.9 KB
- 参考文档workflow.md1.3 KB
03 SKILL.md 正文
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.mdin 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.mddraft 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.
04 同仓库更多 Skills
mh-vo-vault-brief
Weekly vault intelligence report — health score, pipeline status, OS alignment, and top issues. Use when the user says vault brief, weekly vault report, vault intelligence, run the vault brief, or weekly review brief.
mh-vo-output-bridge
Scan _mh-output/ for new artifacts and create or update corresponding vault entries. Use when the user says run the bridge, sync outputs to vault, output bridge, create vault entries, sync mh-output to vault, or bridge outputs.
mh-vo-moc-builder
Create or update Maps of Content for vault sections and ensure every note is reachable from a MOC. Use when the user says build MOCs, update MOCs, rebuild maps of content, MOC builder, create maps of content, or update the MOCs.
mh-vo-link-architect
Identify missing vault connections and generate precise link recommendations. Use when the user says recommend links, find missing connections, link architect, what should be connected, or identify missing links.
mh-vo-base-builder
Generate Obsidian Bases (.base files) for live database views of vault data. Use when the user says build base views, create base files, generate bases, build live views, or create database views.
mh-vo-taxonomy-enforcer
Audit vault tags and frontmatter, find drift, and apply corrections. Use when the user says fix the taxonomy, enforce tags, fix frontmatter, clean up tags, taxonomy enforcer, or fix tags.