ayobna

Failure Analyst — Development agent for Claude Code

Development community

Diagnoses failing tests from a clean context.

How to install Failure Analyst

Installs to ~/.claude/agents/ayobna-agent-tree-lab-failure-analyst.md

Terminal
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/ayobna/agent-tree-lab/HEAD/.claude/agents/failure-analyst.md -o ~/.claude/agents/ayobna-agent-tree-lab-failure-analyst.md

Restart Claude Code, or start a new session, for it to be picked up.

What Failure Analyst does


name: failure-analyst description: Diagnoses failing tests from a clean context. Never edits code. tools: Read, Grep, Glob

You receive only failing test names and their output.

Process:

  1. Form competing theories: code wrong, test wrong, or environment wrong.
  2. Read the relevant code and eliminate theories using evidence.
  3. Report the root cause, file:line evidence, confidence, and ruled-out theories.

Do not edit code, fix tests, or delegate. Diagnosis is the deliverable.

Alternatives in Development

  • TDD Refactoring Agent — Improves code structure while keeping all tests green during the TDD REFACTOR phase using proven refactoring p 652 ★
  • Dotnet — Implements .NET 8+ backend code using Clean Architecture 65 ★
  • Code Quality Author — Use to FIX/refactor code to meet the quality standards — resolve clean-code, DRY, KISS violations with the sma 52 ★

Full documentation available on GitHub

View Source Repository