Skip to content
Documentation
Command

/wiki-lint

Lint the llmwiki — find orphans, broken wikilinks, contradictions, and stale pages.

From plugin
llmwiki
36218 skills18 commands
Install
> /plugin marketplace add Pratiyush/llm-wiki
> /plugin install llmwiki@llmwiki

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/wiki-lint

Context preview

What this command does when you run it.

Lint the llmwiki — find orphans, broken wikilinks, contradictions, and stale pages.

Command definition

wiki-lint.md

Lint the llmwiki — find orphans, broken wikilinks, contradictions, and stale pages.

Usage: /wiki-lint

Follow the **Lint Workflow** in `CLAUDE.md`. Use Grep and Read to check for:

1. **Orphan pages** — wiki pages with no inbound `[[links]]` from any other page.

   # For each page in wiki/sources, wiki/entities, wiki/concepts:
   #   grep -rl "[[<slug>]]" wiki/ → if zero matches, orphan

2. **Broken wikilinks** — `[[Name]]` pointing to a page that does not exist.

   grep -rohE '\[\[[^]]+\]\]' wiki/ | sort -u
   # then compare against wiki/sources/*.md + wiki/entities/*.md + wiki/concepts/*.md

3. **Contradictions** — search for `## Contradictions` sections and report them to the user.

4. **Stale summaries** — pages whose `last_updated` is older than the newest source that contributes to them.

5. **Missing entity pages** — entities mentioned in 3+ source pages but lacking their own page.

6. **Data gaps** — questions the wiki can't answer; suggest new sources or queries.

Output a report to the chat, grouped by issue type. At the end, ask the user if they want the report saved to `wiki/lint-report.md`.

Append to `wiki/log.md`: `## [YYYY-MM-DD] lint | <N> issues found`

Ships withllmwiki

LLM-powered knowledge base from your Claude Code, Codex CLI, Cursor, Gemini CLI, and Obsidian sessions. Built on Andrej Karpathy's LLM Wiki pattern.

Get the whole plugin