tdd-workflow

Orchestrate RED-GREEN-REFACTOR cycles with AAA test patterns.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/thimmarques/gestao-inteligente --skill tdd-workflow-thimmarques
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tdd-workflow
Source: https://github.com/thimmarques/gestao-inteligente/tree/main/.agent/skills/tdd-workflow
Command: npx skills add https://github.com/thimmarques/gestao-inteligente --skill tdd-workflow-thimmarques

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill teaches teams to adopt a disciplined test-driven development workflow by mandating a RED-GREEN-REFACTOR cycle to drive design and reduce defects.

Core Features & Use Cases

  • Guided TDD cycle: Enforces a clear order of tests, code, and refactoring with practical steps.
  • Principles & Rules: Highlights the three laws of TDD, the AAA pattern, and test prioritization to maintain quality.
  • AI-Augmented TDD: Supports collaborative test-driven development across agents to speed up iteration.

Quick Start

Start a TDD session for a small feature by writing a failing test first, then implement the minimal code to pass, and finally refactor for readability and maintainability.

Frequently Asked Questions about tdd-workflow

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

FAQPage Schema
How do I implement a test-driven development workflow for feature development?

The AAA test pattern structures tests into Arrange, Act, and Assert phases to maintain quality during TDD. It enforces clear test prioritization and structured test-first design to ensure tests drive code changes incrementally.

When do I need to use the RED-GREEN-REFACTOR cycle in agile software engineering?

Yes, you can use this TDD workflow across software projects of various sizes. It guides feature development and testing strategy incrementally, ensuring tests drive code changes and maintain quality regardless of project scale.

What is the AAA test pattern in TDD and how does it maintain code quality?

Begin a TDD session by writing a failing test for a small feature first. Implement the minimal code required to pass the test, and finally refactor the code for readability and maintainability to complete the cycle.

Can I use this TDD workflow to guide incremental refactoring across large software projects?

AI-augmented TDD supports collaborative test-driven development across agents to speed up iteration. It enforces phase-based rules and structured test-first design while guiding the software engineering process.

What are the three laws of TDD and how do they enforce test-first design?

Start a TDD session for a small feature by writing a failing test first, then implement the minimal code to pass, and finally refactor for readability and maintainability.

How do I start a TDD session for a small feature?

AI-augmented TDD supports collaborative test-driven development across agents to speed up iteration. It enforces phase-based rules and structured test-first design while guiding the software engineering process.