testing-tdd

Community

Write tests first, ensure code quality.

Authorbaotoq
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill enforces a Test-Driven Development (TDD) workflow, ensuring that all new code is written only after a failing test has been created, leading to more robust and reliable software.

Core Features & Use Cases

  • Enforces TDD: Mandates writing tests before implementation code for new features, bug fixes, and refactoring.
  • Red-Green-Refactor Cycle: Guides users through the TDD cycle of writing a failing test (Red), writing minimal code to pass (Green), and then cleaning up (Refactor).
  • Use Case: When developing a new API endpoint, you would first write a test that defines the expected request and response. Only after this test fails would you write the minimal code to make it pass, ensuring the endpoint behaves as intended from the start.

Quick Start

Use the testing-tdd skill to write a failing test for a new function before implementing it.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: testing-tdd
Download link: https://github.com/baotoq/go-shortener/archive/main.zip#testing-tdd

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.