GPT Models Prompt Guide
Table of Contents
1. Define the Role
Give GPT-5 a clear persona so it knows how to respond.
Example Prompt
2. Be Specific with Tasks
Use action verbs and constraints so GPT-5 knows what “done” looks like.
Example Prompt
3. Provide Context
Tell GPT-5 why the task matters and who it’s for.
Example Prompt
4. Specify the Format
Be clear about the shape of the answer you want.
Example Prompts
5. Define Autonomy and Approval Boundaries
GPT-5 can act autonomously with tools. You decide how much initiative it should take and when it requires human approval.
Constrained Prompt
Expansive Prompt
6. Optimize Coding Prompts
Break coding tasks into steps: plan → implement → test → refine.
Example Prompt
First, outline the steps for solving this issue.
Now, implement the code.
Run test cases and explain if any fail.
Refactor for readability and efficiency.
7. Control Instruction Following
Be explicit about rules, limits, and edge cases.
Example Prompts
8. Practical Prompt Templates by Use Case
General Task Prompt
Analyze a Dataset
Summarize Emails and Recommend Next Steps
Coding Workflow Prompt
11. Checklist Before Sending a Prompt
Did I assign GPT-5 a clear role?
Is the task verb-driven and specific?
Did I give context (audience, purpose)?
Is the format defined (bullets, JSON, table, code)?
Did I control behavior (constraints, stop conditions, tool use)?
Do I want GPT-5 to reflect before answering?
GPT 5.6 Tips
Write lean prompts: State instructions once but clearly and with specific information, context, constraints, and boundaries needed to improve performance.
Define autonomy boundaries: Avoid micromanaging execution steps.
Explicitly state which actions the model can do automatically (e.g., run local tests) and which require human sign-off (e.g., external writes).
Route tools efficiently: Use Programmatic Tool Calling (PTC) for heavy, repetitive data processing (filtering, joining). Reserve direct tool calling for tasks requiring semantic judgment or final validation.
GPT 5.2 Tips
Prevent scope drift aggressively: add explicit “EXACTLY and ONLY what the user requested” constraints; forbid extra features/styling/tokens (especially frontend/UX)
Force summarization & re-grounding: GPT 5.2 benefits with this especially with long-context tasks to reduce errors and improves recall
Calibrate file extraction:
Provide a schema or JSON shape for the output
Distinguish between required and optional fields
Ask for “extraction completeness” and handle missing fields explicitly
For multi-tables: Include a stable ID (filename, contract title, page range)
Last updated

