tdd-refactor
CommunityRefactor safely while keeping tests green.
Authormorodomi
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill guides developers to safely improve code quality after the GREEN phase without breaking existing behavior, ensuring a stable, maintainable codebase.
Core Features & Use Cases
- Safe Refactoring: Targeted, small improvements that reduce duplication and improve readability without altering external behavior.
- Quality Gate: Verifies that all tests pass and static checks are satisfied before advancing to REVIEW.
- Use Case: When legacy code needs cleanup or architectural improvements while preserving existing test coverage.
Quick Start
Confirm the current cycle status, run the test suite (e.g., PHP unit tests), apply focused refactors, then allow the workflow to automatically progress to REVIEW.
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-refactor Download link: https://github.com/morodomi/tdd-skills/archive/main.zip#tdd-refactor 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 471,000+ vetted skills library on demand.