Play With AI Tools
Updated 2026-01-13

Prompt Engineering Basics

A practical framework for writing prompts that reliably produce usable outputs.

Prompt quality controls output quality. The goal is not clever wording; it is reducing ambiguity and increasing constraints.

The 5-part prompt formula

  1. Role: who the assistant should act as.
  2. Objective: what success looks like.
  3. Context: the situation, audience, product, industry.
  4. Constraints: length, tone, format, must-include and must-avoid items.
  5. Verification: ask for assumptions and a checklist to validate the result.

Example

Act as a conversion copywriter. Objective: write a landing page hero section that increases demo requests. Context: B2B scheduling software for small clinics. Audience: office managers. Constraints: 1 headline (<= 9 words), 1 subhead (<= 22 words), 3 bullets, 1 CTA. Verification: list 3 assumptions and 3 risks.

FAQ

What is a “good” prompt?

A good prompt reduces ambiguity by specifying role, objective, context, constraints, and a verification step.

Should I make prompts long?

Long is fine if it adds constraints and clarity. Avoid filler; add only what improves outcomes.