tdd-workflow

Enforce test-driven development by writing tests before code with 80% coverage.

3|1|Updated Jan 24, 2026
One-click install
npx skills add https://github.com/monch1962/everything-opencode --skill tdd-workflow-monch1962
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tdd-workflow
Source: https://github.com/monch1962/everything-opencode/tree/main/skills/tdd-workflow
Command: npx skills add https://github.com/monch1962/everything-opencode --skill tdd-workflow-monch1962

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill ensures development follows test-driven development by requiring tests to be written before implementing code, promoting reliability and easier maintenance.

Core Features & Use Cases

  • Tests Before Code: Enforces writing unit, integration, and end-to-end tests prior to coding.
  • Coverage Targets: Aims for 80%+ overall test coverage across unit, integration, and E2E tests.
  • Workflow Applicability: Suitable for new features, bug fixes, and refactors to elevate code quality across projects.

Quick Start

Describe a user journey, write tests first, run the test suite, and iterate until the coverage goal is met.

Frequently Asked Questions about tdd-workflow

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

FAQPage Schema
How do I implement test-driven development with 80% code coverage?

Test-driven development requires writing unit, integration, and end-to-end tests before implementing code. This Skill enforces that workflow and tracks coverage across all test types to reach 80%+ on your codebase, ensuring tests drive design decisions and reduce maintenance burden.

Can I use TDD for bug fixes and refactoring, or only new features?

Test-driven development applies to feature development, bug fixes, and refactoring equally. Writing tests first for each change—whether new code, bug resolution, or structural improvement—maintains consistent quality and prevents regressions across your entire workflow.

What's the difference between unit, integration, and end-to-end tests in a TDD workflow?

Unit tests validate individual functions and components in isolation; integration tests verify interactions between modules; end-to-end tests confirm complete user journeys work correctly. TDD requires all three types contributing to your 80%+ coverage target for comprehensive reliability.

How do I integrate test-driven development with CI pipelines?

A repeatable test workflow integrates with CI pipelines by automating test execution on every code commit. This Skill enforces running your unit, integration, and E2E test suite automatically, validating coverage thresholds are met before code merges and catching failures early.

What happens if my test coverage falls below 80%?

Falling below 80% coverage indicates untested code paths remain in your codebase. This Skill flags coverage shortfalls, preventing code from progressing until additional tests are written for those paths, maintaining the reliability standard across features, fixes, and refactors.

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

Test-driven development works with any testing framework—the discipline is writing tests before code, not the tool itself. This Skill enforces the workflow practice and coverage measurement across frameworks; your choice of unit, integration, and E2E testing libraries remains flexible.