test-driven-development

Enforce Test-Driven Development with failing tests before production code.

4|1|Updated Jul 6, 2025
One-click install
npx skills add https://github.com/Dmccarty30/Journeyman-Jobs --skill test-driven-development-dmccarty30
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: test-driven-development
Source: https://github.com/Dmccarty30/Journeyman-Jobs/tree/main/.claude/skills/test-driven-development
Command: npx skills add https://github.com/Dmccarty30/Journeyman-Jobs --skill test-driven-development-dmccarty30

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill enforces the Test-Driven Development (TDD) methodology, ensuring that all new features and bug fixes are implemented with robust, verified tests. It prevents untested code, reduces bugs, and builds trust in your codebase.

Core Features & Use Cases

  • Red-Green-Refactor Cycle: Guides you through writing failing tests, implementing minimal code, and refactoring.
  • Iron Law Enforcement: Mandates "NO PRODUCTION CODE WITHOUT A FAILING TEST FIRST," eliminating shortcuts.
  • Behavior Verification: Guarantees tests actually verify desired behavior by requiring them to fail initially.
  • Use Case: When implementing a new user authentication feature, use this skill to write a failing test for an invalid password, then write just enough code to make that test pass, ensuring the validation works as expected.

Quick Start

Use the test-driven-development skill to implement a "shopping cart add item" feature by first writing a failing test.