Advocacy Testing Strategy

•
3
•

Implements a spec-first testing methodology focused on high-stakes reliability and mutation-verified assertions for advocacy-driven development.

The Advocacy Testing Strategy skill provides Claude with a rigorous framework for generating and reviewing tests, moving beyond simple code coverage to focus on true behavioral verification. It emphasizes a spec-first approach to ensure tests reflect business intent rather than implementation details, specifically designed for sensitive contexts where silent failures can lead to security risks or lost data. By integrating mutation testing principles and identifying common AI testing anti-patterns like the 'snapshot trap' or 'coverage theater,' this skill ensures that test suites are resilient, meaningful, and capable of protecting vulnerable users and sensitive data.

Key Features

01Mutation testing integration to measure assertion quality over simple coverage
023 GitHub stars
03Rigorous verification of error paths and adversarial inputs for high-stakes apps
04Spec-first test generation to ensure alignment with business intent
05Targeted edge-case generation including boundary values and concurrent access
06Automated identification and rejection of AI-generated test anti-patterns

Use Cases

01Auditing existing AI-generated tests to remove tautological assertions and snapshot traps
02Enhancing legacy codebases using mutation-guided improvement to close security gaps
03Establishing a robust test suite for sensitive advocacy platforms and investigation tools