fugazi

Test Refactor Specialist.Agent — Testing & QA agent for Claude Code

Testing & QA community

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

Terminal
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 Repository