marcanthonyrosa

TDD Refactor — Project Management agent for Claude Code

Project Management community

Refactors passing implementation for clarity and adherence to project patterns.

How to install TDD Refactor

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.

What TDD Refactor does


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

Alternatives in Project Management

  • Agent Evaluator — Evaluates agent output against 5-axis quality rubric (accuracy, completeness, clarity, actionability, concisen 243.5k ★
  • Bolt Executor — Use this agent when there is a clear, well-scoped task to implement in code — a feature, fix, or refactor with 523 ★
  • Iwsdk Code Reviewer — Reviews IWSDK code for performance, ECS patterns, and project conventions 349 ★

Full documentation available on GitHub

View Source Repository