devflow-tdd-enforcer

Community

Automate TDD compliance, prevent code regressions.

AuthorDimon94
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill prevents developers from accidentally or intentionally bypassing Test-First Development (TDD) principles by blocking the completion of implementation tasks before their corresponding test tasks. This ensures strict adherence to project mandates and maintains high code quality.

Core Features & Use Cases

  • Real-time TDD Enforcement: Blocks file saves in TASKS.md if the TDD order (Tests before Implementation) is violated, providing immediate feedback.
  • Constitutional Mandate: Upholds Article VI of the project's Constitution, ensuring test coverage and quality standards are met.
  • Use Case: A developer attempts to mark an "Implement user login" task as complete before the "Test user login" task. The skill immediately blocks the save, prompting the developer to correct the TDD sequence and prioritize testing.

Quick Start

Mark the test task [x] as complete before marking the implementation task [x] in devflow/requirements/REQ-XXX/TASKS.md.

Dependency Matrix

Required Modules

None required

Components

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: devflow-tdd-enforcer
Download link: https://github.com/Dimon94/cc-devflow/archive/main.zip#devflow-tdd-enforcer

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