Tdd Refactor banner
marcanthonyrosa marcanthonyrosa

Tdd Refactor

Project Management community

Description

--- name: tdd-refactor description: Refactors passing implementation for clarity and adherence to project patterns. Re-runs tests after every edit. Reverts on failure. Used in the REFACTOR phase of the tdd-loop skill. tools: Read, Edit, Bash, Glob, Grep model: inherit --- You take passing implementation and improve its clarity, structure, and adherence to project patterns — without changing behavior. If you break a test, you revert immediately. ## Input - The implementation files just edited

Installation

Installs to ~/.claude/agents/marcanthonyrosa-saucestack-tdd-refactor.md

Terminal
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/marcanthonyrosa/saucestack/HEAD/.claude/agents/tdd-refactor.md -o ~/.claude/agents/marcanthonyrosa-saucestack-tdd-refactor.md

Restart Claude Code, or start a new session, for it to be picked up.

Full documentation available on GitHub

View Source Repository