The problem
Agent-written tests often assert nothing and pass even when the code is broken.
What this prompt does
Writes tests that would fail if the behavior broke, covers edge cases, and never claims tests pass unless they were run.
Where it fits
The Test Writer is one of 10 roles in the Coding Agent Prompt Pack. The roles are written to hand work to each other: the orchestrator routes a task through planning, implementation, testing, review, and the PR description.
Get it
This role is free.
Get it free on GitHubFull 10-role pack ($19)