tdd-test-writer
Writes failing tests first, establishing a strict implementation contract for test-driven development.
- Completes the RED phase of TDD by authoring behavior-focused tests that fail for the right reason, then hands off to implementation agents with objective pass criteria
- Delegates test authoring to a
tdd_test_writersubagent when available, ensuring tests remain unmodified during implementation - Detects existing test frameworks and conventions (pytest, jest, vitest, go test, cargo test) and follows repository patterns for consistency
- Produces a structured handoff block specifying exact test files, verification commands, failure summaries, and immutable test constraints that implementation agents must satisfy without weakening tests
- Supports bugfix workflows by adding regression tests that capture the reported failure mode before code changes
TDD Test Writer
Use this skill to complete the RED phase of TDD: define behavior with tests first, verify they fail for the right reason, then hand off implementation with objective pass criteria.
When To Use
Use this skill when the user asks for:
- test-first development
- TDD / RED-GREEN-REFACTOR workflow
- writing tests that implementation agents must satisfy
- bugfixes that need regression tests before code changes
Required Rules
More from am-will/codex-skills
frontend-design
Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
1.3Kfrontend responsive design standards
Build responsive, mobile-first layouts using fluid containers, flexible units, media queries, and touch-friendly design that works across all screen sizes. Use this skill when creating or modifying UI layouts, responsive grids, breakpoint styles, mobile navigation, or any interface that needs to adapt to different screen sizes. Apply when working with responsive CSS, media queries, viewport settings, flexbox/grid layouts, mobile-first styling, breakpoint definitions (mobile, tablet, desktop), touch target sizing, relative units (rem, em, %), image optimization for different screens, or testing layouts across multiple devices. Use for any task involving multi-device support, responsive design patterns, or adaptive layouts.
1.2Kcontext7
|
1.2Kplanner
>
1.2Kread-github
|
1.2Kparallel-task
>
1.2K