Working with AI
What is Prompt engineering?
Prompt engineering is the craft of writing the instructions, context, and examples an AI model receives so it produces reliable, correctly-formatted, on-policy output, turning a general model into a dependable component of a system.
In casual use, prompting is just asking better questions. In production systems it is closer to specification writing: the prompt defines the model’s role, the rules it must not break, the format it must return (often strict JSON another system will parse), the examples that teach it edge cases, and the tone of everything a customer will read. That specification is code in every meaningful sense. It gets versioned, tested against evaluation sets, and regression-checked when the underlying model updates.
Two realities separate hobby prompting from production prompting. First, prompts fail on the tails: the weird ticket, the sarcastic customer, the invoice with a handwritten note. Serious teams collect these failures into test sets and iterate until the tails hold. Second, prompts interact with cost: instructions, examples, and retrieved context are all tokens you pay for on every call. Part of why our Compumeal meal-plan refinement runs at $0.018 per plan is ruthless prompt economy, sending the model only what the step needs.
The role is real but the mystique is not. Prompt engineering is one layer of a working AI system, alongside retrieval, validation, fallbacks, and integration. A vendor whose entire offer is "we write great prompts" is selling the icing. It matters, and it is the cheapest layer to redo; the expensive mistakes live elsewhere.
Frequently asked
- Is prompt engineering a real skill or just asking good questions?
- In casual use it is asking better questions. In production it is closer to specification writing: the prompt defines the model’s role, the rules it cannot break, the exact output format another system will parse, and the examples that teach it edge cases. That specification gets versioned, tested against evaluation sets, and regression-checked when the model updates. It is real, but it is one layer, not the whole system.
- Does prompt engineering affect how much AI costs?
- Yes, directly. Instructions, examples, and retrieved context are all tokens you pay for on every call. Part of why our Compumeal meal-plan refinement runs at $0.018 per plan is ruthless prompt economy, sending the model only what the step needs.
- Should I hire a prompt engineer?
- Prompt engineering matters, but a vendor whose entire offer is "we write great prompts" is selling the icing. It is the cheapest layer to redo; the expensive mistakes live in retrieval, validation, and integration. Treat it as one skill inside a working system, not the product.
Related terms
Wondering where this fits in your business?
The free AI audit maps your operations and shows the three systems we would build first, in plain language like this.


