test-driven-development

Guide developers through the Red-Green-Refactor cycle across multiple languages.

34|Updated Nov 17, 2025
One-click install
npx skills add https://github.com/OutlineDriven/odin-claude-plugin --skill test-driven-development-outlinedriven
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: test-driven-development
Source: https://github.com/OutlineDriven/odin-claude-plugin/tree/main/skills/test-driven
Command: npx skills add https://github.com/OutlineDriven/odin-claude-plugin --skill test-driven-development-outlinedriven

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill implements the eXtreme Programming (XP) style Test-Driven Development (TDD) workflow, ensuring code correctness, preventing regressions, and improving maintainability. It guides developers through the Red-Green-Refactor cycle, making testing an integral part of the development process across multiple languages.

Core Features & Use Cases

  • Red-Green-Refactor Cycle: Systematically write failing tests, implement minimal code to pass, and then refactor, ensuring continuous validation.
  • Multi-Language Support: Provides guidance and commands for Rust, Python, TypeScript, Go, Java, C#, and C++ using their native test frameworks (e.g., cargo test, pytest, Vitest).
  • Property-Based Testing Integration: Enhances traditional unit tests with generative testing (e.g., Hypothesis, proptest) to discover edge cases automatically.
  • Use Case: Develop a new API endpoint. This skill ensures that each piece of functionality is covered by a test before implementation, leading to a well-tested, robust, and easily maintainable API.

Quick Start

Use the test-driven-development skill to implement a shopping cart feature in Rust. The agent will guide you through writing a failing test, making it pass, and then refactoring the code.