ChatGPT prompts
ChatGPT does best when you can name the shape of the answer up front: JSON, a table, a function signature, a chain of tool calls. Custom instructions and project files carry your rules from one conversation to the next, so whatever you paste into every message should live there. It handles long inputs well. It also obeys the latest instruction harder than the first, which is why the binding rules go at 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
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.
- Universal
Extract structured data as JSON
A strict extraction prompt that returns valid JSON only, with nulls for missing fields instead of invented values.