Skip to content
Development
Command

/mutate

Run mutation testing to evaluate test suite effectiveness.

From plugin
rohitg00-claude-code-toolkit
2.8k199 skills138 agents199 commands
$ npx -y skills add rohitg00/awesome-claude-code-toolkit --agent claude-code

Command definition

mutate.md
name: mutate
description: Run mutation testing to evaluate test suite effectiveness.

/mutate - Run Mutation Testing

Run mutation testing to evaluate test suite effectiveness.

Steps

1. Detect the project language and testing framework from configuration files 2. Check if a mutation testing tool is installed (Stryker for JS/TS, mutmut for Python, PITest for Java) 3. If not installed, provide installation instructions for the appropriate tool 4. Identify the source files and their corresponding test files 5. Configure mutation operators: arithmetic, conditional, string, return value mutations 6. Run the mutation testing tool on the target source files 7. Monitor progress: total mutants generated, killed, survived, timed out 8. Calculate the mutation score (killed / total * 100) 9. List survived mutants with file location, line number, and mutation description 10. For each survived mutant, identify which test should have caught it 11. Suggest specific test cases to write for the top 10 survived mutants 12. Save the mutation report to the reports directory

Rules

  • Start with a single file or module to keep execution time reasonable
  • Set a timeout per mutant of 10x the normal test execution time
  • Exclude test files, configuration files, and generated code from mutation
  • A mutation score below 80% indicates weak test coverage
  • Focus on survived mutants in critical business logic first
  • Do not count equivalent mutants (mutations that produce identical behavior)
  • Report execution time and mutant count for performance tracking
Read more
@rohitg00
Ships withrohitg00-claude-code-toolkit

The most comprehensive toolkit for Claude Code -- 135 agents, 35 curated skills (+400,000 via SkillKit), 42 commands, 176+ plugins, 20 hooks, 15 rules, 7 templates, 15 MCP configs, 26 companion apps, 53 ecosystem entries, and more.

2.8k40 skills138 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
2.8k
Star history of rohitg00/awesome-claude-code-toolkit on GitHub, a chart by star-history.com

Other commands on rohitg00-claude-code-toolkit.

More commands from other plugins.

build
Auto-invoked

build

Command

Implement tasks incrementally — build, test, verify, commit. Add "auto" to run the whole plan in one approved pass.

@addyosmani@addyosmaniInstall Command