Coding prompts
Ask a model to find problems and it will find one, real or not. Prompts that work give it permission to report nothing, ask for the smallest fix instead of a rewrite, and pin the language, the framework version and the file path so the answer targets your codebase and not some other one.
- Universal
Write a pull request description from a diff
Turns a raw diff into a PR description a reviewer can use: what changed, why, and what to check. It does not restate the diff line by line.
- Universal
Turn a vague bug report into concrete reproduction steps
Takes an unstructured user report and produces a numbered sequence an engineer can follow, with anything the report does not specify marked.
- Universal
Debug from a stack trace
Works from the trace and the relevant source to name the most likely cause, with the check that would confirm it.
- Universal
Explain this code to a new maintainer
Explains what a file does, why it is shaped that way, and where the traps are - aimed at someone about to change it.
- Universal
Strict code review of a diff
A review prompt that reports only what would break in production, gives the smallest fix for each finding, and is allowed to say the diff is fine.