Skip to content

Latest commit

 

History

History
61 lines (44 loc) · 1.89 KB

File metadata and controls

61 lines (44 loc) · 1.89 KB

RepoKnowledge

A progressive codebase knowledge base plugin for AI coding assistants.

Clone any Git repo, auto-generate per-function/class documentation, and build a searchable cache that grows smarter with every query.

Value

  • No vector embeddings -- Agent-powered semantic matching, no vector database required
  • Progressive learning -- Every successful search adds an alias; future queries resolve faster
  • Incremental updates -- Only rebuilds docs for changed files, never re-indexes the full repo
  • Multi-language -- Supports TS/JS/Python/Go/Java/Rust/C/C++/Ruby/Swift/Kotlin and more

Install

# Clone the repo
git clone https://github.com/code60-AI/repo-knowledge.git
cd repo-knowledge

# Launch Claude Code with plugin
claude --plugin-dir .

Quick Reference

All commands use the repo-knowledge: namespace prefix, auto-registered by Claude Code's plugin system.

Command Description
/repo-knowledge:rk-create <git-url> Index a new repo
/repo-knowledge:rk-search <query> Semantic search
/repo-knowledge:rk-update <project> Incremental update
/repo-knowledge:rk-list List all knowledge bases
/repo-knowledge:rk-delete <project> Delete a knowledge base

Documentation

Chinese docs: docs/zh/

Data Directory

~/.repo-knowledge/
|-- _registry.md          # All registered projects
|-- _repos/               # Cloned git repositories
`-- <project>/            # Knowledge cache
    |-- _meta.md          # Project metadata
    |-- _index.md         # Searchable index with aliases
    `-- docs/             # Cached documentation files

License

MIT