tdd-workflow

Enforce RED-GREEN-Refactor cycles with automated test runner detection for JavaScript and TypeScript.

Updated Jul 8, 2026
One-click install
npx skills add https://github.com/ZESCODE/Zes-Orchestration-System --skill tdd-workflow-zescode
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tdd-workflow
Source: https://github.com/ZESCODE/Zes-Orchestration-System/tree/main/.agents/skills/tdd-workflow
Command: npx skills add https://github.com/ZESCODE/Zes-Orchestration-System --skill tdd-workflow-zescode

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This skill solves the problem of inconsistent testing practices and low code quality by enforcing a strict Test-Driven Development (TDD) cycle that guarantees 80%+ coverage and verified feature implementation.

Core Features & Use Cases

  • RED/GREEN/Refactor Enforcement: Mandates failing tests before implementation and passing tests before refactoring.
  • Automated Test Runner Detection: Automatically identifies and configures the correct test runner (Jest, Vitest, or Bun) for the project.
  • Evidence-Based Development: Generates a TDD evidence report that links user journeys to test results, ensuring transparency and maintainability.

Quick Start

Activate the tdd-workflow skill to begin implementing the feature defined in the provided implementation plan file.

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 strict Test-Driven Development cycle for reliable code coverage?

You can enforce a strict Test-Driven Development cycle by mandating failing tests before implementation and passing tests before refactoring, ensuring high code quality and comprehensive coverage across JavaScript and TypeScript environments.

Does automated test runner detection work with Jest, Vitest, and Bun?

Yes, automated test runner detection identifies and configures the correct test runner for your project, supporting Jest, Vitest, and Bun to validate your Test-Driven Development steps without manual setup.

What is the RED-GREEN-Refactor validation process for unit testing?

The RED-GREEN-Refactor validation process requires writing a failing test first, implementing code to make it pass, and then refactoring while maintaining passing tests to ensure reliable feature development and bug fixing.

How do I link user journeys to test results for evidence-based development?

You generate a Test-Driven Development evidence report that links user journeys directly to test results, ensuring transparency, maintainability, and verified feature implementation across your codebase.

Can I use a Test-Driven Development workflow for refactoring existing TypeScript code?

Yes, you can apply this Test-Driven Development workflow to refactoring tasks in TypeScript environments, ensuring that all refactored code maintains passing tests and meets the 80%+ coverage requirement.

Why does Test-Driven Development require a failing test before implementation?

Test-Driven Development requires a failing test before implementation to prove the test checks the right behavior and to guarantee that every new feature or bug fix is validated by automated test runner detection.