--- title: "/wiki-lint — Slash Command for AI Coding Agents" description: "Run a health check on the LLM Wiki vault — mechanical checks (orphans, broken links, stale pages, missing frontmatter, log gap, duplicates) plus. Slash command for Claude Code, Codex CLI, Gemini CLI." --- # /wiki-lint
# /wiki-lint Health-check the wiki. Surfaces orphan pages, broken wikilinks, stale claims, missing frontmatter, contradictions, and structural drift. **Reports, doesn't silently fix** — you decide what to change. Run this weekly, after batch ingests, and always before sharing the wiki. ## Usage ``` /wiki-lint /wiki-lint --stale-days 60 /wiki-lint --log-gap-days 7 ``` ## What happens ### Pass 1 — Mechanical (scripts) - `engineering/llm-wiki/skills/llm-wiki/scripts/lint_wiki.py` — orphans, broken links, stale pages, missing frontmatter, duplicate titles, log gap - `engineering/llm-wiki/skills/llm-wiki/scripts/graph_analyzer.py` — hubs, sinks, connected components, graph stats ### Pass 2 — Semantic (LLM reads and thinks) - Contradictions between recently-updated pages - Stale claims superseded by newer sources - Concepts mentioned in plain text across 3+ pages without their own page - Cross-reference gaps (entities mentioned but not wikilinked) - Index drift (index.md out of sync with wiki/) ### Pass 3 — Report A markdown report grouped by severity: ```markdown # Wiki lint —