MR
Mayur Rathi
@mayurrathi
⭐ 40.7k GitHub stars

Tdd Workflows Tdd Cycle

Tdd Workflows Tdd Cycle is an productivity AI skill with a core value of Use when working with tdd workflows tdd cycle. It helps developers solve real-world problems in the productivity domain, boosting efficiency, automating repetitive tasks, and optimizing workflows.

Use when working with tdd workflows tdd cycle

Last verified on: 2026-07-07

Quick Facts

Category productivity
Works With Claude
Source sickn33/antigravity-awesome-skills
Stars ⭐ 40.7k
Last Verified 2026-07-07
Risk Level Low
mkdir -p ./skills/tdd-workflows-tdd-cycle && curl -sfL https://raw.githubusercontent.com/sickn33/antigravity-awesome-skills/main/skills/tdd-workflows-tdd-cycle/SKILL.md -o ./skills/tdd-workflows-tdd-cycle/SKILL.md

Run in terminal / PowerShell. Requires curl (Unix) or PowerShell 5+ (Windows).

Skill Content

Use this skill when


- Working on tdd workflows tdd cycle tasks or workflows

- Needing guidance, best practices, or checklists for tdd workflows tdd cycle


Do not use this skill when


- The task is unrelated to tdd workflows tdd cycle

- You need a different domain or tool outside this scope


Instructions


- Clarify goals, constraints, and required inputs.

- Apply relevant best practices and validate outcomes.

- Provide actionable steps and verification.

- If detailed examples are required, open `resources/implementation-playbook.md`.


Execute a comprehensive Test-Driven Development (TDD) workflow with strict red-green-refactor discipline:


[Extended thinking: This workflow enforces test-first development through coordinated agent orchestration. Each phase of the TDD cycle is strictly enforced with fail-first verification, incremental implementation, and continuous refactoring. The workflow supports both single test and test suite approaches with configurable coverage thresholds.]


Configuration


Coverage Thresholds

- Minimum line coverage: 80%

- Minimum branch coverage: 75%

- Critical path coverage: 100%


Refactoring Triggers

- Cyclomatic complexity > 10

- Method length > 20 lines

- Class length > 200 lines

- Duplicate code blocks > 3 lines


Phase 1: Test Specification and Design


1. Requirements Analysis

- Use Task tool with subagent_type="comprehensive-review::architect-review"

- Prompt: "Analyze requirements for: $ARGUMENTS. Define acceptance criteria, identify edge cases, and create test scenarios. Output a comprehensive test specification."

- Output: Test specification, acceptance criteria, edge case matrix

- Validation: Ensure all requirements have corresponding test scenarios


2. Test Architecture Design

- Use Task tool with subagent_type="unit-testing::test-automator"

- Prompt: "Design test architecture for: $ARGUMENTS based on test specification. Define test structure, fixtures, mocks, and test data strategy. Ensure testability and maintainability."

- Output: Test architecture, fixture design, mock strategy

- Validation: Architecture supports isolated, fast, reliable tests


Phase 2: RED - Write Failing Tests


3. Write Unit Tests (Failing)

- Use Task tool with subagent_type="unit-testing::test-automator"

- Prompt: "Write FAILING unit tests for: $ARGUMENTS. Tests must fail initially. Include edge cases, error scenarios, and happy paths. DO NOT implement production code."

- Output: Failing unit tests, test documentation

- **CRITICAL**: Verify all tests fail with expected error messages


4. Verify Test Failure

- Use Task tool with subagent_type="tdd-workflows::code-reviewer"

- Prompt: "Verify that all tests for: $ARGUMENTS are failing correctly. Ensure failures are for the right reasons (missing implementation, not test errors). Confirm no false positives."

- Output: Test failure verification report

- **GATE**: Do not proceed until all tests fail appropriately


Phase 3: GREEN - Make Tests Pass


5. Minimal Implementation

- Use Task tool with subagent_type="backend-development::backend-architect"

- Prompt: "Implement MINIMAL code to make tests pass for: $ARGUMENTS. Focus only on making tests green. Do not add extra features or optimizations. Keep it simple."

- Output: Minimal working implementation

- Constraint: No code beyond what's needed to pass tests


6. Verify Test Success

- Use Task tool with subagent_type="unit-testing::test-automator"

- Prompt: "Run all tests for: $ARGUMENTS and verify they pass. Check test coverage metrics. Ensure no tests were accidentally broken."

- Output: Test execution report, coverage metrics

- **GATE**: All tests must pass before proceeding


Phase 4: REFACTOR - Improve Code Quality


7. Code Refactoring

- Use Task tool with subagent_type="tdd-workflows::code-reviewer"

- Prompt: "Refactor implementation for: $ARGUMENTS while keeping tests green. Apply SOLID principles, remove duplication, improve naming, and optimize performance. Run

🎯 Best For

  • Claude users
  • Knowledge workers
  • Remote teams
  • Professionals

💡 Use Cases

  • Using Tdd Workflows Tdd Cycle in daily workflow
  • Automating repetitive productivity tasks

📖 How to Use This Skill

  1. 1

    Install the Skill

    Copy the install command from the Terminal tab and run it. The SKILL.md file downloads to your local skills directory.

  2. 2

    Load into Your AI Assistant

    Open Claude and reference the skill. Paste the SKILL.md content or use the system prompt tab.

  3. 3

    Apply Tdd Workflows Tdd Cycle to Your Work

    Provide context for your task — paste source material, describe your audience, or share existing work to guide the AI.

  4. 4

    Review and Refine

    Edit the AI output for accuracy, tone, and completeness. Add human insight where the AI lacks context.

❓ Frequently Asked Questions

How do I install Tdd Workflows Tdd Cycle?

Copy the install command from the Terminal tab and run it. The skill downloads to ./skills/tdd-workflows-tdd-cycle/SKILL.md, ready to use.

Can I customize this skill for my team?

Absolutely. Edit the SKILL.md file to add team-specific instructions, examples, or workflows.

⚠️ Common Mistakes to Avoid

Not reading the full skill

Skills contain important context and edge cases beyond the quick start.

🔗 Related Skills