tdd-workflow

Enforce test-driven development with unit, integration, and end-to-end tests before code.

Updated Apr 25, 2026
One-click install
npx skills add https://github.com/ldk-hub/broke-shopping --skill tdd-workflow-ldk-hub
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tdd-workflow
Source: https://github.com/ldk-hub/broke-shopping/tree/main/.agent/.agents/skills/tdd-workflow
Command: npx skills add https://github.com/ldk-hub/broke-shopping --skill tdd-workflow-ldk-hub

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Enforce test-driven development across code changes to ensure 80%+ test coverage.

Core Features & Use Cases

  • Enforces writing tests before implementation across unit, integration, and E2E scopes.
  • Guides refactoring and bug-fix cycles with measurable coverage targets (80%+).
  • Use Case: When adding a new feature, you generate user journeys and corresponding tests first, then implement.

Quick Start

As a developer, describe the feature to be added, write tests first to cover it, then implement the feature until all tests pass.

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 and ensure 80% test coverage?

You can enforce test-driven development by writing unit, integration, and E2E tests before implementation, then refactoring code until the 80% test coverage threshold is met.

What is the best way to guide TDD workflow during feature development and refactoring?

The best way to guide TDD during feature development and refactoring is to generate user journeys and corresponding tests first, then implement code changes until all tests pass and coverage targets are achieved.

How do I write tests before implementation across unit, integration, and E2E scopes?

Writing tests before implementation requires describing the feature to be added, defining test cases across unit, integration, and E2E scopes, and running them to validate the code changes incrementally.

Can I use test coverage targets to guide bug fixes and API component creation?

Yes, you can apply measurable 80%+ test coverage targets to guide bug fixes and API component creation, ensuring tests cover the changes before the implementation logic is finalized.

Does test-driven development work for both new features and refactoring cycles?

Test-driven development works for both new features and refactoring cycles by requiring tests to be written first, running them against changes, and refactoring until all tests pass the coverage threshold.

Why does my code refactoring need unit, integration, and end-to-end tests?

Code refactoring requires unit, integration, and end-to-end tests to maintain software engineering discipline, ensuring that structural changes do not break existing functionality and meet the 80% coverage requirement.