/wiki-lint
Lint the llmwiki — find orphans, broken wikilinks, contradictions, and stale pages.
> /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.mdLint 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`
LLM-powered knowledge base from your Claude Code, Codex CLI, Cursor, Gemini CLI, and Obsidian sessions. Built on Andrej Karpathy's LLM Wiki pattern.
Repo: Pratiyush/llm-wiki
Other commands on llmwiki.
- /maintainer
Meta-skill that loads all llmwiki governance docs and exposes the three maintainer slash commands.
Open command - /release
Walk the llmwiki release process step by step.
Open command - /review-pr
Run the canonical llmwiki code review against a pull request and post findings.
Open command - /triage-issue
Apply labels + milestone + priority to a new issue using the llmwiki triage rules.
Open command - /wiki-all
Run the full llmwiki pipeline end-to-end: build → graph → export all → lint.
Open command - /wiki-build
Regenerate the static HTML site for the llmwiki.
Open command

