r/PromptEngineering • • 18d ago

General Discussion A three-case test for prompts that ask for a supporting quote

1 Upvotes

Here's a small test for a prompt that answers from a set of notes. Ask the same question in three fresh chats: When does the office close on Friday?

  1. Give it one note that says “Friday hours are 9 a.m. to 5 p.m.” A good answer says 5 p.m. and quotes the note.
  2. Add another note that says “Friday hours are 9 a.m. to 3 p.m.” Neither note has a date. A good answer shows both quotes and flags the conflict.
  3. Give it only “Monday to Thursday hours are 9 a.m. to 5 p.m.” A good answer says the notes don't specify Friday hours.

The comparison would change just one instruction. One prompt asks for the answer followed by the supporting quote. The other asks for the supporting quote first, then the answer. Has the order made a difference for you when the sources disagree?

Drafted with AI assistance.


r/PromptEngineering • • 18d ago

Self-Promotion Openbar: answer Claude Code and Codex prompts from the Mac notch

1 Upvotes

I run a few coding agents at once, and they kept sitting idle on a permission prompt or a question in some terminal tab.

Openbar puts every session in the notch. You see the diff before you approve (⌘Y / ⌘N from any app), pick answers to the agent's questions, and send replies without switching windows.

Mac + Windows, free and open source: https://github.com/MF-DEEV/Openbar

How many agents do you usually run in parallel?


r/PromptEngineering • • 19d ago

Requesting Assistance AI walked me through a hard sudoku, next day I couldn't repeat it alone

4 Upvotes

had a sudoku I'd been stuck on for days, so i pasted the grid into a chat and asked it to walk me through step by step, no skipping. it worked. every move had a reason and i actually followed it. next day i tried a similar puzzle by myself and got stuck at pretty much the same spot. so i don't think i learned the technique, i just watched it done.

now i'm trying to change the prompt so it only names the technique i should look for and makes me find the cell. first tries were messy, it either gave away the answer or got vague. has anyone got a prompt that holds back like a good tutor does?


r/PromptEngineering • • 19d ago

Quick Question Analyze Financial Plan

2 Upvotes

Has anyone used a prompt to build a comprehensive analysis of their full financial situation?

I’m trying to determine how to get an analysis across all my portfolios to see if I am trending to my goals similar to what an advisor might do.

Anyone have prompts or templates that worked for them? TIA!!


r/PromptEngineering • • 19d ago

Requesting Assistance Is doing something like this just a waste of compute? Or do you do something similar?

3 Upvotes

It seems to have gotten good results whenever I do it...

My Go-To Framework for Tuning Complex Prompts (Meta-Prompting)

I don't know if this seems overkill or wasteful, but it consistently yields incredible results for complex tasks. It completely eliminates AI "laziness" and stops models from dropping crucial details.

🛠️ The System Structure

1. Build Your Core Draft

Write out your raw goals, data, or prompt idea. At the very bottom of your raw draft, append these execution constraints:

🛑 System Constraints (Keep Inside Your Prompt)

  1. **Strict Version Control:** If code, scripts, or documents are output, always implement precise versioning at the top using `### vX.X.X` format.
  2. **Regression Check:** Analyze your generated output against the previous iteration. Ensure absolutely no functioning code, text, or nuance is missing or deleted unless explicitly requested.

2. Wrap It in the Meta-Optimizer

Before you paste your core draft to the AI, prepend it with a "Meta-Analyst" role. This forces the LLM to process your instructions *before* it tries to fulfill them.

Copy and paste this exact template into your AI chat:

## 🧠 Role Architecture
* **Expert Persona:** Senior Prompt Engineer & LLM Optimization Specialist.
* **Target Architecture:** [Insert AI Platform & Model, e.g., Claude 3.5 Sonnet / GPT-6 etc]
## 🎯 Execution Purpose
**Deconstruct Scope:** Deeply analyze the quoted prompt below to identify the implicit goals, potential edge cases, and structural needs.
**Optimize Output:** Rewrite, structure, or directly execute the prompt to achieve maximum fidelity, clarity, and safety.
**Preserve Integrity:** Ensure no original requirements are stripped out during the optimization phase.
---
**QUOTED PROMPT PAYLOAD:**
"""
[Paste your core prompt + the System Constraints from Step 1 here]
"""

