testing-agents-with-subagents

Tests LLM agents' outputs with rule-based validatorsUTE and automated feedback for correctness.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/withmartian-sandbox/ghrc-x-3126672651424eddb640ecc81321a665 --skill testing-agents-with-subagents-withmartian-sandbox
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: testing-agents-with-subagents
Source: https://github.com/withmartian-sandbox/ghrc-x-3126672651424eddb640ecc81321a665/tree/main/default/skills/testing-agents-with-subagents
Command: npx skills add https://github.com/withmartian-sandbox/ghrc-x-3126672651424eddb640ecc81321a665 --skill testing-agents-with-subagents-withmartian-sandbox

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Prevents untested AI agents from being deployed by applying test-driven development principles to agent definitions so outputs are accurate, structured, and reliable before production use.

Core Features & Use Cases

  • TDD for agents: Maps RED-GREEN-REFACTOR to agent workflows, requiring baseline failing runs, iterative fixes, and edge-case hardening.
  • Structured verification: Mandates exact output capture, schema compliance, severity calibration, and consistency checks across multiple runs.
  • Parallel workflows & aggregation: Validates multiple reviewers or subagents run in parallel and ensures findings and severities align.
  • Use Case: Validate a code-reviewer agent by running a suite of known-vulnerable, clean, ambiguous, and large-file tests, then iterate prompt/schema fixes until metrics are met.

Quick Start

Run the agent against a documented RED-GREEN-REFACTOR test suite including known-issue, clean, edge-case, and ambiguous inputs and record the exact outputs.

Frequently Asked Questions about testing-agents-with-subagents

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

FAQPage Schema
How do I apply test-driven development to validate AI agent behavior?▼

To test AI agents using test-driven development, you run the agent against a documented suite of known-issue, clean, edge-case, and ambiguous inputs, then iterate fixes until outputs match expected schemas. This enforces a RED-GREEN-REFACTOR cycle for reliable agent behavior.

What is the RED-GREEN-REFACTOR cycle for agent testing?▼

The RED-GREEN-REFACTOR cycle for agent testing maps traditional TDD to AI workflows by requiring baseline failing runs (RED), iterative fixes to meet schema compliance (GREEN), and edge-case hardening (REFACTOR). This ensures structured outputs and severity judgments are accurate and reliable.

How do I verify structured outputs and severity calibration in code review agents?▼

You verify structured outputs and severity calibration by mandating exact output capture, schema compliance checks, consistency runs across multiple executions, and severity calibration metrics. This validates that code-reviewer agents accurately assess known-vulnerable and clean test cases.

Can I use TDD to validate parallel workflows with multiple subagents?▼

Yes, test-driven validation applies to parallel workflows by running multiple reviewers or subagents simultaneously and ensuring their findings and severity alignments match. This verifies that parallel testing across aggregation workflows produces consistent and structured outputs.

What inputs do I need to start testing agents with test-driven development?▼

To start testing agents with TDD, you need a documented test suite containing known-issue, clean, edge-case, and ambiguous inputs. The suite must specify minimum case counts and exact output capture to validate reviewer, analyzer, decision, and planning agents.