Skip to content

/wiki-lint

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

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

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`

@pratiyush
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.

Stars on GitHub

Momentum

stars in total
402
Star history of Pratiyush/llm-wiki on GitHub, a chart by star-history.com

Other commands on llmwiki.

maintainer
Auto-invoked

maintainer

Command

Meta-skill that loads all llmwiki governance docs and exposes the three maintainer slash commands.

@pratiyush@pratiyushInstall Command
review-pr
Auto-invoked

review-pr

Command

Run the canonical llmwiki code review against a pull request and post findings.

@pratiyush@pratiyushInstall Command
triage-issue
Auto-invoked

triage-issue

Command

Apply labels + milestone + priority to a new issue using the llmwiki triage rules.

@pratiyush@pratiyushInstall Command
wiki-all
Auto-invoked

wiki-all

Command

Run the full llmwiki pipeline end-to-end: build → graph → export all → lint.

@pratiyush@pratiyushInstall Command

More commands from other plugins.