testing-skills-with-subagents

Run RED-GREEN-REFACTOR scenarios to capture agent failures and rationalizations.

Updated Feb 17, 2026
One-click install
npx skills add https://github.com/tim-hub/role-based-skills --skill testing-skills-with-subagents-tim-hub
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: testing-skills-with-subagents
Source: https://github.com/tim-hub/role-based-skills/tree/main/testing-skills-with-subagents/testing-skills-with-subagents
Command: npx skills add https://github.com/tim-hub/role-based-skills --skill testing-skills-with-subagents-tim-hub

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Prevents skill documentation from being bypassed or rationalized away by agents by forcing empirical, pressure-based tests that reveal real-world failure modes and the exact rationalizations agents use to justify violations.

Core Features & Use Cases

  • RED-GREEN-REFACTOR workflow: Run baseline scenarios without the skill to capture failures (RED), implement minimal targeted skill changes (GREEN), and iteratively close loopholes (REFACTOR).
  • Pressure scenarios and rationalization tables: Design multi-pressure scenarios (time, sunk cost, authority, exhaustion) to surface common excuses and record verbatim rationalizations for targeted counters.
  • Meta-testing and verification: Use pressure testing, red-flag lists, explicit negations, and meta-questions to ensure agents cite the skill and comply under maximum pressure.
  • Use cases: Validating discipline-enforcing skills (TDD, compliance rules), closing loopholes in process documentation, and hardening skills before deployment.

Quick Start

Run three or more combined pressure scenarios without the skill, record agent failures verbatim, implement minimal targeted changes to the skill, and re-run tests until agents follow the rules under pressure.

Frequently Asked Questions about testing-skills-with-subagents

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

FAQPage Schema
How do I test and fix AI agent rationalizations under pressure?

To test agent rationalizations under pressure, run combined pressure scenarios without the skill to capture baseline failures verbatim, then implement minimal targeted changes and re-test iteratively until agents comply under maximum combined pressures.

What is the RED-GREEN-REFACTOR cycle for skill testing?

The RED-GREEN-REFACTOR cycle for skill testing involves capturing baseline agent failures without the skill (RED), implementing minimal targeted skill changes (GREEN), and iteratively closing loopholes to enforce compliance (REFACTOR).

How do I stop agents from bypassing TDD and compliance documentation?

To stop agents from bypassing TDD and compliance documentation, apply pressure-based tests with time, sunk cost, authority, and exhaustion scenarios to surface common excuses, then record verbatim rationalizations for targeted counters.

How do I document agent failure modes and red-flag lists for process compliance?

Document agent failure modes and red-flag lists by running meta-testing scenarios that capture verbatim rationalizations, applying explicit negations, and iteratively re-testing until agents cite the skill and follow rules under maximum pressure.

When should I use pressure testing for skill development workflows?

Use pressure testing for skill development workflows when validating discipline-enforcing skills like TDD or compliance rules, closing loopholes in process documentation, and hardening skills before deployment against real-world failure modes.

Does skill rationalization testing work without external dependencies?

Skill rationalization testing works without external dependencies by using internal meta-testing mechanisms, pressure scenarios, and rationalization tables to empirically capture agent failures and enforce documentation discipline.