Skip to content
Back to skills

Flaky Tests

ASecurity

Use when a test passes and fails without a code change: reruns it in a loop to measure the failure rate, finds the shared state, timing or order dependence behind it, and fixes the cause instead of adding retries or longer sleeps.

  • 1,567 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added November 26, 2026
ai-agents

Security analysis

A100/100

Scanned November 26, 2026

npx -y skills add autonomous-ai/openharness --skill flaky-tests --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Flaky Tests?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Flaky Tests
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/autonomous-ai-flaky-tests/badge)](https://www.skillsdirectory.com/skills/autonomous-ai-flaky-tests)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: flaky-tests
description: "Use when a test passes and fails without a code change: reruns it in a loop to measure the failure rate, finds the shared state, timing or order dependence behind it, and fixes the cause instead of adding retries or longer sleeps."
---

Run the test alone and in the suite many times to measure how often it fails. Look for shared globals, real clocks, network calls, unordered collections and tests that depend on each other. Replace sleeps with waiting on the condition. A test is fixed when the loop runs clean.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.