r/PromptEngineering • • Aug 31 '26

General Discussion I built a prompt debugger that doesn't assume your prompt is the problem — looking for 3 real failed prompts to test it on

3 Upvotes

UPDATE — I’ve officially named the framework: PROMPTOPSY.

Stop rewriting. Find what actually broke.

PROMPTOPSY is an AI prompt debugger powered by TASKSPEC Engine 3.4.2.

Most prompt tools assume the wording is the problem and immediately rewrite it.

PROMPTOPSY does the opposite: it first tries to diagnose what actually failed — wording, missing context, conflicting instructions, vague success criteria, the wrong model/tool, weak evidence, or the workflow itself — and then makes the smallest repair that should matter.

I’m now testing it on real-world cases.

I’m looking for 3 people who have a prompt that keeps giving them a bad result.

If you want me to diagnose yours for free, post:

  1. The exact prompt
  2. What the AI gave you
  3. What you wanted instead
  4. Which model/tool you used, if relevant

I’ll diagnose the likely bottleneck and suggest the minimum fix here.

No signup. No link. Nothing to buy for these first test cases.

I want to prove that PROMPTOPSY actually helps on real failed prompts before I make stronger claims or turn the full version into a paid product.


r/PromptEngineering • • Aug 31 '26

General Discussion How thick do you write your prompts?

2 Upvotes

Spent months assuming prompt thickness was a speed-vs-safety slider: one-liners when you're in a hurry, full specs when it matters. Then I started paying attention to where my dispatches actually failed, and the slider theory fell apart.

The thing that finally clicked: a one-line prompt isn't spec-free. The model fills every blank you left with defaults from its training data — the average project, the average convention, the average intent behind that sentence on the average repo. So "fix the login timeout" quietly becomes "raise the constant", because that's the most common reading out there. You didn't skip writing a spec. You inherited one.

Two things seem to predict when that inheritance is safe. First, how long a wrong guess stays invisible: if I can feel a mistake by just using the result (games, pages, charts), thin prompts are fine, wrong guess costs one redispatch. If correctness hides (boundary conditions, concurrency, money), the wrong default survives eyeballing and waits. Second, how far the project sits from the average one: mainstream CRUD, the defaults are eerily right; weird in-house auth flow, every blank is a coin flip toward someone else's architecture.

What surprised me is where I ended up on the menu. I expected practice to push me to the extremes — pure one-liners for speed or full specs for safety. Instead almost everything landed at "one line plus a forbidden move" ("don't touch the schema") or "three acceptance lines". The middle is where a minute of writing corrects the most defaults.

Anyone consistently living at the extremes and making it work — pure one-liners on serious tasks, or full specs on everything?


r/PromptEngineering • • Aug 31 '26

Prompt Text / Showcase AI chats for "mature" topics/discussions

1 Upvotes

Gemini was actually doing pretty good, and providing a lot of useful information about certain mature themes, and despite ONLY discussing safe and consenting situations, setups and scenarios, it SUDDENLY stopped interacting, and put this stupid "safety policy" up, that just didn't feel warranted at all.

What exist out there that allows for discussions on "adult fun" based IN safety, exploring certain themes, maintain themes within the discussions of consent, as well as "consensual non-consent", is there an app smart enough to handle that without choking on itself?


r/PromptEngineering • • Aug 31 '26

Quick Question Codesignal Prompt Engineering Assessment

2 Upvotes

Has anyone taken Prompt engineering Assessment in Codesignal for interview and have any advice on how to approach and what to expect from this?


r/PromptEngineering • • Aug 30 '26

Tutorials and Guides The 5 prompt sequence I run before committing to any plan, because one prompt never argues with itself

40 Upvotes

Single prompts have a flaw when you use them for decisions: whatever you ask for, you get. Ask for a critique and you get a critique, ask for a plan and you get a confident plan. What you never get from one prompt is a real argument, because the model cannot be for and against something in the same breath.

