One-click install
npx skills add https://github.com/HyperionBurn/searchv1beta --skill tdd-hyperionburn
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tdd
Source: https://github.com/HyperionBurn/searchv1beta/tree/main/.github/skills/tdd
Command: npx skills add https://github.com/HyperionBurn/searchv1beta --skill tdd-hyperionburn

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill prevents flaky or overly broad development by enforcing Test-Driven Development, so you always clarify requirements through a failing test before writing production code.

Core Features & Use Cases

  • Falling-first workflow: Forces the Red-Green-Refactor cycle so implementation follows the next specified behavior.
  • Test minimalism: Ensures each test covers one behavior and that the Green step contains only enough code to pass.
  • Specification naming: Promotes descriptive test names that document intent and reduce ambiguity during reviews.

Use Case: When implementing a new feature in an unfamiliar codebase, define the smallest next behavior with a failing test, implement the minimum logic to satisfy it, then refactor while keeping the suite green.

Quick Start

Ask the AI to help you implement your next behavior using the TDD protocol, starting by writing a failing test for the smallest requirement.

Frequently Asked Questions about tdd

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

FAQPage Schema
How do I start test-driven development for a new feature?

Test-driven development requires writing a failing test for the smallest requirement before any production code. You then implement minimal logic to satisfy the test and refactor safely, ensuring requirements are clarified through failing tests first.

When do I need test-driven development in my workflow?

You need test-driven development when preventing flaky or overly broad development. By enforcing a falling-first workflow, it clarifies requirements through failing tests before writing production code, ensuring software quality and minimal logic implementation.

Does test-driven development work with any programming language and test framework?

Yes, test-driven development works across any programming language and test framework where red-green-refactor discipline is needed. It enforces minimal green code and single-behavior tests regardless of your specific technology stack.

How do I write minimal passing tests during the green step?

Write minimal passing tests by implementing only enough production code to satisfy the single behavior specified by the failing test. This test minimalism ensures each test covers one behavior and prevents overly broad logic.

What is the best way to name test specifications in TDD?

The best way to name test specifications in TDD is using descriptive test names that document intent and reduce ambiguity during reviews. This specification naming practice clarifies the behavior being tested before writing production code.

Why does test-driven development prevent overly broad development?

Test-driven development prevents overly broad development by enforcing a falling-first workflow requiring a failing test before production code. This ensures you implement only the minimum logic needed to pass single-behavior tests.