absolute-deflake

Detect and fix flaky tests in JavaScript and Python CI pipelines.

207|31|Updated Mar 14, 2026
One-click install
npx skills add https://github.com/maddhruv/absolute --skill absolute-deflake
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: absolute-deflake
Source: https://github.com/maddhruv/absolute/tree/main/skills/absolute-deflake
Command: npx skills add https://github.com/maddhruv/absolute --skill absolute-deflake

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill addresses the issue of flaky tests in software development, improving reliability and stability of automated testing processes.

Core Features & Use Cases

  • Detects Flaky Tests: Empirically identifies tests that pass and fail nondeterministically.
  • Root Cause Analysis: Diagnoses the root cause of flakiness (shared state, clock, network, concurrency).
  • Fixes and Verification: Applies fixes without retries, skips, or sleeps, and verifies across many randomized runs.
  • Use Case: Use /absolute-deflake to fix flaky tests in your CI pipeline, ensuring consistent and reliable test results.

Quick Start

Run /absolute-deflake "Fix the flaky tests in our CI".

Frequently Asked Questions about absolute-deflake

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

FAQPage Schema
How do I find and fix flaky tests in my CI pipeline?

Identifying flaky tests involves running your test suite multiple times to empirically detect nondeterministic pass and fail patterns. Root cause analysis then diagnoses whether the flakiness stems from shared state, clock dependencies, network issues, or concurrency problems.

Can I use this to fix flaky tests in Python pytest projects?

Yes, you can fix flaky tests in Python pytest projects. The tool is designed for JavaScript and Python ecosystems, explicitly supporting pytest test runners to detect nondeterministic failures and apply fixes verified across randomized runs.

Does this flaky test detection work with Jest and Vitest?

Yes, flaky test detection works with Jest and Vitest. The tool supports JavaScript ecosystems and is designed to integrate with Jest or Vitest test runners to identify nondeterministic failures and diagnose root causes like shared state or concurrency issues.

What is the best way to resolve nondeterministic test failures without using retries or sleeps?

The best way to resolve nondeterministic test failures without retries or sleeps is through root cause analysis. By diagnosing underlying issues like shared state, clock dependencies, or concurrency, you can apply targeted fixes and verify them across many randomized runs.

Why do my automated tests pass locally but fail nondeterministically in CI?

Automated tests fail nondeterministically in CI due to shared state, clock dependencies, network variability, or concurrency issues. Empirical detection across multiple runs helps identify these flaky tests, followed by root cause analysis to diagnose and fix the specific environmental triggers.