Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsBlogPro
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Authors
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges
  • Chrome Extension
  • Skill Manager

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

ProTermsPrivacyRefunds
Back to skills

Mutation Test Runner

ASecurity

This skill enables Claude to validate test suite quality by performing mutation testing. It is triggered when the user asks to run mutation tests, analyze test effectiveness, or improve test coverage. The skill introduces code mutations, runs tests against the mutated code, and reports on the "survival rate" of the mutations, indicating the effectiveness of the test suite. Use this skill when the user requests to assess the quality of their tests using mutation testing techniques. Specific tr...

21 stars
0 votes
0 copies
1 views
Added 2/7/2026
testingtesting

Security Analysis

A100/100

Pro scans all 4 files and shows the line behind each finding

Scanned 2/10/2026

$npx -y skills add BbgnsurfTech/claude-skills-collection --skill mutation-test-runner --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Mutation Test Runner?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Mutation Test Runner
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/bbgnsurftech-mutation-test-runner/badge)](https://www.skillsdirectory.com/skills/bbgnsurftech-mutation-test-runner)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
Files
SKILL.md
---
name: running-mutation-tests
description: |
  This skill enables Claude to validate test suite quality by performing mutation testing. It is triggered when the user asks to run mutation tests, analyze test effectiveness, or improve test coverage. The skill introduces code mutations, runs tests against the mutated code, and reports on the "survival rate" of the mutations, indicating the effectiveness of the test suite. Use this skill when the user requests to assess the quality of their tests using mutation testing techniques. Specific trigger terms include "mutation testing", "test effectiveness", "mutation score", and "surviving mutants".
---

## Overview

This skill empowers Claude to execute mutation testing, providing insights into the effectiveness of a test suite. By introducing small changes (mutations) into the code and running the tests, it determines if the tests are capable of detecting these changes. This helps identify weaknesses in the test suite and improve overall code quality.

## How It Works

1. **Mutation Generation**: The plugin automatically introduces mutations (e.g., changing `+` to `-`) into the code.
2. **Test Execution**: The test suite is run against the mutated code.
3. **Result Analysis**: The plugin analyzes which mutations were "killed" (detected by tests) and which "survived" (were not detected).
4. **Reporting**:  A mutation score is calculated, and surviving mutants are identified for further investigation.

## When to Use This Skill

This skill activates when you need to:
- Validate the effectiveness of a test suite.
- Identify gaps in test coverage.
- Improve the mutation score of a project.
- Analyze surviving mutants to strengthen tests.

## Examples

### Example 1: Improving Test Coverage

User request: "Run mutation testing on the validator module and suggest improvements to the tests."

The skill will:
1. Execute mutation tests on the validator module.
2. Analyze the results and identify surviving mutants, indicating areas where tests are weak.
3. Suggest specific improvements to the tests based on the surviving mutants, such as adding new test cases or modifying existing ones.

### Example 2: Assessing Test Quality

User request: "What is the mutation score for the user authentication service?"

The skill will:
1. Execute mutation tests on the user authentication service.
2. Calculate the mutation score based on the number of killed mutants.
3. Report the mutation score to the user, providing a metric for test quality.

## Best Practices

- **Targeted Mutation**: Focus mutation testing on critical modules or areas with high complexity.
- **Analyze Survivors**: Prioritize the analysis of surviving mutants to identify the most impactful improvements to test coverage.
- **Iterative Improvement**: Use mutation testing as part of an iterative process to continuously improve test suite quality.

## Integration

This skill integrates well with other testing and code analysis tools. For example, it can be used in conjunction with code coverage tools to provide a more comprehensive view of test effectiveness.

Attribution

BbgnsurfTechBbgnsurfTech
View sourceSee grades on GitHubMore from BbgnsurfTech →
SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Related Skills

Screen Reader Testing

Practical guide to testing web applications with screen readers for comprehensive accessibility validation.

401991 votes

Tdd Workflow

在编写新功能、修复错误或重构代码时使用此技能。强制执行测试驱动开发,包含单元测试、集成测试和端到端测试,覆盖率超过80%。

2456590 votes

Eval Harness

克劳德代码会话的正式评估框架,实施评估驱动开发(EDD)原则

2456590 votes

Python Testing

使用pytest、TDD方法、夹具、模拟、参数化和覆盖率要求的Python测试策略。

2456590 votes

Django Tdd

Django测试策略,包括pytest-django、TDD方法论、factory_boy、模拟、覆盖率以及测试Django REST Framework API。

2456590 votes
View all in testing →