tdd-workflow

Automate RED-GREEN-REFACTOR cycles for software development teams.

Updated Jan 27, 2026
One-click install
npx skills add https://github.com/Oscar-Ivan-Salas/PILi_Quarts_Doc --skill tdd-workflow-oscar-ivan-salas
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tdd-workflow
Source: https://github.com/Oscar-Ivan-Salas/PILi_Quarts_Doc/tree/main/PILi_Quarts_V3.0/.agent/skills/tdd-workflow
Command: npx skills add https://github.com/Oscar-Ivan-Salas/PILi_Quarts_Doc --skill tdd-workflow-oscar-ivan-salas

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Streamline Test-Driven Development by codifying the RED-GREEN-REFACTOR cycle, helping teams write tests first and deliver reliable code faster.

Core Features & Use Cases

  • Clear TDD lifecycle guidance with RED, GREEN, and REFACTOR phases.
  • AI-augmented workflow that defines roles, rules, and best practices for iterative development.
  • Documentation of patterns and routines to apply TDD across features, bugs, and refactors.

Quick Start

Instruct the AI to simulate a small function's TDD cycle, starting with a failing test and iterating until all tests pass.

Frequently Asked Questions about tdd-workflow

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

FAQPage Schema
How do I implement the red-green-refactor TDD cycle in my software development workflow?

To implement the red-green-refactor TDD cycle, start by writing a failing test, then write the minimum code to pass it, and finally refactor while ensuring tests stay green. This Skill automates that lifecycle guidance for disciplined iterative development.

What is AI-augmented test-driven development and how does it work?

AI-augmented test-driven development uses a multi-agent workflow to enforce TDD phase rules and best practices. It codifies the red-green-refactor routine, guiding teams through writing tests first to deliver reliable, well-tested code faster.

How do I start a TDD cycle for a new feature or bug fix?

To start a TDD cycle for features or bug fixes, instruct the AI to simulate the process by writing a failing test first. The Skill then guides you through iterative phases until all tests pass and the code is safely refactored.

Can I use this TDD workflow guidance for solo projects as well as team environments?

Yes, this TDD workflow guidance applies to both solo and team settings. It codifies patterns and routines for disciplined testing across feature development, bug fixes, and refactoring, regardless of your project's team size.

What's the best way to enforce TDD best practices during refactoring?

The best way to enforce TDD best practices during refactoring is to follow codified phase rules that prevent code changes without passing tests. This Skill maintains discipline by keeping tests green throughout the refactor phase.