testing-strategy

Generate and validate tests from specifications using mutation testing.

3|2|Updated Feb 20, 2026
One-click install
npx skills add https://github.com/Open-Paws/structured-coding-with-ai --skill testing-strategy-open-paws
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: testing-strategy
Source: https://github.com/Open-Paws/structured-coding-with-ai/tree/main/kilo-code/.kilocode/skills/testing-strategy
Command: npx skills add https://github.com/Open-Paws/structured-coding-with-ai --skill testing-strategy-open-paws

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Helps teams design and validate software tests from explicit specifications, reducing ambiguity and preventing overfitting to existing implementations.

Core Features & Use Cases

  • Spec-first test generation: Generate tests directly from written specifications to capture intent before coding.
  • Assertion quality review: Evaluate and refine assertions to ensure they meaningfully validate behavior.
  • Mutation testing and anti-pattern guidance: Run mutation testing and apply five anti-pattern safeguards to improve test robustness.
  • Advocacy-specific testing: Include domain-focused checks relevant to advocacy software, such as privacy constraints and safety guardrails.
  • Workflow patterns: Provide guidance on the five generation patterns (implementation-first, spec-first, edge-case generation, characterization tests, mutation-guided improvement).

Quick Start

Initiate the Testing Strategy workflow by reading the spec, generating failing tests, implementing the minimum changes to pass, and running mutation testing to boost robustness.

Frequently Asked Questions about testing-strategy

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate tests from specifications to capture intended behavior?

Spec-first test generation creates failing tests directly from written specifications before coding, capturing intent and reducing ambiguity. This workflow ensures tests validate intended behavior rather than overfitting to existing implementations.

What is mutation testing and how does it improve test robustness?

Mutation testing evaluates test quality by modifying code to see if tests catch the changes. It guides improvement through five anti-pattern safeguards and generation patterns, ensuring assertions meaningfully validate behavior and preventing weak suites.

How do I review assertion quality in my test suite?

Assertion quality review evaluates and refines test assertions to ensure they meaningfully validate behavior rather than just achieving coverage. This process highlights weak assertions and applies structured guidance to improve test robustness across your suite.

Can I apply spec-first testing workflows to advocacy software?

Yes, spec-first testing applies directly to advocacy software with domain-focused checks for privacy constraints and safety guardrails. The workflow includes five generation patterns tailored to capture advocacy-specific behavior requirements.

What are the five test generation patterns for improving test suites?

The five generation patterns include implementation-first, spec-first, edge-case generation, characterization tests, and mutation-guided improvement. These patterns provide structured workflow guidance for writing, reviewing, and improving tests across different scenarios.

When should I use spec-first testing instead of implementation-first?

Use spec-first testing when you need to reduce ambiguity and prevent overfitting to existing implementations. Implementation-first suits legacy code characterization, while spec-first captures intended behavior before coding begins.