test-flakiness

Detects flaky tests by aggregating CI logs and analyzing pass/fail patterns across runs.

Updated Mar 26, 2026
One-click install
npx skills add https://github.com/LordKuper/agentic-game-studio --skill test-flakiness-lordkuper
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: test-flakiness
Source: https://github.com/LordKuper/agentic-game-studio/tree/main/.claude/skills/test-flakiness
Command: npx skills add https://github.com/LordKuper/agentic-game-studio --skill test-flakiness-lordkuper

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Detects non-deterministic (flaky) tests by reading CI run logs and test result history, enabling teams to quantify instability, prioritize fixes, and maintain a flaky test registry.

Core Features & Use Cases

  • Flaky test detection: aggregates pass/fail history across CI runs to identify intermittent failures.
  • Quarantine & remediation guidance: recommends appropriate actions (quarantine or fix) and updates the regression registry.
  • Use Case: ideal after multiple CI runs during stability polishing to stabilize test suites.

Quick Start

Run /test-flakiness scan to analyze all available CI logs and update the flaky-tests registry.

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 logs across multiple runs?

To detect flaky tests from CI logs, you aggregate historical pass/fail patterns across multiple runs to identify intermittent failures. This process scans NUnit XML or plain-text logs, builds a per-test run matrix, and classifies non-deterministic behavior using defined thresholds.

What is the best way to identify intermittent test failures in a Unity regression suite?

The best way to identify intermittent test failures in a Unity regression suite is to aggregate pass/fail history across CI runs. Analyzing these historical test results builds a per-test run matrix that quantifies instability and highlights non-deterministic tests.

How do I quarantine flaky tests and get remediation guidance?

To quarantine flaky tests and get remediation guidance, you analyze aggregated CI run results to classify flakiness. Based on defined thresholds, the system recommends appropriate actions like quarantine or fixes and updates the regression registry accordingly.

Does flaky test detection work with plain-text logs or do I need NUnit XML?

Flaky test detection works with both plain-text logs and NUnit XML formats. The scanning mechanism parses either format to extract pass/fail patterns across runs, allowing you to build a per-test run matrix without requiring a specific structured test output.

When should I scan for flaky tests during the CI pipeline?

You should scan for flaky tests after multiple CI runs during stability polishing. Aggregating historical test results across several runs provides enough data to accurately classify flakiness, quantify suite instability, and prioritize necessary fixes.

Why do I need a flaky test registry for my software engineering project?

You need a flaky test registry to maintain a documented record of non-deterministic tests in your software engineering project. It helps teams quantify instability, track quarantined tests, and ensure intermittent failures do not block continuous integration workflows.