agentleFS
maeseokmaeseok/agent-operating-discipline/skills/blast-radius/SKILL.md

blast-radius

Skill0 starsChanged 4 months agoMITView on GitHub

Use before writing any fix — maps everything that shares the predicate, constant, or field being changed, and states the rollback and expected signals up front, so defects surface together instead of serially over days

111 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

5 rules. 0 are common, 5 are distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 106 edited versions we read keep these.

  • 5

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    If the answer is "inference," the correct next step is usually instrumentation, not a fix.

    line 21
  2. Distinctive:

    Before you write it: name the read path.

    line 43
  3. Distinctive:

    Write both down before shipping:

    line 60
  4. Distinctive:

    If the answer is "the same as success," you have no verification.

    line 67
  5. Distinctive:

    Verify purity, don't assert it: Add a test that asserts the observable behavior is byte-identical with the new code path present.

    line 74

“Common” is measured: kept by at least 6 in 10 of the 106 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 before fixing

This is a speed discipline, not a caution discipline.

Skip it and defects surface serially — one per fix, one deploy each. I once burned four deploy cycles on what was one class of problem, because each fix revealed the next.

Five questions, before touching code

1. Is the diagnosis direct measurement, or inference?

An inferred mechanism is a hypothesis until something measures it directly. I shipped a repair on top of an inferred cause twice; both inferences were wrong.

If the answer is "inference," the correct next step is usually instrumentation, not a fix.

2. Who else uses this predicate or constant?

Grep for the constant's value, the function name, and the concept — all three. Constants get copied; concepts get reimplemented under different names.

Where you find the same concept in several places, the fix is usually to collapse them into one definition, not to patch each. But check first whether they're the same concept or just the same number: two thresholds that happen to both be 0.55 may be unrelated, and merging them creates a coupling that will break later in a way nobody can trace.

Widening a shared predicate is especially dangerous in reverse: if eight guards read one regex, narrowing it blinds all eight, and none of them will fail loudly.

3. Where is the thing I'm adding actually read?

Adding a field, counter, or flag that nothing consumes is an unfinished change that looks finished. It will pass review. It will sit there for weeks.

Before you write it: name the read path. If there isn't one, the read path is part of this change.

The same applies to running code: a stage that executes every cycle and writes to a key with zero consumers is pure cost. Grep for consumers of anything you're extending.

4. What does the act of deploying cost?

On a system with scheduled work, a deploy can kill an in-flight cycle. That makes even a pure-observation change cost real throughput.

Know your deploy cost before you decide "this is small enough to ship alone." Batch independent changes that don't interact.

5. How do I undo it, and what will I see?

Write both down before shipping:

  • Rollback — the specific command or revert. One line if possible.
  • Expected signals — what changes if it worked.
  • Signals that must NOT change — this is the half everyone skips. Without it, you can't distinguish "worked" from "worked and broke something adjacent."
  • What silent failure looks like — if it doesn't take effect, what do you see? If the answer is "the same as success," you have no verification.

The trap: "pure measurement" changes

A commit labeled pure measurement changed behavior — a newly added elif branch sealed off a recovery path that had previously been reached by fallthrough.

Verify purity, don't assert it. Add a test that asserts the observable behavior is byte-identical with the new code path present. Labels are not evidence.

Related

  • verify-before-judging — before this, confirm the problem is real
  • root-cause-discipline — before this, confirm you're fixing the generator
  • ratchet-not-ceiling — after this, make the class impossible to reintroduce

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.