From wiki-skills
Audits markdown wiki for broken links, orphan pages, contradictions, stale claims, missing frontmatter, coverage gaps; generates categorized report with fixes after ingests.
How this skill is triggered — by the user, by Claude, or both
Slash command
/wiki-skills:wiki-lintThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Audit the wiki. Produce a categorized report. Offer concrete fixes. Log the operation.
Audit the wiki. Produce a categorized report. Offer concrete fixes. Log the operation.
Find SCHEMA.md (search from cwd upward, or ~/wikis/). If not found, tell the user to run wiki-init first. Read it to get wiki root path and conventions.
Read wiki/index.md, wiki/overview.md, and all files in wiki/pages/. Build a map of:
.md)[[slug]] references found in any pagesources listed in frontmatter🔴 Errors (must fix)
[[slug]] references where no corresponding wiki/pages/<slug>.md existstitle, tags, sources, or updated fields🟡 Warnings (should fix)
[[slug]] links from any other page (excluding index.md and overview.md)## [Month], ## [Month] \d+, or **[Month] \d+ update — these are journal entries that should be integrated in-place🔵 Info (consider addressing)
[[slug]] references that appear 3+ times across the wiki but have no dedicated pageoverview.md that could be answered by a web search or new ingestWrite wiki/pages/lint-<today>.md (do not ask permission — always write this):
---
title: Lint Report <today>
tags: [lint, maintenance]
sources: []
updated: <today>
---
# Lint Report — <today>
## Summary
- 🔴 Errors: N
- 🟡 Warnings: N
- 🔵 Info: N
## 🔴 Broken Links
- [[source-page]] references [[missing-slug]] — does not exist
Fix: create the page or remove the reference
## 🔴 Missing Frontmatter
- [[page]] is missing: title, updated
## 🟡 Orphan Pages
- [[slug]] — no inbound links
Fix: add link from [[related-page]], or delete if no longer relevant
## 🟡 Contradictions
- [[page-a]] says: "<claim>"
- [[page-b]] says: "<conflicting claim>"
Recommendation: <which to trust, or "investigate further">
## 🟡 Stale Claims
- [[page]] last updated <date>, contains "latest" — may be outdated
Fix: re-verify claims or add a "as of <date>" qualifier
## 🔵 Missing Concept Pages
- [[slug]] referenced N times but no page exists
Fix: run wiki-ingest or create a stub
## 🔵 Coverage Gaps
- Open question from overview.md: "<question>"
Suggestion: search for <X> or ingest <source type>
## 🔵 Missing Cross-References
- [[page-a]] and [[page-b]] both discuss <entity> but don't link to each other
Add the lint report to wiki/index.md under a Maintenance category (create it if it doesn't exist).
For each fixable category, offer:
[[slug]] references? (I'll show each change before writing)"status: orphan to frontmatter of orphan pages?"Show the exact diff for each change before writing. Apply only after confirmation.
wiki/log.mdAlways append — do not ask permission:
## [<today>] lint | <N errors> errors, <N warnings> warnings, <N info> info
Report: [[lint-<today>]]
Fixed: <list what was auto-fixed, or "none">
npx claudepluginhub kfchou/wiki-skills --plugin wiki-skillsScans Markdown wiki for structural issues (orphans, broken wikilinks, missing index, stubs), factual contradictions; auto-fixes possible problems, flags rest.
Audits an Obsidian wiki vault for broken links, orphan pages, tag compliance, duplicate pages, and content hygiene. Useful for maintaining Wikipedia-style wikis.
Wiki maintenance — lint broken links, merge near-duplicates, upgrade confidence, flag stale pages via freshness tiers, gap analysis, concept synthesis. Use on: 'wiki maintenance', 'wiki cleanup', 'fix wiki', 'wiki health', 'check wiki', 'consolidate wiki'.