Add Mutation Testing — Testing skill for Claude Code
Setup mutation testing with mutmut for Python projects.
How to install Add Mutation Testing
Installs to ~/.claude/commands/jaredmcfarland-mixpanel_data-add-mutation-testing.md
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/jaredmcfarland/mixpanel_data/HEAD/.claude/commands/add-mutation-testing.md -o ~/.claude/commands/jaredmcfarland-mixpanel_data-add-mutation-testing.md Restart Claude Code, or start a new session, for it to be picked up.
What Add Mutation Testing does
description: Setup mutation testing with mutmut for Python projects
Setup Mutation Testing
Configure mutmut for mutation testing to evaluate Python test suite quality.
Instructions
1. Analyze Test Suite
- Review existing pytest test coverage
- Identify critical modules and business logic to target
- Check current test quality (do tests verify values or just execution?)
2. Install and Configure
pip install mutmut
Add to `setup.cfg` or `pyproject.toml`:
``
Alternatives in Testing
- Gstack — 15,000+ Garry Tan's exact Claude Code setup: 6 opinionated tools that serve as CEO, Eng Manager, Release Manag 33.9k ★
- Test Runner — Run Python tests with pytest, unittest, or other testing frameworks 23.4k ★
- Marketing Skills Versions — Current versions of all skills 13.8k ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Claude Python Setup
A CLAUDE.md template for setting up modern Python development environments with uv, ruff, pytest, and automate
Coding Interview Prep With Agents
Agent-guided coding interview prep for any role: training workflows, original exercises, Python test helpers,
Setup Capi
Generate production-ready Meta Conversions API server-side tracking for Shopify, Stripe, Node, Python, or Next
Environment Setup
Dependency doctor for the simpleharness harness — checks pwsh / gh / ripgrep / ast-grep / python / node, insta
Kill Mutants
Analyze surviving mutants from a mutation testing run and write targeted unit tests to kill them. Re-runs muta
Mmut
Run mutation testing to validate unit tests
Related Agents
Mutation Auditor
测试有效性审计专家。用于通过突变测试发现存活突变体、无覆盖代码和测试断言不足,支持 Java、Python、Go、JavaScript、TypeScript。只报告,不修改代码或测试。
QA Test Mutator
Mutation testing worker that applies code mutations one at a time and reports which tests catch them
Adequacy Auditor
Meta adversary - finds where the test suite's own assertions don't bite, via mutation testing. A green suite i