tdd-workflow

Automate test-driven development with red-green-refactor cycles and coverage verification.

Updated Apr 13, 2026
One-click install
npx skills add https://github.com/sakamoto-family-smile/agent_monorepo --skill tdd-workflow-sakamoto-family-smile
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tdd-workflow
Source: https://github.com/sakamoto-family-smile/agent_monorepo/tree/main/.claude/skills/ecc/tdd-workflow
Command: npx skills add https://github.com/sakamoto-family-smile/agent_monorepo --skill tdd-workflow-sakamoto-family-smile

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill guides teams to adopt test-driven development for new features, bug fixes, and refactoring, increasing reliability and maintainability.

Core Features & Use Cases

  • Enforce tests before code, maintain minimum coverage, and use checkpoint commits to document progress.
  • Provide a structured workflow for writing user journeys, generating test cases, running tests, and implementing code.
  • Support end-to-end guidance for refactoring and feature addition across unit, integration, and E2E tests.

Quick Start

Describe a feature and run the TDD workflow to generate failing tests, implement minimal code to pass, and rerun tests until all checks are green.

Frequently Asked Questions about tdd-workflow

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

FAQPage Schema
How do I enforce a test-driven development workflow for new features and bug fixes?

To enforce a test-driven development workflow, you describe the feature and run the TDD workflow to generate failing tests, implement minimal code to pass, and rerun tests until all checks are green. This ensures tests drive code with confident releases.

What is the best way to automate red-green-refactor cycles across unit and integration tests?

Automating red-green-refactor cycles requires a structured workflow for writing user journeys, generating stepwise test cases, running tests, and implementing code. This approach provides end-to-end guidance for refactoring across unit, integration, and E2E tests.

Can I use this TDD workflow for both refactoring legacy code and adding new features?

Yes, you can use this TDD workflow for both refactoring legacy code and adding new features. It provides end-to-end guidance across unit, integration, and E2E testing scenarios to increase software reliability and maintainability.

How do I maintain minimum test coverage and document progress during continuous integration?

To maintain minimum test coverage and document progress during continuous integration, the workflow enforces tests before code and uses checkpoint commits. This creates traceable evidence of test results throughout the development cycle.

When should I not use a strict test-driven development approach for software engineering tasks?

A strict test-driven development approach might not suit software engineering tasks requiring rapid prototyping without stable requirements. The workflow enforces tests before code and stepwise test generation, which requires clear user journeys upfront to function effectively.