DocsBeginner
Prompt engineering guide
OpenAI's guide to prompting GPT models: message roles and instructions, formatting with Markdown and XML, few-shot examples, giving the model context, and how prompting a reasoning model differs from prompting a GPT model. Read it alongside the Claude guide to see which advice holds across vendors.