Skip to content
Back to skills

Splash Damage

ASecurity

Splash damage testing: after a reported bug, test the neighboring behavior in the same area to find sibling bugs. Triggers: the user says 'splash damage', 'splash', 'area sweep' or 'gap analysis' about a bug. Never start it on your own.

  • 666 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added November 7, 2026
designgotesting

Security analysis

A100/100

Scanned November 24, 2026

npx -y skills add vchelaru/Gum --skill splash-damage --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Splash Damage?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Splash Damage
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vchelaru-splash-damage/badge)](https://www.skillsdirectory.com/skills/vchelaru-splash-damage)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: splash-damage
description: "Splash damage testing: after a reported bug, test the neighboring behavior in the same area to find sibling bugs. Triggers: the user says 'splash damage', 'splash', 'area sweep' or 'gap analysis' about a bug. Never start it on your own."
---

# Splash Damage

A bug usually exists because a test was missing. Nearby behavior in the same area is probably untested too, so it may be broken in the same way. Splash damage testing writes the one failing test for the reported bug, then a large batch of tests around it, to find the siblings.

**Run it only when the user asks.** A normal bug fix does not get a splash pass (see the `tdd` skill for the normal flow).

## Steps

1. **Pin the reported bug first.** Write the failing test, see it fail for the right reason, fix it. This is the normal `tdd` flow.
2. **Map the area.** Name the class or feature boundary, list its behaviors (inputs, units, visibility, ordering, events, states, open versus closed, before versus after layout), and mark which already have tests by grepping the matching test project. The unmarked rows are the gap list. Put it in the PR body. Also map the ways a value reaches the behavior (project load, hot reload, code set, state, binding, reference): a property that works at load can still fail on every other path, and a list of behaviors alone never tries them. Generate the property list from the source of truth (for example the `FormsBehaviors/*.behx` files) and run each property through each path, instead of picking cases by hand.
3. **Write tests for the gaps in bulk.** Often 20 to 50. Cover the matrix, not one-offs: the same behavior across the inputs that could differ. Assert the correct behavior, not the current behavior. Put each test in the class named for the behavior it exercises (an existing class when one fits, else a new class named for that behavior), never in a `*Splash*` file or class, and name the test for the behavior; "splash" only says how the test was found, and these are permanent tests people search by behavior. Keep the whole batch fast (a few seconds; large sweeps take their case count from `SweepScale.Cases`).
4. **Run them.** Green tests stay as coverage. Each red test is a new bug.

## What happens to a red test

- **First check whether the PR caused it.** Run the red test against `main`. If it also fails on main it is a pre-existing bug: follow the rules below. If it passes on main and fails only on this branch, the PR's own change broke it: that is a regression, so fix it inside the same PR and do not file a separate issue or park the test on a branch.
- Do not fix it inside the splash PR, and do not skip or exclude the test (a skipped test counts as untracked).
- File one issue per distinct bug (`gum-issue-creation`), naming the failing test. Keep the red test on a branch and link that branch from the issue, so the test lands with its fix.
- The splash PR contains the fix for the reported bug and the green tests only.

## Gotchas

- Stay inside the named boundary. Drifting into neighboring features turns a sweep into a rewrite.
- Do not change existing tests to make new ones pass.
- A question about how the area behaves gets a yes or no answer from a test. Find the test that pins it and name it. If no test does, that is a gap: write the test, run it, and answer from the result. Reading the code alone gives a guess, not an answer. A test that pins wrong behavior (an accepted limitation, a "restart needed" where hot reload should just work) is a bug, handled like a red test.
- If nothing in the batch is red, say so. That is a result, and the coverage is still worth merging.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in design →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.