flaky-detect

Community

Detect flaky tests automatically, restore CI reliability.

Authorjmagly
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill eliminates unreliable CI builds by automatically identifying flaky tests through CI history analysis and code pattern scanning.

Core Features & Use Cases

  • Flaky Test Detection: Analyzes CI history and test execution patterns to identify non-deterministic tests.

Quick Start

When you say "find flaky tests", this Skill analyzes your CI history for inconsistent test results and scans code for flaky patterns like timing issues and async dependencies.

Example Output

"Flaky Test Report

Analysis Period: Last 30 days Total Tests: 450 Flaky Tests Found: 12 (2.7%)

Critical Flaky Tests (< 50% pass rate):

  1. test/api/login.test.ts:45 Pass Rate: 42% (21/50 runs) Category: Timing Pattern: Uses Date.now() for token expiry

Root Cause: Test creates token and checks expiry in same millisecond sometimes, different millisecond other times.

Recommended Fix: Use mocked time with vi.setSystemTime()"

Dependency Matrix

Required Modules

flaky-fix

Components

references

💻 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-detect
Download link: https://github.com/jmagly/ai-writing-guide/archive/main.zip#flaky-detect

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.