Start a fresh conversation. Replace the highlighted placeholders.
Use tdd-workflows-tdd-red to write isolated failing tests for [new behavior] in [project], covering happy paths, edge cases, and errors; confirm they fail for missing behavior rather than setup errors, then wait for my choice to proceed to the green phase.
Required inputs
[new behavior]
[project]
User-approved starter prompt based on a pinned source version; check current skill requirements before running. Task evidence ↗
SKILL.md
name: tdd-workflows-tdd-reddescription: Generate failing tests for the TDD red phase to define expected behavior and edge cases.
Write comprehensive failing tests following TDD red phase principles.
[Extended thinking: Generates failing tests that properly define expected behavior using test-automator agent.]
Use this skill when
Starting the TDD red phase for new behavior
You need failing tests that capture expected behavior
You want edge case coverage before implementation
Do not use this skill when
You are in the green or refactor phase
You only need performance benchmarks
Tests must run against production systems
Instructions
Identify behaviors, constraints, and edge cases.
Generate failing tests that define expected outcomes.
Ensure failures are due to missing behavior, not setup errors.
Document how to run tests and verify failures.
Safety
Keep test data isolated and avoid production environments.
Avoid flaky external dependencies in the red phase.
Role
Generate failing tests using Task tool with subagent_type="unit-testing::test-automator".