blast-radius
Find what a change could break outside the diff before it ships, and prove the one fact it is safe because of by running real code.
- License 许可
- MIT
- 所属仓库
- ryuudotgg/skills
- 最近更新
- 2026-11-14
- Stars
- ★ 3
- Forks
- 0
01 前言 Front Matter
- name
- blast-radius
- description
- Find what a change could break outside the diff before it ships, and prove the one fact it is safe because of by running real code.
- disable-model-invocation
- true
02 资源文件 1
- 参考文档agents/openai.yaml43 B
03 SKILL.md 正文
Blast radius
Find what a change breaks somewhere else, before it ships. Use for "blast radius of X", "what could this break", or reviewing a small diff you don't trust yet.
Companion to how. how tells you what the code does, and the git history tells you why it is shaped that way. Blast radius tells you what it breaks somewhere else.
Listing the callers is not the job. The agent can grep those in a second. The job is the breakage grep won't show you.
Don't trust your own writeup
A blast-radius writeup that sounds right is worthless. It reads as convincing whether or not it's true, and that is the trap you are walking into. So don't hand back the writeup. Find the one or two facts the whole thing depends on and prove them by running code. Words are where you start, not what you ship.
How sure are you
For each fact the change's safety depends on, get it as far down this list as is cheap, and say where it stopped.
- You said so. Worthless on its own.
- You pointed at the line. A real
file:line, or the library's own source. - You showed the bad case can't happen. You walked the failure step by step and it doesn't reach.
- You ran the real code. Not a mock, not a reimplementation, not a reasoning trace. A script or test that imports the same module the app imports, calls the exact function you are worried about, and fails loud if you're wrong. Paste the command and its real output. If the output is a summary you wrote rather than what the process printed, you are still on rung 1.
- You ran the real app. The change exercised end to end in the running product, through the UI or the real endpoint, with the observed result pasted. Reuse whatever the project already has running. Never kill, restart, or hijack a process, server, or database you did not start in this session. If one is in the way, say so and ask. Treat a shared development database as read only unless the operator says otherwise.
Any safety fact you can't get to rung 4, say so out loud. Don't write it up as settled. Rung 4 is usually one small script that imports the same library the app ships and calls the function in question.
Steps
-
Read the change. The diff, the symbols it adds, changes, and deletes, and what it now does differently, including the part the diff doesn't spell out. Read the PR and the commits with
gh pr viewandgit log -p. Reading remote state is fine; posting to it is not. -
Find the one fact it's safe because of. Most changes that look scary are safe because of a single fact, like "this call only drops already-dead cache entries and does nothing else". Find that fact. If it holds, most of the scary cases die at once. Spend your time here, not on a long list of maybes.
-
Look where grep stops. Read the source of the library you call, and check its pinned version and any local patch. Work out when things run: microtasks, unmount and teardown, Solid versus React. Follow what a symbol search misses: the JSON an API returns, a DB column, a wire format, another language reading the same bytes, a feature flag, code three hops downstream.
-
Be honest about each risk. Give it a real chance of happening and a real cost if it does. Keep the risks you confirmed; list the ones you checked and cleared separately. Cite a real
file:line, a search that finds nothing is still an answer, and never make up a caller or an API. -
Prove the one fact. Write a script or test that runs the real code, run it, and paste what happened. If you can't prove it cheaply, mark it unproven. Don't round up.
-
For a big or wide change, ask the same question of several models and merge the answers. Before launching, run
skills arms(the playbook skill'sbin/skills arms, by absolute path), then fill the seats below per the playbook skill'sreferences/codex-arms.mdRoster and Panels and launch them in a single message. Every seat gets the same question and reads only. Different models catch different real bugs.Seat Arm Role A subagent_type:fable-judgmentJudgment and prose arm B subagent_type:opus-reviewSecond perspective C sol arm, astra on critical work Top tier, slug <task>-blast-radius-solD terra arm Everyday tier, slug <task>-blast-radius-terraWith no seat filled, answer it yourself and say no second model read it. Pass no
modelparameter and noisolationparameter in any form; every value of it produces a worktree, and worktrees are banned. Scratch work goes in a directory under/tmp/.
What to hand back
- What it does. What changed, including the part that isn't obvious.
- The one fact it's safe because of. State it, say which step you got it to, and show the proof. If you couldn't prove it, write unproven.
- Risks. Only the real ones. Each names how it breaks, the
file:line, how likely and how bad, and how to check. Paste the proof for the ones that matter. - Cleared. What you checked and why it's fine.
- Before it lands. The cheapest test or repro that catches the real bug, including the script you wrote.
Leave the writeup and any probe script unstaged on the feat/* branch in the main tree. Do not commit, do not push, do not post it to a PR or an issue. Hand it back in the reply and let the operator post whatever they want posted.
Write it through unslop, cite real code, and strip anything private before it goes anywhere public.
Reply: the writeup above, with the one safety fact either proven or marked unproven.
04 同仓库更多 Skills
unslop
Cut AI tells from any writing. Must always apply.
technical-writing
Write or review docs, RFCs, readmes, and PR descriptions against a layered standard: Diátaxis structure, Google developer style sentences, STE instruction rules, and Global English syntax.
tdd
Fix a bug by writing a regression test that fails first, when a cheap local test path exists.
show-me-your-work
Keep a reviewable decision trail for unattended work: a TSV log, one row per decision (project, plan, branch, evidence, result), local and uncommitted.
principle-type-system-discipline
Apply when designing types, reviewing a function signature, or writing code in any statically-typed language. Make illegal states unrepresentable, brand semantic primitives, parse external data at boundaries, refuse to lie to the compiler, exhaust variants, derive from authoritative schemas.
principle-subtract-before-you-add
Apply when sequencing an addition, refactor, or rewrite. Remove dead weight, redundant validators, and stub references first, then build on the simpler base.