Agent skill · Audited from source
Test Flakiness
skill · Donchitos/Claude-Code-Game-StudiosMIT licenceAudited 6 Oct 2026 · source 42a36917b8be
Is it safe? Yes — SAFE, grade B (89/100). We read this skill's source at commit 42a36917b8be and found no filesystem, network or shell access and no hard-coded secrets. What it does: Find flaky tests from CI logs — aggregates pass rates, spots intermittent failures, recommends quarantine. After multiple runs.
Cite
Cite this page
ModelsAtlas. “Test Flakiness (Donchitos/Claude-Code-Game-Studios)”. Retrieved 6 Oct 2026. https://modelsatlas.com/skills/donchitos/test-flakiness
Trust audit
Audit 0.4.1 · source read 6 Oct 2026
SAFE means nothing in the source contradicts what the skill says it does. Grade B is shared by 17,406 of 18,389 audited skills.
What the source does
- FilesystemNone observedNo reads or writes in the source
- NetworkNone observedNo outbound calls in the source
- ShellNone observedNo commands run in the source
- DependenciesPinnedNothing floats
- SecretsNone foundNo keys in source
Five audit layers
| Layer | What we check | Result | Findings |
|---|---|---|---|
L0 Provenance | Repo owner, licence, archive status, activity | PASS | 0 |
L1 Static source | Secrets, path traversal, supply chain, hidden code | NA | 0 |
L2 Instructions | Prompt injection, authority framing, hidden directives | PASS | 0 |
L3 Inventory | The files and declarations match the source | PASS | 0 |
L4 Sandbox | Run in isolation and watch behaviour | SKIPPED why | 0 |
Gates applied: no behavioural pass.
Findings (0)
No findings at any severity. We re-audit when the source changes.
Audit 0.4.1 · source sha 42a36917b8be · 6 Oct 2026Report an issue or request a re-scan
Provenance
Who published it, and what the verdict is pinned to
- PublisherDonchitos GitHub userOwner of the repository this skill is read from
- Source folderDonchitos/Claude-Code-Game-Studios/.claude/skills/test-flakinessThe exact folder we audited
- LicenceMITAs the repository states it
- Commit pinned for this verdict42a36917b8beA new audit runs when the source changes
- Repository statusNot archivedLast push 6 days ago
- Sandboxed runNot runSkills are read, not executed; layer L4 is skipped
What it tells the agent
Full source on GitHub ↗Its description: Find flaky tests from CI logs — aggregates pass rates, spots intermittent failures, recommends quarantine. After multiple runs.
---
name: test-flakiness
description: "Find flaky tests from CI logs — aggregates pass rates, spots intermittent failures, recommends quarantine. After multiple runs."
argument-hint: "[ci-log-path | scan | registry]"
user-invocable: true
allowed-tools: Read, Glob, Grep, Write, Edit, Bash, Bash(bash "*/.claude/skills/test-flakiness/../../hooks/yaml-helper.sh" resolve_config *)
model: sonnet
---
!`bash "${CLAUDE_SKILL_DIR}/../../hooks/yaml-helper.sh" resolve_config --keys automation`
**Automation mode**: Resolve `modes.automation` (`project.local.yaml` →
`project.yaml` → default `collaborative`). Every `AskUserQuestion` call and
every file write follows `.claude/docs/automation-modes.md`
(collaborative asks always · guided major-only · autonomous logs and proceeds;
`automation_always_ask` categories always prompt).
# Test Flakiness Detection
A flaky test is one that sometimes passes and sometimes fails without any code
change. Flaky tests are worse than no tests in some ways — they train the team
to ignore red CI runs, masking genuine failures. This skill identifies them,
explains likely causes, and recommends whether to quarantine or fix each one.
**Output:** Updated `tests/regression-suite.md` quarantine section + optional
`production/qa/flakiness-report-[date].md`
**When to run:**
- Polish phase (tests have had many runs; statistical signal is reliable)
- When developers start dismissing CI failures as "probably flaky"
- After `/regression-suite` identifies quarantined tests that need diagnosis
---
## 1. Parse Arguments
**Modes:**
- `/test-flakiness [ci-log-path]` — analyse a specific CI run log file
- `/test-flakiness scan` — scan all available CI logs in `.github/` or
standard log output directories
- `/test-flakiness registry` — read existing regression-suite.md quarantine
section and provide remediation guidance for already-known flaky tests
- No argument — auto-detect: run `scan` if CI logs are accessible, else
`registry`
---
## 2. Locate CI Log Data
### Option A — GitHub Actions (preferred)
Check for test result artifacts:
```bash
ls -t .github/ 2>/dev/null
ls -t test-results/ 2>/dev/null
```
For Godot projects: GdUnit4 outputs XML results compatible with JUnit format,
under `reports/` (its default report folder, `res://reports/`). Check `reports/`,
and any `test-results/` you saved runs into, for `.xml` files.
For Unity projects: game-ci test runner outputs NUnit XML to `test-results/`
by default.
For Unreal projects: automation logs go to `Saved/Logs/`. Grep for
`Result={Success}` and `Result={Fail}` — each test prints
`Test Completed. Result={<status>}`
(`docs/engine-reference/unreal/current-best-practices.md`, "Command Line").
### Option B — Local log files
If a path argument is provided, read that file directly.
### Option C — No log data available
If no logs found:
> "No CI log data found. To detect flaky tests, this skill needs test result
> history from multiple runs. Options:
> 1. Run the test suite at least 3 times and collect the output logs
> 2. Check CI pipeline output and save a log to `test-results/`
> 3. Run `/test-flakiness registry` to review tests already flagged as flaky
> in `tests/regression-suite.md`"
Stop and ask the user which option to pursue.
---
## 3. Parse Test Results
For each CI log or result file found, parse:
**JUnit XML format** (GdUnit4):
- Grep for `<testcase name=` to get test names
- Grep for `<failure` or `<error` to identify failures
- Parse `classname` and `name` attributes for full test identifiers
**NUnit XML format** (Unity — the file whose `<test-run>` element `/smoke-check`
reads):
- Each test is a `<test-case` element; its `fullname` attribute is the identifier
- Its `result` attribute is `Passed`, `Failed`, `Inconclusive` or `Skipped`
(`docs/engine-reference/unity/current-best-practices.md`, "Command Line");
only `Passed` and `Failed` enter the history
**Plain text logs**:
- Grep for pass/fail patterns:
- Godot: `PASSED` / `FAILED` adjacent to test names
- Unreal: `Result={Success}` / `Result={Fail}`
- Unity: `Test passed` / `Test failed`
Build a table: `test_id → [run1_result, run2_result, run3_result, ...]`
---
## 4. Identify Flaky Tests
A test is **flaky** if it appears in the result history with both PASS and
FAIL outcomes across runs with no code changes between them.
Flakiness thresholds:
- **High flakiness**: Fails in >25% of runs — quarantine immediately
- **Moderate flakiness**: Fails in 5–25% of runs — investigate and fix soon
- **Low/suspected flakiness**: Fails in 1–5% of runs — monitor; may be
genuinely rare failure
**With fewer than 3 runs, every finding is *suspected*, whatever its fail rate.**
One failure in two runs reads as 50%, but it is one data point: do not
quarantine it, label it suspected, and ask whether more run data is available.
The tiers above, and quarantine, apply from 3 runs up.
For each flaky test, classify the likely cause:
### Cause classification
| Cause | Symptoms | Fix direction |
|-------|----------|---------------|
| **Timing / async** | Fails after awaiting signals or timers; pass rate correlates with system load | Add explicit await/synchronisation; avoid time-based delays |
| **Order dependency** | Fails when run after specific other tests; passes in isolation | Add proper setup/teardown; ensure test isolation |
| **Random seed** | Fails intermittently with no pattern; involves RNG | Pass explicit seed; don't use `randf()` in tests |
| **Resource leak** | Fails more often later in a test run | Fix cleanup in teardown; check orphan nodes (Godot) or object disposal (Unity) |
| **External state** | Fails when a file, scene, or global exists from a prior test | Isolate test from file system; use in-memory mocks |
| **Floating point** | Fails on comparisons like `== 0.5` | Use epsilon comparison (`is_equal_approx`, `Assert.AreApproximately`) |
| **Scene/prefab load race** | Fails when scenes are not yet ready | Await one frame after instantExcerpt, first 6,000 characters of SKILL.md, verbatim from the audited commit. It is text from someone else’s repository, quoted so you can judge it before your agent reads it.
Install
Pinned to the audited commit 42a3691
git clone https://github.com/Donchitos/Claude-Code-Game-Studios git -C Claude-Code-Game-Studios checkout 42a36917b8be
The author documents no install command, so this uses the repository directly. Our verdict covers commit 42a36917b8be only.
Works in
The author has not said which agents this skill supports, and we have not tested it in any.
Audit history
Every audit, every source change
- ✓SAFE B 89 / 100
first audit · source
42a36917b8be
README badge
For maintainers · shows the latest audit
[](https://modelsatlas.com/skills/donchitos/test-flakiness/)
The badge shows our verdict and grade for this skill, and links back to this page. It changes when the audit does.
Similar skills
All coding & review skills →Donchitos/Claude-Code-Game-Studios
Configure engine and version. Pins it in CLAUDE.md; WebSearch fills reference docs when the version is beyond LLM training data.
Donchitos/Claude-Code-Game-Studios
Improve a skill via a test-fix-retest loop — static checks, targeted fixes, keep or revert on score change.
Donchitos/Claude-Code-Game-Studios
Validate skill files for structural compliance and behavioral correctness. Four modes: static linter, spec, category rubric, audit.
Donchitos/Claude-Code-Game-Studios
Critical-path smoke gate before QA hand-off — runs the automated suite. A failed check means the build is not QA-ready.
Donchitos/Claude-Code-Game-Studios
Soak test protocol for extended play — what to observe and log for slow leaks, fatigue, late-appearing edge cases.
Donchitos/Claude-Code-Game-Studios
New or updated sprint plan from the current milestone, completed work, and available capacity.
Add this badge to your README
[](https://modelsatlas.com/skills/donchitos/test-flakiness/)
<a href="https://modelsatlas.com/skills/donchitos/test-flakiness/"><img src="https://modelsatlas.com/skills/donchitos/test-flakiness/badge.svg" alt="ModelsAtlas: SAFE B"></a>
Questions about Test Flakiness
What does the Test Flakiness skill do?
Is Test Flakiness safe to install?
What can Test Flakiness access on my machine?
How current is this page?
Sources
- github.com/Donchitos/Claude-Code-Game-Studios/tree/main/.claude/ — the audited source at commit 42a36917b8be and every finding aboveObserved · 6 Oct 2026
Spotted something wrong? Report a correction · Methodology
Keep going in your AI
Opens with this page as the source. We add nothing else to the prompt.
- What does the Test Flakiness skill do?
- Is Test Flakiness safe to install?
- What can Test Flakiness access on my machine?