Skip to main content

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

Stars

4,576

Forks

272

Updated

October 22, 2025 at 03:13

Installation

/plugin marketplace add obra/superpowers

Copy and paste this command into Claude Code to install the skill

Related Skills

obra

test-driven-development

obra

Use when implementing any feature or bugfix, before writing implementation code - write the test first, watch it fail, write minimal code to pass; ensures tests actually verify behavior by requiring failure first

4,576•testing
obra

testing-anti-patterns

obra

Use when writing or changing tests, adding mocks, or tempted to add test-only methods to production code - prevents testing mock behavior, production pollution with test-only methods, and mocking without understanding dependencies

4,576•testing
obra

systematic-debugging

obra

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes - four-phase framework (root cause investigation, pattern analysis, hypothesis testing, implementation) that ensures understanding before attempting solutions

4,576•testing
obra

finishing-a-development-branch

obra

Use when implementation is complete, all tests pass, and you need to decide how to integrate the work - guides completion of development work by presenting structured options for merge, PR, or cleanup

4,576•testing
obra

testing-skills-with-subagents

obra

Use when creating or editing skills, before deployment, to verify they work under pressure and resist rationalization - applies RED-GREEN-REFACTOR cycle to process documentation by running baseline without skill, writing to address failures, iterating to close loopholes

4,576•testing
obra

writing-skills

obra

Use when creating new skills, editing existing skills, or verifying skills work before deployment - applies TDD to process documentation by testing with subagents before writing, iterating until bulletproof against rationalization

4,576•testing
Toowiredd

testing-builder

Toowiredd

Automatically generates comprehensive test suites (unit, integration, E2E) based on code and past testing patterns. Use when user says "write tests", "test this", "add coverage", or after fixing bugs to create regression tests. Eliminates testing friction for ADHD users.

10•testing
Toowiredd

rapid-prototyper

Toowiredd

Creates minimal working prototypes for quick idea validation. Single-file when possible, includes test data, ready to demo immediately. Use when user says "prototype", "MVP", "proof of concept", "quick demo".

10•testing
CuriousLearner

webhook-tester

CuriousLearner

Test webhook integrations locally with tunneling, inspection, and debugging tools.

8•testing
CuriousLearner

test-generator

CuriousLearner

Generate unit tests based on existing code patterns and testing frameworks.

8•testing
CuriousLearner

api-tester

CuriousLearner

Quick API endpoint testing with comprehensive request/response validation.

8•testing
CuriousLearner

seed-data-generator

CuriousLearner

Generate realistic test data for database development, testing, and demos.

8•testing
condition-based-waiting by obra - Claude AI Skill | SkillsMP