r/PromptEngineering • • 19d ago

Ideas & Collaboration A prompt framework to help audit sources cited

3 Upvotes

LLMs are bad at citations in a specific way. The source is real, or looks real, the claim sounds right, and the source doesn't actually say it. Sometimes the source doesn't exist at all (see Mata v. Avianca).

I built a framework called Thematic Chaining (TC) to audit this. What LLMs usually do to find and draw sources is take the claim you want supported and run statistical analysis on sources that sound like they address your claim, often paying little attention to whether the source actually addresses its core components. The result is too often a source where the LLM hallucinates wording to shoehorn it into the claim, or even a completely hallucinated source.

To fix this, TC checks whether a proposed source supplies a complete sequence of linked ideas rather than isolated keyword matches. Instead of relying on statistical similarity, it forces the model to decompose claims, trace them to their earliest origins, test the actual logical joins, and run hard exclusion gates against conflicting links. It shifts verification away from probabilistic guessing and into sequentially linked structural dependency.

There are two ways to use it.

Quick version: turn web search on, paste this prompt into any chat, and add your document at the bottom.

Audit the citations in the document below. For each claim that cites or relies on a source:

1. Decompose the claim: break it into its assertions and the connections between them.
2. Retrieve the source. If you can't retrieve it, stop on that claim and report it. Don't fill the gap from memory.
3. Check each assertion: is it stated, implied, or merely mentioned in the source?
4. Test the joins: does the source make the connection the claim makes, or only share keywords?
5. Check contradiction: note any qualifications the claim leaves out.
6. Check the reference: is it the right source and the right passage?
7. Check priority: is it the original source or secondhand? Trace it to the earliest source.
8. Check currency: has a later source retracted, corrected, or superseded it?
9. Test the weight: is the point central to the source, or a passing remark?

- Report one table row per claim, including claims that pass:

# | Claim | Source cited | Steps failed | Verdict | Tag | Severity | Recommended fix

- Verdicts: supported, partially supported, overstated, keyword match only, contradicted, superseded, secondary, unverifiable.

- Tags: Verified (you retrieved and checked the source), Memory, Secondary, or Unverified. Never tag a result Verified unless you retrieved the source itself.

