tdd

Orchestrate an enforced TDD cycle with phase validation and independent verification.

3|Updated Apr 3, 2026
One-click install
npx skills add https://github.com/ForgePlan/marketplace --skill tdd-forgeplan
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tdd
Source: https://github.com/ForgePlan/marketplace/tree/main/plugins/agents-tdd/skills/tdd
Command: npx skills add https://github.com/ForgePlan/marketplace --skill tdd-forgeplan

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill streamlines and enforces the Test-Driven Development (TDD) process, ensuring that developers adhere to the TDD methodology, from writing tests before code to certifying tests with a verifiable oracle.

Core Features & Use Cases

  • Preconditions Check: Ensures that PRD + SPEC are active with at least one '#### Scenario' block.
  • Phased Execution: Guides through the TDD cycle: plan, code, test, validate, and code again.
  • Immutable Specification: Once tests are certified, the SPEC becomes immutable, preventing changes.
  • Verification: Independent verification phase ensures tests are thorough and meet all scenarios.

Quick Start

To initiate an enforced TDD cycle for a feature, type /tdd.

Frequently Asked Questions about tdd

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

FAQPage Schema
How do I automate test-driven development cycles in my software workflow?

You can automate test-driven development cycles by orchestrating phase-by-phase validation across planning, coding, testing, and verification. This enforces the TDD methodology by coordinating task dispatches for each phase, ensuring tests are written before code and certified with a verifiable oracle.

What are the prerequisites for enforcing a TDD workflow with phase validation?

To enforce a TDD workflow, you need active PRD and SPEC documents containing at least one '#### Scenario' block. These preconditions ensure the test-driven development cycle has defined scenarios to validate against before coding begins.

How does independent verification work in test-driven development?

Independent verification in test-driven development ensures tests are thorough and meet all specified scenarios. Once tests are certified, the SPEC becomes immutable through a frozen 'spec_hash', preventing further changes and guaranteeing that subsequent code adheres to the validated specification.

Can I modify the SPEC after tests are certified in a TDD cycle?

No, you cannot modify the SPEC after tests are certified in a TDD cycle. The system requires a frozen 'spec_hash' for SPEC immutability, which prevents changes once the independent verification phase confirms that tests meet all scenarios.

What is the best way to ensure developers follow test-driven development methodology?

The best way to ensure developers follow TDD methodology is through enforced phased execution. By guiding the cycle through plan, code, test, validate, and code phases with precise validation, the workflow standardizes testing and prevents skipping the test-first approach.

Why does my TDD workflow require a frozen spec hash?

Your TDD workflow requires a frozen spec hash to guarantee SPEC immutability during independent verification. This ensures the test-driven development cycle remains standardized, preventing specification changes after tests are certified against the defined scenarios.