What Is Prompt Engineering? A Practical Guide
How to write effective prompts that get consistent, useful results from language models. Techniques, examples, and common mistakes.
How to write effective prompts that get consistent, useful results from language models. Techniques, examples, and common mistakes.
Prompt engineering is the practice of writing instructions for AI language models to get useful, consistent results. It's the difference between asking "tell me about invoices" and getting a generic essay, versus asking "extract the invoice number, date, and total from this document and return them as JSON" and getting exactly what you need.
It's not rocket science, but it does require some craft. The way you structure, phrase, and constrain your prompts has a massive impact on output quality.
Language models are general-purpose tools. They can write poetry, debug code, or summarise legal documents, depending entirely on what you ask. The prompt is your lever.
In a business context, poorly written prompts lead to:
Well-engineered prompts lead to AI that behaves predictably, follows your rules, and produces output you can actually use.
Vague prompts get vague answers. Tell the model exactly what you want, in what format, and what to avoid.
Bad: "Summarise this document."
Better: "Summarise this document in 3 bullet points. Focus on financial impacts. Use plain English."
Giving the model a persona or role helps it calibrate tone and expertise level. "You are an experienced employment lawyer reviewing this contract" produces very different output from a generic prompt.
In production systems, system prompts set the baseline behaviour: tone, constraints, output format, safety rules. User prompts then provide the specific task. Separating these gives you consistent behaviour across different queries.
Show the model what good output looks like. Provide 2–3 examples of input/output pairs before giving it the real task. This is often more effective than lengthy instructions.
Tell it what format to use (JSON, bullet points, table), what length to target, and what to exclude. "Do not include opinions" or "respond only with the extracted data" can prevent rambling.
For complex reasoning tasks, ask the model to "think step by step" or "explain your reasoning before giving the final answer." This improves accuracy on multi-step problems.
Some real-world prompt patterns we use in production:
Prompt engineering is important, but it's just one part of a production AI system. For reliable business applications, you also need:
Think of prompts as the steering wheel. But you still need the engine, the brakes, and the road.
Meet the person
This article comes from real projects. If it raises a question about your own system, you can ask the founder directly.
HELLO PEOPLE designs, builds and looks after AI, software, app and data solutions for Australian businesses, with senior expertise on every project and a scope agreed before work starts. For AI, that means working on your own data, with a person able to check every answer.
Since 2007, HELLO PEOPLE has delivered more than 100 projects from Perth for small and medium businesses across Australia: custom software and apps, system integrations, data migrations, reporting and dashboards, and AI that works inside the systems a business already runs.
I lead every engagement myself. I trained in accounting before moving into IT, hold accounting and IT professional qualifications and an MBA, and bring more than 20 years of experience across sales, service delivery, inventory and compliance. I am also a PhD candidate in AI at Curtin University, researching retrieval-augmented generation (RAG), so the technology is always judged by what it does for the business.
Small and boutique. The person who scopes your AI project is the person who builds it, and the same person checks its answers before your team relies on them.
No ticket queue and no account manager in between. You hear back within one business day, usually sooner.
The first AI project is the start, not the end. When you need the next system, integration or report, you call the same person, who already knows your business.
Ask the author
Ask it here and it comes straight to the founder. No sales call, no obligation, and a real answer even if the answer is that you do not need us.
Kasun Wijayamanna
Founder, replies within one business day
Tell us what you're working on. We'll come back with a practical recommendation and clear next steps.
Built here. Your data stays here.
Thanks for reaching out. We will get back to you within one business day.
See what else we do