Acerca de
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 relying on arbitrary delays like setTimeout or sleep—which often fail in CI environments or under heavy load—this skill implements a robust polling pattern. It provides guidance on waiting for actual events, state changes, or file system updates, ensuring your test suite is both faster and more reliable. By applying these patterns, developers can achieve 100% pass rates and significantly reduce execution time by avoiding unnecessary idle periods.