Coding prompts
Coding prompts fail in a predictable way: the model invents a problem because it was asked to find problems. The prompts that work give the model permission to report nothing, ask for the smallest fix rather than a rewrite, and pin the language, framework version and file path so the answer is not written against a different codebase.
- 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.