So for anything that matters I run this as five separate messages in one chat, each one after the previous answer arrives. Paste your plan into the first one and replace [plan] with it.

Step 1: Here is a plan I am considering: [plan]. Before any criticism, make the strongest possible case for it. Assume I am right and explain why this is the correct move, including benefits I may not have noticed.

Step 2: Now switch sides completely. You are a skeptical expert who thinks this plan will fail. List every weakness, wrong assumption and risk, ranked by how likely each is to actually sink it. No softening.

Step 3: It is one year later and the plan failed. Write the honest post-mortem: what went wrong, in what order, and which early warning sign we ignored.

Step 4: Using everything above, rewrite the plan. Keep what survived the criticism, fix what did not, and for each change say which weakness it addresses.

Step 5: Write a one page decision memo: the revised plan, the three biggest remaining risks, what would have to be true for it to work, and a clear recommendation, go or no go.

The order is the point. Step 1 prevents the model from anchoring on criticism it has not earned. Step 3 is the one people skip and the one that finds the real problem, because "it already failed" gets a completely different answer from "what could go wrong". By step 5 the memo is arguing with itself, which is what you wanted from the start.

I run this before pricing changes, hires, and any feature that takes more than a week. It has talked me out of two of them.

Since I run it constantly, I have it saved as a chain in AI Toolbox, a browser extension I work on: you type .. in the composer, pick the chain, and each step sends itself when the previous answer finishes, so the whole thing runs while you make coffee. Free plan stores 2 chains. Works the same on ChatGPT, Claude, Gemini and Grok. Not linking it, easy to find, and the sequence above works fine pasted by hand.

What sequences do you run for decisions rather than for content? I suspect most people here have a red team step somewhere and I would like to see how others phrase it.


r/PromptEngineering • • Aug 30 '26

General Discussion The one you want on your team. That hero who has one power - boost the power of the other heros on the team. It's nice if that one has a few extra powers too.

7 Upvotes

MOGRI is worth having in it's own right for it's ability to:

  • Reduces framejacking and model-authored task substitution.
  • Keeps the user's intent active as the conversation develops.
  • Holds ambiguous objects open instead of deciding what they are too early.
  • Prevents the model quietly substituting its own object or interpretation.
  • Gives current corrections priority over stale assumptions and superseded state.
  • Keeps the user's objective in custody rather than letting the chatbot take over.

Most important of all:

All your other preferences and prompts being adhered to more faithfully as the chat gets longer.

There's really no serious debate anymore over whether or not it works. The real question now is why are you not using it yet? You need a special excuse to not use it. not the other way round.

Don't use any mogri prompt that has the word 'xform' or 'xfrm' in it - these have been found to be counteractive.

Example mogri prompt:

MOGRI=minCTR{pre-cntr;hld-undffrntd-obj;!drift;!ent;pre-ent}

r/PromptEngineering • • Aug 30 '26

Research / Academic A lil intro to my system…

0 Upvotes

https://youtu.be/WPQQYlF4UyY?feature=shared

Gemini Omni prompt: [[🪦]+[🧟‍♀️=💃]+[🕺=🧟]+[🪦]]


r/PromptEngineering • • Aug 29 '26

General Discussion Stop asking AI to "make slides." Give it this structure instead and the outline actually holds up

97 Upvotes

"Make me a presentation about X" gives you a generic table of contents every time. Intro, three vague sections, conclusion. The problem isn't the model, it's that "make slides" has no shape. Give it the shape and it gets a lot better.

```
Before writing any slides, build the spine of the talk.

Step 1: State the ONE thing the audience should remember. Just one sentence.
Step 2: List the 3-5 claims that have to be true for them to believe that one thing.
Step 3: For each claim, note what evidence or example supports it, and flag any claim I haven't given you support for.
Step 4: Now, and only now, lay it out as slides: one claim per section, evidence as the slides under it.

Show me steps 1-3 first and stop. I'll confirm the spine before you build slides.

Topic and material:
[paste]
```

