Test-Coverage Review

List the untested edge cases in a diff, then write the tests that would catch them.

Intermediate1 min read

Prompt

Look at the new code in this diff and list the edge cases that have no test.

For each, write the test that would catch a regression.

Run the suite after adding them and show me the results.

Similar prompts

Write Missing Tests

Generate a test suite for untested code covering normal paths, edge cases, and error conditions.

Adversarial Security Review

Have the AI attack your own code: ranked vulnerabilities, a concrete exploit for each, and the fix.

Check the Diff Against the Plan

Audit finished work against the plan it was supposed to follow — gaps only, no style notes.

Fix a Bug Without Breaking Things

Find every affected code path and the same bug elsewhere before landing the minimal fix.