Generate a test matrix as a working artifact
Turn coverage gaps into a matrix you can see and tick off.
What this prompt helps you do
An artifact mapping behaviours against conditions, showing what is covered, what is not, and what matters most.
When to use it
A feature has tests but nobody can tell what they actually cover.
What to prepare
The goal, relevant source material, constraints, examples, and the decision or action this should support.
How to get a strong result
Include the conditions that are deliberately untested and why; an unexplained gap gets filled with a low-value test.
How to use this prompt
Replace each placeholder with accurate context. Paste the complete prompt into Claude, review the response critically, resolve important questions, and use it as a considered input to the next decision—not as an unchecked final answer.