wiki-lint
Wiki Lint
Health-checks the wiki and produces a report. Never modifies wiki content.
Config Discovery
Every invocation starts here. Wiki root is the directory containing wiki-config.md. Skills derive it at runtime. Pages this skill lints are checked against the structure in wiki-schema.md - both files need to be present.
-
Identify scope: Determine your filesystem scope root - the top-level directory your filesystem tool can access.
-
Scope check - MANDATORY STOP: If scope is bare drive root (
C:\,D:\,/), OS root, or user home (C:\Users\X,/home/X,/Users/X) → stop immediately. Do not search. Do not attempt to locate wiki-config.md. Go directly to step 6. -
Scan
<available_skills>forwiki-config. Note whether it's available - this shapes the recommendations below. The bundledreferences/setup-help.mdis also available; read it if the user needs orientation or if you get stuck. -
Locate and read
wiki-config.md: Search recursively (first-match, max 5 levels). If found, read it (blacklist,index_excludes,ingested_folder,ingested_subdirs,log_format). If not found, skip to step 6. -
Locate and read
wiki-schema.md- mandatory check: In the same directory aswiki-config.md, verifywiki-schema.mdexists and parses as YAML. Do not proceed to the Workflow below until you have a definite verdict (present / missing / malformed). Then: