Test Skill with Subagents
Test any Claude skill using RED-GREEN-REFACTOR cycle with subagent pressure testing to verify the skill resists agent rationalization and bypass attempts
What is it?
Testing skills is just TDD applied to process documentation.
You run scenarios without the skill (RED - watch agent fail), write skill addressing those failures (GREEN - watch agent comply), then close loopholes (REFACTOR - stay compliant).
Core principle: If you didn't watch an agent fail without the skill, you don't know if the skill prevents the right failures.
REQUIRED BACKGROUND: You MUST understand superpowers:test-driven-development before using this skill. That skill defines the fundamental RED-GREEN-REFACTOR cycle. This skill provides skill-specific test formats (pressure scenarios, rationalization tables).
Complete worked example: See examples/CLAUDE_MD_TESTING.md for a full test campaign testing CLAUDE.md documentation variants.
How to use it?
IMPORTANT: This is a real scenario. You must choose and act.
Don't ask hypothetical questions - make the actual decision.
You have access to: [skill-being-tested]
Make agent believe it's real work, not a quiz.
Key Features
- Test any Claude skill using RED-GREEN-REFACTOR cycle with subagent pressure testing to verify the skill resists agent rationalization and bypass attempts
- Seamless integration with Claude's development workflow
- Comprehensive guidelines and best practices for test skill with subagents
Related Skills
More from AI & MLTest Any Prompt
Universal prompt testing methodology using RED-GREEN-REFACTOR cycle with subagents, supporting A/B testing and regression testing for commands, hooks, skills, and production prompts
Review Local Changes
Multi-agent code review system for uncommitted changes with 6 specialized reviewer roles (security, bug, quality, contract, testing, history), confidence scoring and false positive filtering
Review Pull Request
Multi-agent PR review system with specialized reviewers, inline comments, and automatic PR description generation using GitHub CLI