tdd-architect

Guide developers through the Red-Green-Refactor cycle for test-driven development.

1|Updated Jan 7, 2014
One-click install
npx skills add https://github.com/sibukixxx/dotfiles --skill tdd-architect
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tdd-architect
Source: https://github.com/sibukixxx/dotfiles/tree/main/.claude/skills/tdd-architect
Command: npx skills add https://github.com/sibukixxx/dotfiles --skill tdd-architect

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

TDD Architect guides developers through a structured test-driven development workflow, explicitly outlining the Red→Green→Refactor cycle to drive reliable, maintainable code during feature work, bug fixes, and refactors.

Core Features & Use Cases

  • Explicit TDD cycle guidance: Red, Green, and Refactor stages are clearly defined and documented.
  • Practice-first workflow: Encourages writing tests before implementation to shape design and prevent regression.
  • Use Case: When starting a new feature or fixing a bug, apply the TDD cycle to ensure correct behavior and facilitate safe refactoring.

Quick Start

Lead a feature task through a full TDD cycle: write a failing test, implement the minimal code to pass, and then refactor for clarity.

Frequently Asked Questions about tdd-architect

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

FAQPage Schema
How do I apply test-driven development to a new feature?

Test-driven development for a new feature uses the Red-Green-Refactor cycle: write a failing test, implement minimal code to pass, then refactor for clarity. This enforces test-first discipline to shape design, ensure correct behavior, and prevent regression.

What is the Red-Green-Refactor cycle in software engineering?

The Red-Green-Refactor cycle is a structured test-driven development workflow. Red defines the desired behavior with a failing test, Green implements minimal code to pass, and Refactor improves code clarity while maintaining passing tests for reliable maintenance.

Can I use a TDD workflow for bug fixes and refactoring?

Yes, applying a TDD workflow during bug fixes and refactoring ensures correct behavior and facilitates safe code modifications. You write a failing test reproducing the bug, implement the fix to pass, and refactor for maintainable software.

Does test-driven development require specific testing frameworks?

No, test-driven development is a repeatable workflow applicable across software projects regardless of specific frameworks. It provides explicit Red-Green-Refactor guidance to enforce test-first discipline during feature development and refactoring without framework constraints.

When should I enforce test-first discipline in my development cycle?

Enforce test-first discipline when starting a new feature or fixing a bug to drive reliable code. This repeatable development cycle uses the Red-Green-Refactor approach to shape design, prevent regression, and facilitate safe refactoring.