Your first prompt is a draft, not a contract.

By (@petersturge) ·

The fastest way to get good output from a model isn't a longer prompt — it's showing it what good looks like.

I learned this the slow way. I once spent twenty minutes describing a button — modern, clean, minimal, slightly rounded, good contrast — and the model gave me something that technically matched every word and looked like nothing I wanted. Then I pasted in the code for a button I liked from another project and said "make one like this". The next one came back nearly right on the first try.

That's the difference. A model copies patterns better than it follows rules. Ten paragraphs of adjectives can't do what one good example does, because the example shows the spacing, the naming, the structure — all the things you didn't think to describe.

So now I do it in this order: find one example of the thing done right. A button you like, a function written the way you want, a layout that works. Paste it first. Then write the prompt, short, pointing at the example. Then ask.

It works for more than code, too — show it a paragraph written in the tone you want before asking for copy, show it a good error message before asking it to write one. One example, then the ask. The prompt is the caption. The example is the instruction.

Comments (1)

  1. Shuarya ·

    true

1 comment · 4 views

Explore more on Prompted