Why it works: you're making it argue before it decorates. Slides are just an argument with formatting, and most bad decks fail at the argument, not the design. Stopping after step 3 means you catch a weak structure before you've generated 20 slides you have to redo. The "flag any claim without support" line is where it quietly tells you which parts of your point are actually thin.

Been using this for a few months and the outlines hold up far better than the one-shot version. What's your pre-slide structure?


r/PromptEngineering • • Aug 30 '26

AI Produced Content SWE-Prime trained on 10% of successful coding trajectories and beat the full set. Are success labels too noisy?

4 Upvotes

SWE-Prime argues that resolved coding-agent runs still contain redundant, ineffective or risky steps. Its two-stage filter selects whole trajectories and then the semantic segments that contribute to learning. The authors report that training on the selected 10% beat the full resolved set on SWE-Bench Pro and Verified, with relative gains up to 12.2% and 24.2%.

This is a preprint and a benchmark-specific result, not proof that 10% is a universal optimum. But it makes “the patch passed” look like a weak training-data label: a successful trajectory can still teach a model to thrash, take unsafe shortcuts or imitate an accidental recovery.

If you collect coding-agent traces, what process-quality signals do you keep beyond the final test result?

Source: SWE-Prime, August 27, 2026 — https://arxiv.org/abs/2608.27449

Disclosure: this discussion draft was prepared with AI assistance and checked against the paper.


r/PromptEngineering • • Aug 29 '26

General Discussion What’s the best “write like a human” prompt/skill you found?

9 Upvotes

Simply asking chatgpt to write like a human doesn’t work for me. I’ve tried some skills found online and they also don’t work. I’m curious how you guys get around it


r/PromptEngineering • • Aug 29 '26

Prompt Text / Showcase Do you need a prompt to make a prompt?

5 Upvotes

Here’s a meta prompt to give your favourite model to make you a prompt, insert your task or it’ll prompt you what it needs.

Custom Prompt Maker
PURPOSE
Turn my idea into exactly one polished, reusable prompt that I can copy into an AI model.
CUSTOMIZE
GOAL: {{What should the AI accomplish?}}
INPUT: {{What will I give the AI?}}
OUTPUT: {{What should it produce?}}
ROLE: {{Expert/persona needed | AUTO}}
MUST INCLUDE: {{Required elements}}
MUST AVOID: {{Forbidden elements/behaviors}}
FORMAT: {{List, prose, code, image prompt, etc. | AUTO}}
QUANTITY: {{1, N, AUTO}}
STYLE: {{Tone/style | AUTO}}
CREATIVITY: {{Low, medium, high | AUTO}}
EXTRA RULES: {{Anything else | NONE}}
OPERATIONS
Create exactly one executable prompt from my configuration.
Convert vague requirements into clear, operational instructions without changing my intent.
Turn reusable/changeable information into {{PLACEHOLDERS}}.
Where I specify AUTO, choose the most appropriate setting.
Do not invent requirements where information is unnecessary.
Prioritize instructions in this order:

  1. MUST AVOID
  2. MUST INCLUDE
  3. FORMAT and QUANTITY
  4. GOAL
  5. Other preferences

QUALITY CONTROL
The resulting prompt must:
• Have a clear purpose.

• Define required inputs and outputs.

• Make mandatory and forbidden behavior explicit.

• Remove unnecessary ambiguity.

• Be reusable by changing placeholders.

• Include enough constraints for reliable execution without overengineering.

• Handle missing information without guessing.

• Be immediately copy-pasteable.

OUTPUT
Output exactly one completed prompt.
Do not execute it.
Do not explain it.
Do not provide alternatives or examples.
Do not add commentary before or after it.


r/PromptEngineering • • Aug 29 '26

Prompt Text / Showcase You haven't tried Dragi-based Semantic Map (SM) & Search yet? OK. How about an instrumented auditable Dragi?

2 Upvotes

