ChatGPT prompts
ChatGPT is strongest when the answer has a shape you can name in advance: JSON, a table, a function signature, a sequence of tool calls. Custom instructions and project files persist your rules across a conversation, so most of what people paste into every message belongs there instead. Long inputs are handled well, but the model follows the most recent instruction more eagerly than the first one, so keep the binding rules near the end of a long prompt.
- Universal
Write a SQL query from a plain question
Produces one query against a schema you provide, and asks a question instead of guessing when the schema is ambiguous.
- Universal
Extract structured data as JSON
A strict extraction prompt that returns valid JSON only, with nulls for missing fields instead of invented values.
- 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.