tdd-workflow

Codify test-driven development workflows with a RED-GREEN-REFACTOR cycle.

8.1k|1.5k|Updated Jan 14, 2026
One-click install
npx skills add https://github.com/vudovn/antigravity-kit --skill tdd-workflow-vudovn
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tdd-workflow
Source: https://github.com/vudovn/antigravity-kit/tree/main/.agent/skills/tdd-workflow
Command: npx skills add https://github.com/vudovn/antigravity-kit --skill tdd-workflow-vudovn

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill codifies the Test-Driven Development workflow to standardize how teams approach feature work, testing, and incremental design.

Core Features & Use Cases

  • Establishes a repeatable RED-GREEN-REFACTOR cycle for new features.
  • Documents guiding principles, rules, and best practices for effective TDD.
  • Use Case: when starting a new feature, follow the cycle to ensure tests exist before implementation and to keep code maintainable.

Quick Start

Apply the RED-GREEN-REFACTOR sequence to a new feature: write a failing test, implement just enough code to pass, then refactor for clarity and reliability.

Frequently Asked Questions about tdd-workflow

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

FAQPage Schema
What is the test-driven development RED-GREEN-REFACTOR cycle?

Test-driven development follows a RED-GREEN-REFACTOR cycle where you write a failing test first, implement minimal code to pass that test, then refactor the code without changing behavior.

How do I start a new feature using test-driven development?

To start a new feature using test-driven development, write a failing test defining the expected behavior, implement just enough code to make it pass, then refactor for clarity and maintainability.

When should I apply test-driven development workflows?

Apply test-driven development workflows during feature development, debugging, and refactoring scenarios to ensure tests exist before implementation and keep code maintainable.

Can I use test-driven development for refactoring existing code?

Yes, test-driven development supports refactoring by providing a safety net of existing tests, allowing you to refactor code for clarity and reliability without changing its external behavior.

Does the RED-GREEN-REFACTOR cycle require external testing frameworks?

The RED-GREEN-REFACTOR cycle defines a standard workflow process for software development and does not list any specific external testing framework dependencies to implement the rules.