green-phase

Community

Implement minimal code, make tests pass.

Authorfoolishimp
Version1.0.0
Installs0

System Documentation

What problem does it solve?

In Test-Driven Development (TDD), developers often struggle to write just enough code to pass failing tests without over-engineering or introducing unnecessary complexity.

Core Features & Use Cases

  • Minimal Implementation: Guides the AI to write the simplest possible code to make previously failing tests (from red-phase) pass.
  • TDD Workflow Integration: A core, automated component of the RED → GREEN → REFACTOR cycle, ensuring disciplined development.
  • Requirement Traceability: Tags implemented code with REQ-* and BR-* keys, maintaining clear linkage to requirements.
  • Use Case: After writing failing tests for a new user login feature, invoke this skill to generate the minimal Python code required to make those tests pass, focusing solely on functionality.

Quick Start

Implement minimal Python code in 'src/auth/login.py' to make the failing tests for REQ-ID 'UserLogin' pass.

Dependency Matrix

Required Modules

pytest

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: green-phase
Download link: https://github.com/foolishimp/ai_sdlc_method/archive/main.zip#green-phase

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