| name | lint |
| description | This skill is used when the project wiki needs a health check. Triggers include 'lint the wiki', 'check wiki health', 'run field-guide lint', 'are there stale wiki pages', 'find orphaned pages', 'check for contradictions in the wiki'. |
Lint
Health-check the wiki. Find what's broken, what's stale, what's drifted. Produce a report the maintainer can act on.
Steps
1. Load the index.
Read the field-guide index. Prefer .lore/reference/index.md; if it does not exist, read .lore/reference/index.html. Collect every local page link it lists — these are the indexed pages. Links may point to .md or .html files. If no index exists or the index contains no links, report that and stop.
2. Run five checks.
Run all five checks before reporting. Each check has a defined severity; do not promote or demote.
[error] Contradictions
Read every indexed wiki page in full. Pages may be Markdown or HTML. For HTML pages, use meta tags as metadata and visible body content as the page body. Look for pages that make conflicting claims about the same concept, entity, or decision. Two pages contradict each other when they assert incompatible facts about the same subject — not merely when they discuss it differently or at different levels of detail.
For each contradiction found, record:
- Both page paths
- The specific claim each page makes
- The subject they disagree on
[warning] Orphans
List every .md and .html file under .lore/reference/, recursively — stratified wikis keep pages in category subdirectories. Exclude index.md and index.html. Any file not listed in the index is an orphan.
For each orphan, record its path.