About
Condition-Based Waiting is a specialized Claude Code skill designed to solve the common problem of flaky tests caused by timing dependencies and race conditions. Instead of using arbitrary delays like setTimeout or sleep, which often lead to inconsistent results across different environments or CI pipelines, this skill implements robust polling patterns that wait for specific state changes, events, or data availability. It provides a standardized approach to asynchronous testing, ensuring that tests only proceed when the required conditions are met, resulting in significantly faster, more reliable, and maintainable test suites.