test-failure-analyzer

Analyze test failures and generate failure_analysis.json and action_plan.md.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/taptap/agents-plugins --skill test-failure-analyzer
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: test-failure-analyzer
Source: https://github.com/taptap/agents-plugins/tree/main/plugins/test/skills/test-failure-analyzer
Command: npx skills add https://github.com/taptap/agents-plugins --skill test-failure-analyzer

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Analyzes and triages test failures to identify root causes and categorize them for targeted remediation.

Core Features & Use Cases

  • Failure classification: categorize failures into expected changes, regressions, or flaky tests.
  • Diff-aware root cause analysis: link failures to relevant code changes and infer probable causes.
  • Actionable planning: generate failure_analysis.json and an instruction-driven action_plan.md for guided fixes and re-testing.

Quick Start

Supply the test outputs and code diffs, then run the Skill to generate failure_analysis.json and action_plan.md for review.

Frequently Asked Questions about test-failure-analyzer

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate test-failure analysis and identify root causes?

To automate test-failure analysis, you supply test outputs and code diffs to categorize failures into regressions, expected changes, or flaky tests, which identifies root causes for targeted remediation.

What is diff-aware root cause analysis for test failures?

Diff-aware root cause analysis links test failures directly to relevant code changes by comparing test outputs against code diffs, categorizing them to infer probable causes for remediation.

How do I triage flaky tests versus regressions across code diffs?

Triage flaky tests versus regressions by running automated failure classification on test outputs and code diffs, categorizing failures into expected changes, regressions, or flaky tests.

Does test-failure triage work with both unit and integration test runs?

Yes, test-failure triage works with both unit and integration test runs, applying diff-aware analysis across changes to generate structured outputs like failure_analysis.json and action_plan.md.

How do I generate an action plan for fixing test failures?

Generate an action plan by supplying test outputs and code diffs to the analyzer, which produces an instruction-driven action_plan.md for guided fixes and structured failure_analysis.json.

What's the best way to categorize test failures for targeted remediation?

The best way to categorize test failures is using automated diff-aware analysis, classifying failures into expected changes, regressions, or flaky tests to enable targeted remediation.