What problem does it solve?
Code-review-graph solves the problem of inefficient code reviews by providing AI assistants with context maps of codebase structures, reducing the amount of token usage significantly.
Core Features & Use Cases
- Token-Efficient Code Reviews: By computing blast radii of changes instead of reading entire codebases, the Skill reduces AI assistant token usage by 6.8x to 49x on average.
- Tree-sitter AST Graphs: Parses codebases into an AST graph using Tree-sitter, storing the results in a SQLite database for efficient structural analysis.
- Use Case: For instance, in a large monorepo, if you modify a function in the 'auth' module, code-review-graph will provide only the files impacted by that change, significantly reducing the number of tokens used.
Quick Start
Use the code-review-graph command to build the graph for your project, and let your AI assistant review changes in context with minimal token usage.