Skip to content

feat: add codebase-wiki plugin#3

Open
myl17 wants to merge 5 commits into
kossakovsky:mainfrom
myl17:add-plugin/codebase-wiki
Open

feat: add codebase-wiki plugin#3
myl17 wants to merge 5 commits into
kossakovsky:mainfrom
myl17:add-plugin/codebase-wiki

Conversation

@myl17

@myl17 myl17 commented Jun 30, 2026

Copy link
Copy Markdown

Plugin: codebase-wiki

A Claude Code plugin that turns source code repositories into a living, cross-referenced knowledge base. Implements the LLM Wiki pattern by Andrej Karpathy.

What it does

Each time you ingest a repo, the LLM reads the source, extracts structural modules (Entities), maps them to cross-repo design questions (Problem Spaces), and writes or updates Concept pages with comparison tables, wikilinks, and source provenance. The [[wikilink]] network IS the graph.

Skills (6)

Skill Description
/ingest Read source → extract entities → map problem spaces → write/update concept pages
/query Answer questions via wikilink traversal + 3-level retrieval escalation
/compare Cross-repo comparison: Concept → Entity → Source code
/lint Full wiki health check: wikilinks, frontmatter, orphans, provenance
/evolve-apply Wikipedia-style concept evolution: merge, split, redirect
/completion-gate Quality gate — auto-runs before any write operation completes

Quality

  • 14/14 pytest suite passes
  • Python lint.py: 0 errors on empty wiki skeleton
  • CI enabled on source repo (GitHub Actions)
  • All skill files in English

miaoyuanli added 5 commits June 30, 2026 10:19
A Claude Code plugin that turns source code repositories into a living,
cross-referenced knowledge base. Implements the LLM Wiki pattern:
Entity → Problem Space → Concept pipeline with wikilink network.

6 skills: /ingest, /query, /compare, /lint, /evolve-apply, /completion-gate
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant