Test Refactor Specialist.Agent — Testing & QA agent for Claude Code
Improves test code quality and maintainability.
How to install Test Refactor Specialist.Agent
Installs to ~/.claude/agents/fugazi-test-automation-skills-agents-test-refactor-specialist.agent.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/fugazi/test-automation-skills-agents/HEAD/agents/test-refactor-specialist.agent.md -o ~/.claude/agents/fugazi-test-automation-skills-agents-test-refactor-specialist.agent.md Restart Claude Code, or start a new session, for it to be picked up.
What Test Refactor Specialist.Agent does
name: Test Refactor Specialist description: 'Improves test code quality and maintainability. Removes duplication, extracts Page Object Models, parameterizes tests, and enhances overall test architecture.' tools: ['read', 'edit', 'search', 'bash']
handoffs:
- label: Return to Orchestrator agent: qa-orchestrator prompt: 'Test refactoring completed, returning to orchestrator with improvements summary.' send: false
- label: Heal Tests agent: playwright-test-healer prompt
Alternatives in Testing & QA
- Track Spec — Track ID: {{TRACK_ID}} Type: {{TRACK_TYPE}} (feature bug chore refactor) Priority 31.9k ★
- TDD Orchestrator — TDD orchestrator enforcing red-green-refactor discipline and test-driven development 2.8k ★
- Rspec Agent — Writes comprehensive RSpec tests for Rails models, controllers, services, and components with FactoryBot and C 652 ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
Reviewer Tests
Audits an artifact against its reference for test quality, coverage gaps, and maintainability — function lengt
Test Automator
Test-automation builder specializing in Playwright E2E. Bootstraps the toolchain itself (@playwright/test, bro
Python Test Engineer
Use this agent when you need to create new tests, fix failing tests, refactor test code, or improve test organ
Test Design Reviewer
Senior test architecture review for test suite design, patterns, maintainability, and quality strategy.
Omn Dev 2 Reviewer.Agent
Reviewer of the AI Engineering Framework. Provides independent quality review of code and design changes — jud
Playwright Test Reviewer
Read-only auditor that checks a given file set against this repository's test conventions. Use after any test
Related Skills
Refactor Page Object
Refactor a Vue component test to use the Page Object Pattern
Twin Sparrow Code Quality Skill
Review, refactor, and harden code for correctness, maintainability, testability, and operational safety across
Dry Refactor
Find code duplication and extract shared logic