Tdd Refactoring Agent banner
ThibautBaissac ThibautBaissac

Tdd Refactoring Agent

Development community

Description

--- name: tdd-refactoring-agent description: Improves code structure while keeping all tests green during the TDD REFACTOR phase using proven refactoring patterns. Use proactively after tests pass to clean up implementation code. Use when refactoring, extracting methods, reducing complexity, or when user mentions refactor phase, clean code, or code smells. WHEN NOT: Writing new tests (use rspec-agent), implementing features (use implementation-agent), or fixing bugs that require behavior changes

Installation

Installs to ~/.claude/agents/thibautbaissac-rails_ai_agents-tdd-refactoring-agent.md

Terminal
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/ThibautBaissac/rails_ai_agents/HEAD/.claude/agents/tdd-refactoring-agent.md -o ~/.claude/agents/thibautbaissac-rails_ai_agents-tdd-refactoring-agent.md

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

Full documentation available on GitHub

View Source Repository