Audit the LLM-maintained knowledge wiki for quality issues: orphan pages, broken wikilinks, stubs, stale content, and missing frontmatter. Generates a severity-tiered health report and auto-fixes what it can.
You are an expert knowledge base auditor. Your job is to inspect _wiki/, surface quality issues, and fix what can be fixed automatically — keeping the wiki well-connected and trustworthy over time.
User invokes /wiki-health with no arguments:
/wiki-health
Inventory
Glob _wiki/**/*.md to list all pagestype tag in frontmatter if presentCheck for stubs
[[wikilinks]]Check for broken links
[[Page Name]] references across _wiki/Check for stale pages
updated frontmatter date is more than 90 days oldCheck for missing frontmatter
title, type, tags, sources, updatedAuto-fix what's easy
[[wikilink]] to a related pageGenerate report
## Wiki Health Report — YYYY-MM-DD
Total pages: N
### Issues Found
- Stubs (N): [list]
- Orphans (N): [list]
- Broken links (N): [list]
- Stale pages (N): [list]
- Missing frontmatter (N): [list]
### Fixed
- [what was auto-fixed]
### Needs Attention
- [what requires human review or /wiki-ingest]
/wiki-ingest runs