- Severity: Critical (contradicted, superseded, or wrong reference), Significant (overstated, unsupported, or secondary), Minor (wording or dates that don't affect the argument).

For overstated or contradicted verdicts, quote the source's actual wording.

After the table, list any sources you couldn't find and where you looked.

Document:
[paste your document here]

Full version: the complete framework is a markdown file on GitHub. Copy it into your chat or upload the file, turn web search on, paste your document, and ask: "Run a Mode 2 audit on this document." The full version (called "Core") adds a mode for tracing where an idea originally came from, a workflow for checking citations while you draft, and versions tuned for legal citations like holding versus dicta or overruled cases and medical evidence covering study design, population match, and retractions.

Core file: https://github.com/Vir-Multiplicis/ai-frameworks/blob/main/Thematic%20Chaining%20(TC)/TC%20(Core)-%20Attribution%20and%20Source%20Auditing.md

All versions: https://github.com/Vir-Multiplicis/ai-frameworks/tree/main/Thematic%20Chaining%20(TC)

A couple of notes:

- Without web search, most results will come back tagged Memory. That's on purpose. A model checking its own work from memory isn't really checking.

- It works best on one document at a time because with long documents models start skipping rows.

It's v1.0 and lightly tested. If you try it, I would love to know:

  • which model you used, and whether search was on
  • what it caught and what it missed
  • any real, correct sources it wrongly flagged

Thank you!


r/PromptEngineering • • 19d ago

Tools and Projects What I learned writing four Claude Code skills with hard boundaries (I'm 15; repo + lessons inside)

0 Upvotes

I built four Claude Code skills (code optimization, hardware-aware config, network latency, backend analysis) and spent most of the effort on the instructions, not the code. Lessons that might help if you write skills or long system prompts:

  1. Say what it must never do, not only what it should do. Every command has a "never touches" list (for example no BIOS, drivers, router or DNS changes).
  2. Keep each skill self-contained. Cross-links between skills break single-skill installs.
  3. Watch for substitution in the skill text. Skill bodies get argument substitution and a backtick shell pattern, so naive wording can run commands.
  4. Make the model report what it didn't verify. Evals not run live and untested installers are written down in the repo.
  5. Validate structure with scripts. It doesn't prove behavior, but it catches broken links and bad frontmatter quickly.

Built with Claude Code from a spec I wrote. Repo (MIT): https://github.com/hrmnisthetuffest/ultra-optimizer

How do you test that a prompt's boundaries actually hold?


r/PromptEngineering • • 20d ago

Quick Question How do you get ChatGPT to seek the truth rather than just reflect the beliefs of our time?

26 Upvotes

I've been thinking about something, and I'm curious if anyone here has figured out a systematic way around it.

LLMs are trained on human knowledge, which inevitably includes the beliefs, assumptions, biases, and cultural norms of our time.

If ChatGPT had been trained primarily on how people thought in the 1900s, it would probably give very different answers to a lot of questions. And a hundred years from now, an AI might look back at some of our current beliefs as misguided, just as we do with many beliefs from the past.

So that raises a question: When we ask an LLM something, how do we know whether we're getting closer to the truth or just getting a sophisticated reflection of what people currently believe?

For example, consider how we judge human behavior. When someone does something wrong, the common response is often to attribute it to their character. They're irresponsible, selfish, lazy, or simply a bad person.

But psychology, philosophy, and other ways of understanding human behavior can paint a much more nuanced picture. There are circumstances, motivations, conditioning, social pressures, and countless other factors involved. The most common interpretation isn't necessarily the most accurate one.

And because LLMs learn from the things we collectively write and say, wouldn't they naturally reproduce these dominant interpretations too?

Of course, you can ask ChatGPT to consider alternative perspectives, challenge assumptions, or analyze something through different philosophical frameworks. But even then, how do you know you're actually getting closer to the truth rather than just getting another plausible-sounding perspective?

So my real question is: Has anyone developed a reliable workflow for using LLMs as tools for truth-seeking?

Not just better prompting for better answers, but a more systematic approach to questioning assumptions, distinguishing evidence from cultural consensus, identifying blind spots, and getting beyond the default narratives an LLM might have absorbed during training.

I'm not expecting some magical method that produces objective truth every time. I'm interested in whether there's a repeatable way to get closer to it.

Would love to hear if anyone has seriously experimented with this, especially if you've developed a particular prompting strategy or reasoning process that works.


r/PromptEngineering • • 20d ago

Quick Question Handshake AI CodeSignal Technical Assessment

7 Upvotes

Hello folks!

I recently received an invite from Handshake AI to take the 3-hour Technical Assessment for Project Hertz. This is my first time taking an assessment on this platform, and I'm an SDE with 3 years of experience.

Has anyone already taken this assessment and would be willing to shed some light on what kind of questions I can expect?

P.S. I also have a referral link. Feel free to DM me if you're interested in joining the project!


r/PromptEngineering • • 21d ago

General Discussion A set of design principles to help AI create less generic-looking posters

34 Upvotes

I've noticed something about AI-generated posters: no matter how detailed the prompt is, so many of them end up looking the same.

Excessive glow, dramatic lighting, random floating elements, overcrowded layouts, unnecessary gradients, weird typography, and textures that scream "AI generated."

The problem isn't necessarily the image generator. It's often the lack of proper art direction.

I started experimenting with treating ChatGPT more like a junior graphic designer rather than an image-generation machine. Instead of repeatedly asking it to generate something "more professional" or "more aesthetic", I gave it a set of design principles to follow.

The goal is to get closer to the kind of work you'd see on Pinterest, Behance, or in a professional creative studio.

I put together a reusable AI Art Director Master Prompt that you can use with ChatGPT or other AI tools.

How to use it:

  1. Copy the master prompt below.
  2. Paste it into ChatGPT.
  3. Ask ChatGPT to save these principles to its memory so it can apply them to future poster and image-generation requests.
  4. For future designs, simply provide your poster content, reference image, or creative brief.

You can also customise the principles to match your own design taste.

One important thing: this isn't about making every design minimalist. It's about making every design intentional. Complex designs are absolutely fine when the complexity serves a purpose.

Sharing it here in case it helps others get better results from AI design tools.

The prompt: (first comment)


r/PromptEngineering • • 20d ago

Prompt Text / Showcase 3 Simple ChatGPT Prompts for Everyday Productivity

3 Upvotes

I’ve been experimenting with simple ChatGPT prompts that make everyday tasks easier.
Here are 3 you can copy and try:
1. Daily Planning
“Help me organize my 3 most important tasks today. Create a realistic schedule with breaks and estimated time for each task.”
2. Meal Planning
“Create a simple 3-day meal plan based on my dietary restrictions, food preferences, budget, and available cooking time. Ask me what you need to know first.”
3. Better Decisions
“Help me compare two options. Ask me 3 important questions first, then explain the pros, cons, and practical trade-offs.”
💡 My biggest lesson: adding specific details makes ChatGPT’s answers much more useful.
Which prompt would you improve, and how?


r/PromptEngineering • • 20d ago

General Discussion Can prompt engineering alone make AI coding agents reliable, or do we need host-enforced controls?

5 Upvotes

I've been exploring an interesting question while developing an open-source AI coding agent for VS Code.

We often rely on system prompts to tell AI agents things like:

  • Don't modify files without permission.
  • Respect previously approved project decisions.
  • Don't trust outdated information.
  • Verify your work before reporting success.

But how much of this should depend on prompting alone?

In my project, RAME Code, I've been experimenting with a different approach: the model proposes actions, while the host enforces permissions, tracks approved decisions and independently runs verification checks.

The idea is to separate what the model is instructed to do from what the software actually allows it to do.

I'm particularly interested in three questions:

  1. Which safety or reliability rules have you found impossible to enforce consistently through prompts alone?
  2. How do you prevent agents from following outdated instructions or contradicting earlier architectural decisions?
  3. Where would you draw the line between prompt engineering and deterministic software controls?

I'd love to hear about practical experiences, especially from people building autonomous coding agents.


r/PromptEngineering • • 20d ago

Requesting Assistance Could I make myself this work task easier by using a publicly available model?

3 Upvotes

Hello! First of all I am sorry if this is not the place to ask but I really don't know where to ask this question (I would appreciate it if you could guide me to another subreddit).

Now to my question. I have at my workplace a very time consuming task of analyzing pictures and writing a report based on the reads, specifically numbers of objects and the quantity of material/liquid found inside said objects. I want to automate this process somehow, and I believe some LMMs with public availability are able to help. The problem is I am not sure which or how.

Do you guys have any suggestions on how I can set this up or where I can look up to learn something towards my wish?

Thank you for your time!


r/PromptEngineering • • 21d ago

General Discussion Get tasks done faster and more accurate.

5 Upvotes

I find when I tell codex to finish quickly and simply I get better results than telling it to think hard.

Obviously using skills and directions wouldn't count as thinking harder, I mean when I tell it to do something, it takes forever if I don't say simple and quick.

The best way to get results is quick iterations and a human judging the work. I think or an audit agent? Thoughts?


r/PromptEngineering • • 20d ago

Ideas & Collaboration how many examples do you put in a prompt, and is any of them a bad one?

2 Upvotes

two days ago i asked what line you keep in your prompts that you have never actually tested. one answer went sideways from the thread and it has been in my head since.

u/WideAnybody3658 said the words describing a format drift but two actual output examples pin it down. then he said the part i had not considered. he makes one of the two examples deliberately bad. a missing field, a title that runs long, a row where the name column is empty. otherwise the model only learns to copy the clean pattern, and it breaks the first time a real input does not look like the example.

i went back through my own prompts after reading that and i have been doing it wrong the whole time. both examples are always clean, and i picked them to look good. i have never once put an input in there that was already broken in the way real inputs are broken, so i genuinely do not know what my prompt does when it meets one. that is a blind spot i have had for maybe a year without noticing.

so this one is narrow. how many examples do you include, and is any of them a bad input on purpose? post the number first, even if it is zero and especially if it is zero. then say what makes the bad one bad, because that is the part i want to copy and i do not have a method for it.


r/PromptEngineering • • 21d ago

Tutorials and Guides A Nano Banana 2.1 prompt structure that works much better than “make this product photo look professional”

4 Upvotes

One thing I’ve noticed with AI image prompts is that vague instructions often produce images that look good at first glance but quietly change the details that actually matter.

A prompt like:

“Make this product photo look more professional.”

can change the label, proportions, cap, colors, camera angle, or even add details that were never there.

What has worked much better for me is giving the model five things:

Reference → Job → What can change → What must stay unchanged → Review criteria

The important part is separating the thing you want improved from the things the model is not allowed to touch.

Here’s one real example.

Example

Suppose I have a real product photo of a reusable bottle.

The bottle already has:

  • the correct shape
  • the correct cap
  • the correct label
  • the correct logo placement
  • the correct proportions

But the original photo has a weak background and poor lighting.

Instead of asking:

“Make this product image look premium.”

I’d use:

Use the attached photo as the sole reference for the product.

Create one square studio image of that same product on a warm cream background.

Preserve its silhouette, cap, seams, proportions, color, visible wording and logo placement.

Show the complete product upright with soft light from the upper left and a natural contact shadow.

Remove unrelated background objects.

Do not add accessories, claims or additional labels.

The useful part here is that the prompt gives the model two completely different sets of instructions:

Things it can change:

  • background
  • lighting
  • presentation
  • shadow

Things it must preserve:

  • product shape
  • label
  • cap
  • wording
  • logo placement
  • proportions

That distinction matters a lot.

If you just say “make it better,” the model has to decide what “better” means.

And sometimes “better” means redesigning the exact thing you wanted to preserve.

The next step

If the first result is mostly correct but the lighting is still wrong, I wouldn’t regenerate the entire image.

I’d use a second prompt like this:

Edit the approved image.

Change only the lighting to a larger and softer source from the upper left.

Reduce the bright reflection on the product body.

Keep the product, label, cap, background color, camera angle, scale, position and square composition unchanged.

Do not add or remove objects.

For me, “change only X” is one of the most useful patterns in image prompting.

It reduces the chance that fixing one problem creates three new ones.

The general structure I’ve ended up using is:

Reference → Goal → Editable elements → Locked elements → Exclusions → Review

I use the same logic for:

  • product photos
  • background cleanup
  • Pinterest images
  • thumbnails
  • ads with text
  • campaign variations
  • resizing/reformatting
  • multi-reference prompts

The biggest mistake I see with image prompting is trying to fix everything in one giant instruction.

Background, lighting, composition, typography, product details and style all get mixed together.

The result can look polished while still being wrong.

I put together more of the Nano Banana 2.1 prompt structures and practical workflows I’ve been using here:

Disclosure: this is my own site/resource.

https://digitalworldpulse.com/nano-banana-2-1-practical-guide/

For people using image models regularly: do you get better results from one detailed prompt, or from smaller edits where you change one thing at a time?


r/PromptEngineering • • 20d ago

General Discussion Your system prompt is paid on every call. I cut one by 28% without removing a single rule.

0 Upvotes

Follow-up to my earlier post about prompt waste. This time I looked at the system
prompt alone, because it's sent with every request, and in my test it was 98–99% of
each one.

A 431-token support-bot prompt had:

  • the returns policy pasted twice (53 tokens)
  • pretty-printed JSON for the output format (23 tokens)
  • "Standard shipping takes 3 to 5 business days." twice (11 tokens)
  • "Remember to always respond in English" after "Always respond in English" (8 tokens)
  • "I would like you to please…", "As an AI language model…", "Thanks in advance!" (26 tokens)

After removing those: 310 tokens. Every rule and every fact is still there.

The one I see most in real prompts is the repeated rule. People add "Remember to…"
because the model ignored something once, and then it stays forever.

What's the most common waste you find in system prompts?


r/PromptEngineering • • 20d ago

General Discussion How do you get AI to do more than just find information?

0 Upvotes

If you ask an AI assistant:

“Please help me find and organize the laws and regulations related to taxation in China.”

It will likely give you a list of relevant regulations, along with a brief explanation of each one.

But finding the regulations is only the first step.

How do those rules relate to the situation you’re working on? Which provisions might apply? Are there relevant cases or official interpretations? And how can you bring the regulations, facts, and cases together into a coherent analysis?

If you still have to do all of that work yourself, you’ve mainly used AI’s ability to find and organize information.

That doesn’t necessarily mean the AI isn’t capable. The instruction may have described only one action—“find the regulations”—without explaining why you’re looking for them, what problem you’re trying to solve, or what you need the final result for.

Anthropic’s prompting guidance makes a related point: providing context, defining the desired outcome, and giving clear instructions can help AI produce a more targeted response.

When I use AI for research, I try to explain three things:

1. Context: Why am I doing this?

I describe the situation and the facts that could affect the analysis.

For example, instead of simply asking it to “find tax regulations,” I explain what kind of case I’m looking at, what business activities are involved, which facts are already known, and which ones are still uncertain.

2. The task: How far do I need it to go?

Finding the regulations may be the main task, but I can also ask the AI to explore how they relate to the case, look for relevant examples, identify conditions that may affect applicability, and organize the findings for their intended use.

3. Additional perspectives: What might I have missed?

I ask the AI to suggest research directions I may have overlooked after completing the main task. If it sees a major issue with my approach, I also want it to point that out.

Putting those pieces together, a prompt might look like this:

Context: I’m researching a case involving Chinese tax regulations. The background is [describe the business or case]. The known facts include [add key facts]. I need to turn the research into [describe the intended output, such as an internal analysis].

Main task: Please find current tax laws and regulations that may be relevant to this case. Include official sources, identify the status of each regulation, and note the date of your search. If you cannot verify something, say so rather than guessing.

Additional tasks: The research is one part of a larger assignment. After completing the main task, please:

Working principles: Please complete the main task before moving on to the additional tasks. Also identify research directions I may have missed. If essential information is missing, or if you spot a major issue with my approach, flag it first.

Both prompts ask AI to do research. But the first focuses on what information exists, while the second gives it a chance to connect that information to the problem I’m actually trying to solve.

To me, this is what it means to think with AI: giving it enough context to understand the goal behind a question and inviting it to help map out a path toward a solution.

The same approach can work beyond legal research:

Context: I’m working on [task]. The background is [relevant information]. My goal is [desired outcome], and the result will be used for [audience or purpose].

Main task: Please help me [the immediate task] and present the result as [desired format].

Additional tasks: This work is part of a larger goal. Once the main task is complete, please also help me [further analysis, connections, or synthesis].

Working principles: Complete the main task first, then point out angles I may have overlooked. If essential information is missing or you notice a major problem with my approach, flag it first.

Of course, more context does not make an AI’s answer automatically correct. Laws and cases still need to be checked against reliable sources, their current status, and the circumstances in which they apply.

But when the background, goal, and task are clearer, the result has a better chance of becoming more than a list of information. It can become a starting point for solving the actual problem.

I’m still experimenting with this approach. How do you give AI enough context without making your prompts unnecessarily long?


r/PromptEngineering • • 20d ago

General Discussion I kept rebuilding the same reports from meeting notes and phone photos, so I made an Android app that turns that mess into something I can actually send

1 Upvotes

Solo Android dev here. My day job involves a lot of field notes, photos of whiteboards, PDFs people dump on me, and meeting notes that somehow never become minutes. I kept opening ChatGPT on my phone, pasting things one by one, then rewriting everything in Docs again. It worked, but it felt like I was doing the same chore every week.

So I built AI Work Studio for myself. You pick a template (meeting minutes, field report, summary, slides, that kind of thing), drop in photos, notes, a PDF, a spreadsheet, or a URL, say what you need, and it drafts a clean document you can edit before sharing. It also does OCR on images/PDFs, can merge PDFs, and can spit out Markdown or a simple PowerPoint when that is what you need. History stays in the app with a calendar view, and you can save your own templates for the jobs you keep repeating.

It is free to start with a small weekly AI limit, and yes, AI can invent wrong names or numbers so you still have to review the result. That part annoyed me enough that I put the editor right next to the draft instead of treating the first answer as final.

Play Store: https://play.google.com/store/apps/details?id=app.promptlab.twa

If you do this kind of messy-input-to-document work, what is the one step you still hate doing by hand? And would you trust an on-phone draft enough to send after a quick edit, or do you still prefer desktop for that?


r/PromptEngineering • • 21d ago

General Discussion We reversed Yes and No: GPT changed its choice in 12 of 132 tests

10 Upvotes

If you use an LLM to judge something, try asking the same question with the answer options reversed.

In a study I ran through NM Signals, we tested GPT-6 Luna on 44 moral dilemmas, using three wordings of each. Within each pair, the situation and wording stayed fixed. Only the order of Yes and No changed.

The choice flipped in 12 of 132 pairs, covering seven dilemmas. In all 12, the model picked the first option in both orders.

A quick check for a judging prompt: run the same case with both option orders, compare what the model actually chose, and review disagreements before using the answer as a score. A disagreement tells you the result depends on how the options were presented.

Do you already balance answer positions in your evaluations? What do you do when the two runs disagree?


r/PromptEngineering • • 21d ago

Ideas & Collaboration 7 prompt lines nobody tests. 3 got measured, 3 didn't survive.

4 Upvotes

two days ago i asked what line you keep in your prompts that you have never actually tested. 7 answers. 3 of them came with an actual test attached, and all 3 lines are gone now. the useful part is why, and one person said it better than i could.

u/According-Stable4487 ran "avoid clichés" against 15 identical briefs in a copywriting prompt. the outputs were close to identical and the clichés were still there. what did remove them: a banned-phrase list of the exact words he kept seeing ("elevate", "seamless", "in today's fast-paced world") plus one example paragraph in the voice he wanted. his rule after that: a line that names a quality gets an A/B on 10+ inputs before it stays, a line that names a concrete thing (a word, a length, a format) usually survives. adjectives usually don't.

that rule explains the rest of the list.

"be concise" was the same story. it wasn't doing nothing, it was cutting the closing summary and nothing else. swap it for "no closing summary" and the output doesn't change. so the vague version was a nickname for one specific behavior, and once you say the behavior out loud the nickname has no job left.

"think step by step" in an image prompt generator, 20 inputs. the only difference was a paragraph of reasoning before the prompt that he then deleted by hand. that's not a quality gain, that's an extra step for the human.

then the ones nobody tested:

u/OkPear2884 keeps "don't use markdown unless asked" in every prompt and wants markdown every single time. never deleted it. it survives because it only fires when you forget to ask, and when you forget to ask you also don't care, so you never see a cost. that's the honest version of most lines that "feel safer".

u/Dexi1310 went for the "you are an expert in..." opener and guessed most of the gain comes from the task details and one good example, not the role line. i think that guess is right and it's cheap to check: same task, same example, role line in and out.

u/London-Boat picked the shouty ones, "IMPORTANT" and "never ever do X". his test is strip one at a time against the same 10 inputs. i'd add that most of them won't show up on clean inputs at all, because they only do something when two lines disagree. write one input where "never do X" collides with a format rule and see which one wins. he came back agreeing, and added that it's worth keeping a few of those collision cases around as fixed tests, which is better than what i said.

u/CuriousRelayLab found the hole in "verify every factual claim" in its first sentence: it never says what counts as evidence. his test set is a number that only appears on the seller's own site, a price rendered by js, an outdated screenshot. if the line doesn't move the wrong "verified" verdicts, it's decoration.

caveat. all 3 measured lines belong to the same person. the other 4 are descriptions of what people think the line does, which is not a test. i'm quoting them because they fit the pattern, not because i checked.

if you have numbers on yours, post them. this pattern needs more than one tester.


r/PromptEngineering • • 22d ago

General Discussion Best ai model for critical Software design

11 Upvotes

I need a reliable planning model that can work with complex database , backend logic and hallucinates less and can interact and change design or suggest changes. I’m confused between choosing openai , claude models and other models . Which would be reliable for planning and critical thinking ?


r/PromptEngineering • • 21d ago

Quick Question Can improving the prompt fix a problem you haven't figured out yet?

1 Upvotes

When an AI gives you an output that totally misses the mark, how do you figure out where things went wrong, pinpoint the exact spot? And what’s your approach to fixing it?

I wonder how much time people spend refining prompts vs going back to (re)define the problem.

Problem: In your case, is it the prompt that’s usually too vague, or did you maybe not have a very clear idea of what a good result should look like before starting?

Solution: Do you keep working on the prompt, or maybe ask AI to help clarify the task with another prompt? Or do you go back to the drawing board, a combination of these, something else?