Prompt engineering

Prompt engineering is the practice of structuring what you send a model so that it reliably produces what you need — the instruction, the context, the examples and the required output format. It is closer to writing a specification than to finding magic words.

What actually moves the result

Most of the gain comes from a small number of unglamorous moves:

For anything you will run more than a handful of times, keep a small set of test inputs and compare versions of the prompt against them. Without that you are guessing, because a change that fixes one example routinely breaks two others.

What to watch out for

Prompts are not portable, and they are not a substitute for design. A prompt tuned on one model often performs worse on another; changing model version is a reason to re-test, not a drop-in swap. Newer reasoning-oriented models have also made some old tricks obsolete or harmful — telling a model to "think step by step" when it already reasons internally can be noise, and elaborate role-play framing usually adds nothing over a plain, precise instruction.

The wider point: prompting cannot fix a problem the model genuinely cannot do. If the task needs current data, retrieve it. If it needs a private codebase, supply it. If it needs a fixed behaviour across thousands of calls, fine-tuning or program structure is the answer. Rewriting the prompt a twelfth time is how people avoid noticing that.

Frequently asked questions

Is prompt engineering still a useful skill as models get better?

The trick-collecting part is fading, since better models no longer need coaxing. The part that remains valuable is unchanged and harder: stating a task precisely, supplying the right context, defining the output format and building an evaluation that tells you whether a change helped.

Build it yourself

NorthernGo turns a plain-text description into a working web app with a database, login and a live URL. Local AI generation runs on your own GPU, is unlimited, and is free on every plan.

Start building free