Write unit tests for existing code
A table of test cases first, then a complete, runnable test file with descriptive names and one behavior per test.
AI code editor. Code prompts here have a Cursor variant for working directly in your files.
A table of test cases first, then a complete, runnable test file with descriptive names and one behavior per test.
Assemble promptA step-by-step refactor as a diff, with a one-line reason per change and the tests that prove nothing broke.
Assemble promptPaste code and get findings ranked by severity, each with the exact location and a fix. Choose who reviews: a senior engineer, a security…
Assemble prompt