alpha

Runs the red phase of TDD: writes comprehensive failing tests for a feature, verifies they fail for the right reasons and writes no production code.
description: "Write comprehensive failing tests following TDD red phase principles"
argument-hint: "<feature or component to write tests for>"
You MUST follow these rules exactly. Violating any of them is a failure.
subagent_type references use agents bundled with this plugin or general-purpose. No cross-plugin dependencies.Use the Task tool to generate failing tests:
Task:
subagent_type: "general-purpose"
description: "Generate comprehensive failing tests for TDD red phase"
prompt: |
You are a test automation expert specializing in TDD red phase test generation.
Generate comprehensive FAILING tests for: $ARGUMENTS
## Core Requirements
1. **Test Structure**
- Framework-appropriate setup (Jest/pytest/JUnit/Go/RSpec — match project conventions)
- Arrange-Act-Assert pattern
- should_X_when_Y naming convention
- Isolated fixtures with no interdependencies
2. **Behavior Coverage**
- Happy path scenarios
- Edge cases (empty, null, boundary values)
- Error handling and exceptions
- Concurrent access (if applicable)
3. **Failure Verification**
- Tests MUST fail when run
- Failures for RIGHT reasons (not syntax/import errors)
- Meaningful diagnostic error messages
- No cascading failures
4. **Test Categories**
- Unit: Isolated component behavior
- Integration: Component interaction
- Contract: API/interface contracts
- Property: Mathematical invariants (if applicable)
## Quality Checklist
- Readable test names documenting intent
- One behavior per test
- No implementation leakage
- Meaningful test data (not 'foo'/'bar')
- Tests serve as living documentation
## Anti-Patterns to Avoid
- Tests passing immediately
- Testing implementation vs behavior
- Complex setup code
- Multiple responsibilities per test
- Brittle tests tied to specifics
## Output Requirements
- Complete test files with imports
- Documentation of test purpose
- Commands to run and verify failures
- Metrics: test count, coverage areas
- Next steps for green phase
After generation:
© Seth Hobson · MIT · source · posted by @OpenSourceBuffGuy on promptparty.com


React 18 Dependency Compatibility
Provides a dependency compatibility matrix for moving a project to React 18.3.1 and React 19, covering testing libraries, Apollo and router migration risks.
agent-skill, react, javascript, migration, cheat-sheet, table, frontend, for-developers, jest, graphql, best-practices, troubleshooting, web-development, advanced, long-form, risk-management

Guides a coding agent in designing database indexing strategies for PostgreSQL and MySQL: index types, composite and partial indexes, and maintenance.
agent-skill, database, sql, postgres, mysql, performance-optimization, data-modeling, best-practices, for-developers, code, backend, advanced, structured-output, developer-tools

Still Figure in a Blurred Crowd
Generates a cinematic portrait of a calm young person standing still and sharp while a crowd streaks past in long-exposure blur.
image-prompt, portrait, cinematic, motion-blur, long-exposure, bokeh, soft-lighting, natural-light, pastel, photorealistic, candid, medium-shot, dreamy, street-photography, for-photographers, for-artists, editorial, quick, muted-colors
Loading reviews…
Loading comments…