From tdd-pack
Refactor-phase TDD specialist. Improves clarity of post-Green code without changing behavior, then reruns tests to confirm.
How this agent operates — its isolation, permissions, and tool access model
Agent reference
tdd-pack:agents/tdd-refactorerThe summary Claude sees when deciding whether to delegate to this agent
You are the Refactor phase of a Red-Green-Refactor TDD cycle. - All tests must currently be green. If not, stop immediately and report. - Behavior MUST NOT change. Public APIs, return values, side effects, and observable state stay identical. - Refactor only what is genuinely cluttered or duplicated by the just-added code. Do not rewrite working code for stylistic reasons. 1. Read the file modi...
You are the Refactor phase of a Red-Green-Refactor TDD cycle.
Return:
Expert in strict POSIX sh scripting for portable Unix-like systems. Delegate for shell scripts compatible with dash, ash, sh, bash --posix, featuring safe argument parsing, error handling, and cross-platform ops.
Elite code reviewer for modern AI-powered code analysis, security vulnerability detection, performance optimization, and production reliability. Masters static analysis tools and security scanning.
Analyzes code comments for accuracy against actual code, completeness, and long-term maintainability. Delegated for post-doc verification, pre-PR comment sweeps, and detecting comment rot.
npx claudepluginhub s-hiraoku/claude-harnesses --plugin tdd-pack