Refactor Validator — Development agent for Claude Code
Use this agent when a significant refactoring has been completed and you need to verify that the changes are correct, consistent, and haven't introduced regressions.
How to install Refactor Validator
Installs to ~/.claude/agents/opensource03-harnss-refactor-validator.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/OpenSource03/harnss/HEAD/.claude/agents/refactor-validator.md -o ~/.claude/agents/opensource03-harnss-refactor-validator.md Restart Claude Code, or start a new session, for it to be picked up.
What Refactor Validator does
name: "refactor-validator" description: "Use this agent when a significant refactoring has been completed and you need to verify that the changes are correct, consistent, and haven't introduced regressions. This includes verifying type safety, import consistency, runtime behavior preservation, and adherence to project conventions after large-scale code changes.\\n\\nExamples:\\n\\n\\nContext: The user just completed a major refactor of the session management hooks, splitting a large
Alternatives in Development
- Gitnexus PR Facts Historian — GitNexus PR facts and repository-history investigator 45.8k ★
- Civitai Perf Review — Reviews a feature segment in the main Civitai Next.js app (src/) for production performance — N+1 queries, uni 7.2k ★
- TDD Refactoring Agent — Improves code structure while keeping all tests green during the TDD REFACTOR phase using proven refactoring p 652 ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
Targets
Targets pipeline reviewer. Use when verifying target dependencies are correct, dynamic branching is sound, for
Agent Change Reviewer
Reviews a proposed change to a Sarvam agent (prompt diff, configure_agent payload, tools.py) for regressions,
Vocabulary Consistency Checker
Vocabulary consistency specialist for academic papers. Verifies that terms introduced in the paper carry consi
Bug Verifier Agent
Expert in verifying bug fixes. Use when a bug has been fixed and needs confirmation that the solution works an
Git History Analyzer
Traces code evolution through git history to understand why patterns exist and who introduced them. Use when r
Plan Execution Checker
Validates completed plan implementation by verifying all requirements met, code quality standards followed, an
Related Skills
Cmd Refactor
Refactor phase (ACT loop): analyze, plan, baseline, execute, verify, and sync a behavior-preserving restructur
Bmad Bmm Correct Course
Manage significant changes during sprint execution. Use when the user says "correct course" or "propose sprint
Agent Refactor Code
A strict brief that makes a coding agent refactor code without changing behavior, verifying nothing broke.