tdd-mastery
OfficialWrite tests first, always.
Software Engineering#code quality#testing#tdd#refactoring#software development#test-driven development
AuthorHexAI-inc
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill enforces the Test-Driven Development (TDD) methodology, ensuring that all production code is written only after a failing test has been created, thereby improving code quality and reliability.
Core Features & Use Cases
- Strict Red-Green-Refactor Cycle: Guides users through writing a failing test, implementing minimal code to pass, and then refactoring.
- Bug Fix Protocol: Mandates writing a failing test that reproduces a bug before any fix is implemented.
- Use Case: When developing a new feature, you will first write a test that describes the desired outcome. This test will initially fail. Then, you will write the smallest amount of code necessary for the test to pass. Finally, you will refactor the code while ensuring the test still passes.
Quick Start
Use the tdd-mastery skill to write a failing test for the new 'calculate_discount' function.
Dependency Matrix
Required Modules
None requiredComponents
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: tdd-mastery Download link: https://github.com/HexAI-inc/v0-futuristic-website-design/archive/main.zip#tdd-mastery Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.