code-review-graph

Parse source code into an AST graph stored in SQLite.

1|Updated Jun 23, 2026
One-click install
npx skills add https://github.com/phuonghx/aim-cli --skill code-review-graph-phuonghx
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: code-review-graph
Source: https://github.com/phuonghx/aim-cli/tree/main/aim/templates/aim-agents/skills/code-review-graph
Command: npx skills add https://github.com/phuonghx/aim-cli --skill code-review-graph-phuonghx

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires tree-sitter, sqlite, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill provides a structural view of codebases to efficiently map changes, reducing the blast radius of code modifications and improving review efficiency.

Core Features & Use Cases

  • AST Graph Parsing: Parses source code into an AST graph and stores it in SQLite.
  • Change Impact Analysis: Identifies files affected by changes to minimize context and improve review focus.
  • Scalability: Supports large and multi-repo projects.
  • Use Case: Use it to quickly understand the impact of changes on large codebases during code reviews.

Quick Start

Build the AST graph for your codebase using the code-review-graph build command.

Frequently Asked Questions about code-review-graph

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I analyze the impact of code changes on a large codebase?

Impact analysis on a large codebase requires parsing source code into an AST graph stored in SQLite, which maps structural dependencies to pinpoint affected files and minimize review context.

How does an AST graph help with code review for multi-repo projects?

An AST graph helps with code review for multi-repo projects by providing a detailed, on-demand structural map that identifies the blast radius of modifications, reducing context and improving review focus.

How do I build a structural map of my source code for review?

Build a structural map of your source code for review by running the `code-review-graph build` command to parse files using Tree-sitter and manage the graph state in SQLite.

Does code review graph support multi-repo projects?

Yes, the code review graph approach supports multi-repo projects. It scales to handle complex environments by managing structural graph state in SQLite to track change effects across repositories.

Do I need Tree-sitter and SQLite to map codebase structure?

Yes, you need Tree-sitter and SQLite to map codebase structure, as Tree-sitter handles the source code parsing into an AST graph and SQLite manages the stored graph state for analysis.

What is the best way to reduce the blast radius of code modifications?

The best way to reduce the blast radius of code modifications is to construct a structural map of the source code base that provides a detailed graph to efficiently map changes and identify affected files.