A Claude Code skill that keeps C/C++ code and documentation in sync. You configure which code modules to focus on, and the LLM compiles, updates, and maintains structured wiki documentation as code evolves.
Inspired by forge (Karpathy's LLM Knowledge Base pattern), adapted for code-documentation synchronization with C/C++ AST awareness.
git clone https://github.com/VOIDXAI/codewiki.git ~/.claude/skills/codewiki| Command | What it does |
|---|---|
/codewiki init |
Initialize docs for a C/C++ project |
/codewiki compile |
Detect code changes, generate/update documentation |
/codewiki lint |
Check doc-code consistency + coverage report |
/codewiki query <question> |
Query the documentation |
/codewiki evolve |
Auto-improve: fill gaps, update stale docs |
- Configure: Define modules and focus files in
.codewiki.yaml - Compile: tree-sitter extracts symbols from .h/.c files, LLM generates structured docs
- Incremental: Hash diff + symbol diff detect what changed, only affected docs update
- Lint: Verify signatures match, check coverage, detect broken links
- Evolve: Auto-fill documentation gaps based on lint results
- tree-sitter — AST parsing for precise C/C++ symbol extraction (strongly recommended). Install:
pip install tree-sitter tree-sitter-c