Prompt Engineering Basics: How to Actually Talk to an AI Model

AI

ALG Team

Everything AI and More · Jul 19, 2026 · 3 min read

Most people's first prompts read like search queries — a few keywords and a hope for the best. Language models respond much better to prompts that read like instructions to a capable but literal-minded colleague. Here's what actually moves the needle.

Key Takeaways
  • Specific instructions beat vague topics — describe the exact output you want, not just the subject.
  • Assigning the model a role (editor, reviewer, etc.) shapes tone and rigor for free.
  • Showing a format example works better than describing one.
  • Treat the first response as a draft and iterate instead of restarting.

Be specific about the output, not just the topic

"Write about productivity" gives the model almost nothing to work with, so it defaults to the most generic version of that topic. "Write a 5-step morning routine for someone who works from home and struggles with distraction" gives it a shape to fill. The more specific the ask, the less generic the answer.

Give it a role

Framing the request — "you are an experienced editor," "you are a skeptical code reviewer" — changes the tone and rigor of the response. It's a cheap way to bias the model toward the kind of answer you actually want.

Show, don't just tell, the format you want

If you need a table, a specific JSON shape, or a particular writing style, include a small example in the prompt. Models are much better at matching a pattern than inferring one from a description of it.

Iterate instead of starting over

The first response rarely nails it, and that's fine — treat it as a draft. "Make this shorter," "remove the jargon," "the third point is wrong, fix it" all work better than rewriting the entire prompt from scratch.

Quick tip: If you're not happy with a response, ask the model to explain its reasoning before it answers again. It often catches its own mistakes once it has to show its work.

Frequently Asked Questions

What is prompt engineering?

The practice of writing instructions to an AI model in a way that reliably gets useful, specific output instead of vague, generic answers.

Do I need special tools to write good prompts?

No — the core techniques (being specific, giving a role, showing examples, iterating) work in any chat interface with no extra tooling required.

Keep Learning

Related Content You Might Like

Using AI to Outline Before You Write, Not Just to Write2 min
Prompt Engineering

Using AI to Outline Before You Write, Not Just to Write

Asking for a full draft first often produces something you have to fight against — an outline first gives you more control over the direction.

ALG Team · Aug 24, 2026

Getting an AI Model to Ask Clarifying Questions Instead of Guessing2 min
Prompt Engineering

Getting an AI Model to Ask Clarifying Questions Instead of Guessing

By default, most models guess at what you meant rather than asking — you can change that with one explicit instruction.

ALG Team · Aug 23, 2026

How to Get Shorter, More Direct AI Responses2 min
Prompt Engineering

How to Get Shorter, More Direct AI Responses

Models default toward thorough, padded answers unless told otherwise — a few specific instructions reliably fix that.

ALG Team · Aug 22, 2026

Specifying Audience and Tone in Prompts (and Why It Matters More Than You'd Think)2 min
Prompt Engineering

Specifying Audience and Tone in Prompts (and Why It Matters More Than You'd Think)

The same request produces very different output depending on who it's for — naming the audience is one of the highest-leverage things you can add to a prompt.

ALG Team · Aug 21, 2026

Using AI for Brainstorming Without Getting Generic Ideas2 min
Prompt Engineering

Using AI for Brainstorming Without Getting Generic Ideas

The default brainstorm from an AI model tends to be safe and generic — a few prompting adjustments push it toward more genuinely useful ideas.

ALG Team · Aug 20, 2026

Prompting for Data Extraction: Pulling Structured Info Out of Messy Text2 min
Prompt Engineering

Prompting for Data Extraction: Pulling Structured Info Out of Messy Text

Getting clean, reliable data out of unstructured text — invoices, emails, reviews — comes down to a few specific prompting habits.

ALG Team · Aug 19, 2026