/add-mutation-testing
Setup mutation testing for code quality
$ npx -y skills add qdhenry/Claude-Command-Suite --agent claude-codeHow it fires
How this command gets triggered: by you, by Claude, or both.
- Fires itselfClaude auto-loads it when your prompt matches the work.
- You can call itInvoke it directly when you want it.
- Slash command
/add-mutation-testing
Context preview
What this command does when you run it.
Setup mutation testing for code quality
Command definition
add-mutation-testing.mdAdd Mutation Testing
Setup mutation testing for code quality
Instructions
1. **Mutation Testing Strategy Analysis**
- Analyze current test suite coverage and quality
- Identify critical code paths and business logic for mutation testing
- Assess existing testing infrastructure and CI/CD integration points
- Determine mutation testing scope and performance requirements
- Plan mutation testing integration with existing quality gates
2. **Mutation Testing Tool Selection**
- Choose appropriate mutation testing framework:
- **JavaScript/TypeScript**: Stryker, Mutode
- **Java**: PIT (Pitest), Major
- **C#**: Stryker.NET, VisualMutator
- **Python**: mutmut, Cosmic Ray, MutPy
- **Go**: go-mutesting, mut
- **Rust**: mutagen, cargo-mutants
- **PHP**: Infection
- Consider factors: language support, performance, CI integration, reporting
3. **Mutation Testing Configuration**
- Install and configure mutation testing framework
- Set up mutation testing configuration files and settings
- Configure mutation operators and strategies
- Set up file and directory inclusion/exclusion rules
- Configure performance and timeout settings
4. **Mutation Operator Configuration**
- Configure arithmetic operator mutations (+, -, *, /, %)
- Set up relational operator mutations (<, >, <=, >=, ==, !=)
- Configure logical operator mutations (&&, ||, !)
- Set up conditional boundary mutations (< to <=, > to >=)
- Configure statement deletion and insertion mutations
5. **Test Execution and Performance**
- Configure mutation test execution strategy and parallelization
- Set up incremental mutation testing for large codebases
- Configure mutation testing timeouts and resource limits
- Set up mutation test caching and optimization
- Configure selective mutation testing for changed code
6. **Quality Metrics and Thresholds**
- Set up mutation score calculation and reporting
- Configure mutation testing thresholds and quality gates
- Set up mutation survival analysis and reporting
- Configure test effectiveness metrics and tracking
- Set up mutation testing trend analysis
7. **Integration with Testing Workflow**
- Integrate mutation testing with existing test suites
- Configure mutation testing execution order and dependencies
- Set up mutation testing in development and CI environments
- Configure mutation testing result integration with test reports
- Set up mutation testing feedback loops for developers
8. **CI/CD Pipeline Integration**
- Configure automated mutation testing in continuous integration
- Set up mutation testing scheduling and triggers
- Configure mutation testing result reporting and notifications
- Set up mutation testing performance monitoring
- Configure mutation testing deployment gates
9. **Result Analysis and Remediation**
- Set up mutation testing result analysis and visualization
- Configure surviving mutant analysis and categorization
- Set up test gap identification and remediation workflow
- Configure mutation testing regression tracking
- Set up automated test improvement recommendations
10. **Maintenance and Optimization**
- Create mutation testing maintenance and optimization procedures
- Set up mutation testing configuration version control
- Configure mutation testing performance optimization
- Document mutation testing best practices and guidelines
- Train team on mutation testing concepts and workflow
- Set up mutation testing tool updates and maintenance
Read more
Add Mutation Testing
Setup mutation testing for code quality
Instructions
1. **Mutation Testing Strategy Analysis**
- Analyze current test suite coverage and quality
- Identify critical code paths and business logic for mutation testing
- Assess existing testing infrastructure and CI/CD integration points
- Determine mutation testing scope and performance requirements
- Plan mutation testing integration with existing quality gates
2. **Mutation Testing Tool Selection**
- Choose appropriate mutation testing framework:
- **JavaScript/TypeScript**: Stryker, Mutode
- **Java**: PIT (Pitest), Major
- **C#**: Stryker.NET, VisualMutator
- **Python**: mutmut, Cosmic Ray, MutPy
- **Go**: go-mutesting, mut
- **Rust**: mutagen, cargo-mutants
- **PHP**: Infection
- Consider factors: language support, performance, CI integration, reporting
3. **Mutation Testing Configuration**
- Install and configure mutation testing framework
- Set up mutation testing configuration files and settings
- Configure mutation operators and strategies
- Set up file and directory inclusion/exclusion rules
- Configure performance and timeout settings
4. **Mutation Operator Configuration**
- Configure arithmetic operator mutations (+, -, *, /, %)
- Set up relational operator mutations (<, >, <=, >=, ==, !=)
- Configure logical operator mutations (&&, ||, !)
- Set up conditional boundary mutations (< to <=, > to >=)
- Configure statement deletion and insertion mutations
5. **Test Execution and Performance**
- Configure mutation test execution strategy and parallelization
- Set up incremental mutation testing for large codebases
- Configure mutation testing timeouts and resource limits
- Set up mutation test caching and optimization
- Configure selective mutation testing for changed code
6. **Quality Metrics and Thresholds**
- Set up mutation score calculation and reporting
- Configure mutation testing thresholds and quality gates
- Set up mutation survival analysis and reporting
- Configure test effectiveness metrics and tracking
- Set up mutation testing trend analysis
7. **Integration with Testing Workflow**
- Integrate mutation testing with existing test suites
- Configure mutation testing execution order and dependencies
- Set up mutation testing in development and CI environments
- Configure mutation testing result integration with test reports
- Set up mutation testing feedback loops for developers
8. **CI/CD Pipeline Integration**
- Configure automated mutation testing in continuous integration
- Set up mutation testing scheduling and triggers
- Configure mutation testing result reporting and notifications
- Set up mutation testing performance monitoring
- Configure mutation testing deployment gates
9. **Result Analysis and Remediation**
- Set up mutation testing result analysis and visualization
- Configure surviving mutant analysis and categorization
- Set up test gap identification and remediation workflow
- Configure mutation testing regression tracking
- Set up automated test improvement recommendations
10. **Maintenance and Optimization**
- Create mutation testing maintenance and optimization procedures
- Set up mutation testing configuration version control
- Configure mutation testing performance optimization
- Document mutation testing best practices and guidelines
- Train team on mutation testing concepts and workflow
- Set up mutation testing tool updates and maintenance
A comprehensive development toolkit designed following Anthropic's Claude Code Best Practices for AI-assisted software development.
Repo: qdhenry/Claude-Command-Suite
Other commands on claude-command-suite.
- /boundary-bbcr-fallback
Execute automatic BBCR (Collapse-Rebirth Correction) when knowledge boundaries are exceeded or reasoning fails.
Open command - /boundary-detect
Analyze semantic position relative to knowledge boundaries to prevent hallucination and identify uncertainty zones.
Open command - /boundary-heatmap
Generate a visual heatmap of knowledge boundaries showing safe zones, risk areas, and semantic coverage.
Open command - /boundary-risk-assess
Evaluate the current risk level and provide detailed analysis of potential hallucination or reasoning failure.
Open command - /boundary-safe-bridge
Find and construct semantic bridges to safely navigate from current position to target concept without crossing dangerous boundaries.
Open command - /optimize-prompt
Takes an input prompt and returns ONLY a token-optimized version that preserves meaning while minimizing token count. Based on LLM tokenization principles: common words tokenize more efficiently, unusual words break into more tokens, and conciseness reduces cost.
Open command

