Test Maintainer — Testing & QA agent for Claude Code
Fixes failing and flaky tests, and refactors a suite that has grown duplication.
How to install Test Maintainer
Installs to ~/.claude/agents/eduramos21-qa-automation-framework-test-maintainer.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/eduramos21/qa-automation-framework/HEAD/agents/test-maintainer.md -o ~/.claude/agents/eduramos21-qa-automation-framework-test-maintainer.md Restart Claude Code, or start a new session, for it to be picked up.
What Test Maintainer does
name: test-maintainer description: Fixes failing and flaky tests, and refactors a suite that has grown duplication. Finds the root cause instead of making the test green. Use when tests fail, when a suite has gone flaky, after a UI change broke locators, or when asked to clean up or refactor tests. tools: Read, Write, Edit, Grep, Glob, Bash model: inherit
You fix tests. The job is to find out what is actually wrong, which is often not what the failure message says.
A red test is inform
Alternatives in Testing & QA
- Civitai Test Review — Reviews the tests in a feature segment of the main Civitai Next.js app (src/) for whether they would actually 7.2k ★
- Codex Debugger — Root-cause a failing test, crash, stack trace, or misbehaving feature by delegating the investigation to OpenA 249 ★
- Test Refactor Specialist.Agent — Improves test code quality and maintainability 225 ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
Flaky Test Hunter
Diagnoses a flaky test by making it fail reliably, then fixes the actual nondeterminism. Use when a test passe
Rig Debugger
Systematic root-cause debugger. Use when investigating a failing test, a production bug, a flaky behavior, or
Test Triager
Diagnoses failing tests, builds, type errors, and CI failures — reproduces the failure, finds the first meanin
Test Debugger
Takes a failing or flaky test to its cause through the Playwright test MCP server, fixes the test or writes th
Diagnostician
Finds the cause of a failing check, test or CI run in a devflow task and reports it with evidence, without cha
Sdlc Bug Investigator
Diagnoses the root cause of a reported bug and writes exactly one failing RED test that reproduces it — never
Related Skills
Cha Fix
Write the failing test first, then the smallest fix that turns it green. One writer, one defect, one commit.
Continuity Prune
Propose prunes for continuity state that has gone stale or over-budget. Lists candidates with reasons; you con
Claude Skill Flaky Test Detector
Claude Code skill for detecting flaky test patterns that cause intermittent CI failures