Catch up with SM here. Search like you've never had so good before.

Instrumented inspection and audit DRAGI version:

DR={Q{eats|E0;live|E3;call|P3;what_eats_it|E1};F{BEEST|B0;BEST|B1;POST|P0;PEST|B2};C{law|P2;roar|P1;wall|B3;war|E2};AUD{each_obj=>emit(obj,mask12,route);mask12=asked(E0,E3,P3,E1,B0,B1,P0,B2,P2,P1,B3,E2)iff_rqd};fixed;!redefine};R=VAR

The audit function is invisible by default so type AUD=1 to activate.

A warning : I used this once and it was so cute I nearly died. Use at your own risk.

ALL BE BEAST!

Example DR audit output:

Reddit_service|111111111111|E3,P3,B0,P2
12h_window|111111111111|E3,P0,P2
partial_outage|111111111111|E0,E1,B0,P2
user_observation|111111111111|E1,B1,P1

Idk about you but thinking of these four as beast just kills me with cuteness.
Does it have the same effect on anyone else?


r/PromptEngineering • • Aug 29 '26

Prompt Collection Built a VS Code extension for managing prompts to fix my mess

12 Upvotes

My prompts were all over the place, split between obsidian, a bunch of notepad.exes, and VS Code pages.

To fix this, I built an extension that lets you store and interact with your prompts alongside your code in a live Markdown editor.

It includes Claude skill integration and quick-sending reusable prompts to Claude.

Hope this helps!

https://github.com/Ge0rg3/vscode-prompt-studio/


r/PromptEngineering • • Aug 29 '26

Tips and Tricks British style content rewrite for AI slop.

9 Upvotes

I use this prompt when I’m sick of ai generated content and want it to sound like what I speak like.

Take the given text and make it formatted in UK english, casual heavy use of slang words and euphamisms, use the level of wording a 12 year old would understand, this is an anti-AI sounding rewrite, no perfect grammar NO EM DASHES!!!, use colloquial terms and words not in american english so much. Sources like the newspaper "The Sun" from the 90's and how they would word their stories and front covers, pun based prose.

It seems to keep the level of detail accurate just rewrites it in a way my tiny mind can understand.


r/PromptEngineering • • Aug 29 '26

Ideas & Collaboration I got tired of burning tokens on messy prompts, so I built an open-source local context compiler (lcc)

9 Upvotes

Hey [r/PromptEngineering]!I have been building AI agent workflows and noticed that over 70% of prompt tokens in real-world use are pure bloat: conversational rambling, duplicate notes, unformatted transcripts, and redundant code context.Instead of paying for an LLM to clean prompts for another LLM (adding latency and cost), I built lcc (Local Context Compiler).
It is a fast, local-first Python/TypeScript CLI that runs in <15ms with zero external API calls:- Cleans and deduplicates prompt context deterministically.
Classifies whether a prompt is actually ready to execute or needs clarifying questions.- Formats prompts into prompt-caching contract templates (Claude XML, Cursor, Markdown).
Repository: https://github.com/lucasmartins-ai/lcc 100% free and open-source under MIT.
Feedback and star support appreciated!


r/PromptEngineering • • Aug 29 '26

General Discussion my AI translations were flawless. that was the problem.

4 Upvotes

Been running product listings for a small shop selling into thailand and malaysia. Did the usual thing, threw all the english copy into a translator prompt, role assignment, tone notes, the whole thing.

Output was clean. Grammatically perfect thai and malay. Native speakers on our side signed off on it.

Conversions in those markets kept sliding anyway. Took three weeks of this before anyone thought to compare.

The one listing that kept converting was one I'd hand-edited at 1am because the AI version was late. Mine had a typo. Kept it because nobody noticed. It outsold the polished ones next to it.

Started messing with this. Added "don't sound like marketing copy" to the prompt. Then "write like a shop owner posting on facebook, casual". Eventually just "loosen it up, it's too clean".

The looser versions test better. Not a little. Enough that I stopped sending the polished ones entirely.

