/skraft:mutation-testingfrom skraft
Classifies and kills surviving mutants from /skraft-mutation runs. Distinguishes real test gaps from equivalent mutants and writes boundary tests to eliminate real survivors.
Ships in skraft. 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.
None: SKILL.md is the whole skill.
Verify that tests actually catch bugs — not just execute code.
A test that kills no mutant is noise. DELETE IT.
Mutation testing never runs in the pipeline: every delivery records G6 not_run. The developer
runs /skraft-mutation, which asks for their command and runs it. You never install a mutation
tool, write its config or a mutation command, or run mutation on your own initiative.
Survivors come from the /skraft-mutation output (.copilot-tracking/mutation/qg-mutation.stdout),
one survived: <file>:<line> <detail> (<component> <scope>) line each, the file relative to the
repository. When the team reports none, read the tool's output in
.copilot-tracking/mutation/qg-mutation/<component>.log.
| Category | Action |
|---|---|
| Real gap — behavior change not caught | Write a boundary test to kill it |
| Equivalent mutant — no observable difference | Suppress it with the developer's tool, narrowly and with a reason, then rerun |
For each real survivor:
// Survivor: `age >= 18` → `age > 18`
[Fact]
public void WhenDriverIsExactly18_ShouldBeEligible()
{
// ... test the boundary value age=18
}
Frontend example: for age >= 18 mutated to age > 18, assert observable UI or
state behavior at exactly 18; do not assert the implementation expression./skraft-mutation command to confirm the kill.Use only the tool's source-level, single-construct suppression, with a reason: Stryker
// Stryker disable once <Mutator>: <reason>, cosmic-ray # pragma: no mutate -- <reason>.
Never broaden the tool's config, exclude files, or lower its threshold to buy the score: the
developer owns that config, and you do not edit it to buy the score.
| Survivors | Verdict |
|---|---|
| None | ✅ Done |
| Only equivalent mutants, each narrowly suppressed with rationale; rerun green | ✅ Done |
| Score below the bar, or any real survivor you can kill | ❌ Kill it, rerun |
| Category | Examples |
|---|---|
| Arithmetic | + ↔ -, * ↔ / |
| Comparison | > ↔ >=, < ↔ <=, == ↔ != |
| Boolean | true ↔ false, && ↔ ` |
| Conditional | negate conditions, remove if branch |
| Return value | return true → return false |
| LINQ | .Any() ↔ .All(), .First() ↔ .Last() |
DTO or ViewModel survivors still signal unasserted behavior.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
mutation-testing, test-quality, boundary-testing, stryker, cosmic-ray
44 skills in this plugin
/acceptance-review-criteriaUse when reviewing DISTILL artefacts (Gherkin scenarios, test plans, implementation plans) for quality, completeness, and alignment. Contains the gate definitions and scoring rubric for the acceptance-designer-reviewer lenses./adr-eligibility-gateUse when deciding WHETHER a candidate architectural choice deserves an architecture decision record, before any record is drafted: a story enters DESIGN with a list of candidate choices, a reviewer flags ADR inflation, or someone asks "should I write an ADR for X?", "how many ADRs does this story need?", "is this ADR-worthy?", "this feels like too many ADRs", "disambiguate baseline from decision". Runs a baseline-vs-decision gate over each candidate and returns ELIGIBLE or NOT ELIGIBLE with the baseline, convention or architecture test that already covers it. Do NOT use when the decision is already settled and the user asks for the record to be written, when the request is about the ADR template, status transitions, superseding or lifecycle, or when the question is which pattern to adopt — those belong to architecture-decisions and architecture-patterns.
/adversarial-review-lensesUse when reviewing a phase artifact — a discovery brief, a plan, a design, an acceptance specification, or a slice reported as delivered — and the review has to end in a defensible pass-or-block verdict rather than a list of remarks. Covers judging whether the artifact covers everything that fed into it, whether it matches the business intent, whether it holds together internally, and what it puts at risk downstream, then weighing those into a single call. Not for routine code review of an ordinary change.npx claudepluginhub sebastiendegodez/skraft-plugin --plugin skraftOther plugins' skills for the same job