/gabbe:mutation-testingfrom GABBE
Measures test quality by introducing code mutations and detecting survivors. Supports Python, JS/TS, Java, C#, and Rust with ecosystem-specific tools.
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.
A mutation tool makes small faults ("mutants") in the code and re-runs the tests; a mutant the tests do not catch (a survivor) shows a missing or weak test. Score = (killed + timed-out mutants) / (all mutants - skipped or unviable ones). It adds evidence to G3 (coverage); it does not replace it. Report: agents/templates/coding/MUTATION_REPORT_TEMPLATE.md.
| Ecosystem | Tool | Install | Run |
|---|---|---|---|
| Python | mutmut | pip install mutmut | mutmut run, then mutmut browse |
| JavaScript/TypeScript | StrykerJS | npm init [email protected] | npx stryker run |
| Java | PIT | plugin in pom.xml | mvn test-compile org.pitest:pitest-maven:mutationCoverage |
| C# | Stryker.NET | dotnet tool install -g dotnet-stryker | dotnet stryker in the test project |
| Rust | cargo-mutants | cargo install --locked cargo-mutants | cargo mutants |
No tool is listed for another language: say so in the report and use level 1 without a floor. Done when the tool runs once on the project. 2. Scope to changed code, not the whole repository.
git diff origin/main > changes.diff then cargo mutants --in-diff changes.diff.mutate to the changed files, for example "mutate": ["src/orders/*.ts", "!src/**/*.spec.ts"]; --incremental reuses earlier results (stored in reports/stryker-incremental.json).dotnet stryker --since:main.mutmut run "my_module*" or only_mutate in [tool.mutmut]; it re-tests only changed functions between runs.targetClasses and targetTests; its documented change-based mode comes from the paid arcmutate extension, so do not assume it.mutants.out/missed.txt; mutmut: mutmut browse; Stryker and PIT: the HTML report). Classify it:
ASSURANCE_PLAN (or AGENTS.md). Enforce it in CI where the tool supports it: Stryker thresholds.break, Stryker.NET --break-at, PIT mutationThreshold.MUTATION_REPORT: scope, tool and version, score, survivors and decisions.A floor is the lowest score a change may have; below it the change is not done. The human sets it and records it in the plan. The agent proposes a starting value after a first measured run and never lowers it. A floor of 100 percent is not a goal because of equivalent mutants.
The filled MUTATION_REPORT (scope, tool and version, score, survivors and decisions) and any new tests.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Python, TypeScript, JavaScript, Java, C#, Rust
mutation-testing, test-quality, stryker, mutmut, pitest, cargo-mutants
npx claudepluginhub andreibesleaga/gabbe --plugin gabbe49 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./assurance-ladderChoose how strongly a component must be verified, from plain tests (level 0) to a machine-checked proof of a small core (level 3), record the choice in an ASSURANCE_PLAN, and know which evidence each level leaves. Use at S01/S02 when planning verification, when a requirement mentions concurrency, money, authorisation or safety, or when asked how sure we are that code is correct. Use when: assurance level, how strongly to verify, formal verification, choose verification level, assurance plan, prove correctness, model checking, high-risk component./audit-trailAppends one structured row per decision, phase change, approval or failure to agents/memory/AUDIT_LOG.md. Use when a decision, human approval, gate result or task outcome must be recorded, or when someone asks why something was done./characterization-testsUse before changing code that has no tests or weak tests. Pins what the code does today with golden-master and characterisation tests, handles non-determinism, and records a coverage baseline, so later changes can be checked against it. Use when: characterization test, characterisation test, golden master, approval test, pin behaviour, no tests, legacy tests, snapshot current behaviour, baseline coverage.Other plugins' skills for the same job