flaky-test-doctor

Official

Diagnose and fix flaky tests.

Authorelastic
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill helps identify the root cause of flaky, failing, or skipped automated tests, providing clear recommendations for resolution or migration.

Core Features & Use Cases

  • Root Cause Analysis: Investigates test failures across different environments (ESS, Serverless, MKI).
  • Actionable Recommendations: Suggests whether to fix the test, update the application, delete the test, or migrate it to a different testing framework (e.g., Scout).
  • Use Case: When a Cypress test for the Kibana Security Solution intermittently fails in CI, this Skill analyzes its code, git history, and environment tags to pinpoint why and suggest the best course of action.

Quick Start

Use the flaky-test-doctor skill to analyze the Cypress test located at 'x-pack/solutions/security/test/security_solution_cypress/cypress/e2e/investigations/alerts/building_block_alerts.cy.ts'.

Dependency Matrix

Required Modules

None required

Components

scriptsreferences

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: flaky-test-doctor
Download link: https://github.com/elastic/kibana/archive/main.zip#flaky-test-doctor

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.