TDD-discipline
OfficialEnforce TDD: Red, Green, Refactor, no exceptions.
Software Engineering#code quality#testing#TDD#git workflow#software design#test-driven development#red green refactor
Authorelevanaltd
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Developers often skip writing tests first, leading to code that is hard to test, poorly designed, and prone to regressions, increasing technical debt and slowing down development.
Core Features & Use Cases
- Sacred Cycle Enforcement: Guides and enforces the strict RED → GREEN → REFACTOR cycle, ensuring a failing test always precedes implementation, leading to robust, well-tested code.
- Minimal Implementation Principle: Promotes writing only the absolute minimal code to pass a test, preventing feature creep, premature optimization, and unnecessary complexity.
- Git History Validation: Mandates specific Git commit patterns (
TEST:,FEAT:,REFACTOR:) to prove TDD adherence and block merges for violations, ensuring a verifiable development process. - Use Case: When starting a new feature, use this skill to guide you through writing a failing test, verifying its failure, implementing the minimal code to pass, and then refactoring, ensuring each step is committed correctly and demonstrably.
Quick Start
Start implementing user authentication by writing a failing test for valid credentials, then verify it fails for the correct reason.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 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-discipline Download link: https://github.com/elevanaltd/oa/archive/main.zip#tdd-discipline Please download this .zip file, extract it, and install it in the .claude/skills/ directory.