AGENT SKILL

test-guard

Stabilise tests that fail only sometimes. Use when a test passes on retry, fails in CI but not locally, depends on timing, ordering or shared state, or is quarantined as flaky.

License 许可
MIT
所属仓库
icntswm/skillcheck
最近更新
2026-09-29
Stars
★ 1
Forks
1

01 前言 Front Matter

name
test-guard
description
Stabilise tests that fail only sometimes. Use when a test passes on retry, fails in CI but not locally, depends on timing, ordering or shared state, or is quarantined as flaky.

03 SKILL.md 正文

  1. Run the test many times in a loop and record the failure rate.
  2. Look for time, randomness, test order and shared state.
  3. Fix the cause; never add a bare retry or sleep.

04 同仓库更多 Skills