designing-distributed-system-tests

designing-distributed-system-tests is a skill for Claude Code from shenli/distributed-system-testing. It costs 151 tokens per session (6,666 once invoked), scanned A, original, MIT.

A test-planning guide for distributed or stateful systems—software spread across machines or storing data over time. It focuses on failures involving replication, consensus, retries, messaging, partial outages, and multiple customers or tenants.

In plain words
What is it for?
Use it to create change-specific or project-wide test plans, identify likely failure modes, choose test techniques, and produce a structured plan for a person or another tool to run.
Why use it?
Basic integration tests often miss bugs caused by timing, machine failures, duplicate requests, or lost messages.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions CLAUDE.md; mentions AGENTS.md.

Part of the distributed-testing-skills plugin — 2 skills shipped together

Good fit Use it to create change-specific or project-wide test plans, identify likely failure modes, choose test techniques, and produce a structured plan for a person or another tool to run.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/shenli/distributed-system-testing/designing-distributed-system-tests
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add shenli/distributed-system-testing --skill designing-distributed-system-tests
Clone the repo
git clone --depth 1 https://github.com/shenli/distributed-system-testing

Made for: Claude Code.

Or install distributed-testing-skills, the plugin that ships this one along with the rest of its 2 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for designing-distributed-system-tests

README.md
[![agentmods](https://agentmods.dev/badge/skills/shenli/distributed-system-testing/designing-distributed-system-tests/github.svg)](https://agentmods.dev/skills/shenli/distributed-system-testing/designing-distributed-system-tests)
Your own site
<a href="https://agentmods.dev/skills/shenli/distributed-system-testing/designing-distributed-system-tests"><img src="https://agentmods.dev/badge/skills/shenli/distributed-system-testing/designing-distributed-system-tests/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for designing-distributed-system-tests

Your own site · 80×15
<a href="https://agentmods.dev/skills/shenli/distributed-system-testing/designing-distributed-system-tests"><img src="https://agentmods.dev/badge/skills/shenli/distributed-system-testing/designing-distributed-system-tests.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 151 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,666 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00151 $0.06666
Opus 5.5 $0.00060 $0.02666
Sonnet 5.5 $0.00030 $0.01333
Haiku 4.5 $0.00015 $0.00667

Measured 20d ago against content hash d5a0e09b102c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

designing-distributed-system-tests scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 20d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/designing-distributed-system-tests/SKILL.md · 582 lines

How it starts

The opening of the file, as written. The whole thing — 582 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Designing Distributed-System Tests

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.

Plan modes

This skill produces two shapes of plan. Decide which one applies before you start; the steps below branch on it.

  • Change-scoped — the default. Use when the caller names a commit, PR, branch-diff, or feature. The plan covers what this change could regress, scoped by its blast radius.
  • Project-wide — use when the caller asks for a "release-validation plan", "stability plan for the whole system", "test plan to enough coverage", "what should we be testing", or otherwise frames the request without a specific change. The plan covers what the system should be tested for, with an explicit inventory of existing tests and a gap analysis driving the new-scenario list.

If the framing is ambiguous, ask once before starting — the modes diverge enough that retrofitting one into the other wastes work.

Process

Follow these steps in order. Do not skip; the order matters because later steps depend on artifacts the earlier steps produce.

1. Scope the system

Read the project's entry points: README, AGENTS.md or CLAUDE.md, top-level docs/, any existing test-plan or runbook files. Note:

  • Tenancy / isolation model
  • Persistence model (what is durable, fsync contract)
  • Replication / consensus protocol, quorum, leadership
  • Ordering guarantee exposed to clients
  • Network boundaries (which RPCs / streams)
  • Retry / idempotency contract
  • Observability (logs, metrics, traces) available to an oracle

Write this as a one-paragraph SUT model. If anything is ambiguous from the repo, ask the user before proceeding — do not invent guarantees.

Read the full file on GitHub · 582 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 20d ago Changed · +22 lines · +151 tokens per session d5a0e09b102c
  2. 3mo ago First seen · 560 lines · 0 tokens per session scan A 739f8930711d

Subscribe to this mod's changes

designing-distributed-system-tests is a skill published in the GitHub repository shenli/distributed-system-testing (231 stars, last pushed 20d ago), licensed MIT. It adds 151 tokens to every session and 6,666 once invoked, about $0.0006 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

designing-distributed-system-tests compared with skills from other repositories

designing-distributed-system-tests next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
designing-distributed-system-testsshenli/distributed-system-testingSkill23120d agoMITA151Claude Code
docker-local-buildkurtosis-tech/kurtosisSkill56011d agoApache-2.0A56Claude Code, Codex
starlark-devkurtosis-tech/kurtosisSkill56011d agoApache-2.0A50Claude Code, Codex
docker-debugkurtosis-tech/kurtosisSkill56011d agoApache-2.0A45Claude Code, Codex
k8s-debug-podskurtosis-tech/kurtosisSkill56011d agoApache-2.0A62Claude Code, Codex
k8s-clean-clusterkurtosis-tech/kurtosisSkill56011d agoApache-2.0A59Claude Code, Codex
engine-managekurtosis-tech/kurtosisSkill56011d agoApache-2.0A54Claude Code, Codex