agentleFS
ychampionychampion/ystack/skills/blast-radius/SKILL.md

blast-radius

Skill4 starsChanged 2 days agoMITView on GitHub

Before a change ships, find what it can break outside the diff, and prove the riskiest spot is safe by running code rather than arguing it. Use for "blast radius", "what could this break", "is this safe to merge", "who else uses this", before changing a shared function, type, config key, file format, API route, CLI flag or default, and before deleting or renaming anything.

114 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use ketchup-video, principle-never-block-on-the-human and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • tristanphvnSkill

    ketchup-video

    Catch the user up like /keel:ketchup, with a short silent video of slides for what happened and the waiting calls as text under it. Use for /keel:ketchup-video.

    Also in 14 projects that use this

  • jaydubya818Skill

    principle-never-block-on-the-human

    Apply when safe reversible implementation details can proceed inside scope.

    Also in 44 projects that use this

  • ianclearySkill

    principle-explain-the-number

    Apply before you trust, report, or act on a number you measured: a speedup, a regression, a throughput, a latency, or an eval result. Find what limits it, and rule out that it measured something other than the work you think.

    Also in 29 projects that use this

  • eryzerzSkill

    make-bot-ui

    Use when building a custom UI (page, dashboard, buttons) that should wake a Grok Bot over a webhook, when the user must provide a webhook sender key, or when exposing that UI on Tailscale.

    Also in 20 projects that use this

  • bnemaSkill

    setup-pstack

    Configure which Pi models pstack uses per role. Detects available provider/model specs and writes pstack's user configuration. Use for /setup-pstack, "configure pstack models", or changing pstack model choices.

    Also in 25 projects that use this

  • jaydubya818Skill

    principle-make-operations-idempotent

    Apply when an operation must tolerate retries after partial completion.

    Also in 46 projects that use this

  • +6 more from jaydubya818

The file

We split this skill into the rules it gives an agent

4 rules. 0 are common, 3 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 109 edited versions we read keep these.

  • 3

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Write one line per observable difference, old → new.

    line 30
  2. Distinctive:

    call it with old-format data and the new code.

    line 64
  3. Distinctive:

    run the consumer's own test, or write a ten-line script that exercises the path.

    line 65
  4. Distinctive:

    If the change is a deletion, search for the name as a string too.

    line 93

“Common” is measured: kept by at least 6 in 10 of the 109 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Blast radius

A diff shows what changed. It doesn't show who depended on the old behaviour. This skill finds those dependents, sorts them by risk, and settles the riskiest one with a real run.

When it applies

  • A change touches something other code reads: a function signature or return value, a type, a default, an error it throws, a config or env key, a file or wire format, a route, a CLI flag, a database column, an event name.
  • Something is deleted, renamed or moved.
  • Someone asks "is this safe?" and the honest answer is "probably".

Skip it for changes nothing else can observe: a private helper's internals with unchanged behaviour, comments, tests only.

Procedure

1. Name the behaviour change, not the code change

Write one line per observable difference, old → new. "Renamed parse to parseConfig" is a code change; "parse no longer exists; parseConfig throws on an empty file where parse returned {}" is two behaviour changes. Everything after this step works from these lines.

2. Find every consumer, including the ones grep misses

Static references first: callers, importers, subclasses, type users. Then the dynamic ones, which are where breakage hides:

  • names held as strings: config keys, route paths, event names, feature flags, reflection, getattr, dependency-injection tokens, SQL column names;
  • data already on disk or in flight: saved files, caches, queues, database rows, cookies, other services' payloads, written in the old format;
  • other repos, scripts, CI jobs, cron jobs, docs and READMEs that show the old usage;
  • generated code and the generator's templates.

For a wide search, split it by area across parallel subagents; locating is cheap work, so use a cheap model for it if your setup routes by task. Each returns paths and line numbers, not opinions.

3. Sort each consumer into one of three

BucketMeaning
unaffectedIt doesn't use the changed behaviour. Say why in a few words.
safeIt uses it, and you can point at the line that makes it fine.
unknownIt uses it and you can't show it's fine by reading alone.

Be strict: "the tests pass" doesn't move a consumer to safe unless a test covers that consumer's path.

4. Prove the riskiest unknown by running something

Pick the unknown whose failure would cost most (data loss, a broken deploy, a silent wrong answer beats a loud crash). Write the single fact that would make it safe, then run code that shows it:

  • call it with old-format data and the new code;
  • run the consumer's own test, or write a ten-line script that exercises the path;
  • replay a saved real input, request or file through old and new and diff the outputs;
  • for a migration, run it on a copy of real data and count rows before and after.

One run beats a page of reasoning. If the fact turns out false, you found the bug before users did. Repeat for the next unknown while the cost of being wrong justifies it.

5. Report

Change: <the behaviour lines from step 1>

| Consumer | Bucket | Evidence |
| path:line | safe | reads only .name, unchanged |
| path:line | PROVEN SAFE | ran <command>: <result> |
| path:line | unknown | <why it can't be shown; suggested guard> |

Verdict: ship / ship with <guard> / don't ship until <fix>

An unknown you couldn't settle stays visible in the report with a suggested guard (a compatibility shim, a migration, a feature flag, a loud error instead of a silent default). Never round an unknown up to safe.

Rules

  • The proof is a command and its output, quoted. "I checked and it's fine" is not a proof.
  • Data outlives code. Old-format data on disk is the most-missed consumer.
  • If the change is a deletion, search for the name as a string too.
  • With ystack's verify mod installed, the step-4 run counts as the real check it asks for.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.