Prompts and context

Prompt engineering

Designing, testing and revising prompts for a task.

Where you’ll use it.

Compare two versions of the same request against the same checklist.

What to keep separate.

The prompt is the input; prompt engineering is the practice of improving it.

Connect the ideas.

Read the source.

OpenAI — Prompt engineering ↗

Clear instructions, examples and testing. Developer reference; no API setup is required for this primer.

Reviewed October 22, 2026. Examples are fictional. Product-specific features and data terms vary.