Test Commander
EliasOulkadi/shokunin
Generate unit, integration, E2E, and visual regression tests following the Testing Trophy methodology (80% integration).
A skill your agent uses when designing a test plan for a distributed or stateful system — anything with persistence, replication, consensus, retries, idempotency, async messaging, multi-tenancy, or…
$ npx skills add shenli/distributed-system-testing --skill designing-distributed-system-tests -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install shenli/distributed-system-testing designing-distributed-system-tests --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/shenli/distributed-system-testing.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/designing-distributed-system-tests .claude/skills/designing-distributed-system-tests && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "designing-distributed-system-tests" agent skill from https://github.com/shenli/distributed-system-testing/tree/main/skills/designing-distributed-system-tests into .claude/skills/designing-distributed-system-tests/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "designing-distributed-system-tests", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/shenli/distributed-system-testing/tree/main/skills/designing-distributed-system-testsType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add shenli/distributed-system-testing --skill designing-distributed-system-tests -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install shenli/distributed-system-testing designing-distributed-system-tests --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/shenli/distributed-system-testing.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/designing-distributed-system-tests .agents/skills/designing-distributed-system-tests && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "designing-distributed-system-tests" agent skill from https://github.com/shenli/distributed-system-testing/tree/main/skills/designing-distributed-system-tests into .agents/skills/designing-distributed-system-tests/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "designing-distributed-system-tests", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add shenli/distributed-system-testing --skill designing-distributed-system-tests -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install shenli/distributed-system-testing designing-distributed-system-tests --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/shenli/distributed-system-testing.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/designing-distributed-system-tests .cursor/skills/designing-distributed-system-tests && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "designing-distributed-system-tests" agent skill from https://github.com/shenli/distributed-system-testing/tree/main/skills/designing-distributed-system-tests into .cursor/skills/designing-distributed-system-tests/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "designing-distributed-system-tests", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/shenli/distributed-system-testing.git --path skills/designing-distributed-system-tests--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add shenli/distributed-system-testing --skill designing-distributed-system-tests -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install shenli/distributed-system-testing designing-distributed-system-tests --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/shenli/distributed-system-testing.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/designing-distributed-system-tests .gemini/skills/designing-distributed-system-tests && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "designing-distributed-system-tests" agent skill from https://github.com/shenli/distributed-system-testing/tree/main/skills/designing-distributed-system-tests into .gemini/skills/designing-distributed-system-tests/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "designing-distributed-system-tests", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install shenli/distributed-system-testing designing-distributed-system-testsInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add shenli/distributed-system-testing --skill designing-distributed-system-tests -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/shenli/distributed-system-testing.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/designing-distributed-system-tests .github/skills/designing-distributed-system-tests && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "designing-distributed-system-tests" agent skill from https://github.com/shenli/distributed-system-testing/tree/main/skills/designing-distributed-system-tests into .github/skills/designing-distributed-system-tests/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "designing-distributed-system-tests", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add shenli/distributed-system-testing --skill designing-distributed-system-tests -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install shenli/distributed-system-testing designing-distributed-system-tests --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/shenli/distributed-system-testing.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/designing-distributed-system-tests .opencode/skills/designing-distributed-system-tests && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "designing-distributed-system-tests" agent skill from https://github.com/shenli/distributed-system-testing/tree/main/skills/designing-distributed-system-tests into .opencode/skills/designing-distributed-system-tests/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "designing-distributed-system-tests", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
designing-distributed-system-testsA skill your agent uses when designing a test plan for a distributed or stateful system — anything with persistence, replication, consensus, retries, idempotency, async messaging, multi-tenancy, or…
Designing Distributed System Tests is an agent skill from shenli/distributed-system-testing. Use when designing a test plan for a distributed or stateful system — anything with persistence, replication, consensus, retries, idempotency, async messaging, multi-tenancy, or partial failure. Plans are claim-driven: investigate the product's claimed guarantees first, then design hypotheses and scenarios that try to falsify those claims under fault. Handles change-scoped plans (a commit / PR / feature) and project-wide plans (holistic, with existing-test inventory and gap analysis). Also use when asked to write…
Its SKILL.md is about 7k tokens, which your agent loads only when the skill is triggered. The skill folder holds 15 other files, including reference files and assets (for example `assets/plan-template.md`, `references/boundary-and-isolation-testing.md` and `references/catalog-index.md`).
It sits in Testing & QA, covering Multi-tenancy, Test generation and Authorization and RBAC. The repository describes itself as: AI-agent skills for distributed-systems testing. The licence is MIT.
7 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 6414861. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md.
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Designing Distributed System Tests loads about 7k tokens when it runs, and up to ~22k if it reads all its reference files. Until then it costs about 261 tokens; SKILL.md has 3,741 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from shenli/distributed-system-testing at commit 6414861, republished under its MIT licence (© shenli). 3,741 words, ~7,008 tokens.
.claude/skills/designing-distributed-system-tests/SKILL.md (or your agent's skills folder). This skill also uses 13 other files; get the full folder from GitHub.The default for testing distributed and stateful systems — write a few integration tests and call it done — finds a small fraction of the bugs that actually break these systems in production. This skill enforces an opinionated workflow: scope the change, generate failure-mode hypotheses that cover the categories the literature says matter most, pick techniques from a curated catalog, and emit a structured plan file that the executing-distributed-system-tests skill (or a human) can run.
This skill produces two shapes of plan. Decide which one applies before you start; the steps below branch on it.
If the framing is ambiguous, ask once before starting — the modes diverge enough that retrofitting one into the other wastes work.
Follow these steps in order. Do not skip; the order matters because later steps depend on artifacts the earlier steps produce.
Read the project's entry points: README, AGENTS.md or CLAUDE.md,
top-level docs/, any existing test-plan or runbook files. Note:
Write this as a one-paragraph SUT model. If anything is ambiguous from the repo, ask the user before proceeding — do not invent guarantees.
A good test plan exists to falsify what the product claims. Before generating hypotheses, write down what the SUT promises its users. This is the spine the rest of the plan hangs off — every hypothesis, every scenario, every oracle should be traceable back to a claim it either confirms or refutes.
Sources to mine:
IdempotencyConflict, StaleRead, etc.) imply
guarantees the system claims to enforcelinearizable_under_partition
implies a linearizability claim under partition)Categorise each claim:
references/boundary-and-isolation-testing.md).If the project does NOT explicitly document a claim that appears in the code, write it as an inferred claim and mark it as such — inferred claims are still testable, and surfacing them often catches places where the docs lie or are silent about real guarantees the implementation depends on.
When done, you should have a numbered claims list (C1, C2, …). The hypothesis-generation step (step 3) will reference these by number, the coverage matrix (template §5) tracks claim × hypothesis, and scenarios (template §7) state which claim(s) each is trying to falsify. If a hypothesis cannot be tied back to a claim, either name the missing claim explicitly or drop the hypothesis — untethered hypotheses produce ceremonial scenarios.
Missing claims are a first-class finding. During hypothesis generation (step 3) you will encounter behaviors the implementation relies on that no claim covers — Unicode normalisation policy, specific timeout windows, edge-case error semantics. List these in the plan's "Missing claims discovered" section (template §1c). Surfacing them is one of the highest-value outputs of the whole exercise: it tells the maintainer where docs and implementation have drifted apart.
Change-scoped: Identify the commit, PR, or feature under test. List every file touched and the surfaces (RPCs, on-disk formats, replication messages, public APIs) affected. Build a one-paragraph blast-radius statement.
Project-wide: No specific change. Instead, enumerate the system's externally observable surfaces (public APIs, on-disk formats, wire protocols, replication/consensus, background jobs, operational controls) and the invariants each must preserve. Declare what is in-scope and what is explicitly out-of-scope (adapters, ancillary tools, demo apps) — a project-wide plan that tries to cover everything covers nothing well.
Walk the SUT's test surface: unit tests, integration tests, fault- injection / stability harnesses, smoke scripts, CI workflows, and any test-plan / runbook docs. For each notable test or harness, capture: what subsystem, what invariant it pins, and what failure modes it would catch. This becomes the left-hand column of the coverage matrix in step 4b.
Do not re-test what is already covered well. The point of the gap analysis is to surface what is NOT covered.
For each claim from step 1b, ask: under what conditions could the SUT fail to honor this claim? Each hypothesis must be tied to one or more claims by number ("could falsify C3 and C7"). Tests exist to refute claims, not to "check that things work" — a passing test should mean "this claim survived this fault", and a failing test should name the claim it falsified.
Walk the pitfall catalog. Before generating hypotheses from
intuition, open references/common-distributed-systems-pitfalls.md.
It lists 16 failure modes that recur across the Jepsen analyses
corpus, each with a hypothesis template ready to paste-adapt. For
every pitfall, decide if it applies to this SUT: y / n / maybe.
Every y and most maybes become hypothesis rows. This shortcut
prevents the common failure mode of plans that only test what the
agent already thought of.
Generate hypotheses for each touched surface (change-scoped) or in-scope surface (project-wide) across these categories: correctness, durability, liveness, partial failure, idempotency / replay, upgrade / rollback, configuration, performance / fairness.
If a category is genuinely not applicable, say so explicitly. The act of writing "N/A because…" surfaces wrong assumptions more often than it sounds like it would.
Boundary and fairness claims trigger §7.M.S. When you encounter a
claim about tenant isolation, authz, namespace, routing,
multi-protocol access, compatibility across API surfaces, or
per-group fairness (noisy-neighbor, queue-group, per-region), tag it
with the boundary or fairness category in §1b. Both categories
trigger the surface-decomposition discipline in §7.M.S of every
scenario that falsifies them — see
references/boundary-and-isolation-testing.md for the boundary
claim matrix template and surface catalogs.
In project-wide mode the list is typically larger (the system has more surfaces than any single change). Group hypotheses by subsystem so the gap-analysis table stays readable.
Open references/catalog-index.md and find the techniques that match
your hypotheses. For each technique you pick, open its reference file
and write down in the plan: which hypotheses it addresses, what it
would catch that other techniques would miss, the typical cost.
For scenarios that will be serious (any claim in {safety, durability, idempotency, isolation, ordering, membership}), also open the
executing skill's references/oracle-patterns.md and use the
"Checker picker" table at the top to pick the checker(s) matching
your model and claim category. The checker choice is part of the
plan, not a runtime decision.
A change usually warrants 2–4 techniques in combination. One technique is suspicious — re-check whether you've collapsed multiple distinct hypotheses into one. A project-wide plan typically reaches further across the catalog (5–7 techniques) because the surface is larger.
Build a table indexed by claim, not just by hypothesis. Each row: the claim (C-number), the hypothesis that would falsify it, the existing test(s) (from step 2b) that exercise it, the verdict (covered / partial / not covered), and the gap kind (no test / shallow test / oracle too weak / no fault-injection variant). Sort by claim severity × gap so the highest-leverage gaps end up at the top.
This table is the heart of the project-wide plan. It tells the maintainer where the product's claims are unverified. Without it the plan is just a wishlist.
For very large systems (50+ claims, 100+ hypotheses), split the matrix. A per-claim summary table (one row per claim with rolled- up verdict) gives the maintainer the at-a-glance view; a per- hypothesis detail table keeps the granular gap-kind information. Without the split, a single matrix where load-bearing claims appear in many rows becomes unreadable.
For each technique you picked, list the runtime dependencies the executing skill will need on the test box: container runtime (docker / podman + compose), language toolchains (Rust, Go, Node, Python at specific minima), database / object-store backends (Postgres N+, MinIO / S3-compatible), fault-injection facilities (iptables, tc/netem, libfaketime, dm-flakey, Toxiproxy), kernel features (network namespaces for asymmetric partitions, cgroups for IO throttling), observability tooling (Prometheus, OTLP collector), and any project-specific binaries.
Put this in the plan's "Environment requirements" section as a checklist with version floors where they matter. The executing skill consults this list at its environment-capability probe step and uses it to either guide the operator through install or mark dependent scenarios INCONCLUSIVE.
For each technique, write concrete scenarios. Each scenario must specify: workload (what generator, rate, distribution, duration); faults (schedule of what is injected when); oracle (the property checked and how); observability required; and the three budget tiers (Smoke / Hardening / Release — see the field list below).
Resist "logs look fine" as an oracle. The oracle must be a machine-checkable property or a metric SLO with a defined threshold.
In project-wide mode, prioritise scenarios that fill the highest- leverage gaps from step 4b, and tag each scenario with both the hypothesis-rows it closes AND the claim(s) it tries to falsify. Long-tail "nice to have" scenarios go into template §9 (open questions / followups), not the actionable scenario list in template §7 — the plan should be actionable, not aspirational.
Every scenario name should encode the claim it targets:
linearizable_per_session_under_partition,
durability_survives_fsync_loss, idempotent_replay_across_restart.
A test named after its claim is harder to weaken; a test named
after its setup ("3-node cluster with chaos") tells you nothing
about what it actually verifies.
Each scenario is an executable spec. Beyond the prose fields (Workload, Faults, Oracle, Observability, and the three budget tiers), emit two more:
crates/<crate>/tests/auto/<S_id>_<slug>.rs,
for Go modules <module>/<pkg>_test.go, for Python pytest
tests/auto/test_<slug>.py. The auto/ subdirectory makes
generated tests easy to find and review separately from
hand-authored ones.AUTO-GENERATED header comment with the plan path and
scenario id so a reviewer can trace any committed test back
to its spec.The skeleton is what the executing skill (in author mode) writes to the target path and then fills the TODOs from. The plan + the generated test are traceable back to each other; if the plan's prose changes, the test should be regenerated.
Fill §7.M for serious scenarios. If any claim in this scenario's
Falsifies if it FAILs row belongs to {safety, durability, idempotency, isolation, ordering, membership}, the scenario is
serious and must fill the §7.M sub-block in the plan template.
A scenario that decomposes into §7.M.S arms (boundary / fairness) is
also serious: each arm is always serious and carries its own §7.M
block, regardless of claim category — the executing skill scores
every arm through the §7.M checker node of the verdict decision tree.
The §7.M sub-block:
references/history-discipline.md.references/oracle-patterns.md "Checker picker" table at the top
of that file. Or, if no checker, write the justification.references/fault-injection-howto.md, plus the observable signal
that proves the fault landed.references/test-case-reduction.md.For non-serious scenarios (perf-SLO, liveness, operational), write
§7.M: not applicable (no gated claim category falsified) and move
on. Do not invent a model just to fill the field.
The §7d confidence statement should lean on the chain ("checker X consumed history Y under nemesis Z with landing evidence E") for every serious scenario. A serious scenario whose §7.M is partially filled cannot contribute to a hardening claim.
Fill §7.M.S for boundary and fairness scenarios. If any claim in
this scenario's Falsifies if it FAILs row belongs to
{boundary, fairness}, the scenario is surface-decomposition
mandatory and must fill the §7.M.S sub-block in the plan template:
references/boundary-and-isolation-testing.md, or SUT-specific
surfaces the catalog does not cover. Minimum three per boundary
claim or written justification for fewer.boundary-and-isolation-testing.md.S<n>/api, S<n>/sdk, etc.).
Apply the split-into-arms rule: if the scenario spans more than 3
surfaces, more than 3 claim categories, or requires more than 1
independent oracle, split into arms with independent verdicts.For non-boundary scenarios, write §7.M.S: not applicable (no boundary or fairness claim falsified) and skip the fields. Do not
invent surfaces just to fill the field.
The §7.M.S sub-block is a sibling to §7.M (model / history / checker), not a replacement. A scenario falsifying both a consistency claim and a boundary claim fills both blocks.
Every scenario declares three budget tiers. Replace the legacy
single Exit criteria field with explicit Smoke / Hardening /
Release budgets per scenario:
PASS-smoke.PASS-hardening.not provided — <reason>. Revisit when: <condition>.
declaration. Empty / "TBD" / "see §6b" are explicitly disallowed.The execute skill uses the budget tier actually met as a verdict precondition; the findings report surfaces every "not provided" release budget in a dedicated Release-budget disclosures section.
A test plan that lists scenarios without arguing they are enough is not a test plan — it's a wishlist. Before writing the plan file, build the argument for adequacy. Cover three things:
1. Architectural summary. A one-page (≤ 30 lines) summary of the system's actual architecture: the major components, how data flows between them, where state is durable, where consensus runs, where trust boundaries live. This is not the catalog (catalog is reference material) — this is the system as it actually exists, written so a reviewer who has never seen the codebase can follow the test plan. The architectural summary makes it possible for the reviewer to spot a missing test ("you have nothing exercising the storage→index handoff") that a flat scenario list would hide.
2. Coverage adequacy argument. For each claim, demonstrate that the chosen scenarios — taken together — would falsify the claim if it were violated. The form is: "claim Cn could be violated under threats T1, T2, …; scenarios Sa, Sb, Sc exercise those threats under conditions X, Y, Z; therefore if Cn is wrong, at least one of Sa/Sb/Sc would catch it." A reviewer should be able to read this and either accept the argument or point at a specific gap ("scenario Sa doesn't actually inject T2 — it only injects T1").
3. Residual uncertainty. Honestly list what the plan does NOT falsify and why that is acceptable. "Claim Cn is not exercised under multi-AZ failure because the harness cannot inject AZ-level faults today; we accept this risk because production deploys are single-AZ for now." This section is what turns a plan from "tests" into "an argument for shipping."
These three sections together are the "confidence" the reader needs. Without them, the plan answers "what would we test" but not "is testing this enough to ship."
For boundary or fairness claims (any claim whose §7.M.S decomposes into multiple arms, or whose oracle covers multiple groups), the §7d statement must include a per-aspect confidence table after the leading paragraph. The paragraph alone hides which arms are well-tested vs. which are deferred; the table makes it visible. A single conservative paragraph that says "confidence is moderate" without naming which aspects are moderate and which are low is the specific failure mode the table prevents.
Copy assets/plan-template.md to the plan destination and fill it in.
Default destination is docs/testing-plans/<short-slug>.md in the SUT
repo; the user may override (e.g. when they don't want the agent
writing into their repo, fall back to whatever path they specify, or
to ./testing-plans/<short-slug>.md in the current working directory
if no path was given).
If the parent directory does not exist, create it before writing. Many
repos won't have a docs/testing-plans/ directory the first time this
skill runs; mkdir -p it without ceremony.
The plan slug is the only handoff to the executing skill. Pick a
descriptive slug — durable-idempotent-append-replay, not
plan-1.
Read the plan back. Every hypothesis has at least one scenario. Every scenario has an oracle that is not "logs look fine". Every chosen technique cites its reference file. If anything fails the check, fix it in the plan; do not move on with known gaps.
The adequacy test. Imagine a reviewer who has never seen the codebase reading the plan cover to cover. Then they're asked: "if all of these scenarios pass, would you be comfortable shipping this code?" If the plan does not contain enough material for them to answer yes/no with confidence — specifically: the architectural summary, the coverage-adequacy argument per claim, the residual uncertainty list — the plan is not done. A list of scenarios is not a confidence argument.
Anti-pattern checks (run before declaring the plan done).
Target test file is declared — split into
arms.{boundary} but §7.M.S Negative controls is empty — required
negative controls missing. (Tenancy / authz / namespace / routing
claims are subsumed under boundary; they do not appear as
separate categories.){fairness} but the oracle is not a per-group formula from the
executing skill's references/oracle-patterns.md §14 — fairness
criterion missing.Oracle field reads as "no
leaks," "no unauthorised access," or similar prose without a
model / state comparison or formula — sharpen with a concrete
checker pattern.NOT-RUN or PARTIAL-surface — the
§7d surface-coverage disclosure rule requires that naming.Release budget field is empty, equals "TBD", "see §6b", or any
value not matching either a concrete budget specification OR the
not provided — <reason>. Revisit when: <condition>. template
— absence must be an explicit disclosure, not a silent gap.Surfaces field is empty or
names only one surface — the plan is incomplete. Either fill
§7.M.S with the surface decomposition the boundary keyword
implies, or rename the scenario so its name does not promise a
decomposition the plan does not deliver. The expert framing:
tests tend to validate that the boundary mechanism exists,
not that it actually contains failure; this check forces the
plan author to confront which one their scenario tests.If the change genuinely does not warrant a distributed test plan — for example, a docs-only change, a typo fix, a refactor with no behavior change covered by existing unit tests — say so explicitly and recommend the appropriate lighter-weight testing. Do not produce a ceremonial plan for changes that don't need one.
executing-distributed-system-tests skill.references/catalog-index.md — start here; selector pagereferences/jepsen-and-elle.mdreferences/deterministic-simulation.mdreferences/chaos-and-fault-injection.mdreferences/fuzzing.mdreferences/formal-methods-tla.mdreferences/property-and-metamorphic.mdreferences/performance-and-benchmarking.mdreferences/crash-recovery-and-upgrade.mdreferences/common-distributed-systems-pitfalls.md — 16 pitfalls
with hypothesis templates (walk this during step 3)references/history-discipline.md — operation-history schema and
ambiguous-outcome handling (required reading when any scenario
will be serious)references/boundary-and-isolation-testing.md — surface catalogs,
boundary claim matrix, confusable-identifier catalog,
negative-control anti-patterns (required reading when any scenario
falsifies a boundary or fairness claim)Each reference file follows the same shape: when to reach for it,
what it detects well, what it misses, concrete tools, papers,
cost / wall-clock signal, plan checklist. The discipline references
(common-distributed-systems-pitfalls.md, history-discipline.md)
instead follow an enumeration + anti-pattern shape — they are walked
exhaustively rather than picked from.
assets/plan-template.md — the structure to fill in.© shenli, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 13 other files (references, assets) in skills/designing-distributed-system-tests of shenli/distributed-system-testing.
Open the folder on GitHubat commit 6414861
Designing Distributed System Tests next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Designing Distributed System Tests this skillshenli/distributed-system-testing | 231 | — | ~7k | Automated safety check: Pass | MIT | |
| Test CommanderEliasOulkadi/shokunin | 114 | — | ~3k | Automated safety check: Notes | MIT | |
| Frontmcp Testingagentfront/frontmcp | 146 | — | ~10k | Automated safety check: Notes | Apache-2.0 | |
| Qe Test Executionproffesor-for-testing/agentic-qe | 494 | — | ~1.2k | Automated safety check: Pass | MIT | |
| Azure Playwright WorkspacesMicrosoftDocs/Agent-Skills | 777 | — | ~1.5k | Automated safety check: Pass | CC-BY-4.0 | |
| Abp Authorizationabpframework/abp | 14k | — | ~1.3k | Automated safety check: Pass | LGPL-3.0 |
EliasOulkadi/shokunin
Generate unit, integration, E2E, and visual regression tests following the Testing Trophy methodology (80% integration).
agentfront/frontmcp
A skill your agent uses for anything about testing FrontMCP servers: writing or running unit, integration, and E2E tests and reaching the 95%+ coverage bar.
proffesor-for-testing/agentic-qe
Orchestrates test suite execution with parallel sharding, intelligent retry, and real-time reporting across Jest, Vitest, and Playwright.
MicrosoftDocs/Agent-Skills
Expert knowledge for Playwright Workspaces development including troubleshooting, best practices, decision making, limits & quotas, security, and configuration.
abpframework/abp
ABP permission system - PermissionDefinitionProvider, [Authorize] attribute, CheckPolicyAsync, IsGrantedAsync, ICurrentUser, IPermissionManager, multi-tenancy side.
getsentry/skills
Django access control and IDOR security review. An agent skill from getsentry/skills.
shenli/distributed-system-testing
A skill your agent uses when running a previously designed distributed-systems test plan against a real or simulated cluster — driving fault injection, workload, chaos scenarios, linearizability /…
Categories
A skill your agent uses when designing a test plan for a distributed or stateful system — anything with persistence, replication, consensus, retries, idempotency, async messaging, multi-tenancy, or…. Designing Distributed System Tests is an agent skill from shenli/distributed-system-testing. Use when designing a test plan for a distributed or stateful system — anything with persistence, replication, consensus, retries, idempotency, async messaging, multi-tenancy, or partial failure.
Designing Distributed System Tests fits situations like: designing a test plan for a distributed; stateful system — anything with persistence; async messaging; partial failure.
Run `npx skills add shenli/distributed-system-testing --skill designing-distributed-system-tests -a claude-code`. Or copy the skill folder (skills/designing-distributed-system-tests in shenli/distributed-system-testing) into .claude/skills/designing-distributed-system-tests in your project. Claude Code loads it when a task matches its description.
Run `npx skills add shenli/distributed-system-testing --skill designing-distributed-system-tests -a codex`. Or copy the skill folder (skills/designing-distributed-system-tests in shenli/distributed-system-testing) into .agents/skills/designing-distributed-system-tests in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add shenli/distributed-system-testing --skill designing-distributed-system-tests -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/designing-distributed-system-tests, .gemini/skills/designing-distributed-system-tests, .github/skills/designing-distributed-system-tests and .opencode/skills/designing-distributed-system-tests in your project.
SKILL.md names no scripts, command-line tools or credentials: Designing Distributed System Tests is instructions for the agent only.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Designing Distributed System Tests is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 7k tokens (SKILL.md is roughly 28k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 15k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Designing Distributed System Tests: Test Commander (EliasOulkadi/shokunin, 114 stars), Frontmcp Testing (agentfront/frontmcp, 146 stars), Qe Test Execution (proffesor-for-testing/agentic-qe, 494 stars) and Azure Playwright Workspaces (MicrosoftDocs/Agent-Skills, 777 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
shenli (a GitHub user) maintains it in shenli/distributed-system-testing, which has 231 GitHub stars. The repository holds 2 skills in this directory. The repository was last updated on July 21, 2026.
Source: shenli/distributed-system-testing on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.