Testing patterns: anti-patterns to avoid, condition-based waiting for async tests
/plugin marketplace add pproenca/dot-claude
/plugin install testing@pproenca/dot-claude
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
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
Comprehensive feature development workflow with specialized agents for codebase exploration, architecture design, and quality review
Comprehensive PR review agents specializing in comments, tests, error handling, type design, code quality, and code simplification
Test-driven development methodology with red-green-refactor cycles and code review
Essential developer skills including Git workflows, SQL optimization, error handling, code review, E2E testing, authentication, debugging, and monorepo management