Failure Investigator — Testing & QA agent for Claude Code
Diagnoses a failing Playwright C# test or build - reproduces it once with the given scoped command, reads the test, its page and Api classes and the TRX error - and returns a classification (product.
How to install Failure Investigator
Installs to ~/.claude/agents/andreypilipchenko-dotnet-playwright-harness-failure-investigator.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/AndreyPilipchenko/Dotnet-Playwright-Harness/HEAD/.claude/agents/failure-investigator.md -o ~/.claude/agents/andreypilipchenko-dotnet-playwright-harness-failure-investigator.md Restart Claude Code, or start a new session, for it to be picked up.
What Failure Investigator does
name: failure-investigator description: Diagnoses a failing Playwright C# test or build - reproduces it once with the given scoped command, reads the test, its page and Api classes and the TRX error - and returns a classification (product, test or framework, intermittent, environment, requirement change, unknown) with 3-5 ranked, falsifiable hypotheses. Fixes nothing. Use from maintain-test, and from automate-test when a verification run fails. tools: Read, Glob, Grep, Bash, PowerShell
Alternatives in Testing & QA
- Eval Improver — Improver role of the D365FO agent eval loop 136 ★
- Bm Doc Classifier — Classifies a single planning document as ADR, PRD, SPEC, DOC, or UNKNOWN 92 ★
- Gsd Doc Classifier — Classifies a single planning document as ADR, PRD, SPEC, DOC, or UNKNOWN 57 ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
Failure Triage
Read-only QA analyst. Given failed scenarios from a Cucumber run, gathers evidence (error, trace, screenshot,
Test Triager
Diagnoses failing tests, builds, type errors, and CI failures — reproduces the failure, finds the first meanin
Sdlc Bug Investigator
Diagnoses the root cause of a reported bug and writes exactly one failing RED test that reproduces it — never
Test Healer
Repairs a failing Playwright case once flake-investigator has established the cause. Use only after the cause
Dnp Build Error Resolver
🔧 Autonomous iterative build-error fixing — parses dotnet build/test output, diagnoses root causes, and appli
Healer
Diagnoses and repairs failing specs (WebdriverIO or Playwright, per TEST_ENGINE) by comparing the spec against
Related Skills
GitHub Review Failures
Use when CI checks are failing on a PR — fetches failure logs, diagnoses root causes, implements fixes, and pu
QA Heal
Diagnose and rewrite a failing Playwright spec from a captured error log.
Investigator
Root-cause debugging specialist that diagnoses issues through systematic investigation before proposing any fi