Skip to content

Latest commit

 

History

History
75 lines (51 loc) · 2.84 KB

README.md

File metadata and controls

75 lines (51 loc) · 2.84 KB

GitKB for Claude Code

Local code intelligence for Claude Code, backed by GitKB's persistent knowledge graph for tasks, decisions, architecture, and team sync.

GitKB lets Claude inspect symbols, callers, callees, impact, dead code, language coverage, and service-edge patterns through the git-kb CLI. When you initialize the full KB, those code facts connect to durable tasks, specs, decisions, architecture, and synced team knowledge.

First Value

Install the plugin, open a Git repo, and ask Claude about the code:

  • "What calls authenticate()?"
  • "What's the blast radius of changing src/auth.rs?"
  • "Find likely dead code in this project."
  • "Index this repo with GitKB and summarize language support."
  • "Show route/client service edges."

Claude will use local commands such as:

git-kb code doctor --json
git-kb code index
git-kb code symbols --json
git-kb code callers "<symbol>" --json
git-kb code callees "<symbol>" --json
git-kb code impact path/to/file --json
git-kb code dead --json
git-kb code query hotspots --json

No .kb project is required for those code intelligence commands. From GitKB 1.0.0 they come from the separate git-kb-code extension; when git-kb code --help fails, Claude falls back to grep and file reads.

Prerequisites

Install GitKB:

brew install gitkb/tap/gitkb
# or
curl -fsSL https://get.gitkb.com/install.sh | bash

If git-kb is missing, the plugin tells Claude how to guide you through installation instead of failing through MCP startup.

Optional Full KB Setup

When you want persistent tasks, project knowledge, sync, or the full Claude integration, initialize GitKB in the repo:

git-kb init
git-kb init claude

git-kb init claude is the source of truth for canonical GitKB Claude assets. It installs shared skills under .kb/skills and symlinks Claude-specific views under .claude/skills.

What This Plugin Ships

  • one bootstrap skill that teaches Claude to use git-kb safely;
  • one SessionStart hook that detects GitKB state and injects setup/code-intelligence guidance;
  • no mandatory MCP server configuration;
  • no vendored copy of the full canonical git-kb init claude skill set.

MCP

This marketplace plugin registers no MCP server and does not need one for first value: Claude uses the CLI. MCP is available separately. The core git-kb mcp server needs a full KB (git-kb init && git-kb init claude). From GitKB 1.0.0, the code extension's git-kb-code mcp server also works in a plain Git repo; git-kb code init claude adds it to .mcp.json.

Documentation

License

MIT