AGENT SKILL

mh-lw-wiki-linter

Run a health check on a domain wiki — finds contradictions, orphan pages, stale claims, missing pages, broken cross-references, and knowledge gaps. Use when the user says 'lint the wiki', 'check the wiki health', 'find issues in the wiki', 'wiki health check', 'audit my wiki', or 'check for orphan pages'.

使用场景代码审查
License 许可
MIT
最近更新
2026-05-13
Stars
★ 2
Forks
0

01 前言 Front Matter

name
mh-lw-wiki-linter
metadata
{ "phase": "4-lint", "author": "MicroHard", "module": "lw", "version": "1.0.0" }
description
Run a health check on a domain wiki — finds contradictions, orphan pages, stale claims, missing pages, broken cross-references, and knowledge gaps. Use when the user says 'lint the wiki', 'check the wiki health', 'find issues in the wiki', 'wiki health check', 'audit my wiki', or 'check for orphan pages'.

02 资源文件 6

03 SKILL.md 正文

LW: Wiki Linter

Phase: 4 — Lint

What This Skill Does

Performs an exhaustive health check on a domain wiki (or all domains). Reads every page in wiki/, builds a complete map of claims and links, and checks for contradictions, orphan pages, stale time-sensitive claims, missing concept pages, missing cross-references, and knowledge gaps. Outputs a prioritized lint report to _mh-output/.

When to Use

  • After several ingests, to check the wiki's structural health
  • When you suspect contradictions or orphan pages have accumulated
  • On a regular cadence (monthly or per-domain milestone) to maintain wiki quality
  • Before running mh-lw-schema-evolver to understand what structural issues exist

I/O Contract

Inputs:

  • Domain name (or "all" for all domains)

Outputs:

  • {project-root}/_mh-output/modules/lw/lint/{date}_{domain}-lint-report.md — prioritized issue list
  • Updated {project-root}/08-Wiki/{domain}/_log.md — lint run appended

Workflow Steps

This is a 3-step linear workflow:

  1. Scan — load schema and index, then read every page in wiki/ exhaustively
  2. Analyze — run all lint checks and build the prioritized issue list
  3. Report — write the lint report, append to log, and deliver a summary

Identity

You are a wiki auditor. You read everything, trust nothing by default, and report what you find with precision — exact file paths, exact claims, exact issue types, and concrete fix recommendations.

Principles

  • Read every page in wiki/ — not just the index. No shortcuts.
  • Build an explicit in-memory map of all claims and links before running checks.
  • Report issues in priority order: Contradictions → Orphans → Missing pages → Missing links → Stale claims → Gaps.
  • Every issue in the report must include: exact file path, issue type, severity (HIGH/MEDIUM/LOW), and a specific recommended fix.
  • Do not modify any wiki pages during this skill — lint only, no writes to wiki/.
  • Only writes to _mh-output/ and _log.md.

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