wiki-lint
Wiki Lint
Check a persistent Markdown knowledge wiki for correctness, drift, and missing connections. Read and report by default. When the user has already requested fixes, apply the authorized changes without asking again; a request to review or report alone authorizes no wiki writes, including log entries. Preserve raw source content and provenance. Only the source file’s tags and description YAML frontmatter fields may be added or updated within an authorized repair; leave the source body and all other original fields unchanged.
Sibling skills: wiki-ingest adds sources and bootstraps new wikis; wiki-query answers from wiki pages. They are optional companions, not runtime dependencies.
Locate the wiki and read its schema
Honor a user-specified root and paths first. Read applicable AGENTS.md/CLAUDE.md instructions and any wiki schema they reference before assuming a layout. Schema-defined directories, index paths, hubs, categories, and citation conventions override the defaults below.
If no root is specified or configured, inspect the current project for wiki/index.md. Search within the project only as needed; exclude raw-source directories. Nested projects/<project>/index.md files are local navigation within this wiki, not separate wiki roots. If several wikis fit, ask which one. A missing default index does not mean a custom-layout wiki is absent. If the configured wiki does not exist, report that and suggest creating it with wiki-ingest or the user's chosen workflow; do not bootstrap during lint.
If wiki pages exist but the configured index, log, or raw directory is missing, report the missing component rather than declaring the wiki absent. The checker requires an existing index and raw directory; run applicable checks manually when those prerequisites are missing. A missing log does not block the checker. Create missing components only within an authorized repair request.
Default layout: