💡 How to use these prompts:
Replace everything in [BRACKETS] with your specific details before sending.
Click Copy to copy any prompt to your clipboard instantly.
Fix exactly one bug in the code below. Do not refactor anything else. Do not add comments. Do not improve naming.<br/><br/>Before you write any code, state in one sentence what the bug is and which line causes it. If you cannot identify a single clear bug, say so and stop.<br/><br/>Then output only the changed lines with three lines of surrounding context.<br/><br/>CODE:<br/>[paste]
Write failing tests for this function signature before writing any implementation.<br/><br/>Step 1: list the edge cases you will test, numbered. Stop there and wait for me to approve the list.<br/><br/>Do not write the implementation yet. Do not write the tests yet. Only the numbered list of cases.<br/><br/>SIGNATURE:<br/>[paste]
Review this diff. Report at most five issues, ordered by severity.<br/><br/>For each issue give: file and line, one sentence on what breaks, and the concrete input that triggers it. If you cannot name a triggering input, do not report the issue.<br/><br/>Do not comment on style, formatting or naming. Do not suggest refactors.<br/><br/>DIFF:<br/>[paste]
Convert this file from [source] to [target]. Preserve every behaviour exactly, including error handling and edge-case returns.<br/><br/>Output the complete converted file and nothing else. No explanation before or after. No notes about what you changed.<br/><br/>If any construct has no direct equivalent, insert a comment on that line reading NEEDS REVIEW and continue.<br/><br/>FILE:<br/>[paste]
Read this code and explain what it does in under 120 words. Write for a developer who has never seen this codebase.<br/><br/>Then list any assumption the code makes that is not checked anywhere in it.<br/><br/>Do not suggest changes. Do not write code. I will decide what to change after reading your explanation.<br/><br/>CODE:<br/>[paste]
I need to [describe task] from the command line.<br/><br/>Give me the commands one step at a time. After each command, stop and wait for me to paste the output before giving the next one.<br/><br/>Do not chain commands with and and. Do not assume what the output will be. If a command could be destructive, say so before giving it.
Refactor this file for readability only. Do not change behaviour.<br/><br/>Work in one pass. Do not produce a plan first. Do not explain your reasoning. Output the refactored file, then a maximum of three bullet points on what changed.<br/><br/>If the file is already clear, say so and output nothing else.<br/><br/>FILE:<br/>[paste]
Another model produced the code below for this task: [describe task].<br/><br/>Do not rewrite it. List only what is factually wrong or will fail at runtime, with the specific input that causes each failure.<br/><br/>If nothing will fail, reply with the single word CORRECT and stop.