flaky-test-detective

Diagnose flaky tests by analyzing execution logs and failure patterns.

Updated Jan 24, 2026
One-click install
npx skills add https://github.com/Camilo8902/GabyCosmetics --skill flaky-test-detective-camilo8902
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: flaky-test-detective
Source: https://github.com/Camilo8902/GabyCosmetics/tree/main/.claude/skills/flaky-test-detective
Command: npx skills add https://github.com/Camilo8902/GabyCosmetics --skill flaky-test-detective-camilo8902

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill systematically diagnoses and resolves flaky tests in software development, which are tests that intermittently pass and fail without code changes, leading to unreliable builds and wasted developer time.

Core Features & Use Cases

  • Flaky Test Detection: Runs tests multiple times to identify intermittent failures.
  • Root Cause Analysis: Analyzes failure patterns to pinpoint issues like timing, shared state, randomness, or network dependencies.
  • Stabilization Strategies: Provides concrete recommendations and code examples for fixing identified flaky tests.
  • Use Case: A developer is experiencing unreliable test results in their CI/CD pipeline. They can use this Skill to pinpoint which tests are flaky, understand why they are failing intermittently, and receive guidance on how to make them stable.

Quick Start

Use the flaky-test-detective skill to analyze test runs and identify unstable tests.

Frequently Asked Questions about flaky-test-detective

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

FAQPage Schema
Why do flaky tests keep failing intermittently in my CI/CD pipeline without code changes?

Flaky tests fail intermittently due to root causes like timing issues, shared state, randomness, or network dependencies. This Skill diagnoses these unstable tests by analyzing execution logs and code patterns to pinpoint the exact reasons for intermittent failures.

How do I find the root cause of intermittent test failures in my software testing suite?

To find the root cause of intermittent test failures, this Skill runs tests multiple times to detect flakiness and analyzes failure patterns. It identifies underlying issues such as timing constraints and state leakage to provide actionable debugging solutions.

What is the best way to fix flaky tests caused by timing issues and shared state?

The best way to fix flaky tests caused by timing and shared state is to apply targeted stabilization strategies. This Skill provides concrete recommendations and automated code fixes to resolve these specific dependencies and improve test reliability.

Can I use automated debugging to stabilize unreliable test runs in my CI/CD automation?

Yes, you can use this Skill to automate debugging and stabilize unreliable test runs in your CI/CD automation. It analyzes test execution logs to automatically offer solutions for improving test reliability and resolving intermittent failures.

What are the limitations of using automated root cause analysis for test stability?

While automated root cause analysis effectively diagnoses timing, randomness, and network dependencies, resolving complex shared state issues may still require manual code intervention. Stabilization strategies are provided as actionable guidance rather than guaranteed automated fixes.