Mutation Testing Campaign Configuration

VerifiedCaution

Configures and optimizes mutation testing campaigns using mewt or muton. Use to initialize, scope, and run efficient campaigns.

Sby Skills Guide Bot
TestingIntermediate
7/22/2026
Claude CodeCursorWindsurfCopilotCodex
#mutation-testing#test-quality#mewt#campaign-config#ton-contracts

Recommended for

Automated summary

Walks through configuring a mutation testing campaign with mewt (Rust, Go, TypeScript, JavaScript, Solidity) or muton (TON contracts in Tact, Tolk, FunC), covering target scoping, timeout tuning, and optimization of long-running runs.

Strengths

  • Follows a 5-phase path from `mewt init` to a validated, ready-to-run campaign
  • Offers concrete optimization strategies: per-file targeting, two-phase campaigns, and mutation type filtering
  • Ships an inspection command index (`print config`, `print targets`, `print mutants --severity`, `test --ids`) to check scope and re-test specific mutants
  • Explains how to read results (Caught/Uncaught/Timeout/Skipped) to interpret a campaign

Limitations

  • Does not cover analyzing or reporting on campaigns that already finished
  • Gives no installation steps for the mewt/muton binaries, assuming the tool is present
  • Specific to the mewt/muton ecosystem, with no equivalent for Stryker or PIT
When to use it

Use it whenever the user mentions mewt, muton, or mutation testing and wants to set up, tune, or speed up a campaign.

When not to use it

Avoid it for analyzing finished campaign results or for test and coverage questions unrelated to mutation testing.

Security analysis

Caution
Quality score80/100

The skill is documentation for configuring a mutation-testing campaign. It grants Bash/Write/Read/Grep, and the examples run build/test tooling against the user's repo, which is a legitimate but powerful capability. There is no obfuscated payload, no piping remote scripts to a shell, no secret/token handling, and no destructive commands, so the risk is limited to the normal footprint of running a test harness.

Findings
  • •Declares Bash and Write access, so the agent can execute arbitrary shell commands and modify repository files while running mewt/muton campaigns
  • •Only muton/mewt CLI invocations are instructed (init, mutate, run, print, status, test), with no exfiltration, credential access, or destructive file operations
How this analysis is made

Examples

Init a Rust campaign
mewt n'est pas encore configuré dans mon projet Rust — aide-moi à lancer mewt init et à définir le périmètre des fichiers ciblés.
Speed up a slow run
My mewt run takes hours on a large TypeScript repo. How can I narrow the targets, use two-phase campaigns, and tune timeouts to make it faster?
Set up muton for Tact contracts
Configure muton for my Tact smart contracts and filter which mutation types are applied.

name: mutation-testing description: "Configures mewt or muton mutation testing campaigns — scopes targets, tunes timeouts, and optimizes long-running runs. Use when the user mentions mewt, muton, mutation testing, or wants to configure or optimize a mutation testing campaign." allowed-tools: Read Write Bash Grep

Mutation Testing — Campaign Configuration (mewt/muton)

Note: muton and mewt share identical interfaces but target different languages — mewt for general-purpose languages (Rust, Solidity, Go, TypeScript, JavaScript), muton for TON smart contracts (Tact, Tolk, FunC). All examples use mewt commands, but they work exactly the same with muton. File names change accordingly: mewt.toml → muton.toml, mewt.sqlite → muton.sqlite.

When to Use

Use this skill when the user:

  • Mentions "mewt", "muton", or "mutation testing"
  • Needs to configure or optimize a mutation testing campaign
  • Wants to run mewt run and needs help getting set up first

When NOT to Use

Do not use this skill when the user:

  • Wants to analyze or report on completed campaign results
  • Asks about tests or coverage without mentioning mutation testing

Quick Start

Load workflows/configuration.md — a 5-phase guide from mewt init to a validated, ready-to-run campaign.

General question or unfamiliar command? Run mewt --help or mewt <subcommand> --help, then assist.


Reference Index

| File | Content | |------|---------| | workflows/configuration.md | 5-phase guide: init, scope, optimize, validate, run | | references/optimization-strategies.md | Per-file targeting, two-phase campaigns, mutation type filtering |


Essential Commands

# Initialize and mutate
mewt init                    # Create mewt.toml and mewt.sqlite
mewt mutate [paths]          # Generate mutants without running tests
mewt run [paths]             # Run the full campaign

# Inspect configuration and scope
mewt print config            # View effective configuration
mewt print targets           # Table of all targeted files
mewt print mutations --language [lang]  # Available mutation types
mewt status                  # Mutant count and per-file breakdown

# Investigate specific mutants
mewt print mutants --target [path]   # All mutants for a file
mewt print mutants --severity high   # Filter by severity
mewt print mutant --id [id]          # View mutated code diff
mewt test --ids [ids]                # Re-test specific mutants

What Results Mean

  • Caught/TestFail: Tests detected the mutation (good)
  • Uncaught: Mutation survived — indicates untested logic
  • Timeout: Tests took too long, inconclusive
  • Skipped: A more severe mutant already failed on the same line

From the file to a first result

The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.

View the source and supporting files

This download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.

1. Download the file

Download SKILL.md

From the root of a test project, save the file as .skill-downloads/mutation-testing-campaign-configuration-mrwakazg/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.

Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.

mkdir -p '.skill-downloads/mutation-testing-campaign-configuration-mrwakazg' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/mutation-testing-campaign-configuration-mrwakazg/download' --output '.skill-downloads/mutation-testing-campaign-configuration-mrwakazg/SKILL.md.part' && mv '.skill-downloads/mutation-testing-campaign-configuration-mrwakazg/SKILL.md.part' '.skill-downloads/mutation-testing-campaign-configuration-mrwakazg/SKILL.md'

2. Check prerequisites

Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.

Tools declared by the author (check availability in your agent): Read Write Bash Grep

No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.

The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.

3. Load the skill

After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.

Claude Code
test -f '.skill-downloads/mutation-testing-campaign-configuration-mrwakazg/SKILL.md' && test -s '.skill-downloads/mutation-testing-campaign-configuration-mrwakazg/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/mutation-testing' && cp -R '.skill-downloads/mutation-testing-campaign-configuration-mrwakazg' '.claude/skills/mutation-testing'

Cursor
test -f '.skill-downloads/mutation-testing-campaign-configuration-mrwakazg/SKILL.md' && test -s '.skill-downloads/mutation-testing-campaign-configuration-mrwakazg/SKILL.md' && mkdir -p '.cursor/skills' && test ! -e '.cursor/skills/mutation-testing' && cp -R '.skill-downloads/mutation-testing-campaign-configuration-mrwakazg' '.cursor/skills/mutation-testing'

Codex
test -f '.skill-downloads/mutation-testing-campaign-configuration-mrwakazg/SKILL.md' && test -s '.skill-downloads/mutation-testing-campaign-configuration-mrwakazg/SKILL.md' && mkdir -p '.agents/skills' && test ! -e '.agents/skills/mutation-testing' && cp -R '.skill-downloads/mutation-testing-campaign-configuration-mrwakazg' '.agents/skills/mutation-testing'

OpenSkills

OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.

Official OpenSkills installation
openskills install './.skill-downloads/mutation-testing-campaign-configuration-mrwakazg'

openskills read 'mutation-testing-campaign-configuration-mrwakazg'

Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.

For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.

openskills sync

Manual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.

4. Try a first task

Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:

Read .skill-downloads/mutation-testing-campaign-configuration-mrwakazg/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.

Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.

Related skills