test-designer

Design independent failing tests for complex features during the red phase of TDD.

Updated Mar 12, 2026
One-click install
npx skills add https://github.com/Ben2pc/g-claude-code-plugins --skill test-designer-ben2pc
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: test-designer
Source: https://github.com/Ben2pc/g-claude-code-plugins/tree/main/skills/test-designer
Command: npx skills add https://github.com/Ben2pc/g-claude-code-plugins --skill test-designer-ben2pc

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Design independent failing tests for complex features to prevent biased implementations and ensure correct behavior is established before coding.

Core Features & Use Cases

  • Independent Evaluations: the agent writes tests without seeing the feature implementation.
  • Edge-case coverage: enumerates boundary, concurrency, lifecycle, invariants, and adversarial inputs.
  • Incremental guidance: tests indicate what to implement and validate during the red-green-refactor loop.

Quick Start

Provide a real-world scenario and run the skill to generate independent failing tests for a complex feature.

Frequently Asked Questions about test-designer

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

FAQPage Schema
How do I write failing tests for complex features without biasing the implementation?

To write failing tests without bias, use independent evaluation where tests are designed without seeing the implementation. This prevents biased implementations and ensures correct behavior is established before coding begins.

What is independent evaluation in TDD and when do I need it?

Independent evaluation in TDD is designing tests without visibility into the feature implementation. It is needed during the red phase for non-trivial features with ambiguous requirements or risk of biased tests.

How do I ensure my test design covers edge cases for complex code?

To ensure edge-case coverage, enumerate boundary, concurrency, lifecycle, invariant, and adversarial inputs during test design. This approach validates complex feature behavior against diverse and unexpected conditions.

Can I use this test design workflow for features with ambiguous requirements?

Yes, this test design workflow is specifically applied during the red phase of TDD for non-trivial features with ambiguous requirements. It produces executable test artifacts that fail against incomplete implementations.

How do failing tests guide subsequent coding in a red-green-refactor loop?

Failing tests guide subsequent coding by providing incremental guidance through an explicit test design workflow. They indicate exactly what to implement and validate during the red-green-refactor loop.

What are the limitations of using independent failing tests for simple features?

Independent failing tests are designed for non-trivial features with ambiguous requirements or bias risk. For simple features, this explicit test design workflow may introduce unnecessary overhead without proportional benefits.