test-fix

Analyze test failures to diagnose root causes across code, timing, environment, and tests.

1|Updated Mar 15, 2026
One-click install
npx skills add https://github.com/blakeox/llm-skills --skill test-fix-blakeox
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: test-fix
Source: https://github.com/blakeox/llm-skills/tree/main/skills/test-fix
Command: npx skills add https://github.com/blakeox/llm-skills --skill test-fix-blakeox

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

It helps developers identify whether test failures are due to code bugs, flawed tests, or environment issues, reducing debug time and increasing confidence in the test suite.

Core Features & Use Cases

  • Root Cause Analysis: Analyzes test failures to determine if the problem lies in the test, the code, or environment.
  • Structured Diagnosis: Provides detailed insights into error patterns, evidence, and recommended fixes.
  • Use Case: When a test intermittently fails in a CI pipeline, use this skill to pinpoint flaky timing dependencies or environment mismatches and suggest fixes.

Quick Start

Run this skill on your failing test to get a detailed diagnosis and suggested remediation steps.

Frequently Asked Questions about test-fix

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

FAQPage Schema
How do I diagnose flaky test failures in my CI pipeline?

To diagnose flaky test failures in a CI pipeline, you can run this skill on the failing test to analyze error patterns and pinpoint whether the root cause is code bugs, timing dependencies, or environment mismatches. It then provides suggested remediation steps to improve test suite reliability.

What causes intermittent test failures and how do I identify them?

Intermittent test failures are typically caused by flaky timing dependencies or environment mismatches. This skill analyzes test failures to identify these root causes by examining error patterns and evidence, distinguishing between flawed tests, code bugs, and environment issues.

Can I use automated diagnosis to determine if my test failure is a code bug or an environment issue?

Yes, you can use automated diagnosis to determine if a test failure stems from a code bug or an environment issue. The skill performs root cause analysis on test failures to classify whether the problem lies in the test logic, the application code, or the test environment setup.

What is the best way to debug failing tests and improve test suite reliability?

The best way to debug failing tests and improve test suite reliability is to use structured diagnosis that analyzes error patterns and evidence. This skill provides detailed insights into test failures and recommends specific fixes, reducing manual debug time and increasing developer confidence.

Why does my test pass locally but fail in the CI environment?

Tests that pass locally but fail in CI often stem from environment mismatches or flaky timing dependencies. This skill analyzes these test failures to diagnose environment issues, providing structured insights into the error patterns and recommending fixes to resolve the discrepancies.