AI & LLMs
What is prompt engineering?
Prompt engineering is the practice of designing and refining the input given to an AI model so it produces accurate, useful, and repeatable output.
New to Bolt? Sign up free.
Technical definition
Prompt engineering is the discipline of structuring input to a generative model to control its output. It covers instruction phrasing, the inclusion of examples, explicit output format requirements, role and constraint setting, decomposition of complex requests into steps, and iteration based on observed failures.
The core techniques include zero-shot prompting, which gives an instruction with no examples; few-shot prompting, which supplies several worked examples first; and chain-of-thought prompting, which asks the model to reason through steps before answering.
In plain terms
Prompt engineering is learning how to ask. Same model, same question, different wording, better answer.
Most of it comes down to four habits: say what you want in specific terms, give an example when the format matters, name the constraints up front, and when the answer is wrong, say what was wrong instead of asking again.
Why it matters
Prompt engineering is what separates a demo from a product. Anyone can get an AI to produce something. Getting it to produce the right thing, twice, on request, is a skill.
For a small business owner building their own tools, this skill replaces the brief you would have written for an agency, and it pays off immediately: fewer rounds, fewer surprises, and a build that matches what you pictured.
