sametcelikbicak

Flaky Test Detector — Testing skill for Claude Code

Testing community

Detect, analyze, and eliminate flaky tests across any test runner.

How to install Flaky Test Detector

This entry records only its repository, not the path inside it, so there is no exact command to give. Open sametcelikbicak/flaky-test-detector and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Flaky Test Detector does

Detect, analyze, and eliminate flaky tests across any test runner. An AI agent skill that identifies non-deterministic test failures, categorizes root causes, and applies targeted fixes.

Alternatives in Testing

  • Test Runner — Run Python tests with pytest, unittest, or other testing frameworks 23.4k ★
  • Skill Debug — Debug issues methodically — use when stuck on errors, test failures, or unexpected behavior 2.8k ★
  • Flaky Fix — 不安定なテスト(flaky test)の原因を分析し、テストの安定化を試みます 974 ★

README

Logo

Flaky Test Detector

[![Awesome](https://awesome.re/badge.svg)](https://awesome.re) [![GitHub Stars](https://img.shields.io/github/stars/sametcelikbicak/flaky-test-detector?style=social)](https://github.com/sametcelikbicak/flaky-test-detector)

Detect, analyze, and eliminate flaky tests across any test runner. An AI agent skill that identifies non-deterministic test failures, categorizes root causes, and applies targeted fixes.

Compatible with **opencode**, **Claude Code**, **Cursor**, **Windsurf**, and **GitHub Copilot**.

What it does

  • Detects your test runner (Vitest, Jest, Playwright, Cypress, Mocha, AVA)
  • Harvests flaky candidates by running tests multiple times
  • Analyzes root causes across 5 categories:
    • Async timing issues
    • Shared mutable state
    • Test isolation gaps
    • Environment sensitivity
    • Race conditions
  • Applies category-specific fixes with proven strategies
  • Verifies fixes by re-running the detection loop
  • Generates a flaky test report

Install

# rolecraft — install from GitHub (recommended)
npx rolecraft install sametcelikbicak/flaky-test-detector

# or via agentskill.sh
/learn @sametcelikbicak/flaky-test-detector

# or copy manually
cp -r flaky-test-detector .opencode/skills/

Supported runners

  • Vitest
  • Jest
  • Playwright
  • Cypress
  • Mocha
  • AVA
  • react-scripts (CRA)

License

MIT