Drive to Full Test Coverage
Coding
Find untested behavior and add meaningful tests until coverage hits your target. Inspired by Forward Future's Loop Library.
Prompt
Step 1 — Read the coverage report Run your coverage tool and share the report. Ask the AI which uncovered paths actually matter versus trivial noise. Step 2 — Write meaningful tests For the most important gap, ask for tests that assert real behavior and edge cases, not just line execution. Step 3 — Run and confirm Run the full suite. Confirm the new tests pass and coverage went up without flaky or hollow tests. Step 4 — Repeat to target Continue until coverage reaches your goal and the whole suite is green. Stop when the target is met.
Use this prompt in AIniverse
Tap to copy, run it on ChatGPT / Claude / Gemini, save to your stack, or remix.
Open in AppMore Coding prompts
Independent Verifier Pass
When implementation claims done, a separate verifier pass runs build, lint, and tests with no access to the implement...
API Contract Until Match
Loop until API responses match the OpenAPI or JSON Schema contract — catch drift between docs and implementation.
De-Sloppify Pass
After implementation, run a cleanup pass: remove debug code, tighten naming, delete dead branches, and align with pro...
Merge Conflict Resolver
Rebase or merge target branch, resolve conflicts file by file, and loop until the branch is current and tests pass.