tdd-workflows-tdd-red

Featured

Generate failing tests for the TDD red phase to define expected behavior and edge cases.

AI & Automation 39,350 stars 6386 forks Updated today MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

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 1. Identify behaviors, constraints, and edge cases. 2. Generate failing tests that define expected outcomes. 3. Ensure failures are due to missing behavior, not setup errors. 4. 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". ## Prompt Template "Generate comprehensive FAILING tests for: $ARGUMENTS ## Core Requirements 1. **Test Structure** - Framework-appropriate setup (Jest/pytest/JUnit/Go/RSpec) - Arrange-Act-Assert pattern - should_X_when_Y naming convention - Isolated fixtures with no interdependencies 2. **Behavior Coverage** - Happy path scenarios - Edge cases (empty, null, boundary values) - Error handling and exceptions - Concurrent access (if applicable) 3. **Failure Verification** - Tes...

Details

Author
sickn33
Repository
sickn33/antigravity-awesome-skills
Created
4 months ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category