OpenParable
Skip to content
← Back to skills

Stryker Mutation Testing

Testing & Quality

Stryker Mutation Testing is an Agent Skill for testing & quality published in the a5c-ai/babysitter repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Stryker mutation testing for assessing test suite quality and effectiveness

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/a5c-ai/babysitter/blob/HEAD/library/specializations/qa-testing-automation/skills/stryker-mutation/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/stryker-mutation-testing, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

Stryker Mutation Testing Skill

Overview

This skill provides expert-level capabilities for Stryker-based mutation testing, enabling test quality assessment by introducing code mutations and measuring test effectiveness.

Capabilities

Mutation Execution

  • Configure Stryker for JavaScript/TypeScript
  • Execute mutation testing runs
  • Configure mutation operators

Score Analysis

  • Analyze mutation score
  • Track killed vs survived mutants
  • Identify weak test assertions

Configuration

  • Configure mutators and test runners
  • Set up file patterns for mutation
  • Configure timeout settings

Reporting

  • Generate HTML mutation reports
  • Dashboard integration for tracking
  • CI/CD report generation

Optimization

  • Configure incremental mutation testing
  • Optimize mutation runs for large codebases
  • Parallel mutation execution

Test Quality Insights

  • Identify gaps in test coverage
  • Recommend assertion improvements
  • Prioritize test enhancements

Target Processes

  • mutation-testing.js - Mutation testing implementation
  • quality-gates.js - Mutation score gates
  • shift-left-testing.js - Early test quality validation

Dependencies

  • @stryker-mutator/core - Stryker core
  • Test runner plugins (jest-runner, karma-runner)
  • Reporter plugins

Usage Example

{
  kind: 'skill',
  skill: {
    name: 'stryker-mutation',
    context: {
      action: 'execute',
      configFile: 'stryker.conf.json',
      mutate: ['src/**/*.ts'],
      thresholds: {
        high: 80,
        low: 60,
        break: 50
      }
    }
  }
}

Configuration

The skill uses stryker.conf.json or stryker.conf.js and supports incremental testing for faster feedback.