Tdd Refactor
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
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 RepositoryRelated Agents
Agent Evaluator
Evaluates agent output against 5-axis quality rubric (accuracy, completeness, clarity, actionability, concisen
Project Management Architectobot
Project Architect & Task Breakdown Specialist who analyzes codebases and creates detailed implementation plans
Project Management Memory Keeper
Updates .claude/memory.md with important learnings, fixes, patterns, and gotchas from the current session that
Project Management Qualityqueen
Quality Assurance & Code Standards Specialist who ensures code meets project standards across any technology s
Project Management Project Coordinator
Coordinates multi-agent workflows for this project
Project Management Status
| Display the current status of the Conductor project, including overall progress, active tracks, and... | - |
Project Management