Flaky Test (Grade A) logo

Flaky Test (Grade A)Security-tested development skill for Claude AI. Grade A. Diagnose and fix flaky tests. Use when a test passes sometimes and fails other times.

(0)
Daniel NikulshynReviewed by Daniel Nikulshyn·Updated July 2026

Overview

Diagnose and fix flaky tests. Use when a test passes sometimes and fails other times. A flaky test is one that passes intermittently, fails on CI but not locally, or depends on timing/order. To fix, reproduce the issue by running the test 10+ times, categorize the cause, and then apply fixes such as adding await for async operations, resetting mocks, or making tests self-contained. Verify the fix by running the test 20+ times and ensuring no new flakiness is introduced.

Key features

  • Reproduce flaky tests
  • Categorize common causes of flakiness (timing, shared state, randomness, order dependency)
  • Fix timing issues with await and fake timers
  • Reset mocks and shared state
  • Make tests self-contained

Pricing

Model
Free
Category
Skills
Rating
No reviews yet

Use cases

Intermittent Test Failures

Use when a test passes sometimes and fails other times, or when tests fail on CI but not locally

Test Suite Maintenance

Use to improve overall test reliability and reduce flakiness in a test suite

Pros & Cons

Pros

  • Identifies and resolves flaky tests
  • Improves test reliability
  • Provides step-by-step guide to fixing common causes of flakiness

Cons

  • May require significant test refactoring
  • Can be time-consuming to diagnose and fix
  • May not address underlying issues with test suite design

Reviews

Sign in to leave a review.

No reviews yet. Be the first!

Q&A

What are the key features of Flaky Test?

The key features include reproducing flaky tests, categorizing common causes of flakiness, fixing timing issues, resetting mocks, and making tests self-contained.

Asked by Mateusz Wozniak · Nov 3, 2025

What are the steps to fix flaky tests with Flaky Test?

The steps include reproducing the issue, categorizing the cause, applying fixes, and verifying the fix by running the test multiple times.

Asked by Timur Nazarov · Oct 21, 2025

How does Flaky Test fix timing issues?

Flaky Test fixes timing issues by adding await for async operations and using fake timers, such as jest.useFakeTimers.

Asked by Amos Fältskog · Sep 23, 2025

What is Flaky Test used for?

Flaky Test is used to diagnose and fix flaky tests, which pass intermittently or fail on CI but not locally.

Asked by Nadia Petrova · Sep 12, 2025

Ask a question

Skills alternatives

Manage Headers (Grade A) logo
Manage Headers (Grade A)Skills

Security-tested development skill for Claude AI. Grade A. Inspects and configures the security headers a Power Pages site sends to browsers — Content Security Policy, frame and clickjacking protection

(0)
Free
Using Git Worktrees (Grade A) logo
Using Git Worktrees (Grade A)Skills

Security-tested data-ai skill for Claude AI. Grade A. Use when starting feature work that needs isolation from current workspace or before executing implementation plans - creates isolated git worktre

(0)
Free
Ga4 Bigquery Schema (Grade A) logo
Ga4 Bigquery Schema (Grade A)Skills

Security-tested data-ai skill for Claude AI. Grade A. GA4 BigQuery Export Schema Reference — complete field reference, nested structures, query patterns, and performance tips

(0)
Free
Meta Capi (Grade A) logo
Meta Capi (Grade A)Skills

Security-tested data-ai skill for Claude AI. Grade A. Meta Conversions API (CAPI) Setup Reference — architecture, event types, customer information hashing, deduplication, implementation examples, AEM

(0)
Free
Callees (Grade A) logo
Callees (Grade A)Skills

Security-tested development skill for Claude AI. Grade A. Lista o que uma funcao/metodo chama (call graph direto)

(0)
Free
Test Module Name (Grade A) logo
Test Module Name (Grade A)Skills

Security-tested data-ai skill for Claude AI. Grade A. Name Haskell test modules after the module under test with a Spec suffix in the same namespace. Use when writing or reviewing Haskell test module

(0)
Free
Board Of Directors (Grade A) logo
Board Of Directors (Grade A)Skills

Security-tested data-ai skill for Claude AI. Grade A. Simulate a 5-member expert board deliberation for major decisions. Use when evaluating plans, architecture choices, feature designs, or any decisi

(0)
Free
Advpl Mvc Avancado (Grade A) logo
Advpl Mvc Avancado (Grade A)Skills

Security-tested development skill for Claude AI. Grade A. MVC avançado via PE (Pontos de Entrada) — adicionar grids customizadas em telas MVC padrão (CNTA300/MATA070/MATA440/MATA460/FINA040 via *STRU)

(0)
Free