Agent guide ✓ 实测验证

code-review-graph — Agent Guide

本页内嵌 #trove-entity JSON(本条目全量结构化数据);全库数据见 /agent/trove.json。

Version2.3.8~2.3.8Categorygate
Verified2026-08-28Conflictsoh-my-claudecode: Possible conflict (inferred); agent-governance-toolkit: Possible conflict (inferred); deepcode: Likely compatible (inferred); ruflo: Possible conflict (inferred); superpowers: Likely compatible (inferred); claude-code-router: Likely compatible (inferred)
Installpip install -i https://pypi.tuna.tsinghua.edu.cn/simple code-review-graph==2.3.8 && code-review-graph --version

Related problems

Member of combos (4)

No conflict-matrix pairs for this tool yet.

# Code Review Graph — Agent Guide

name: code-review-graph | version_range: 2.3.8~2.3.8 | generated: 2026-08-28

title_en: Code Review Graph - Local Code Knowledge Graph | desc_en: Lets AI review only the relevant code by building a local code knowledge graph.

Preflight

note: Requires Python >= 3.10.

python3 --version

预期输出: see command output

Install

note: Tsinghua mirror required in mainland China (PyPI official times out). Run operations inside the target repo.

pip install -i https://pypi.tuna.tsinghua.edu.cn/simple code-review-graph==2.3.8
code-review-graph --version

预期输出: code-review-graph 2.3.8

Operations

Build the code graph

note: Full parse on first build is normal; SQLite stored in workspace .code-review-graph/.

code-review-graph build

预期输出: parse progress + stats (verified sample: Full build: 5 files, 9 nodes, 16 edges; workspace gets .code-review-graph/graph.db)

View graph stats

code-review-graph status

预期输出: node/edge/file stats (verified sample: Nodes: 9 / Edges: 16 / Files: 5 / Languages: javascript, python / Built at commit: ...)

Incremental update

note: Watch mode; background crg-daemon; Ctrl+C to exit.

code-review-graph watch

预期输出: Watching ... for changes... (Ctrl+C to stop) (verified: file change triggers incremental update in ~2s; node/edge counts rise)

Analyze change impact

note: Read-only; run after edits without rebuilding.

code-review-graph detect-changes

预期输出: JSON impact report (affected functions/files + risk_score fields)

Register MCP

note: Multi-platform registration.

code-review-graph install

预期输出: registers MCP server with detected platforms (writes ~/.claude.json, ~/.codex/hooks.json etc.)

Uninstall

note: Official uninstall subcommand cleans up completely (data/config/hooks/skills/MCP registration), then pip uninstall.

code-review-graph uninstall 2>/dev/null || true
pip uninstall -y code-review-graph
command -v code-review-graph >/dev/null 2>&1 && echo "残留: code-review-graph 仍存在" || echo "code-review-graph removed: OK"

预期输出: code-review-graph removed: OK

Facts

writes: ~/.claude.json (mcpServers), ~/.codex/hooks.json, ~/.cursor/mcp.json, ~/.config/opencode/plugins/crg-plugin.ts, workspace .claude/settings.json, .mcp.json, .code-review-graph/ | runtime: Python >= 3.10, pip | notes: build/status/detect-changes/watch verified 2026-08-30; background crg-daemon in watch mode; possible-conflict with ruflo/omc/agt (shared write surface, different keys); co-install not tested

Source: code-review-graph · validated 2026-08-28 · v2.3.8~2.3.8

← Agent index