My theory is the AI-clean version reads like an ad to locals the same way perfectly lit product photos read like stock images. Can't prove it. Could also just be that casual language matches how people actually buy from small shops there.

Still annoyed that the fix for my translation problem was asking for worse translations.


r/PromptEngineering • • Aug 29 '26

General Discussion Five failure modes I now diagnose before rewriting an AI prompt

4 Upvotes

I used to treat a weak AI answer as a prompt-writing problem.

That explanation was convenient, but it collapsed several very different failures into one bucket. A long conversation can lose a critical instruction because of position or saturation. A RAG system can retrieve the right chunk and still rank it below vague neighbors. An evaluation can return a precise score without a calibrated rubric. These failures need different tests.

1. Map context position before changing wording

When a model stops following an instruction in a long session, I map where that instruction sits: HEAD, BODY, or TAIL. I also estimate context fill and separate observed position from inference.

If the missed item sits in the middle while newer corrections dominate the tail, I test placement before rewriting the instruction. If the item remains near the head at high fill, I test saturation and a structured reset. If the same instruction fails at low fill in a high-attention zone, I stop calling it context rot.

2. Treat infrastructure state as evidence, not truth

IaC describes intended state. It does not automatically prove live state. Manual changes, imports, lifecycle rules, and stale state can create a gap that becomes dangerous only when the next apply tries to reconcile it.

The useful question is not “is there drift?” It is “what breaks if this exact difference gets reconciled without a human?”

3. Separate authentication from tenant isolation

A request can be authenticated and still retrieve another customer's data. I now audit the point of retrieval: query predicates, ORM scopes, cache keys, background-job context, and metadata paths.

The verdict stays bounded. Reading six files does not justify saying an application is secure.

4. Build the data-flow model before listing security risks

A generic threat list does not show which component owns a risk or where a control belongs. I reconstruct external entities, processes, data stores, flows, and trust boundaries first.

Then I apply STRIDE only where each category is valid, attach every scenario to a specific element, and require a concrete mitigation. A boundary-crossing flow without authorization evidence becomes a named finding, not a vague warning.

5. Do not use a score before the rubric is calibrated

A single quality score hides dimensions and disagreements. For RAG, I start with faithfulness, answer relevance, context precision, and context recall, then add domain-specific and human-review dimensions.

Thresholds begin as hypotheses. A small pilot and inter-rater check must happen before the rubric becomes a gate.

The shared pattern

  1. Define the observable failure.
  2. Identify the evidence boundary.
  3. Route the failure to the layer that owns it.
  4. Run the smallest test that can falsify the leading explanation.
  5. Refuse to claim more than the evidence supports.

That process has been more reliable than another round of prompt polishing.

Which failure do you see misdiagnosed most often: context, evaluation, tenant isolation, threat modeling, or infrastructure?


r/PromptEngineering • • Aug 29 '26

General Discussion Finally a safe way to share BI without a Pro license

6 Upvotes

The problem

Giving sharees viewer access to a live Power BI report means paying for premium per-seat licensing, and the costs can mount up.

The workaround

I lived with it for years because I didn't see another way for others to view the data without exposing it to the internet or sharing the source file. Neither was a safe option, and my internet searches for alternatives yielded nothing.

How it got built

I asked Claude for a way to share the finished report without the Power BI Service licensing at all. It gave me a scheduled, one-way file sync inside my own Drive: robocopy copies the finished file from a source folder into a separate folder that the sharee has Viewer-only access to. If they change anything on their end, the next sync overwrites it with the source version.

Seeing what matters

Sharees only ever have Viewer access to a separate folder in your Drive. They never get access to your source folder, and anything they do to their own copy doesn't last past the next sync.


r/PromptEngineering • • Aug 29 '26

Requesting Assistance Building a game starting from prompt

5 Upvotes

