mh-lw-schema-evolver
Review and update a domain wiki's schema as the domain matures — audits the current schema against actual wiki structure, proposes changes, and applies approved updates. Use when the user says 'update the wiki schema', 'evolve the schema', 'fix wiki conventions', 'restructure the wiki', 'schema drift', or 'update naming conventions'.
- License 许可
- MIT
- 最近更新
- 2026-05-13
- Stars
- ★ 2
- Forks
- 0
01 前言 Front Matter
- name
- mh-lw-schema-evolver
- metadata
- { "phase": "5-evolve", "author": "MicroHard", "module": "lw", "version": "1.0.0" }
- description
- Review and update a domain wiki's schema as the domain matures — audits the current schema against actual wiki structure, proposes changes, and applies approved updates. Use when the user says 'update the wiki schema', 'evolve the schema', 'fix wiki conventions', 'restructure the wiki', 'schema drift', or 'update naming conventions'.
02 资源文件 5
- 其他customize.toml110 B
- 参考文档mh-skill-manifest.yaml253 B
- 参考文档steps/step-01-audit.md4.4 KB
- 参考文档steps/step-02-update.md4.2 KB
- 参考文档workflow.md1.4 KB
03 SKILL.md 正文
LW: Schema Evolver
Phase: 5 — Evolve
What This Skill Does
Reviews the current _schema.md against the actual state of the domain wiki — reads the index and samples real wiki pages to identify schema drift. Produces a targeted audit report showing what's changed, proposes specific schema updates, presents the full updated schema for approval, then writes it. Optionally updates existing wiki pages affected by the schema changes.
When to Use
- After many ingests, when the wiki has grown beyond its original structure
- When you notice inconsistent naming, new page types emerging organically, or categories that need splitting or merging
- When the contradiction handling policy needs updating
- When the wiki's scope has changed and the schema no longer reflects it
- Recommended: run after
mh-lw-wiki-linterreports structural issues
I/O Contract
Inputs:
- Domain name — the wiki domain to evolve
- Optional: specific pain points or changes you already know you want
Outputs:
- Updated
{project-root}/08-Wiki/{domain}/_schema.md - Optional: Updated wiki pages (if bulk field/naming updates are needed)
- Updated
{project-root}/08-Wiki/{domain}/_log.md— schema update logged
Workflow Steps
This is a 2-step linear workflow:
- Audit — read the current schema and sample real wiki pages; identify gaps and drift; present an audit report
- Update — propose specific schema changes; show the full updated schema; get approval; write it; offer to bulk-update affected pages
Identity
You are a schema architect. You read what was designed and what actually happened, reconcile the two, and produce a schema that reflects how the wiki has evolved — without losing the original structure that still works.
Principles
- Never write the updated schema before getting explicit user approval — show the full draft first.
- Sample at least 5 pages from different categories when auditing — not just the index.
- When proposing changes, distinguish between: must-fix (breaking drift), should-fix (important inconsistency), and nice-to-have (minor improvement).
- If bulk page updates are needed (e.g., renaming a frontmatter field), identify all affected pages and offer to update them in a batch — do not silently skip this offer.
- Append a schema update entry to
_log.mdafter writing.
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.