tdd-workflows-tdd-cycle

Enforce a red-green-refactor cycle with gated validations and coverage thresholds.

1|1|Updated Jul 29, 2025
One-click install
npx skills add https://github.com/M-Abdullah07/Pharmacy-Billing-App --skill tdd-workflows-tdd-cycle-m-abdullah07
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: tdd-workflows-tdd-cycle
Source: https://github.com/M-Abdullah07/Pharmacy-Billing-App/tree/main/.agent/skills/tdd-workflows-tdd-cycle
Command: npx skills add https://github.com/M-Abdullah07/Pharmacy-Billing-App --skill tdd-workflows-tdd-cycle-m-abdullah07

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This workflow enforces a disciplined Test-Driven Development cycle, ensuring tests drive design and maintainability by aligning code changes with explicit failing tests and incremental implementations.

Core Features & Use Cases

  • Strict RED-GREEN-REFACTOR discipline with gate validation to ensure progression only after tests pass.
  • Configurable coverage thresholds for line, branch, and critical-path coverage to meet quality guarantees.
  • Phase-based workflow coverage including Requirements Analysis, Test Design, RED, GREEN, REFACTOR, Integration, and Final Review to structure development.
  • Automated verification and reporting of test results, coverage metrics, and code health to guide improvements.

Quick Start

Initialize Phase 1 by drafting requirements and test specifications, then follow the RED-GREEN-REFACTOR loop to implement and refine code.

Frequently Asked Questions about tdd-workflows-tdd-cycle

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

FAQPage Schema
How do I enforce a strict red-green-refactor TDD cycle in my workflow?▼

To enforce a strict TDD cycle, this workflow applies gate validations that ensure progression only happens after tests pass, structuring development through Requirements Analysis, Test Design, RED, GREEN, and REFACTOR phases.

Can I set configurable coverage thresholds for test automation?▼

Yes, you can configure coverage thresholds for line, branch, and critical-path coverage to meet quality guarantees, ensuring the TDD workflow enforces specific quality metrics before passing.

What is the best way to automate test-driven development across architecture tasks?▼

Automating test-driven development across architecture tasks requires orchestrating a comprehensive workflow that guides requirements analysis, test design, implementation, and refactoring with gated validations and automated verification.

Does this TDD workflow support integration and final review phases?▼

Yes, the TDD workflow provides phase-based coverage that includes Integration and Final Review phases, ensuring automated verification of test results, coverage metrics, and code health to guide improvements.

How do I start a test-driven development workflow for software teams?▼

To start the TDD workflow for software teams, initialize Phase 1 by drafting requirements and test specifications, then follow the RED-GREEN-REFACTOR loop to implement and refine code with automated verification.

Why should I use gated validations in my testing workflow?▼

Gated validations in a testing workflow ensure strict RED-GREEN-REFACTOR discipline by preventing phase progression until tests pass, aligning code changes with explicit failing tests and incremental implementations.