Use when tests have race conditions, timing dependencies or flaky, intermittent behavior. Replaces arbitrary timeouts with polling for the actual condition.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Condition Based Waiting?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/kavachlabs-condition-based-waiting)
---
name: condition-based-waiting
description: >
Use when tests have race conditions, timing dependencies or flaky, intermittent behavior. Replaces arbitrary timeouts with polling for the actual condition.
---
# condition-based-waiting
Replace sleeps with waits on the condition the test cares about.