test-flakiness

Analyze CI run logs and test histories to detect flaky tests.

Updated Apr 25, 2026
One-click install
npx skills add https://github.com/packetalien/cursor-game-studios --skill test-flakiness-packetalien
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: test-flakiness
Source: https://github.com/packetalien/cursor-game-studios/tree/main/.cursor/skills/test-flakiness
Command: npx skills add https://github.com/packetalien/cursor-game-studios --skill test-flakiness-packetalien

SYSTEM DOCUMENTATION & REQUIREMENTS

## What problem does it solve? Detect non-deterministic (flaky) tests by reading CI run logs or test result history. Aggregates pass rates per test, identifies intermittent failures, recommends quarantine or fix, and maintains a flaky test registry. Best run during Polish phase or after multiple CI runs.

## Core Features & Use Cases

  • Parse CI logs from GitHub Actions, Unity, Godot, Unreal, and other pipelines to build per-test history.
  • Identify flaky tests using threshold-based classification and provide remediation guidance for CI workflows.
  • Update regression-suite with quarantine or fix recommendations and generate an optional flakiness report.

### Quick Start Analyze your latest CI logs to detect flaky tests and generate a quarantine-ready report.

Frequently Asked Questions about test-flakiness

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

FAQPage Schema
How do I detect flaky tests from CI run logs?

To detect flaky tests from CI run logs, you parse logs from pipelines like GitHub Actions to build per-test histories, aggregate pass rates, and identify intermittent failures using threshold-based classification. This process quantifies overall test stability and outputs remediation guidance for your CI workflows.

Why does my test pass locally but fail intermittently in CI?

Intermittent CI failures often indicate flaky tests caused by non-deterministic behavior. By analyzing test result histories and computing per-test pass rates, you can identify these intermittent failures, classify the underlying flakiness causes, and generate a report recommending either a fix or quarantine.

Can I parse CI logs from Unity or Godot pipelines to identify intermittent failures?

Yes, you can parse CI logs from Unity, Godot, Unreal, and GitHub Actions pipelines. The tool reads these varied CI formats to build per-test histories, identifies intermittent failures by quantifying stability, and provides actionable remediation guidance for your specific CI workflows.

What is the best way to quarantine flaky tests in a regression registry?

The best way to quarantine flaky tests in a regression registry is to analyze test histories to compute pass rates and classify flakiness causes. Once identified, you can update the regression suite directly with quarantine or fix recommendations to stabilize CI results.

When should I run a flaky test detection analysis on my test results?

You should run flaky test detection during the Polish phase or after multiple CI runs have accumulated. Analyzing test results across several runs allows you to accurately compute per-test pass rates, identify intermittent failures, and update your regression registry with quarantine or fix recommendations.