condition-based-waiting
✓テストに競合状態、タイミングの依存関係、または一貫性のない合否動作がある場合に使用します。任意のタイムアウトを条件ポーリングに置き換えて実際の状態の変化を待機し、タイミングの推測による不安定なテストを排除します。
SKILL.md
Flaky tests often guess at timing with arbitrary delays. This creates race conditions where tests pass on fast machines but fail under load or in CI.
Core principle: Wait for the actual condition you care about, not a guess about how long it takes.
| Wait for event | waitFor(() => events.find(e => e.type === 'DONE')) | | Wait for state | waitFor(() => machine.state === 'ready') | | Wait for count | waitFor(() => items.length >= 5) | | Wait for file | waitFor(() => fs.existsSync(path)) | | Complex condition | waitFor(() => obj.ready && obj.value > 10) |
テストに競合状態、タイミングの依存関係、または一貫性のない合否動作がある場合に使用します。任意のタイムアウトを条件ポーリングに置き換えて実際の状態の変化を待機し、タイミングの推測による不安定なテストを排除します。 ソース: nickcrew/claude-ctx-plugin。
引用可能な情報
AI/検索での引用用の安定したフィールドとコマンド。
- インストールコマンド
npx skills add https://github.com/nickcrew/claude-ctx-plugin --skill condition-based-waiting- カテゴリ
- </>開発ツール
- 認証済み
- ✓
- 初回登録
- 2026-02-01
- 更新日
- 2026-02-18
クイックアンサー
condition-based-waiting とは?
テストに競合状態、タイミングの依存関係、または一貫性のない合否動作がある場合に使用します。任意のタイムアウトを条件ポーリングに置き換えて実際の状態の変化を待機し、タイミングの推測による不安定なテストを排除します。 ソース: nickcrew/claude-ctx-plugin。
condition-based-waiting のインストール方法は?
ターミナルまたはコマンドラインツール(Terminal、iTerm、Windows Terminal など)を開きます このコマンドをコピーして実行します: npx skills add https://github.com/nickcrew/claude-ctx-plugin --skill condition-based-waiting インストール後、スキルは自動的に AI コーディング環境に設定され、Claude Code や Cursor で使用できるようになります
ソースリポジトリはどこですか?
https://github.com/nickcrew/claude-ctx-plugin
詳細
- カテゴリ
- </>開発ツール
- ソース
- skills.sh
- 初回登録
- 2026-02-01