/gabbe:testing-strategyfrom GABBE
Guides choosing a testing strategy (pyramid, trophy, contract, property, metamorphic, chaos) and writing a TEST_PLAN.md. Useful when planning test coverage for new projects or features.
Ships in GABBE. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
To help the user or agent define what to test, how to test it, and where to focus effort based on the project architecture.
Best for: Monoliths, Backend-heavy apps.
Best for: React/Next.js apps, UI-heavy frontends. (For microservices, prefer Contract Testing — see below.)
Best for: Distributed systems where teams work independently.
Example-based unit/integration tests only exercise the cases a human thought to write. The following four tiers attack the gaps — covering input spaces, relations, failure modes, and the quality of the tests themselves.
pbt-strategy.skill): Instead of asserting on hand-picked examples, declare properties (invariants) that must hold for all inputs, then let a generator (Hypothesis, fast-check) throw thousands of randomized cases at the function and shrink any counterexample to its minimal form. Best for parsers, serializers, encoders/decoders (round-trip properties), and pure business logic where you can state "for all X, this must be true."metamorphic-testing.skill): For systems with no easy oracle (ML models, search ranking, numerical/optimization code, LLM pipelines), you cannot assert the exact output — but you can assert relations between related inputs. E.g. "translating A→B→A preserves meaning," "adding an irrelevant doc must not change the top result," "scaling all prices by 2x doubles the total." Metamorphic relations turn an unknowable correct answer into a checkable consistency rule.chaos-fault-injection.skill): Verify resilience by deliberately injecting failures — kill processes, drop network packets, inject latency, exhaust disk/memory, return 500s from dependencies — and assert the system degrades gracefully (circuit breakers trip, retries back off, no data loss). Tests the failure paths that happy-path suites never touch; tools include Toxiproxy, Chaos Mesh, and pytest-level dependency stubs that raise on demand.mutation-testing.skill): Measures test-suite quality rather than code behavior. A mutation tool (e.g. mutmut for Python, Stryker for JS) introduces small faults ("mutants") into the source — flip a < to <=, swap + for -, drop a statement — and re-runs the tests. A mutant that survives means no test detected the change, exposing a coverage blind spot. The mutation score (killed mutants ÷ total mutants) is a far stronger signal of test effectiveness than line coverage, which the "100% Coverage" Fallacy below warns against.Tests verify determinism; evals score probabilistic quality — see eval-driven-development.skill.
TEST_PLAN.md using templates/coding/TEST_PLAN_TEMPLATE.md.AGENTS.md lists; for a new tool check that it is maintained.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
49 skills in this plugin
/adr-writerGenerate Architecture Decision Records for significant technical decisions. Use when: architecture decision, ADR, why did we choose, why are we using, architectural choice./api-designAPI contract (OpenAPI, GraphQL SDL or proto) written before code, with resources, errors, pagination and authentication. Use when a new endpoint or API is needed or the contract of an existing one must change./arch-designArchitecture design from approved requirements — quality scenarios, style choice, decomposition, 4+1 or arc42 views, ADRs and risks. Use when a new system or major subsystem needs an architecture before implementation planning.npx claudepluginhub andreibesleaga/gabbe --plugin gabbeOther plugins' skills for the same job