Skip to main content
skill Claude Code CX Codex Cursor GitHub Copilot

review-changes — Claude Code skill: what it does, install

Reviews a change set through a knowledge graph, scoring risk and tracing impact. Use it to inspect changed functions, affected flows, and missing tests.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add tirth8205/code-review-graph --skill review-changes -a claude-code
Open on GitHub

What review-changes does

This skill reviews a change set with a knowledge graph. It identifies changed functions with risk scores, test gaps, and affected flows, then groups findings as high, medium, or low risk with coverage, a suggested fix, and a merge recommendation.

It starts with get_minimal_context_tool, then calls get_affected_flows_tool, query_graph_tool with the tests_for pattern, or get_impact_radius_tool when needed. A budget of about five tool calls and 800 tokens of graph output means the review stays targeted. Read the implementation and its tests before making code changes.

What it helps with

  • identify changed functions with high risk
  • find test gaps after a code change
  • check test coverage for risky functions
  • trace the impact radius of a change
  • suggest test cases for untested code

Example prompts for the agent

  • Review the current change set with the `review-changes` skill.
  • Run `review-changes` and group the findings by risk level.
  • Use `review-changes` to inspect affected flows and test coverage for these changes.

How to install review-changes

1Skills CLI (Vercel)

npx skills add tirth8205/code-review-graph --skill review-changes -a claude-code

2Manually: put the files in place

~/.claude/skills/review-changes/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/review-changes/

From the same set7

The whole set →

Similar

qa garrytan Automate bug hunting in browser, API, CLI, jobs, workers, and webhooks. Searches code, runs commands, checks logs, and asks clarifying questions. Claude Code CX Codex Cursor +1 457installs workers-profiling cloudflare Skill for analyzing CPU and memory usage in deployed Cloudflare Workers and Durable Objects. Finds expensive functions and proposes code optimizations. Claude Code CX Codex Cursor +1 12,100installs code-reviewer https://github.com/Jeffallan Analyzes code diffs and files to spot bugs, security vulnerabilities (SQL injection, XSS), code smells, N+1 queries, and returns a prioritized review report. Use for pull request reviews and code audits. Claude Code CX Codex Cursor +1 6,500installs claude-code Hermes Agent + Teknium Delegates coding tasks to the Claude Code CLI through terminal commands. Useful for running automated refactoring, bug fixes, and tests in one-shot or interactive sessions. Claude Code CX Codex Cursor +1 433installs review-agent-setup Tom Farley This skill gates AI review actions behind manual human approval before pull requests or CI pipelines change. Every attempt generates an Ed25519-signed receipt for offline auditing. Claude Code CX Codex Cursor 5,200installs codebase-inspection Hermes Agent Counts code lines, files, languages, and code-to-comment ratios with pygount. Use it to inspect a repository’s size and composition. Claude Code CX Codex Cursor +1 420installs improve-codebase-architecture Matt Pocock This skill scans a codebase for architectural friction, then builds a visual HTML report with refactoring candidates. Use it before a deeper architecture review. Claude Code 1,163,035installs tdd Matt Pocock Guides the red-green TDD loop: ensures tests are written first, keep them at public interfaces, and avoid coupling to implementation details. Claude Code 1,141,062installs

Questions about review-changes

How do I install review-changes in Claude Code?

Run npx skills add tirth8205/code-review-graph --skill review-changes -a claude-code, then run npx skills add tirth8205/code-review-graph --skill review-changes -a claude-code again. The skill file is at ~/.claude/skills/review-changes/SKILL.md.

What does review-changes do?

It performs a structured review of a change set, scoring changed functions and checking test gaps and affected flows. Its output ends with a merge recommendation.

Why does review-changes still require reading the code and tests?

The knowledge graph narrows the review scope, but it does not replace the implementation or its tests. The skill instructs the agent to read both before changing code.

Source text

SKILL.md · MIT
---
name: review-changes
description: Perform a structured code review using change detection and impact
---

## Review Changes

Review a change set with risk scores and blast radius from the knowledge graph.

### Steps

1. Call `detect_changes_tool` for risk-scored changed functions, test gaps and affected flows.
2. Call `get_affected_flows_tool` only when you need the steps of an affected flow.
3. For each high-risk function, call `query_graph_tool` with `pattern="tests_for"` to check test coverage.
4. Call `get_impact_radius_tool` when the blast radius is not clear from step 1.
5. Suggest specific test cases for untested changes.

### Output Format

Group findings by risk level (high, medium, low). For each finding give what changed and why it matters, its test coverage, and the suggested fix. End with a merge recommendation.

## Token Efficiency Rules
- Call `get_minimal_context_tool(task="<your task>")` before any other graph tool.
- Pass `detail_level="minimal"` wherever a tool accepts it. Use "standard" only when minimal is not enough.
- Prefer a targeted `query_graph_tool` call over a broad listing call.
- Budget: about five tool calls and 800 tokens of graph output per task.
- Read the implementation and its tests before changing code. The graph narrows scope; it does not replace the source.

© tirth8205 · MIT · tirth8205/code-review-graph

See also

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor