AGENT SKILL

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

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:

  1. Intake — gather domain name, description, purpose, and preferences through structured questions
  2. Design Schema — draft _schema.md in full and get explicit user approval before writing anything
  3. 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.

04 同仓库更多 Skills

Imad-Oute
Imad-Oute/MicroHard

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.

★ 2
Imad-Oute
Imad-Oute/MicroHard

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.

★ 2
Imad-Oute
Imad-Oute/MicroHard

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.

★ 2
Imad-Oute
Imad-Oute/MicroHard

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.

★ 2
Imad-Oute
Imad-Oute/MicroHard

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.

★ 2
Imad-Oute
Imad-Oute/MicroHard

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.

★ 2