antithesis-mutation-testing
БесплатноЗапускает вложенные скриптыНе проверенValidate that an Antithesis property catalog can actually catch bugs. For each safety property, inject one realistic mutant into the SUT, run it, and confirm…
от antithesishq★ 313 звёзд на GitHubОб этом скилле
Antithesis Mutation Testing
Skill version: 2026-11-12 6ba10e2
Purpose and Goal
Validate the oracle, not the system under test.
A green run shows nothing bad was observed — not that the property would have noticed. Mutation testing removes that ambiguity: for each property, inject one realistic bug designed to break exactly that property, run it under Antithesis, and confirm the property fires.
Success means:
- Every in-scope property is falsified by a mutant, or carries one of the other four verdicts: not mutatable, outstanding, withdrawn, or refined (see
references/evidence-and-report.md, "Verdicts and qualifiers") - Each falsification is backed by a run whose evidence shows the property failed for the predicted reason, not as collateral from an unrelated cascade
- Bad oracles and workload gaps found along the way are fixed; bad properties are routed back to
antithesis-research antithesis/scratchbook/mutation-testing/report.mdrecords the outcome for every in-scope property, with the run that proves it- The user's working tree carries no mutation — every mutant lives in the fork, and
clean.shconfirms it. Authorized fixes may land there; a mutation never does
This skill requires the antithesis plugin.
Use the antithesis-research skill to build the property catalog,
/antithesis workload to build the harness and workload, and
/antithesis properties to implement assertions. Use /antithesis launch to
submit runs — do not run snouty launch directly. Use /antithesis triage to
read results.
Prerequisites
- If the Antithesis scratchbook (usually
antithesis/scratchbook/) is missing, or has fallen behind the assertions in the code, reconstruct a catalog from those assertions plus the baseline run — seereferences/catalog-reconstruction.md. This is not a blocker; it does narrow what the sweep can claim. - DO NOT PROCEED if the Antithesis config directory contains a
manifests/subdirectory. Kubernetes harnesses are not supported yet: mutant selection works by building one image per mutant and swapping the tag indocker-compose.yaml. Tell the user this and stop. Check this before the compose check below — a Kubernetes harness has nodocker-compose.yaml. - DO NOT PROCEED if there is no
docker-compose.yamlfor Antithesis and nomanifests/directory either. Use/antithesis workloadto create the compose harness. - DO NOT PROCEED if the SUT and workload contain no Antithesis SDK assertions at all. Use
/antithesis propertiesfirst — there is no oracle to validate, and a reconstruction cannot stand in for this one. - DO NOT PROCEED if
snoutyis not installed. Seehttps://raw.githubusercontent.com/antithesishq/snouty/refs/heads/main/README.mdfor installation options. - DO NOT PROCEED if
snoutyis older than 0.8.0. Usesnouty --versionto find the version. Usesnouty updateto update. - DO NOT PROCEED if no SUT service is built from source in this repo. A partial case — some services built from source, some prebuilt — is fine, and is handled by scoping (below).
The baseline gate
A green baseline at the current code state is required before any mutant is designed. Mutation testing on a buggy SUT measures nothing: you cannot tell a property that fired because of your mutant from one that was already failing.
Green means: every safety-class property (Always, AlwaysOrUnreachable,
Unreachable) passes.
Separately, check which of the properties you intend to mutate actually appear
in the run's property list. This needs the catalog-slug to property-name
mapping — a run reports the assertion's message string as name, not your
slug — so build it now, per references/sweep-and-verdicts.md, "Map slugs to
property names first". An assertion Antithesis never cataloged cannot be
falsified; this does not fail the gate. Scope each missing one out as
outstanding — not cataloged and continue with the rest
(references/catalog-reconstruction.md diagnoses why it is missing) — except on
a fallback-SDK or JavaScript service, where absence means only "not hit in this
run": mutate those like any other, reading the marker from run events
(references/catalog-reconstruction.md, the join table). Only if
none of them appear is the harness broken rather than incomplete: stop and
report that.
Check the instrumentation signals too — Software was instrumented, Symbols were uploaded, Thread pausing was enabled (/antithesis triage,
references/triage/instrumentation.md). Report them, but gate on them only for a
language that supports coverage instrumentation. Python is cataloging-only and
the fallback SDK emits none; there the fuzzer has no coverage feedback to steer
toward a divergence, so prefer a longer re-run to a bad oracle diagnosis for a
survivor, and say so in the report.
Green does not require every property in the run to pass:
- A failing `Reachabl
Установить antithesis-mutation-testing в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл antithesis-mutation-testing?
Validate that an Antithesis property catalog can actually catch bugs. For each safety property, inject one realistic mutant into the SUT, run it, and confirm the targeted property fires. Diagnoses survivors as a bad mutant, bad oracle, bad workload, or bad property, and routes fixes back to the antithesis plugin's workload module or antithesis-research. Use once the harness is built and a baseline run is green.
Как установить скилл antithesis-mutation-testing?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл antithesis-mutation-testing запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
agent-skill-stack
Find, evaluate, and assemble the smallest compatible set of AI Agent Skills for an end-to-end natural-language goal. Use when a user wants Skills for a…
от GitHubbuild-evidence-map
Build an auditable evidence map for a contested technical choice, research synthesis, proposal review, or consequential decision. Use when Copilot must…
от GitHubpinecone-rag
Build production RAG pipelines and persistent agent memory using Pinecone as the vector database backend. ALWAYS USE THIS SKILL when the user mentions…
от GitHubqdrant-monitoring-debugging
Diagnoses Qdrant production issues using metrics and observability tools. Use when someone reports 'optimizer stuck', 'indexing too slow', 'memory too high'…
от GitHub