Skip to main content
Back to Blog

Mastering Prompt Engineering

A Practical Guide to Writing Effective AI Prompts.
Feb 27, 2025
#AI#Technology#Productivity#LLM#prompt engineering#AI prompts

Introduction

Steve Jobs called computers “bicycles of the mind.” AI feels more like the automobile version of that: a lot more power, and a lot more ways to use it badly. Like any tool, it’s only as good as the person holding it.

Prompt engineering is just writing instructions for an LLM well enough that you get the output you actually wanted. Think of it as briefing a brilliant assistant who has no idea what you’re after. The result depends almost entirely on how well you brief them.

Bad prompts cost you time and money and hand you generic results. Good ones don’t. That’s the whole pitch.

So here’s the workflow I use, the techniques I lean on, and a cheat sheet at the end.

Why casual use isn’t enough

The black box problem

It’s easy to treat an LLM as a black box. Query in, response out. But using a tool isn’t the same as understanding it, and if you don’t know its limitations, how it reasons, or where its biases sit, you’re only seeing the surface.

Output dependence

Most people take the first response. Or they reroll until something semi-useful falls out, which is mostly a way of spending time to avoid thinking.

The misconception

The tools are user friendly, so people assume proficiency comes fast. It doesn’t. Getting good takes a mix of linguistic instinct, a lot of iteration, and an actual strategy.

User vs. engineer

The difference between a casual user and a prompt engineer is the difference between someone who can drive a car and a mechanic. The driver gets the thing to move. The mechanic knows the principles, the internals, and how to diagnose it when it doesn’t. They know how to tune the engine and troubleshoot. Good news: it doesn’t take 120 credit hours.

My prompt engineering workflow

It’s iterative, analytical, and results focused. Here’s how it goes.

Start with a basic single-shot prompt. That’s the foundation. State the output you want, the context, and any specific requirements. Don’t overcomplicate it yet.

Then analyze what came back. Does it meet the core requirements? Is it accurate and relevant? Is the tone, style, and format right? Any glaring errors or omissions? What needs work? Anything unexpected in there worth keeping?

Then the refinement loops, which is where the real work is. I rewrite the prompt based on that analysis and run it again. That means adding instruction or an example, varying the language or the technique or the model parameters, testing what each change actually did to the output, and comparing the new result against the old one. Then repeat until it’s good.

Techniques

These are what I reach for during the refinement loops.

  • Role-playing: Give the AI a role. “You are a seasoned marketing expert. Provide a marketing plan for…”
  • Chain-of-thought: Ask for the reasoning. “Break down the problem into logical steps, and then provide the solution.”
  • Few-shot examples: Show it what you want. “Write a haiku about [topic]. Here’s an example: Green leaves sway gently, / The sun shines, a warm summer breeze, / Nature’s sweet perfume. Now write a haiku about [topic].”
  • Directives: Be explicit. “Summarize the following article in three sentences…”
  • Constraints: Bound the output. “Write a blog post in 500 words.”

Why language skills beat technical skills here

Technical knowledge helps, but language is the critical skill. Language is the interface. A racecar driver usually isn’t an engineer, but they know how to get the car around the track. LLMs are the same kind of thing: a framework that rewards the right skill.

A solid grasp of four things gives you a real edge:

  • Syntax. Sentence structure is how you write instructions that can’t be misread.
  • Semantics. The meaning of words and phrases. This is how you avoid ambiguity and say exactly what you mean.
  • Pragmatics. Context and implied meaning. This is how you tell the AI how to read between the lines.
  • Rhetoric. Persuasion and effective communication. This shapes tone, style, and emphasis.

Prompting is an extension of ordinary human communication. The better you are at expressing what you need, the better your odds of getting it.

It pays off on the reading side too. Language mastery helps you interpret the output accurately, spot biases and inaccuracies, troubleshoot, steer the AI’s behavior, and iterate faster.

My cheat sheet

Formatting:

  • Use clear, concise language. Avoid ambiguity.
  • Specify the output format you want (bullet points, JSON, whatever).
  • Use delimiters like quotes or brackets to isolate instructions from data.
  • Break complex tasks into smaller steps.

Common structures:

  • “Summarize the following text:” + [text]
  • “Translate to French: ” + [English text]
  • “Write a marketing email about [product/service]. Tone: [adjective]”
  • “You are [role]. Act as if [scenario]”

Things to keep in mind:

  • Context length limits. Be mindful of how much you’re feeding it.
  • Model biases.
  • Model capabilities. Different models have different strengths.

How to actually practice:

Start simple and build complexity gradually. Analyze, refine, repeat. Keep track of your prompts and what changed between versions, because you will not remember. Try techniques you haven’t used before. And be specific about context, always.

Wrapping up

AI tools are powerful, but the output is tied directly to the skill of the person prompting. Start with simple prompts, look hard at what comes back, and refine. Document as you go.

That’s it. The future isn’t machines replacing people, it’s people who know how to ask.

Send a msg to start the chat. You can ask the bot anything about me.