Skip to content

Search across models, tools, services, companies, providers, APIs, plans, articles and news.

Prompt engineeringBeginner 14 min

Practical prompt engineering: seven rules that actually work

Techniques that still work against the newest generation of models — from context and output formats to splitting big jobs and purposeful iteration. Usable within your first five minutes.

Practical prompt engineering: seven rules that actually work

Give context: the model cannot read your mind

The most common cause of useless answers is a short prompt with no context. The model does not know who the work is for, why, or under what constraints — unless you say so. A strong prompt usually fits in five lines: role, audience, goal, constraints and output format.

  • Assign a role: “You are an e-commerce SEO specialist” — it focuses the model’s behavior.
  • State real constraints: “no jargon”, “150 words max”, “use only these three sources”.
  • Attach background: product, company, audience — anything the model needs and cannot guess.

Ask for the output format up front

The biggest time-saver is one sentence: “format the output as X”. If you want a table, name the columns; if JSON, provide the schema; if a list, say how many items. The model is excellent at removing ambiguity — once none is left.

  • “Three options, two lines each, with pros and risks” beats “give me some options”.
  • For recurring work, put the format in the system prompt instead of repeating it.
  • Pair structured output (JSON/tables) with one sample of what good looks like.

Split, exemplify, iterate with intent

Split big jobs into independent steps — the model does better with “list ideas, then expand the best one” than with “write a complete article”. Provide a few examples of the desired output (few-shot) so it locks onto your style. When iterating, change one variable at a time — otherwise you never learn what worked.

  • Chain of thought: for multi-step problems ask it to “reason step by step, then give the final answer”.
  • Invite questions: “before starting, ask me about any ambiguity”.
  • Keep your good prompts in a personal file — that is your real asset.