tdd-workflow

Enforce test-driven development for features, fixes, and refactors.

4|1|Updated Jan 19, 2026
One-click install
npx skills add https://github.com/rongarede/skill-snapshots --skill tdd-workflow-rongarede
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tdd-workflow
Source: https://github.com/rongarede/skill-snapshots/tree/main/development/tdd-workflow
Command: npx skills add https://github.com/rongarede/skill-snapshots --skill tdd-workflow-rongarede

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Software projects often suffer from flaky releases and regression bugs due to insufficient test coverage. This Skill enforces a Test-Driven Development workflow to ensure features, fixes, and refactors are validated by tests from the outset.

Core Features & Use Cases

  • Test-first development: write unit, integration, and end-to-end tests before implementing code.
  • Coverage discipline: maintain 80%+ test coverage across new work and major changes.
  • Quality assurance through journeys: define user journeys and derive test cases to prevent regressions in APIs and components.

Quick Start

Outline a user journey, write corresponding tests, implement code to satisfy tests, and run coverage to confirm thresholds are met.

Frequently Asked Questions about tdd-workflow

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

FAQPage Schema
How do I enforce test-driven development when writing new features and refactoring code?

Test-driven development is enforced by guiding teams from test design to implementation, requiring unit, integration, and end-to-end tests to be written before code. This workflow validates edge cases and error handling across feature work and refactors.

What's the best way to prevent regression bugs and flaky releases in software projects?

To prevent regression bugs and flaky releases, define user journeys and derive test cases to validate APIs and components. Maintaining 80%+ test coverage ensures features, fixes, and refactors are validated by tests from the outset.

How do I structure unit, integration, and e2e testing with Jest and Playwright?

Structure unit, integration, and e2e testing by outlining a user journey first, then writing corresponding tests using Jest and Playwright before implementing code. Run coverage checks to confirm thresholds are met and validate test automation workflows.

Does test-driven development work for API endpoints and component creation?

Test-driven development works effectively for API endpoints and component creation by applying test-first development across feature work. It guides teams from test design to implementation, ensuring 80%+ coverage and validating edge cases.

Why do I need to define user journeys before writing unit and integration tests?

Defining user journeys before writing unit and integration tests prevents regressions by deriving specific test cases from the expected paths. This approach ensures APIs and components are validated against real usage scenarios and edge cases.

When should I not use test-driven development for bug fixes?

Test-driven development should not be skipped during bug fixes if maintaining 80%+ coverage is required. It is essential for validating error handling and edge cases, ensuring the fix does not introduce new regression bugs into the system.