tdd-cycle

Automate the RED-GREEN-REFACTOR TDD cycle for feature development.

42|8|Updated Jan 25, 2026
One-click install
npx skills add https://github.com/sequenzia/agent-alchemy --skill tdd-cycle-sequenzia
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tdd-cycle
Source: https://github.com/sequenzia/agent-alchemy/tree/main/claude/tdd-tools/skills/tdd-cycle
Command: npx skills add https://github.com/sequenzia/agent-alchemy --skill tdd-cycle-sequenzia

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill automates the entire Test-Driven Development (TDD) cycle, ensuring robust code quality by enforcing a strict RED-GREEN-REFACTOR workflow.

Core Features & Use Cases

  • Full TDD Automation: Executes the complete RED-GREEN-REFACTOR cycle autonomously after plan confirmation.
  • Framework Agnostic: Detects and supports multiple testing frameworks (pytest, Jest, Vitest).
  • Strict Phase Enforcement: Ensures tests fail before implementation (RED) and pass without regressions (GREEN).
  • Use Case: Develop a new user authentication feature by describing it, letting the skill write failing tests, implement the code to pass them, and refactor, all with minimal user intervention.

Quick Start

Use the tdd-cycle skill to run a full RED-GREEN-REFACTOR TDD workflow for the feature 'implement user login with email and password'.

Frequently Asked Questions about tdd-cycle

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

FAQPage Schema
How do I automate the TDD RED-GREEN-REFACTOR cycle for feature development?

You can automate the TDD RED-GREEN-REFACTOR cycle by providing a feature description, task ID, or spec section. The workflow then autonomously writes failing tests, implements code to pass them, and refactors, all after plan confirmation.

Does this automated TDD workflow support testing frameworks like Jest and Vitest?

Yes, the automated TDD workflow supports multiple testing frameworks including pytest, Jest, and Vitest. It automatically detects the framework used in your project to execute the RED-GREEN-REFACTOR phases correctly.

What is strict phase enforcement in Test-Driven Development automation?

Strict phase enforcement in Test-Driven Development automation ensures tests fail before any implementation begins, then verifies code passes without regressions. This guarantees adherence to core TDD principles throughout the RED-GREEN-REFACTOR cycle.

How do I start a new user authentication feature using a TDD workflow?

To start a new user authentication feature using a TDD workflow, you describe the feature requirements like user login with email and password. The automation then generates the failing tests and implementation code sequentially.

Can I use feature descriptions to trigger automated test generation and refactoring?

Yes, you can use feature descriptions, task IDs, or spec sections to trigger automated test generation and refactoring. The system autonomously executes the full Test-Driven Development cycle based on these inputs after you confirm the plan.