anotherben/claude-harness/blast-radius
Claude Code and agent skill by anotherben/claude-harness
- community
- ext:[{"type":"hook","description":"Pre/post lifecycle hooks"}]
Checking that the SKILL.md file is still in the repository.
Project-grounded blast-radius tracing for code changes, PRs, diffs, files, symbols, or bugfixes, especially in Helpdesk-style repos. Use before editing, committing, merging, or reviewing when downstream callers, tests, routes, SQL, configs, schema, auth/tenant boundaries, external integrations, sibling bugs, or review-derived trap replays could be affected.
Install
npx vskill@latest install anotherben/claude-harness/blast-radiusSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
The same SKILL.md was published earlier as anotherben/claude-harness/blast-radius.
Blast Radius
A change is a stone dropped in a pond. The skill traces every ripple — and stops the next whack-a-mole bug before it lands in production.
Scope and Strength
This skill combines a generic blast-radius workflow with Helpdesk-specific production bug patterns. Use the generic workflow in any repo. Apply Helpdesk-specific rules when the repo has matching conventions: real-DB-only tests, tenant isolation, route mounting rules, schema authority files, and the named patterns in references/bug-patterns.md.
Do not soften a finding because a rule feels project-specific. If a local convention does not apply, mark that check NOT APPLICABLE with evidence.
The Rule
You cannot ship a change you have not traced. If you can't list what it touches, list the assumptions each touchpoint makes about it, and prove each assumption still holds — you don't know whether the change is safe. You're guessing.
This skill produces mode-aware artifacts so the user can both read the analysis and act on it:
- Report — full structured Markdown, saved to
docs/blast-radius/<change-name>.md(or
$CLAUDE_JOB_DIR if no docs dir convention applies)
- Risk-ranked checklist — CRITICAL/HIGH/MEDIUM/LOW touchpoints with file:line, why each could
break, and the verification step
- Inline diff annotations — for diff-bearing modes, annotate the diff with downstream effects per hunk
| Mode | Report | Checklist | Inline annotations | |
|---|---|---|---|---|
| Plan | YES | YES | NO unless a diff exists | |
| Pre-commit | YES | YES | YES | |
| Review | YES | YES | YES | |
| Post-fix | YES | YES | NO unless reviewing the fix diff | |
| Lite speed | Compact report is allowed inline | YES | YES only if a diff exists |
If an artifact is not applicable, say why in ## Trace Boundaries. Do not skip the verdict, finding counts, verification plan, or any mandatory check.
Artifact write safety
Before creating files, check the active route/worktree rules. In guarded repos, write artifacts only where editing is allowed. If artifact writes are blocked, emit the report/checklist inline or write to an approved job scratch directory such as $CLAUDE_JOB_DIR, and state that repo artifact writes were skipped. Do not turn a blocked artifact write into a weaker analysis.
Speed modes — pick by diff size
The full trace can take 10+ minutes on a real codebase. Don't apply that to a one-line change. Auto-select the speed mode from the change set size:
| Mode | When to pick | What changes | |
|---|---|---|---|
| Lite | ≤ 5 files changed, no migration, no auth/middleware change, no rename | Run mandatory core patterns 1, 2, 3, 13 plus any conditional mandatory patterns that apply. Direct callers (1 hop). Compact report/checklist. Target: 2–3 min. | |
| Standard | 6–20 files, OR any DB change, OR any new route | Full Step 1–7 below. 2-hop fan-out with smart stops. All applicable patterns. All applicable output artifacts. Target: 5–10 min. | |
| Deep | >20 files, OR auth/tenant/middleware change, OR cross-system integration change, OR explicit --deep from user | Full sweep + cross-repo trace (admin, partners) + all mandatory patterns from bug-patterns.md. Target: 10–20 min. |
When the user explicitly names a mode ("lite blast-radius on this", "deep trace") use that. Otherwise classify by counting files in the change set: git diff --stat <base>...HEAD | tail -1 gives a quick count.
State the chosen mode at the top of the report so the user knows what was traced.
When this skill runs
Four entry modes. Detect mode from context — don't ask if it's obvious from the request.
| Mode | Trigger | Input | |
|---|---|---|---|
| Plan | "I want to change X" / written plan / proposed migration | A description, a plan doc, or a target symbol/file | |
| Pre-commit | Uncommitted diff in working tree | git diff against HEAD | |
| Review | Branch, PR, file, or caller targeted for review | git diff <base>...HEAD, a PR number, a file path, or a symbol name | |
| Post-fix | Just landed a bugfix | The fix commit + the original bug description |
Post-fix mode is different from the others: it ALSO does a sibling-bug hunt — finds other code with the same shape as the bug that was just fixed.
The user can supply input in several forms: a PR number (#856), a file path ("trace apps/api/src/services/foo.js"), a specific function/caller ("blast radius of orderRouteService.getRoute"), a diff (current working tree, or a branch), or just a plain description. See Step 1 for how to handle each.
Step 1 — Identify the change set
Don't trace what you haven't named. Make the change set explicit before fanning out.
The skill accepts several input forms — match the user's input to the right one and proceed:
| Input form | How the user phrases it | What to do | |
|---|---|---|---|
| PR number | "blast radius on PR 856", "trace #1234" | gh pr diff <num> for the diff; gh pr view <num> --json title,body,headRefName,baseRefName for context | |
| Diff (uncommitted) | "what's the blast radius of my current changes", "check my diff" | git diff (working tree) and git diff --staged | |
| Branch / commit range | "trace this branch", "review changes since main" | git diff <base>...HEAD, then git log --oneline <base>..HEAD | |
| Specific file | "trace apps/api/src/services/foo.js", "what depends on this file" | Treat the whole file as the change set; cortex_outline the file, then trace each exported symbol | |
| Specific symbol / caller | "blast radius of orderRouteService.getRoute", "what calls this function" | Start from the symbol — cortex_find_references and trace each call site | |
| Written plan / description | "I want to add a deleted_at column to products" | Extract proposed changes from prose; if vague, STOP and ask for concrete changes | |
| Post-fix sweep | "I just fixed X, find similar bugs" | The fix commit + the original bug description; pattern-hunt for siblings (see Step 5) |
For PR mode specifically:
Also capture the live PR review-thread state at the start of the trace and again immediately before the final verdict. GitHub GraphQL reviewThreads.nodes[].isResolved is the source of truth for unresolved conversations; REST comments can look open after a thread is resolved, and local proof can look complete while new review threads are open. Use the PR review-thread query in references/trace-recipes.md.
Build a review feedback trap bank before the trace. Search current PR threads, earlier blast-radius/prove-it artifacts for the touched domain, and recent resolved Cursor/Copilot/human comments when available. Extract the invariant class behind each valid finding, not just the literal line comment. If the current change touches that invariant class, replay it in Step 5.5 with proof or mark it NOT APPLICABLE with source evidence.
When a valid PR conversation appears after a PR was already claimed locally proven, classify it as a Local Proof Miss if a focused local test, canary, schema check, import-cycle check, or browser/API/DB workflow should reasonably have caught it. The closeout is not only fixing the line: add the local regression/proof that catches the invariant and update the responsible skill/runbook with the new trap class or command recipe. If the skill/runbook cannot be updated because a gate blocks it, record the blocker in the report and keep the merge/readiness verdict blocked unless Ben explicitly accepts the exception.
If headRefOid changes after you started tracing, rerun the trace against the new head. Do not carry forward a verdict from an older SHA.
For symbol / caller mode, the change set is the symbol's call graph rather than a diff:
- Start: the symbol itself
- Fan out: all references, all importers, all tests, all routes that hit it
- Live DB verification still applies if the symbol touches DB
For file mode, treat every exported symbol as a change set item, plus any internal DB queries. A "trace the whole file" request is usually "what would change if I rewrote this file".
Write the resolved change set to the report's ## Change Set section. List both the input form the user gave and the resolved items you fanned out from. This is the working list everything else flows from.
Step 2 — Classify the change type (adaptive depth)
The trace depth and pattern depend on what kind of change it is. Don't trace a util function the same way you trace a schema migration. Read `references/change-types.md` for the full taxonomy, but the core categories are:
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/blast-radius/SKILL.md
Popularity
- Repository stars
- 6
- 7-day trend score
- 10
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Extension points
hookPre/post lifecycle hooks
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/anotherben/claude-harness/blast-radius)