Sign in Get 3 free credits

Try a job or a niche: tiktok captions, study notes, excel formulas. Press Esc to close.

Flaky test fixer

Measures your flaky tests and fixes the root cause without retries or sleeps, so CI stops failing at random.

What we improved

Made the skill work on its own. The original ran a shared engine file from a wider command suite, which in turn pointed at files not included (work.md, execution-model.md, verification-framework.md) and at a config file (.absolute.config.js

Improved by YourAISkill from the original by dhruvjainin, under its MIT licence. The download includes the author's licence and a CHANGES.md listing every change. Both Claude reviews read the improved version.

Claude's review

8/10 Rigorous deflake workflow with per runner repeat, shuffle and parallel flags, a run count table from failure rate, a cause and fix matrix and a no retries rule.

We asked Claude the question you would ask: would I be glad I installed this? Two separate reviews, the second blind to the first, must both rate a skill 7 or higher before we sell it.

In detail

Flaky test fixes: detect nondeterministic tests empirically (repeat/shuffle/parallel runs), diagnose the root cause, fix it — never retry/skip/sleep — and verify across many randomized runs. Triggers on "absolute deflake", "fix flaky tests", "CI is flaky", "this test fails randomly/intermittently".

How you use it

  1. Add it to your pack, then download your pack (1 credit).
  2. In Claude, open Customize > Skills and upload the zip. Code execution needs to be on under Settings > Capabilities.
  3. Ask Claude for the job in your own words. It uses the skill when your request matches what it does. Step by step guide

Safety check

Nothing risky found: no hidden instructions, no download and run, no reading of saved passwords or keys.

An automated scan lowers risk but cannot promise zero risk. How we check skills

Preview

The first lines of SKILL.md
---
name: absolute-deflake
version: 0.5.0
description: "Fix flaky tests at the root. Measures each suspect test's failure rate with repeated, shuffled and parallel runs, proves the cause (shared state, test order, clocks, async races, randomness, network, unordered collections, leaked resources), fixes it without retries, sleeps or skips, and verifies with enough randomized runs to be statistically confident the flake is gone. Covers Jest, Vitest, pytest, Go, Playwright and JUnit. Use when CI is flaky, a test fails randomly or intermittently, passes locally but fails in CI, or when clearing a backlog of retry or skip annotations that hide flakiness."
category: workflow
tags:
  - workflow
  - testing
  - flaky-tests
  - maintenance
platforms:
  - claude-code
  - gemini-cli
  - openai-codex
  - mcp
user-invocable: true
argument-hint: "[target]"
license: MIT
maintainers:
  - github: maddhruv
---
<!-- Modified by YourAISkill (youraiskill.com) on 2 December 2026 from the original by dhruvjainin. See CHANGES.md. -->

# Absolute Deflake

Find tests that pass and fail nondeterministically, diagnose the **root cause** of each, and fix it: not by retrying or skipping, but by removing the source of nondeterminism. The output is evidence (failure rate per test), then cause, then fix, verified by repeated runs.

```
DETECT -> MEASURE -> DIAGNOSE -> TRIAGE (gate) -> FIX (one cause at a time) -> VERIFY -> REPORT
```

## When to use

- "Our CI is flaky", "this test fails randomly", "fix the intermittent failures".
- A test passes locally but fails in CI (or the reverse), or fails about 1 in N runs.
- Burning down a backlog of `retry`, `flaky` or `skip` marked tests that mask real flakiness.

Not for tests that fail **every** time. That is a real bug or a real regression: fix it directly.

## Ground rules
...

From dhruvjainin's repository, MIT licence.

Related skills

  • Checked

    React Native testing

    Writes React Native Testing Library tests the right way for v13 and v14, so tests stay fast and reliable.

    by callstackincubator 1.7k
    8/101 credit
  • Checked

    JUnit and Mockito tests

    Writes and fixes Java tests with JUnit, AssertJ and Mockito that are deterministic and keep failures visible.

    by github 42k
    8/101 credit
  • Checked

    Test code review

    Reviews new or changed tests in pytest, Jest, Go and more, so weak tests are caught before merge.

    by amElnagdy 1.3k
    7/101 credit
  • Checked

    Go table driven tests

    Writes Go tests with table cases, fakes, fuzzing, benchmarks and golden files that stay fast and reliable.

    by ericrisco 691
    8/101 credit
  • Checked

    MSTest Unit Testing

    Writes modern C# unit tests with current MSTest APIs, assertions, data driven tests and lifecycle patterns.

    by github 42k
    8/101 credit
  • Checked

    Quarkus Testing

    Writes and fixes Quarkus tests using Dev Services containers, with the right profiles, mocks and run commands.

    by github 42k
    7/101 credit

Secure checkout

Credits

AUD

  1. 1Choose
  2. 2Pay on Square
  3. 3Credits added