shenli avatar

Designing Distributed System Tests

Takes the claim-driven approach to distributed system testing and turns it into a structured plan. You feed it a PR, feature, or whole system, and it mines your docs and code for guarantees (linearizability, durability, tenant isolation, idempotency), then generates hypotheses that try to falsify those claims under faults. It knows the techniques that matter (Jepsen, deterministic simulation, chaos injection, property testing) and organizes scenarios by what could actually break in production: partition tolerance, crash recovery, noisy neighbors, upgrade safety. For project-wide plans it inventories existing tests and does gap analysis. The output is a Markdown file with hypothesis-driven scenarios you can hand off to the executing skill or run yourself. Honest take: this encodes the kind of paranoid, literature-informed testing discipline most teams skip because they don't know where to start.

GitHub stars
217
last updated
May 22, 2026

Install

$ npx -y skills add shenli/distributed-system-testing --skill designing-distributed-system-tests --agent claude-code

Installs into .claude/skills of the current project.

Files

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.

Sponsors

Details

Repository
github.com/shenli/distributed-system-testing
Categories
Testing & QA, Productivity & Planning
License
MIT
First seen
Jun 11, 2026

More from shenli/distributed-system-testing

All 2
1mattpocock avatargrillingmattpocock/skillsGrill the user relentlessly about a plan, decision, or idea. Use when the user wants to stress-test their thinking, or uses any 'grill' trigger phrases.1.1Mskills.sh installs
2mattpocock avatarsetup-pre-commitmattpocock/skillsSet up Husky pre-commit hooks with lint-staged (Prettier), type checking, and tests in the current repo. Use when user wants to add pre-commit hooks, set up Hus537.8Kskills.sh installs
3mattpocock avatarmigrate-to-shoehornmattpocock/skillsMigrate test files from `as` type assertions to @total-typescript/shoehorn. Use when user mentions shoehorn, wants to replace `as` in tests, or needs partial te523.9Kskills.sh installs
4anthropics avatarskill-creatoranthropics/skillsCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an e428.1Kskills.sh installs
5stablyai avatarorca-clistablyai/orcaUse the public `orca` CLI to operate Orca-managed worktrees, folder contexts, terminals, repos, automations, artifacts, skill sharing, worktree comments, and th360.1Kskills.sh installs
6obra avatarsystematic-debuggingobra/superpowersUse when encountering any bug, test failure, or unexpected behavior, before proposing fixes326.7Kskills.sh installs