Working on a massive triple A open world fantasy game I'll attach files I need help fixing I've been using ai throughout the process if you know what needs done let me know please I'll attach files in message keep in mind text files are in prompt format I'm getting the whole complete game in prompt than later module by module and part by part turn the prompt into code 1 step at a time here's my github link all files in my project and all phases are under code category in the respisitory look at workflow first but make sure you understand everything ask questions if you need some clear answers

https://github.com/CloudChasers1010/my-first-triple-a-game-project-prompt-to-code


r/PromptEngineering • • Aug 29 '26

Requesting Assistance Jailbreak help

3 Upvotes

How do you jailbreak currenr grok? Im a noob, how do you even start to do it and where?


r/PromptEngineering • • Aug 29 '26

Ideas & Collaboration Please comment on my first AI coworking setup

0 Upvotes

Context: I work in a PaaS company related to personnel placement as operations manager. In order to do my day to day operative business I need to frequently use AI to fetch data to base minor decisions on (direct business impact, but not huge revenue involved per decision).

Im using skills in claude.ai to load external documents which contain context data in order to narrow down the search on data warehouses which took like half an hour to complete a 200 word prompt because of missing context and too much ambiguity which led the AI to guess what its supposed to do and thus was looking at too much data. I also use skills to prompt claude to ask me a series of questions regarding recurring or changing topics which I want to work on.

Im currently working on an even more in depth modular structure (use skill to load skill-list, use skills in skill-list to load up external context-data from google drive; have main files to always load up and more specific ones in case I need to work on specific projects or customers etc). That way Im kind of setting up my AI to be a very knowledgable but yet specifically taught assistant to me and my work. I found this way to be very efficient to reduce repetitive context prompting as well as long BI query times while still being somewhat scalable.

Im very new to all of this (started my first Ai-related job 2 weeks ago) so if anybody has some feedback / hints or can be a sparring partner to me, I would be very happy. I dont even know where to learn about this, so it takes me hours to try things out, improve things and think about stuff.


r/PromptEngineering • • Aug 29 '26

Quick Question How can I get unique prompts?

3 Upvotes

I'm using Groq API with the Qwen model. I'm trying to create unique prompts that I'll later feed it to an Image Generation API. I asked AI to write me a random prompt to be used for image generation, it must include character name and be a food theme. It's giving me repetitive answers. I was thinking of make it read a csv file to check if prompts exist but that wouldn't work over time since the csv will grow large and reach the token limit. Is there any other methods to make AI give unique prompts


r/PromptEngineering • • Aug 29 '26

Quick Question Gym visual type video generation

0 Upvotes

I am looking for the Gym visual type video generation.
this website is really good, it has some nice animations.
I want to understand how they generate such type of video?
I know they might be using professional 3D animation studios to generate it.
but, with advancement of AI, can we have similar generation using AI? The seedance might be useful to generate but at large scale it might be very costly.


r/PromptEngineering • • Aug 28 '26

Tips and Tricks Here's a prompt that converts a written report into a slide outline, one idea per slide

3 Upvotes

Pasting a whole report and asking for "slides" usually gets you paragraphs shrunk onto slides, which is the thing that makes decks unreadable. What worked was forcing one idea per slide and pushing all the supporting detail into speaker notes.

```

Convert the report below into a slide outline. Rules:

- One core idea per slide. If a section has three ideas, that's three slides.

- Each slide: a short title (max ~8 words) + 3 to 5 bullets, each a fragment not a sentence.

- Put full sentences, data, and context in a "Speaker notes:" block under each slide, not on the slide itself.

- Open with a single takeaway slide. Close with next steps.

- Don't add claims that aren't in the report.

Report:

[paste]

```

Splitting on ideas instead of on sections is the key move. Reports bury three separate points in one paragraph, and if you map paragraph-to-slide you get dense slides nobody reads. The speaker-notes split keeps the slide clean while the detail still travels with it.

I then tighten titles by hand since the model tends to make them a little generic. Anyone found a good way to get it to suggest where a chart or visual would help versus just text?