tdd-workflow

Enforce test-driven development workflows requiring tests before code across unit, integration, and E2E suites with minimum 80% coverage targets.

Updated Feb 2, 2026
One-click install
npx skills add https://github.com/forrany/Agent-configs --skill tdd-workflow-forrany
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tdd-workflow
Source: https://github.com/forrany/Agent-configs/tree/main/skills/tdd-workflow
Command: npx skills add https://github.com/forrany/Agent-configs --skill tdd-workflow-forrany

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill ensures development follows Test-Driven Development by requiring tests before code.

Core Features & Use Cases

  • Guided test-first workflow: Plan, write tests, implement code, and refactor with confidence.
  • Clear coverage targets: Enforces minimum 80% coverage across unit, integration, and E2E tests.
  • Reusable patterns: Provides templates and examples for unit/integration/E2E tests and debugging.

Quick Start

Start by selecting a feature and apply the TDD workflow: write a unit test that fails, implement the minimum code to pass, run all tests, and refactor while preserving green results.

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 workflows across unit and integration tests?

To enforce test-driven development, you must write failing tests before implementing code. This structured workflow guides test generation for unit, integration, and E2E tests, ensuring code meets minimum coverage targets before refactoring.

What is the best way to maintain 80% test coverage during TDD refactoring?

Maintaining 80% test coverage during refactoring requires running all tests to preserve green results. This workflow enforces clear coverage targets across unit, integration, and end-to-end tests while providing reusable patterns for debugging.

Do I need specific testing frameworks to follow this TDD workflow?

No specific testing frameworks are required to follow this TDD workflow. It works with standard testing tools you already use, focusing on the structured process of writing tests first, implementing minimum code, and refactoring.

How do I start writing tests first for a new feature using TDD?

To start writing tests first, select a feature and apply the TDD workflow: write a failing unit test, implement the minimum code to pass it, run all tests, and refactor while keeping results green.

Can I apply test-first coding standards to end-to-end testing workflows?

Yes, you can apply test-first coding standards to end-to-end testing workflows. This approach provides templates and examples across unit, integration, and E2E tests, guiding generation and workflow steps for complete coverage.