E2E Test Thinker
UniClipboard/UniClipboard
Analyze the current branch's diff against main and determine which changes are testable via CLI-based end-to-end tests.
Run mutation testing to validate test quality beyond code coverage.
$ npx skills add jmagly/aiwg --skill mutation-test -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install jmagly/aiwg mutation-test --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/jmagly/aiwg.git skills-src && mkdir -p .claude/skills && cp -r skills-src/agentic/code/addons/testing-quality/skills/mutation-test .claude/skills/mutation-test && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "mutation-test" agent skill from https://github.com/jmagly/aiwg/tree/main/agentic/code/addons/testing-quality/skills/mutation-test into .claude/skills/mutation-test/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "mutation-test", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/jmagly/aiwg/tree/main/agentic/code/addons/testing-quality/skills/mutation-testType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add jmagly/aiwg --skill mutation-test -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install jmagly/aiwg mutation-test --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/jmagly/aiwg.git skills-src && mkdir -p .agents/skills && cp -r skills-src/agentic/code/addons/testing-quality/skills/mutation-test .agents/skills/mutation-test && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "mutation-test" agent skill from https://github.com/jmagly/aiwg/tree/main/agentic/code/addons/testing-quality/skills/mutation-test into .agents/skills/mutation-test/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "mutation-test", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add jmagly/aiwg --skill mutation-test -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install jmagly/aiwg mutation-test --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/jmagly/aiwg.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/agentic/code/addons/testing-quality/skills/mutation-test .cursor/skills/mutation-test && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "mutation-test" agent skill from https://github.com/jmagly/aiwg/tree/main/agentic/code/addons/testing-quality/skills/mutation-test into .cursor/skills/mutation-test/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "mutation-test", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/jmagly/aiwg.git --path agentic/code/addons/testing-quality/skills/mutation-test--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add jmagly/aiwg --skill mutation-test -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install jmagly/aiwg mutation-test --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/jmagly/aiwg.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/agentic/code/addons/testing-quality/skills/mutation-test .gemini/skills/mutation-test && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "mutation-test" agent skill from https://github.com/jmagly/aiwg/tree/main/agentic/code/addons/testing-quality/skills/mutation-test into .gemini/skills/mutation-test/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "mutation-test", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install jmagly/aiwg mutation-testInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add jmagly/aiwg --skill mutation-test -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/jmagly/aiwg.git skills-src && mkdir -p .github/skills && cp -r skills-src/agentic/code/addons/testing-quality/skills/mutation-test .github/skills/mutation-test && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "mutation-test" agent skill from https://github.com/jmagly/aiwg/tree/main/agentic/code/addons/testing-quality/skills/mutation-test into .github/skills/mutation-test/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "mutation-test", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add jmagly/aiwg --skill mutation-test -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install jmagly/aiwg mutation-test --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/jmagly/aiwg.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/agentic/code/addons/testing-quality/skills/mutation-test .opencode/skills/mutation-test && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "mutation-test" agent skill from https://github.com/jmagly/aiwg/tree/main/agentic/code/addons/testing-quality/skills/mutation-test into .opencode/skills/mutation-test/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "mutation-test", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
mutation-testRun mutation testing to validate test quality beyond code coverage.
Mutation Test is an agent skill from jmagly/aiwg. Run mutation testing to validate test quality beyond code coverage. Use when assessing test effectiveness, finding weak tests, or validating test suite quality.
Its SKILL.md is about 3.2k tokens, which your agent loads only when the skill is triggered. The skill folder holds 3 other files, including scripts (for example `scripts/aiwg_mutation_native_probe.py` and `scripts/native_extension_preflight.py`).
It sits in Testing & QA, covering Test coverage and Test generation. The repository describes itself as: Cognitive architecture for AI-augmented software development. Specialized agents, structured workflows, and multi-platform deployment. Claude Code · Codex · Copilot · Cursor ·… The licence is MIT.
5 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit dda238f. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Ships 2 files in scripts/ (Python), which the agent can run.
Shell commands in SKILL.md call:
pythonnpxmvnjqFrom the folder's file list and the shell code blocks in SKILL.md.
Links to these hosts (documentation or services it may open):
github.comconf.researchr.orgstryker-mutator.iopitest.orgFrom URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Mutation Test loads about 3.2k tokens when it runs. Until then it costs about 44 tokens; SKILL.md has 933 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.
The full file from jmagly/aiwg at commit dda238f, republished under its MIT licence (© jmagly). 933 words, ~3,188 tokens.
.claude/skills/mutation-test/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.Run mutation testing to measure test suite effectiveness. Mutation testing introduces small changes (mutants) to code and checks if tests catch them. High coverage with low mutation score indicates weak tests.
| Concept | Source | Reference |
|---|---|---|
| Mutation Testing Theory | IEEE TSE (2019) | Papadakis et al. "Mutation Testing Advances" |
| ICST Mutation Workshop | IEEE Annual | Mutation 2024 |
| Stryker Mutator | Industry Tool | stryker-mutator.io |
| PITest | Java Tool | pitest.org |
| mutmut | Python Tool | github.com/boxed/mutmut |
| Natural Language | Action |
|---|---|
| "Run mutation testing" | Execute mutation analysis |
| "Check if my tests are effective" | Run mutation + analyze |
| "Validate test quality" | Mutation score report |
| "Are my tests catching real bugs?" | Mutation analysis |
| "Find weak tests" | Identify low-score tests |
| "Why did this bug escape tests?" | Mutation analysis on module |
A mutant is a small code change that should cause tests to fail:
// Original
if (age >= 18) { return "adult"; }
// Mutant 1: Changed >= to >
if (age > 18) { return "adult"; }
// Mutant 2: Changed >= to ==
if (age == 18) { return "adult"; }
// Mutant 3: Changed "adult" to ""
if (age >= 18) { return ""; }| Operator | Example | Tests |
|---|---|---|
| Arithmetic | + → - | Math operations |
| Relational | >= → > | Boundary conditions |
| Logical | && → || | Boolean logic |
| Literal | true → false | Constant handling |
| Return | return x → return null | Return value handling |
Mutation Score = (Killed Mutants / Total Mutants) × 100| Score | Quality | Interpretation |
|---|---|---|
| 90%+ | Excellent | Tests are highly effective |
| 80-89% | Good | Target for production |
| 60-79% | Adequate | Room for improvement |
| <60% | Poor | Tests need significant work |
def mutation_tool(project_type):
if project_type == "javascript":
return "stryker"
elif project_type == "python":
return "mutmut"
elif project_type == "java":
return "pitest"Use the project's existing lockfile or approved dependency workflow. Record the resolved tool and version in the evidence; do not install an unpinned tool as an implicit side effect of this skill.
Stryker (JavaScript):
// stryker.config.json
{
"mutate": ["src/**/*.ts", "!src/**/*.test.ts"],
"testRunner": "vitest",
"reporters": ["html", "progress"],
"coverageAnalysis": "perTest",
"thresholds": {
"high": 80,
"low": 60,
"break": 50
}
}mutmut 3 (Python):
# pyproject.toml
[tool.mutmut]
source_paths = ["src/package/"]
only_mutate = ["src/package/critical_contract.py"]
pytest_add_cli_args = ["--no-cov", "-q"]
pytest_add_cli_args_test_selection = ["tests/test_critical_contract.py"]
mutate_only_covered_lines = trueKeep both only_mutate and the selected tests explicit. A directory-wide
fallback is not an acceptable substitute for a target that was selected to fit
the runtime budget.
PITest (Java):
<!-- pom.xml -->
<plugin>
<groupId>org.pitest</groupId>
<artifactId>pitest-maven</artifactId>
<version>1.15.0</version>
<configuration>
<targetClasses>
<param>com.example.*</param>
</targetClasses>
<mutationThreshold>80</mutationThreshold>
</configuration>
</plugin>mutmut 3's covered-line mode runs coverage and stats in the same parent Python
process. Its coverage phase snapshots sys.modules, runs the selected tests,
then unloads every newly imported module. A later stats pass can re-import a
native extension that cannot safely be initialized twice. This is an upstream
mutmut boundary, not a killed/survived mutant and not evidence that the project
tests failed. See mutmut #528.
Before any Python run with mutate_only_covered_lines = true, execute the
selected tests through the bundled subprocess probe:
python scripts/native_extension_preflight.py \
--test-selection tests/test_critical_contract.py \
--pytest-arg=--no-cov \
--pytest-arg=-q \
--mutation-target src/package/critical_contract.py \
--estimated-mutants 120 \
--max-children 4 \
--runtime-budget-seconds 900 \
--format jsonThe probe runs the test selection in a disposable subprocess and records native
modules imported after its pytest plugin loads. It never unloads or re-imports a
module. Use --import-file or --import-module for import-only checks when a
pytest selection is not yet available.
| Exit | Classification | Required action |
|---|---|---|
0 | preflight_safe | Covered-line mode may proceed; preserve the report. |
2 | harness_native_extension_reload_risk | Do not run mutmut covered-line mode. Use only an allowed bounded fallback or a project-approved subprocess-isolated tool. |
3 | project_test_or_import_failure | Fix or clarify the direct project test/import failure before mutation testing. |
4 | harness_preflight_timeout | Reduce the selection or increase the explicitly approved preflight budget. |
Detection is conservative. A safe result proves only that this selected run did not load a native extension after the probe boundary; change the selection or environment and the preflight must be repeated.
When a native extension is found, the supported mutmut fallback is
mutate_only_covered_lines = false, but only when the JSON report says
fallback.allowed: true. The fallback gate requires all of:
--mutation-target values matching only_mutate;--estimated-mutants count (do not guess);--max-children value;--runtime-budget-seconds value; andbaseline_test_seconds × estimated_mutants ÷ max_children × 1.5 to fit the
budget.If any bound is missing or the estimate exceeds budget, shrink the mutation
target or use a project-approved mutation harness whose coverage and stats
phases start in fresh subprocesses. Never silently widen only_mutate to
compensate for disabling covered-line selection.
# JavaScript
npx stryker run
# Python, only after the preflight decision is recorded
python -m mutmut run --max-children 4
# Java
mvn org.pitest:pitest-maven:mutationCoverageKeep harness/tool failures, direct project-test failures, and mutant outcomes in separate fields. For an existing mutmut log, the preflight script can classify known native reload signatures:
python scripts/native_extension_preflight.py \
--classify-mutmut-log mutation-run.log \
--format jsonRunning stats combined with cannot load module more than once per process,
module functions cannot set METH_CLASS or METH_STATIC, or a fatal segmentation
fault whose report lists extension modules is
harness_tool_failure_native_extension_reload. It must set
counts_as_mutant_outcome: false; do not compute a mutation score from that run.
failed to collect stats is supporting context, not a sufficient signature by
itself.
Only a direct test run that fails independently of the mutation harness is a
project_test_failure. Killed, survived, timeout, and no-tests results are
mutant outcomes only after preflight, baseline tests, stats collection, and the
mutation harness complete successfully.
def parse_mutation_results(report_path):
"""Parse mutation testing report"""
return {
"execution_mode": "mutmut-covered-lines-preflight-safe",
"harness_status": "passed",
"project_test_status": "passed",
"total_mutants": 150,
"killed": 120,
"survived": 25,
"timeout": 5,
"mutation_score": 80.0,
"survivors": [
{
"file": "src/auth/validate.ts",
"line": 45,
"mutator": "RelationalOperator",
"original": "age >= 18",
"mutant": "age > 18",
"status": "survived"
}
# ... more survivors
]
}## Mutation Testing Report
**Module**: src/auth/
**Test Suite**: test/auth/
**Execution mode**: mutmut covered-line mode (native-extension preflight safe)
**Harness status**: passed
**Project baseline tests**: passed
### Summary
| Metric | Value |
|--------|-------|
| Total Mutants | 150 |
| Killed | 120 (80%) |
| Survived | 25 (17%) |
| Timeout | 5 (3%) |
| **Mutation Score** | **80%** |
### Status: PASSED (threshold: 80%)
### Survived Mutants (Highest Priority)
#### 1. `src/auth/validate.ts:45`
```diff
- if (age >= 18) { return "adult"; }
+ if (age > 18) { return "adult"; }Problem: Boundary condition not tested
Fix: Add test case for age = 18
src/auth/login.ts:23- if (attempts < maxAttempts) { allow(); }
+ if (attempts <= maxAttempts) { allow(); }Problem: Off-by-one boundary not tested
Fix: Add test for attempts = maxAttempts
validate.ts (3 survivors)login.ts (2 survivors)session.ts (1 survivor)| File | Line Coverage | Mutation Score | Gap |
|---|---|---|---|
| validate.ts | 95% | 72% | 23% |
| login.ts | 88% | 85% | 3% |
| session.ts | 100% | 91% | 9% |
High coverage with low mutation score indicates weak assertions
## Integration with CI
### GitHub Actions Integration
```yaml
- name: Run mutation testing
run: npx stryker run --reporters json
- name: Check mutation threshold
run: |
SCORE=$(jq '.metrics.mutationScore' reports/mutation/stryker-incremental.json)
if (( $(echo "$SCORE < 80" | bc -l) )); then
echo "::error::Mutation score $SCORE% below 80% threshold"
exit 1
fiOnly test changed code:
# Stryker incremental
npx stryker run --incremental
# PITest history
mvn pitest:mutationCoverage -DwithHistory{
"mutate": [
"src/auth/**/*.ts",
"src/payment/**/*.ts",
"src/validation/**/*.ts"
]
}tdd-enforce - Enforce test-first developmentflaky-detect - Identify unreliable teststest-sync - Maintain test-code alignmentRun mutation testing for project:
python scripts/mutation_runner.py --module src/authAnalyze and prioritize survivors:
python scripts/mutation_analyzer.py --report stryker-report.jsonRun the isolated Python import/test preflight and emit machine-readable evidence:
python scripts/native_extension_preflight.py \
--test-selection tests/test_critical_contract.py \
--mutation-target src/package/critical_contract.py \
--estimated-mutants 120 --max-children 4 \
--runtime-budget-seconds 900 --format json© jmagly, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 2 other files (scripts) in agentic/code/addons/testing-quality/skills/mutation-test of jmagly/aiwg.
Open the folder on GitHubat commit dda238f
Mutation Test next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Mutation Test this skilljmagly/aiwg | 220 | — | ~3.2k | Automated safety check: Pass | MIT | |
| E2E Test ThinkerUniClipboard/UniClipboard | 1.8k | — | ~1.7k | Automated safety check: Pass | AGPL-3.0 | |
| Ralph Coveragejvm-skills/jvm-skills | 140 | — | ~683 | Automated safety check: Pass | Apache-2.0 | |
| Designing TestsCloudAI-X/opencode-workflow | 275 | — | ~2.9k | Automated safety check: Pass | MIT | |
| Mutation Testingproffesor-for-testing/agentic-qe | 494 | — | ~1.7k | Automated safety check: Pass | MIT | |
| Write Testsgnomeria/usbtree | 688 | — | ~622 | Automated safety check: Pass | MIT |
UniClipboard/UniClipboard
Analyze the current branch's diff against main and determine which changes are testable via CLI-based end-to-end tests.
jvm-skills/jvm-skills
Run Ralph in coverage mode — iteratively write tests for untested classes until coverage targets are met.
CloudAI-X/opencode-workflow
Guides test strategy, TDD/BDD approaches, test coverage planning, and testing best practices.
proffesor-for-testing/agentic-qe
Test quality validation through mutation testing, assessing test suite effectiveness by introducing code mutations and measuring kill rate.
gnomeria/usbtree
Author tests that match the repo's stack and existing test style, at the cheapest level that catches the regression.
Elite588/AUTOGPT
Analyze the current branch diff against dev, plan integration tests for changed frontend pages/components, and write them.
jmagly/aiwg
Review editorial phrase patterns and suggest contextual alternatives; legacy name does not imply authorship detection.
jmagly/aiwg
Apply a voice profile to transform content. An agent skill from jmagly/aiwg.
jmagly/aiwg
Configure TDD enforcement via pre-commit hooks and CI coverage gates.
jmagly/aiwg
Detect and use llms.txt files for LLM-optimized documentation.
jmagly/aiwg
Detect project type, AIWG framework state, team configuration, and active work to summarize status and recommend next actions
jmagly/aiwg
Manage artifact metadata, versioning, ownership, and review history across the SDLC lifecycle
Categories
Run mutation testing to validate test quality beyond code coverage. Mutation Test is an agent skill from jmagly/aiwg. Run mutation testing to validate test quality beyond code coverage.
Mutation Test fits situations like: assessing test effectiveness; finding weak tests; validating test suite quality.
Run `npx skills add jmagly/aiwg --skill mutation-test -a claude-code`. Or copy the skill folder (agentic/code/addons/testing-quality/skills/mutation-test in jmagly/aiwg) into .claude/skills/mutation-test in your project. Claude Code loads it when a task matches its description.
Run `npx skills add jmagly/aiwg --skill mutation-test -a codex`. Or copy the skill folder (agentic/code/addons/testing-quality/skills/mutation-test in jmagly/aiwg) into .agents/skills/mutation-test in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add jmagly/aiwg --skill mutation-test -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/mutation-test, .gemini/skills/mutation-test, .github/skills/mutation-test and .opencode/skills/mutation-test in your project.
Going by SKILL.md and its folder, Mutation Test needs Python for the scripts in its folder and the command-line tools its instructions call (python, npx, mvn and jq). Our summary lists: Python 3; Node.js.
SKILL.md names 4 domains. As links in the text: github.com, conf.researchr.org, stryker-mutator.io and pitest.org. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.
Mutation Test is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 3.2k tokens (SKILL.md is roughly 13k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Mutation Test: E2E Test Thinker (UniClipboard/UniClipboard, 1.8k stars), Ralph Coverage (jvm-skills/jvm-skills, 140 stars), Designing Tests (CloudAI-X/opencode-workflow, 275 stars) and Mutation Testing (proffesor-for-testing/agentic-qe, 494 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
jmagly (a GitHub user) maintains it in jmagly/aiwg, which has 220 GitHub stars. The repository holds 12 skills in this directory. The repository was last updated on October 5, 2026.
Source: jmagly/aiwg on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.