ci-flake-triage
Installation
SKILL.md
CI Flake Triage
Use this skill to turn noisy JUnit retry artifacts into a focused flaky-test report.
What this skill does
- Reads one or more JUnit XML files (for example: first run + rerun artifacts)
- Aggregates status per test case (
passed,failed,skipped,error) - Flags flaky candidates when a test has both fail-like and pass outcomes
- Separates persistent failures from flaky failures
- Prints top flaky tests to prioritize stabilization work
Inputs
Optional:
JUNIT_GLOB(default:test-results/**/*.xml)TRIAGE_TOP(default:20)OUTPUT_FORMAT(textorjson, default:text)FAIL_ON_PERSISTENT(0or1, default:0) — exit non-zero when persistent failures existFAIL_ON_FLAKE(0or1, default:0) — exit non-zero when flaky candidates exist