change-review
What it does
This skill helps your AI review code changes for risk before they are merged. It is for developers in a project indexed by Repowise who want to know what a change could break.
When to use it
- ✓When you ask whether a pull request or branch is safe to merge.
- ✓When you want to know the blast radius of your changes across the codebase.
- ✓When you suspect you missed a related file or follow-up change.
Skill link
https://github.com/repowise-dev/repowise/blob/main/plugins/claude-code/skills/change-review/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Review this pull request and tell me whether it is safe to merge and what else might need to change.”
5 new skills a week. 1 minute to read.
How it works
The skill scores the whole change as one unit using Repowise, combining git history, dependencies, test gaps and decisions. It then lists the most important risks first and files that may need updates.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Change Review with Repowise
When a diff is on the table, Repowise turns "what files changed" into "what does this change put at risk" — fusing git history (churn, ownership, co-change) with graph topology (dependents, impact surface), test gaps, security signals, and the architectural decisions that govern the touched code.
Two complementary risk signals, use both:
get_change_risk(revspec=…)(MCP) scores the whole change as one unit (a commit or abase..headrange). No LLM, no network. Prefer this in-MCP tool; it takes a revspec and diffs server-side, so you never shell out. Lead withdirectiveandhealth_delta— what the change actually made worse. Findings the change wrote sort above pre-existing ones it only touched. Thenrisk_percentile(this change ranked against sampled recent commits by diff size and spread, not a bug predictor), stated in one line bydiff_shape;include=["scales"]adds itsreview_prioritytercile andclassificationlabel. The raw 0-10scoreranks 0.99 against lines added, so it sits behindinclude=["diagnostics"]rather than on the wire. Omitrevspecto score uncommitted work. This is the pre-merge gate: "how risky is this change overall?" Therepowise risk <revspec>CLI is the identical scorer for when you are already in a terminal.get_risk(changed_files=…)(MCP) works per file and returns thedirectiveblock, the specific things to check inside the diff.
Score the whole change first
get_change_risk(revspec="main..HEAD") # HEAD, a commit SHA, or base..head
Read directive first: status, a headline naming what got worse, the
reasons behind it and next_actions to run. health_delta carries the
findings the change introduced or resolved. Then risk_percentile and the top
drivers: a high score from large diffusion (many dirs/subsystems) or low author
familiarity tells you where to look hardest. extensions=[".py", ".ts"] counts
only certain file types; exclude_patterns=["tests/"] omits paths. A warning
field, or a directive.status of unknown, means the revspec or filters
matched no files, so an all-zero score there is not a clean bill of health. The
equivalent from a terminal is repowise risk <revspec> (add --ext .py,.ts or
--format json).
Then drill into the per-file directive
Call get_risk in PR mode by passing the changed files:
get_risk(targets=<changed files>, changed_files=<same changed files>)
The response carries its own directive block, per file rather than per change
(distinct from get_change_risk's) — read it first, it's a few short lists:
may_break— files/symbols that import their way to what changed but are not in the diff. Reachability, not a diff: it says these depend on the changed files, not that the thing they use changed. Check each one.missing_cochanges— files that historically change together with the changed files but were left untouched. Often a forgotten update.missing_tests— changed code with a test gap. Flag for new/updated tests.tests_to_run: the tests the change needs, from the same selectionrepowise impacted-testsmakes, withtests_to_run_whygiving each one's reason (the changed file and its evidence, or "runs with every subset"). Checktests_run_allfirst: when it is true no smaller set can be vouched for,tests_run_all_reasonssays why, and the list is only what to run first; recommend the whole suite. When it is false the list is the set to run.tests_to_run_basisismeasuredwhen stored per-test coverage decided a changed file andinferredwhen only the dependency graph or a rule did; say which.tests_statusappears only when no selection could be made (timeout,config_invalid,unknown, ...), and then every test must run.
get_change_risk carries the same answer as impacted_tests: status
(selected or run_all, or why nothing was selected), run_all, reasons,
tests_to_run and why. include=["blast"] on get_risk adds
pr_blast_radius, the fuller dossier behind the directive's lists.
For the line-precise version from a terminal, repowise impacted-tests <revspec>
maps each changed line to the tests whose recorded coverage touches it, then
prints the ids (--format list | xargs pytest runs exactly them). It is honest
about gaps: a changed file with no coverage rows is a labelled filename
FAQ
What does the review rank first?
It leads with what the change made worse, then the overall risk level for the change.
Can it review changes that are not committed yet?
Yes. If no range is given, it scores your uncommitted work.
Does it need a separate tool installed?
It needs a project indexed by Repowise, which has a .repowise folder.
Details
Original description by the author
Use when reviewing a set of changes before they merge — a PR, a branch diff, or the working-tree changes you just made — in a Repowise-indexed codebase (.repowise/ directory exists). Activates for "review this PR", "is this safe to merge", "what's the blast radius of these changes", "did I miss anything", or "what else should change with this".
repo: repowise-dev/repowise
Popularity
- GitHub stars
- 8.1k
- Ranking position
- #12565
- License
- AGPL-3.0
- Updated
- 11/2/2026
Comments
- …
More skills from this repository
architectural-decisions
8.1kHelps your agent find out why code is built a certain way, using recorded decisions and history before it changes an architecture.
code-health
8.1kHelps your agent score code health file by file, find the riskiest files and pick what to refactor next, using Repowise analysis.
codebase-exploration
8.1kHelps your agent understand an unfamiliar project quickly by answering how code works, who calls what and where things are built.
dead-code-cleanup
8.1kHelps your agent find unused code, unreachable files and unused exports in a project, so you can clean them up safely.
Similar skills
diffs
394kLets your agent produce a real, shareable diff of edits as a viewer link or image file, instead of a hand-written summary.
coding-agent
394kHelps your agent hand a larger coding job to Codex, Claude Code, or OpenCode as a background worker, then check on its progress.
gh-issues
394kHelps your agent find GitHub issues, pick the ones to work on, and open pull requests with fixes, including follow-up on review comments.