Test mutation

From berkcangumusisik/claude-code-practices · View interactive version

Test mutation is an AI agent skill from the GitHub repository berkcangumusisik/claude-code-practices. Analyzes test quality by identifying mutations your tests would NOT catch

How to use this skill

Skill file

Mutation Testing Analysis

Target: $1

Since we can't run Stryker/mutmut directly, do a manual mutation analysis:

  1. Read the source file and its test file.
  1. Apply common mutations mentally and check if existing tests would catch them:
  1. For each mutation that would NOT be caught:
  1. Report:
Surviving mutations found: N
Tests added: N
Estimated mutation score: X% → Y%
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.