All prompts
Coding prompts
Prompts for writing, reviewing and repairing software — each one already expanded into an explicit brief.
A one-line request like "make this faster" leaves a model guessing at the language, the constraint that matters and what evidence you want back. These prompts were run through the optimizer, so they carry the parts that decide the answer: the role to adopt, the artefact to produce, whether to show a diff or a rewrite, and what to do when the code is ambiguous. Copy one into your own history to edit it against your stack.
Guides on coding prompts
Questions about coding prompts
- What does an optimized coding prompt carry that a one-line request does not?
- The role to adopt, the artefact to produce, the input and output shape, the edge cases the request implies, and what to do when the code is ambiguous. Text prompts come back as XML with named sections — role, task, requirements, output_format, verification — so the model receives the shape of the answer rather than only its subject.
- Will a prompt here assume a language or toolchain I do not use?
- It should not. The generator is explicitly barred from inventing technical constraints — a shell version, a POSIX-only rule, a banned tool — unless the original request stated them. Anything environment-specific in a listing came from its author, so read it as an example and swap it for your own stack.
- How do I run one of these?
- Copying adds it to your own history, which needs an account; from there you can edit it and run it against any model your plan allows. Reading one works too: the constraints it spells out are usually the ones missing from the prompt you would have typed.