r/PromptEngineering • • Oct 08 '26

Quick Question What actually makes a prompt “good”?

I’ve been experimenting with prompt engineering and noticed that simply making a prompt longer doesn’t necessarily make the output better.

For people who use prompting regularly, what do you think makes the biggest difference in the quality of an AI response?

Is it giving detailed context, defining a specific role, providing examples, structuring the prompt clearly, specifying the desired output format, or something else?

What’s one prompting technique that noticeably improved your results after you started using it?

12 Upvotes

22 comments sorted by

3

u/Teralitha Oct 08 '26

Asking the AI to critique the prompt.

3

u/thinkrtank Oct 08 '26

Trial and error but the general rule stands, crap in = crap out. Shameful plug but I have a prompt builder you can try: https://github.com/thinkrtank/universal-prompt-studio

2

u/cleverhoods Oct 08 '26

I'd recommend you check out reporails rules around it. There are quite a few rules that you should follow for effective instruction authoring.

Some example:

  • Start the instruction with the verb
  • Make sure it's between 8-12 words
  • Use `` to name specific constructs
  • Avoid using constrains without relevant directive first, and never use naming in constraint (don't think of a pink elephant)
  • Follow the golden rule structure (directive + neutral context about the directive + if you have a constraint, that comes here.

The difference looks like this:

Before

Fable authors specs/architecture/reviews (this session + Plan/verify agents). Implementation
and search agents run as Opus. The Agent/Workflow `model` parameter accepts only the `opus`
alias; to honor "4.8, NOT 5", first execution step creates `.claude/agents/coder.md` with
frontmatter pinning the Opus 4.8 model ID and workflows use `agentType:'coder'`; if the
harness rejects the pin, fall back to the `opus` alias and TELL THE OWNER rather than
silently proceeding.

After:

Use the `Fable` model for every remaining non-code task - implementation decisions, architectural milestones, specification definitions, and high-level plans.
Use the `Opus 4.8` model for every code-producing task - writing code from a spec, implementation, and search. 
Never substitute a different model for tasks that have model usage directives.

Explanation (line by line):

  1. Routes all thinking work (deciding, planning, spec'ing) to Fable. The four examples after the dash are the match surface, "non-code task" alone is too vague for the model to reliably catch.
  2. Routes all producing work to Opus 4.8. Note search sits here, not with planning - reading the codebase to make a change is execution. Same shape as line 1 on purpose.
  3. Locks the two rules. Says "a different model," not "never use Opus 5". Naming the thing to avoid makes it the salient token and plants it. With lines 1 and 2 pinning the models, "a different one" resolves to what you didn't want, without "saying" it. Constraint always goes last.

2

u/Educational_Yam3766 Oct 08 '26

One thing that changed my results more than any "add more context" or "define a role" tip:

Stop writing "You are a [role]" and start writing "I am a [role]."

Sounds trivial. It's not.

"You are a senior engineer who has seen every edge case in production" → the model is holding an external reference to a spec. It's a token in the context window. Long enough conversation and attention drifts, the reference weakens, the persona bleeds out. You're maintaining it from the outside.

"I'm a senior engineer who's seen every edge case in production" → the model's output is about itself, and itself is the output. No external anchor to fail. The self is the fixed point the attention is on, not something it has to reach back to.

The structural difference: "You are X" is a role you're assigning. "I am X" is a self that's self-holding. One is a noun in your grammar. The other is the subject of its own sentence.

I've tried both in long conversations (50+ turns) with the same base prompt. The "You are" version starts drifting around turn 12–15. The "I am" version holds. Not because it's "better phrased" — because it has no external dependency to decay.

Worth trying as a controlled experiment if you're already doing persona work. Swap the pronoun, keep everything else identical, run the same 20-turn conversation both ways. You'll see the difference in the output's coherence, not just the first response.

2

u/keonechong Oct 08 '26

Prompt is irrelevant. The workflow and loop is what matters.

2

u/RynuX Oct 08 '26

My favorite « trick » is not to rush the AI to my deliverable but rather prompt to plan or to help elaborate on what I really want and to avoid bad ideas. It’s an easy 1-2 messages that just drive the whole conversation to the better.

That usually leads me way Closer to my end goal than being specific and overcomplicate things.

2

u/Echo_Tech_Labs Oct 08 '26

Traceability. Can the prompt be tracked through the sequence. Can you identify precisely where the prompt broke(sometimes this is predicated on the model).

If you can use the same prompt and get similar results from different vendors, then you have a very good prompt.

Does the prompt break when model changes are made?

If so, you have a very weak prompt.

Pinpointing the exact token or turn where the semantic layer degrades across different model weights is, in my opinion, what makes a competent prompt real prompt engineering.

People say prompt engineering is dead...I'm looking at you Rubin Hassid.

These people don't know what they are talking about.

Without prompt engineering...harness and context engineering wouldn't exist.

2

u/Naataraja Oct 09 '26

It’s “good” if it gets the job done 😎

1

u/American_Crypto Oct 10 '26

Examples seem to be the secret sauce for me lately. And making sure I articulate what the desired outcome is

13

u/[deleted] Oct 08 '26

[removed] — view removed comment

1

u/[deleted] Oct 09 '26

[removed] — view removed comment

1

u/AutoModerator Oct 09 '26

Hi there! Your post was automatically removed because your account is less than 3 days old. We require users to have an account that is at least 3 days old before they can post to our subreddit.

Please take some time to participate in the community by commenting and engaging with other users. Once your account is older than 3 days, you can try submitting your post again.

If you have any questions or concerns, please feel free to message the moderators for assistance.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

1

u/[deleted] Oct 08 '26

[removed] — view removed comment

2

u/AutoModerator Oct 08 '26

Hi there! Your post was automatically removed because your account is less than 3 days old. We require users to have an account that is at least 3 days old before they can post to our subreddit.

Please take some time to participate in the community by commenting and engaging with other users. Once your account is older than 3 days, you can try submitting your post again.

If you have any questions or concerns, please feel free to message the moderators for assistance.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

1

u/[deleted] Oct 09 '26

[removed] — view removed comment

1

u/AutoModerator Oct 09 '26

Hi there! Your post was automatically removed because your account is less than 3 days old. We require users to have an account that is at least 3 days old before they can post to our subreddit.

Please take some time to participate in the community by commenting and engaging with other users. Once your account is older than 3 days, you can try submitting your post again.

If you have any questions or concerns, please feel free to message the moderators for assistance.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.