Registry / sandgardenhq

sandgardenhq/sgai/condition-based-waiting

Use when tests have race conditions, timing dependencies, or inconsistent pass/fail behavior - replaces arbitrary timeouts with condition polling to wait for actual state changes, eliminating flaky tests from timing guesses

Agent skill · version 0.0.0-main.1795732337.g9efbb7b · from sandgardenhq/sgai

Install

npx yarkr-cli add skill:sandgardenhq/sgai/condition-based-waiting

Without Node.js, on macOS and Linux (curl or wget):

curl -fsSL https://yarkr.com/install.sh | sh -s -- add skill:sandgardenhq/sgai/condition-based-waiting
wget -qO- https://yarkr.com/install.sh | sh -s -- add skill:sandgardenhq/sgai/condition-based-waiting

On Windows, in PowerShell:

irm https://yarkr.com/install.ps1 | iex; yarkr add skill:sandgardenhq/sgai/condition-based-waiting

Works with Claude Code, Codex, opencode, Cursor, any harness over MCP.