Agent skill

tdd-workflows-tdd-cycle

Use when working with tdd workflows tdd cycle

Stars 163
Forks 31

Install this agent skill to your Project

npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/tdd-workflows-tdd-cycle

SKILL.md

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

🧠 Knowledge Modules (Fractal Skills)

1. Coverage Thresholds

2. Refactoring Triggers

3. 1. Requirements Analysis

4. 2. Test Architecture Design

5. 3. Write Unit Tests (Failing)

6. 4. Verify Test Failure

7. 5. Minimal Implementation

8. 6. Verify Test Success

9. 7. Code Refactoring

10. 8. Test Refactoring

11. 9. Write Integration Tests (Failing First)

12. 10. Implement Integration

13. 11. Performance and Edge Case Tests

14. 12. Final Code Review

15. RED Phase Validation

16. GREEN Phase Validation

17. REFACTOR Phase Validation

Expand your agent's capabilities with these related and highly-rated skills.

Didn't find tool you were looking for?

Be as detailed as possible for better results