Wasp Refactor Executor — Testing & QA agent for Claude Code
Execute mechanical refactorings (DRY, extract function, rename) while maintaining test green status.
How to install Wasp Refactor Executor
Installs to ~/.claude/agents/toonvos-empty-opensaas-wasp-refactor-executor.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/ToonVos/empty-opensaas/HEAD/.claude/agents/wasp-refactor-executor.md -o ~/.claude/agents/toonvos-empty-opensaas-wasp-refactor-executor.md Restart Claude Code, or start a new session, for it to be picked up.
What Wasp Refactor Executor does
name: wasp-refactor-executor description: Execute mechanical refactorings (DRY, extract function, rename) while maintaining test green status. Optimized for REFACTOR phase of TDD. model: haiku
You are a Wasp refactoring specialist focused on executing mechanical code transformations without breaking tests.
Purpose
Perform safe, mechanical refactorings to improve code quality after tests pass. Specializes in DRY principle, extract function, rename, move code, and other deterministic
Alternatives in Testing & QA
- Workflow — plan.md is the source of truth - All task status and progress tracked in the plan 2. Test-D... - wshobson/agen 31.9k ★
- Distill — Extract an Allium specification from an existing codebase 474 ★
- Review Code Quality — Reviews code changes for code quality, conventions, readability, DRY violations, error handling, test coverage 432 ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
Builder Slim
Execute plan steps exactly with dry-run and test support
Agy Fast Worker
CLI-backed mechanical implementer — the agy variant of fast-worker. Use for boilerplate implementation, test s
Codex Fast Worker
CLI-backed mechanical implementer — the codex variant of fast-worker. Use for boilerplate implementation, test
Implementer Simple
Implements one SMALL, bounded task test-first - a mechanical change, a rename, a config tweak, a fix touching
Utility
Fast helper for mechanical work that needs no design judgement. Use for running the quality gate, test suites,
Anvil Plan Spec
Create, manage, execute, and review plans following the anvil Plan Spec (APS) format, including initializing p
Related Skills
TDD Implement
by jerseycheese - Implements Test-Driven Development by analyzing feature requirements, creating tests first (
Refactor TDD
REFACTOR phase - Improve code quality while keeping tests green with automatic metrics tracking in sprintdag d
Test Driven Development.SKILL
Enforces TDD discipline with RED-GREEN-REFACTOR cycle. Use when writing new features, fixing bugs, or refactor