Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

code-review-graph

БесплатноБез исполняемых скриптовНе проверен

Use code-review-graph for local-first CLI/MCP code knowledge graphs, graph-backed code review, structural search, and repository-analysis integrations.

lza6от lza6★ 19 звёзд на GitHub

Об этом скилле

code-review-graph

Use this repo skill when a task names code-review-graph, CRG, graph-backed code review, local MCP graph tools, blast-radius analysis, structural code search, risk-scored PR review, custom language parsing, or multi-repo code graph operations.

code-review-graph is a Python package and CLI/MCP server that builds a local SQLite code knowledge graph from Tree-sitter parses, updates it incrementally, and exposes token-efficient review/search workflows to coding agents.

Fast route

  1. For first-time setup, read references/start-here.md, then route to install-and-setup.
  2. For changed-code review or PR review, route to review-changes.
  3. For graph queries, architecture, flows, communities, or refactors, route to graph-exploration.
  4. For optional custom languages, embeddings, wiki, registry/daemon, GitHub Action, or eval, route to integrations-and-extensions.

Minimal install and smoke check

pip install code-review-graph
code-review-graph install
code-review-graph build
code-review-graph status

For an existing install, the bundled scripts/check_crg_install.py verifies import, package version, CLI discovery, and packaged docs without creating or updating a graph.

Sub-skill routes

Sub-skill Read when
install-and-setup Installing CRG, configuring MCP clients, building/updating the graph, checking status, running the MCP server, visualizing, watching, or uninstalling.
review-changes Reviewing a diff or PR, computing blast radius, risk scoring, test gaps, token savings, affected flows, or rendering a PR review comment.
graph-exploration Finding callers/callees/tests/imports, searching graph nodes, inspecting flows/communities/architecture, finding large functions, or previewing refactors.
integrations-and-extensions Custom languages, embeddings/providers, wiki generation, multi-repo registry, daemon watch workflows, GitHub Action setup, or eval/benchmark reproduction.

Shared references

Operating principles

  • Prefer graph tools over broad file reads when the user asks a structural question.
  • Start with compact context (get_minimal_context_tool) when an MCP session is available.
  • Use detail_level="minimal" unless the next step requires source snippets or full graph details.
  • Keep optional extras optional; do not install embeddings, communities, wiki, eval, enrichment, or all unless the task needs them.
  • Treat cloud embeddings and external services as opt-in because code-derived text may leave the machine.
  • Rebuild or update the graph before trusting review/search answers after a branch switch, rebase, or large edit.

Boundaries and non-fits

Do not use this skill as a general-purpose LSP replacement, full source-code reading strategy, or benchmark runner unless the user explicitly asks for CRG workflows. This skill covers the Python CLI/MCP package and public integrations, not detailed development of the separate VS Code extension package.

Verification expectations

This runtime skill is grounded by package metadata, public docs, installed-package inspection, existing repo-local CRG skills, and native test candidates spanning install, CLI, MCP, review, search, flows, communities, refactor, optional integrations, and CI workflow safety. Final verification artifacts live outside this runtime skill under the review/test artifact directory.

Полный SKILL.md на GitHub

Установить code-review-graph в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

references/architecture-and-schema.mdreferences/cli-reference.mdreferences/custom-languages.mdreferences/embeddings.mdreferences/eval.mdreferences/github-action.mdreferences/mcp-tools.mdreferences/registry-and-daemon.mdreferences/repo-provenance.mdreferences/repo-routing-metadata.jsonreferences/review-workflows.mdreferences/search-and-analysis.mdreferences/start-here.mdreferences/troubleshooting.mdsub-skills/graph-exploration/SKILL.mdsub-skills/graph-exploration/references/architecture-and-schema.mdsub-skills/graph-exploration/references/search-and-analysis.mdsub-skills/graph-exploration/references/troubleshooting.mdsub-skills/install-and-setup/SKILL.mdsub-skills/install-and-setup/references/troubleshooting.mdsub-skills/install-and-setup/references/workflows.mdsub-skills/integrations-and-extensions/SKILL.mdsub-skills/integrations-and-extensions/references/custom-languages.mdsub-skills/integrations-and-extensions/references/embeddings.mdsub-skills/integrations-and-extensions/references/eval.mdsub-skills/integrations-and-extensions/references/github-action.mdsub-skills/integrations-and-extensions/references/registry-and-daemon.mdsub-skills/integrations-and-extensions/references/troubleshooting.mdsub-skills/review-changes/SKILL.mdsub-skills/review-changes/references/review-workflows.mdsub-skills/review-changes/references/troubleshooting.md

FAQ

Что делает скилл code-review-graph?

Use code-review-graph for local-first CLI/MCP code knowledge graphs, graph-backed code review, structural search, and repository-analysis integrations.

Как установить скилл code-review-graph?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл code-review-graph запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить code-review-graph с