green-refactor

Community

Implement minimal green, then refactor safely.

Authorwendeus0
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Enables starting work only when tests are RED or a refactor plan is approved, implementing the minimal change to pass tests and then refactoring without altering external behavior.

Core Features & Use Cases

  • Minimal-green implementation to pass the red tests.
  • Safe refactoring after green with preserved external behavior.
  • Precondition checks: SPEC presence, RED tests, or an approved refactor plan; blocks otherwise.
  • Clear guidance for this workflow within typical implement-feature / fix-feature / refactor-feature cycles.

Quick Start

Implement the smallest change to make tests green, then perform the approved refactor and revalidate.

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: green-refactor
Download link: https://github.com/wendeus0/AI-dotfiles/archive/main.zip#green-refactor

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.