blast-radius
Find what a change could break outside its diff and prove the one fact it is safe because of by running real code. Use for 'blast radius of X', 'what could this break', a small diff you don't trust, or as part of an independent review.
- License 许可
- MIT
- 所属仓库
- mfmezger/skills
- 最近更新
- 2026-11-13
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- blast-radius
- source
- https://github.com/cursor/plugins/blob/main/pstack/skills/blast-radius/SKILL.md
- description
- Find what a change could break outside its diff and prove the one fact it is safe because of by running real code. Use for 'blast radius of X', 'what could this break', a small diff you don't trust, or as part of an independent review.
02 资源文件 1
- 许可证LICENSE1.0 KB
03 SKILL.md 正文
Blast radius
Find what a change breaks somewhere else, before it ships. Listing the callers is not the job; grep does that 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 is true. Find the one or two facts the change's safety depends on and prove them by running code.
Evidence ladder
Push each fact as far down this ladder 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 installed library's source. - You walked the failure case step by step and showed it cannot be reached.
- You ran it: a script or test that calls the real code and fails loud if you are wrong.
- You reproduced it in the running service (local server, real request).
Rung 4 is usually one small script in a throwaway /tmp file that imports the same package version the app ships (uv run python /tmp/check_x.py) and calls the exact function you are worried about. Never put it in the worktree unless it becomes a real test.
Steps
- Read the change. The diff, the symbols it adds, changes and deletes, and what now behaves differently, including what the diff does not spell out. Pull context with
git log -p,git blame, and the PR thread (ado-pr-review) when one exists. Done when you can state the behavior change in one sentence. - Find the one fact it is safe because of. Most risky-looking changes are safe because of a single fact ("this only drops cache entries that are already expired"). If it holds, most risky cases clear at once. Spend your time here, not on a long list of maybes.
- Look where grep stops. Done when you have checked every channel below that the change touches:
- Installed library source at the pinned version (
uv.lock,.venv/lib/.../site-packages), plus any local patch or monkeypatch. - Timing and lifecycle: FastAPI lifespan startup/shutdown, dependency teardown (
yielddeps), background tasks,asynciocancellation, event-loop vs thread-pool execution, import-time side effects. - Data contracts: response JSON and
response_modelfields, Pydantic validators and aliases, DB columns and migrations, serialized payloads on queues or in buckets, recorded fixtures (VCR cassettes), another service or language reading the same bytes. - Configuration:
Settingsfields and env vars, feature flags, defaults that differ between local, test stage and prod. - Code three hops downstream: consumers of the return value, not just callers of the function.
- Installed library source at the pinned version (
- Rate each risk honestly. Give it a real likelihood and a real cost. Keep confirmed risks; list the ones you checked and cleared separately. Cite real
file:line. A search that finds nothing is still an answer. Never invent a caller or an API. - Prove the one fact. Write the rung-4 script or test, run it, and paste the output.
- Wide or high-stakes change: run steps 2–5 as two independent subagents on different model families (
list_subagent_models, e.g. a Claude model and a Gemini model) with the same brief, then merge. Different models catch different real bugs; a risk both raise is high signal.
Report
- What it does. What changed, including the non-obvious part.
- The one fact it is safe because of. State it, name the ladder rung reached, show the proof. If you could not prove it, write
unproven. - Risks. Each with how it breaks,
file:line, likelihood and cost, and how to check. Paste proof for the ones that matter. - Cleared. What you checked and why it is fine.
- Before you merge. The cheapest test or repro that catches the real bug, including the script you wrote.
Strip customer or product data before anything goes into a PR or ticket.
04 同仓库更多 Skills
stackit-cli
Use the STACKIT CLI (stackit) to manage STACKIT cloud resources, with a focus on authenticating and connecting kubectl to a STACKIT Kubernetes Engine (SKE) cluster. Trigger when the user mentions the stackit CLI, STACKIT cloud, SKE, "stackit ske kubeconfig", or connecting/getting a kubeconfig for a STACKIT Kubernetes cluster.
show-me-your-work
Keep a reviewable decision trail (Markdown, one entry per decision: what, why, evidence, result) and end with a cross-model review of it. Use for long-running, autonomous or multi-phase work, overnight runs, or work the user reviews after stepping away.
karpathy-guidelines
Behavioral guidelines to reduce common LLM coding mistakes. Use when writing, reviewing, or refactoring code to avoid overcomplication, make surgical changes, surface assumptions, and define verifiable success criteria.
interrogate
Adversarial multi-model review of a change: two fresh reviewers on different model families, then lead judgment into Act on / Consider / Noted / Dismissed and a GO or REWORK verdict. Use for 'interrogate', 'adversarial review', 'multi-model review', 'tear this apart', or the mfm-workflow Review step.
engineering-principles
Engineering principles for Python services: root causes, verification, boundaries and types, domain model, idempotency, shared state, migrations. Use when choosing data shapes, debugging after failed fixes, writing tests, designing retries, CronJobs or migrations, or as a review lens.
correct
Find the mistakes agents keep repeating in a repo and make each one impossible: architecture first, then types, then a lint or CI check whose error names the fix, then tests, docs last.