/crg:impact-audit <symbol, file, or described change> [additional repo paths]from crg
Traces a symbol's blast radius across federated repositories before writing code. Answers what else must change and what must ship together for a planned edit.
Ships in crg. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Scope a planned change before writing it. Answers "if I change this, what else has to change, and in which repositories" -- across a federation of repositories, not just the one you have open.
Run this while the change is still a proposal. Once code is written, review-delta and review-pr review what actually changed.
Command surface: run the local CLI through the coding harness shell. Examples
use the installed crg command; from a source checkout,
prefix it with uv run. No MCP mapping is required. Use
crg query --help for the actions reference.
State the change under audit in one line before querying anything -- for example "add a required tenant_id parameter to create_session". The audit is only meaningful against a specific proposed edit, because the risky part differs: adding a required parameter breaks callers, changing a return type breaks consumers, renaming breaks both plus anything resolving the name dynamically.
Make sure every repository that could be affected is in the graph. A blast radius is only as wide as the graph:
crg graph stats --repo-root "<path-a>" -- confirm the graph exists and note files_count.crg graph build --full-rebuild --repo-root "<path-a>" --roots "<path-b>" -- federate the additional repositories into the same graph. Each root is registered and its files tagged with a repo_id.Locate every definition of the symbol with crg query search --search-query "<name>" --repo-root "<path-a>", leaving --repo unset so the search spans all federated repositories. Two repositories may define the same name for unrelated purposes -- resolve which definition is actually the target before tracing, and note any same-named decoys so a later reader does not re-open the question.
Map direct consumers, unscoped across the federation:
crg query query --pattern callers_of --target "<name>" --repo-root "<path-a>" -- who calls itcrg query query --pattern importers_of --target "<file_path>" --repo-root "<path-a>" -- which files import the module--pattern inheritors_of and --pattern children_of when the target is a class -- subclasses inherit the change whether or not they call itMeasure the full radius with crg query impact --changed-files "<file>" --max-depth 2 --repo-root "<path-a>". Raise --max-depth to 3 when step 4 shows the direct consumers are themselves widely used; leave it at 2 otherwise, since depth costs tokens and the tail is mostly noise.
Split the radius per repository. Re-run the impact command with --repo "<repo_id>" for each federated repository. The per-repo split is the deliverable: it converts "47 impacted files" into "3 repositories, one of which is published and consumed elsewhere", which is what determines release ordering.
Call out the boundaries the graph cannot cross. Call and import edges are resolved per language (Python, TypeScript, Go, Java, Rust, plus a generic fallback). Edges do not exist for:
These are exactly the places a cross-repo change breaks silently. List them as unverified rather than reporting a radius that looks complete.
Check the radius is tested with crg query query --pattern tests_for --target "<name>" --repo-root "<path-a>" for the target and its direct consumers. An impacted call site with no test is a site that will not tell you when the change is wrong.
Report:
## Impact Audit: <change in one line>
### Target
- **Symbol**: <name> (<file>:<line>)
- **Kind**: function / class / method / module
- **Also defined as**: <same-named decoys, or none>
### Radius by Repository
| Repository | Impacted files | Impacted symbols | Tested | Notes |
|---|---|---|---|---|
| <repo_id> | N | M | K/M | <published? consumed elsewhere?> |
### Direct Consumers Requiring Edits
- `<caller>` (<repo>/<file>:<line>) -- <what breaks>
### Unverified Boundaries
- <HTTP route / dynamic dispatch / generated client the graph cannot trace>
### Verdict: CONTAINED / MULTI-REPO / CROSS-BOUNDARY
**CONTAINED** -- one repository, no published surface. Make the change directly.
**MULTI-REPO** -- more than one repository impacted. Ship in dependency order:
1. <repo> -- <change, released first>
2. <repo> -- <consume the new version>
Add a compatibility window if the repositories cannot release together.
**CROSS-BOUNDARY** -- impact crosses a network, dynamic, or generated boundary
the graph cannot verify. Enumerate consumers by other means before proceeding.
### Recommended Sequence
1. <step>
| Condition | Verdict |
|---|---|
| Single repository, no published or exported surface | CONTAINED |
| More than one federated repository impacted | MULTI-REPO |
| Consumers reached only via HTTP/RPC/queue, reflection, or generated code | CROSS-BOUNDARY |
| Any consumer repository not indexed in the graph | CROSS-BOUNDARY (radius is unproven) |
| Aspect | refactor-check | impact-audit |
|---|---|---|
| Question | Is changing this symbol safe here? | What else must change, and where? |
| Scope | One repository | Federated repositories |
| Output | Safety verdict plus mitigation | Per-repo radius plus release ordering |
| Timing | Immediately before editing | While the change is still a proposal |
What SKILL.md sets; muted values are Claude Code's defaults
Generated from the plugin's indexed repository (n24q02m/crg) — no native marketplace selected
npx claudepluginhub p/n24q02m-better-code-review-graph6 skills in this plugin
/onboard-repoIndex an unfamiliar codebase into the knowledge graph, then produce a first orientation map -- entry points, most-depended-upon modules, hotspots, test topology./refactor-checkSafety analysis before refactoring -- dependency graph, test coverage, public API exposure, blast radius verdict./review-deltaReview uncommitted changes using impact analysis. Quick local delta review with blast-radius detection./review-prComprehensive PR review -- full branch diff against base, commit-by-commit analysis, breaking change detection, conventional commit verification./security-sweepGraph-driven security sweep -- scan for dangerous sinks, then rank each finding by whether an entry point can actually reach it, and triage the rest into suppressions.2 plugins ship this exact skill · first indexed Oct 4, 2026
Other plugins' skills for the same job