ワンクリックで
condition-based-waiting
Wait for a real condition or event, never a blind fixed-duration sleep
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Wait for a real condition or event, never a blind fixed-duration sleep
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Catch bad React in your changes — run react-doctor's deterministic scan and fix what it flags
Run a verifiable security scan (vulns, secrets, misconfig) over code you wrote or deps you added, before calling the work done
Drive a real browser verifiably — navigate, snapshot, act BY INDEX, extract; every step provable
Run multi-agent work as ONE provable causal DAG — parallel subagents, an Orchestrate graph, an immutable spec-seed
Author or connect a Model Context Protocol server so an agent gains new tools
Build automated pipelines that gate merges and ship reliably
| name | condition-based-waiting |
| description | Wait for a real condition or event, never a blind fixed-duration sleep |
| version | 1 |
| trust | built-in |
A fixed sleep is a guess: too short and it's flaky, too long and it's slow. Wait
for the actual condition that tells you the thing is ready.
sleep to fix flakiness — synchronize on the event (a
barrier, a future, a readiness callback). A sleep that "fixes" a flaky test just
hides the race.Red flag: sleep(5) "to be safe". That's a race waiting to happen — wait on the condition instead.