executing-distributed-system-tests
Use when running a previously designed distributed-systems test plan against a real or simulated cluster — driving fault injection, workload, chaos scenarios, linearizability / consistency runs, durability, partition, crash-recovery, upgrade, performance/SLO runs, tenant isolation runs, boundary or authz runs, fairness / noisy-neighbor runs, or release validation. Also use when asked to "execute the plan", "reproduce a distributed bug", "run stability tests", "drive chaos", "validate a release end-to-end", "run the tenant isolation tests", or when a plan file exists at docs/testing-plans/ or a
npx skills add shenli/distributed-system-testing --skill executing-distributed-system-tests --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
What it does
Executes a previously designed distributed systems test plan against a real or simulated cluster. It discovers existing test tooling, validates environmental capabilities, sets up a session directory, and runs test scenarios in plan order. It captures nemesis landing evidence per scenario, runs green-but-broken and weak-oracle audits before any PASS, and handles boundary/fairness scenarios with per-arm verdicts. It also supports author mode to generate skeleton tests and enforces a strict workflow to avoid green-but-broken results becoming passes.
How it works
- Load the plan from a supplied plan file or extract scenario lists from conversation.
- Discover the SUT toolbox by scanning the repository for drivers, workload generators, cluster bring-up scripts, tests, docs, andMakefile/targets; record findings under "Toolbox discovered" in the session log.
- Probe environment capability and guide install if needed: list capabilities required, ask the user what is available and what to skip, then verify capabilities with quick probes (container runtime, toolchains, backends, fault-injection facilities, kernel features, observability).
- Establish a session directory at a path like {{session_root}}/{{plan_slug}}/{{UTC_timestamp}}/ with subdirectories logs, metrics, artifacts, findings, and a findings template header.
- Run scenarios in plan order: ensure preconditions, start workload, inject fault, capture the nemesis landing signal, stop and collect, apply oracle, and record the verdict with evidence. For boundary/fairness arms, treat each arm as its own scenario and compute per-arm verdicts.
- Enforce budget-tier gating: map PASS verdicts to the corresponding budget tier actually met and record the met tier in the session log.
- On failure, produce reproducer, reduction classification, taxonomy classifications, and evidence before moving on.
- Before declaring PASS, run green-but-broken checks and weak-oracle audits, recording their results. Only then record the final verdict in findings.
When to use it
Use when running a previously designed distributed-systems test plan against a real or simulated cluster, or when asked to execute the plan, reproduce a distributed bug, run stability tests, drive chaos, validate a release end-to-end, run tenant isolation tests, or when a plan file exists at a caller-specified location and needs to be run.
What it can touch
The skill relies on a toolbox discovered in the repository (drivers, workload generators, cluster bring-up scripts, tests, docs, and CI definitions). It records capability discoveries and uses them to guide execution. The exact tools are discovered and logged under "Toolbox discovered"; execution uses the discovered drivers and harnesses without reinventing them.
Caveats
The skill requires user consent for environment provisioning when capabilities are missing or non-trivial to install. INCONCLUSIVE results may be produced if required capabilities are unavailable or if signals for nemesis landing are ambiguous. The process enforces audit trails: reproducer, reduction classification, taxonomy classification, evidence, and green-but-broken checks before declaring PASS-hardening or other verdicts.
# Executing Distributed-System Tests Pairs with `designing-distributed-system-tests`. That skill produces a plan; this skill runs it. The two communicate only through filesystem artifacts: the plan file in and a session directory plus findings report out. The most common failure mode this skill is built to avoid: a run that produces a green checkmark without anyone having checked that the workload, the fault, and the oracle each did their job. The "green-but-broken" checks are not optional. ## Process ### 1. Load the plan If a plan file path was supplied, read it. If the user described a plan in conversation, extract the scenario list. If the plan is missing oracles or per-scenario budget tiers (Smoke / Hardening / Release, per the plan template's §7 scenario fields), halt — hand back to the design skill rather than improvise. Improvising an oracle in the moment is how green-but-broken results get produced. ### 2. Discover the SUT toolbox Search the repo before writing any new code. Look for: - `tools/`, `scripts/`, `bin/` — drivers, workload generators, cluster bring-up scripts - `tests/integration/`, `tests/stability/`, `tests/chaos/` - `docs/runbooks/`, `docs/testing/`, `docs/st
- Process
- 1. Load the plan
- 2. Discover the SUT toolbox
- 2b. Probe environment capability and guide install if needed
- 3. Establish a session directory
- 3b. Author mode (opt-in)
- 4. Run scenarios in plan order
- 5. On failure: capture before moving on
- 6. Apply green-but-broken checks AND the weak-oracle audit
- 7. Write the findings report
- Project autonomy
- Reference files
- Assets
What does the executing-distributed-system-tests skill do?
Use when running a previously designed distributed-systems test plan against a real or simulated cluster — driving fault injection, workload, chaos scenarios, linearizability / consistency runs, durability, partition, crash-recovery, upgrade, performance/SLO runs, tenant isolation runs, boundary or authz runs, fairness / noisy-neighbor runs, or release validation. Also use when asked to "execute the plan", "reproduce a distributed bug", "run stability tests", "drive chaos", "validate a release end-to-end", "run the tenant isolation tests", or when a plan file exists at docs/testing-plans/ or a
How do I install it?
Run `npx skills add shenli/distributed-system-testing --skill executing-distributed-system-tests --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From shenli/distributed-system-testing, a repository with 225 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
