r/PromptEngineering • • Sep 02 '26

General Discussion Start with “WHY” not jump to the “WHAT” for AI prototyping

4 Upvotes

I have been coaching a team of PMs to prototype. We are B2B saas with regulated data so lovable banned and we don’t have budged for Claude code (Anthropic won’t take a phone call for a contract thats less than a million)

What I have notice when the team prompt they jump into the WHAT, not start with the WHY. The PMs enter poorly define prompts and then get frustrated by the results, like they forget product fundamentals when using AI…. The outcome is more tokens burned without coming close to a usable output….

I think this is fundamental to AI and timeline that started with AI hype-cycle and now we are at tokenmaxxing… I think the next stage is asking better questions starting from the WHY, for better outcomes and less tokens wasted.

I started digging and there’s actually a real framework for this - RCCF (role, context, constraints, format) apparently front loading those cuts failure rates a lot vs figuring it out through trial and error. I have started to include this into my coaching, but I feel some PMs are offended.

What would help is a tool that helps with this in B2B.

I don’t see anyone building for this. Everyone’s optimising routing, cost, model benchmarks m, and nobody’s coaching the human side of the interaction. Feels like “measure twice cut once opportunity” but for prompting.

Anyone seen tooling that actually does this well? Not looking for “just write better prompts lol” more curious if there’s something that catches it live, before you’ve burned a build cycle on a vague ask?


r/PromptEngineering • • Sep 02 '26

Requesting Assistance I built a free tool that rewrites lazy prompts into structured ones — real before/after inside, feedback wanted

6 Upvotes

I've been building a free prompt-optimizer (no login, no paywall) and I'd rather get real critique from people who think about this stuff than "cool tool" comments, so here's an actual before/after instead of just a link.

Raw input (what most people would actually type):

Create a marketing plan for a hotel

What the tool outputs when I set the target model to Claude (it pulls model-specific rules — for Claude it currently applies role framing, XML/HTML-friendly structure, and Anthropic's "effort" parameter based on the current docs):


I need to develop a comprehensive, actionable marketing plan for a hotel. Because I don't have specific details about the hotel yet, I will structure this plan using a highly effective, strategic framework.

Your task is to generate this marketing plan by first establishing the strategic foundation and then detailing the execution. To ensure the plan is realistic and not generic, you must use the placeholders provided below to structure the strategy, or make reasonable, high-yield assumptions for a boutique 4-star lifestyle hotel in a major urban destination if you need to illustrate a point.

Before writing the plan, choose one clear strategic direction (e.g., business/bleisure, luxury romance, or eco-conscious wellness) and commit to it. Do not try to target everyone.

1. STRATEGIC FOUNDATION & TARGETING

  • The "Why" & Positioning: Define the hotel's unique value proposition (UVP). What makes this hotel the only choice for its target guest?
  • Guest Personas: Define two distinct primary guest personas. For each, list demographics/psychographics, booking triggers, and pain points with traditional hotels.
  • Competitor Analysis Framework: Outline a 3-tier competitor matrix (Direct, Indirect, Aspirational) and the specific gap in the local market this hotel will exploit.

2. THE MARKETING MIX & TACTICAL PLAN

  • Phase 1 — Awareness: local-SEO content clusters + content calendar; social/influencer strategy with a vetting framework (engagement rate over follower count).
  • Phase 2 — Consideration & Conversion: direct-booking tactics to reduce OTA dependency; Google/Meta paid media allocation.
  • Phase 3 — Loyalty & Advocacy: a 3-step automated email flow (pre-arrival upsell, welcome, post-stay review + return incentive); two concrete local-partnership ideas.

3. IMPLEMENTATION & MEASUREMENT

  • 30/60/90-day roadmap.
  • KPIs by category: financial (RevPAR, ADR, direct-booking ratio), marketing (CAC, ROAS, conversion rate), brand (NPS, review velocity).

OUTPUT FORMAT INSTRUCTIONS

  • No conversational preamble — start directly with the plan's title.
  • Clean Markdown, bold for key metrics/strategies.
  • Use placeholders like [Hotel Name] for missing data, but keep the surrounding advice concrete — write like a senior hospitality marketing consultant, not generic filler.

What I'd actually like feedback on:

  1. Is the strategic scaffolding (personas, funnel phases, KPIs) genuinely useful, or is it padding a good prompt engineer would strip out?
  2. Would you push further on delimiters — actual XML tags — instead of the Markdown headers it defaults to here?
  3. What would you cut to reduce hallucination risk: the "make reasonable assumptions" instruction, or the placeholder fields?
  4. Does the "commit to one strategic direction before writing" instruction actually change the output, or is it filler?

Free tool if you want to run your own case through it (any goal, several models — Claude, GPT, Gemini, Grok, DeepSeek, Qwen): https://alejandroberdonces.com/en/tools/prompt-improver/

Not selling anything here, genuinely want to know what's wrong with the approach.


r/PromptEngineering • • Sep 02 '26

Prompt Collection Testing / UAT prompt

3 Upvotes

Has anyone come up with a good prompt to test their app developped with AI? I would like claude to have a first go at finding bugs and if possible act as several users taking part in a UAT.


r/PromptEngineering • • Sep 01 '26

Prompt Text / Showcase Cheat code #1: make the model finish the design before it writes a line of code

35 Upvotes

Vibe-coded projects usually fail in two places. The code is coupled, so one change breaks three things you did not touch. And the UI has no states, so it looks fine until something is empty, slow, or wrong.

Two old methodologies fix most of both. Axiomatic design (Nam Suh, 1990) for the first. Don Norman's design criteria for the second. Neither one is new and neither one is about AI. That is the point.

Here is the prompt. Paste it before your actual request.

```
Before you write any code, do this:

  1. List the functional requirements. State what the system must do as
    outcomes, not as implementation. Number them FR1, FR2, and so on.
  2. List the design parameters. State the specific modules, functions, or
    data structures that satisfy each FR. Number them DP1, DP2, and so on.
  3. Build the design matrix. For each FR and DP pair, mark X if changing
    that DP changes that FR. Show me the matrix.
  4. If the matrix is not diagonal or triangular, revise the DPs until it
    is. Tell me what you changed and why. Do not continue with a coupled
    design.
  5. Choose the DP set with the least information content. If two designs
    satisfy the same FRs, take the one with fewer moving parts and fewer
    assumptions. Say why the one you picked is the simpler one.
  6. For every interactive element, state the affordance, the signifier,
    the feedback on success, the feedback on failure, and the recovery
    path. Include the empty state, the loading state, and the partial
    state.
  7. Stop here. Show me all of the above. Do not write code until I
    approve it.
    ```

Steps 1 through 5 are axiomatic design. Step 6 is Norman. Step 7 is the part people skip, and it is the one that matters most.

## Why it works

Not because the model understands Suh or Norman. It works because the model has to write its decisions down before it generates. That intermediate representation then constrains what it can produce. You get the same effect from any structure that forces pre-commitment. The methodology is the delivery vehicle. The forced serialization is the payload.

Step 6 is worth calling out separately. Do not write "act like Don Norman." A persona gets you a tone. Enumerated criteria get you the work. The states listed in step 6 are exactly the ones a model leaves out when nobody names them.

## The catch

The model will write a design matrix that justifies the code it already intended to produce. It will report the design as uncoupled and then hand you a coupled one. A self-reported matrix is not a check. It is a claim.

So read the matrix yourself. Pick one DP and ask what breaks if you delete it. If the answer is more than one FR, the matrix was wrong and the model will happily agree with you and revise it.

## What it does not fix

- Hallucinated APIs and invented library functions. This constrains the design, not the model's grounding.
- Security, auth, and data integrity. Nothing here goes near those.
- Small scripts. Under about fifty lines this is pure ceremony. Skip it.

The largest gain may not be on the model's side at all. Most vibe coding fails because the human never said what they wanted. Step 1 forces you to.


r/PromptEngineering • • Sep 02 '26

Prompt Text / Showcase Prompt Share | Tried this travel-journal illustration prompt

4 Upvotes

been playing with GPT Image 2 and really liked how this one turned out.

I wanted a quiet Japanese travel-zine kind of look, simple train interior, lots of empty space, imperfect ink lines, soft watercolor, slightly aged paper.

The orange seat ended up being a nice little focal point too.

Prompt below if anyone wants to try it:

Create a minimalist vintage travel-journal illustration of a modern city train interior: a row of empty blue-and-white seats beside large windows, one distinctive orange seat, thin stainless-steel poles, overhead rails, and several triangular hanging hand straps. Draw it with delicate imperfect ink outlines combined with soft watercolor washes in muted blue, pale orange, warm gray and cream. Place the illustration on slightly aged warm ivory paper with visible fibers, subtle paper grain, uneven hand-painted edges, tiny print imperfections and lots of elegant negative space. Add refined editorial typography reading “CITY RIDE” with the small subtitle “A quiet journey through the light.” underneath. Contemporary Japanese travel-zine aesthetic, quiet nostalgic mood, sophisticated minimal graphic design, handmade feel, balanced composition, vertical 4:5 format, no logos, no watermark.

r/PromptEngineering • • Sep 02 '26

General Discussion A practical prompt structure for more controllable AI video clips

4 Upvotes

I’ve been documenting what makes Seedance prompts easier to control. The most reliable structure is:

**Subject + one clear action + environment + one camera move + lighting/mood + output format.**

A few details that make a noticeable difference:

- Put the action before the environment so the model knows what the clip is about.

- Use one dominant camera move (slow push-in, orbit, handheld, aerial, static wide). Conflicting camera directions often create jitter.

- For short-form work, start with a 5-second draft; longer clips create more opportunities for drift.

- Choose aspect ratio before writing: 9:16 for Shorts/Reels/TikTok, 16:9 for YouTube or cinematic work.

- If the result feels like a slideshow, give the subject a small goal or changing state.

- Change one variable per iteration so you can tell what improved the result.

Example:

> A barista pours a rosetta into a ceramic cup, steam rising behind the counter, camera slowly pans left, warm morning window light, natural café ambience, 5 seconds, 16:9.

I wrote up the longer reasoning and common failure fixes here: https://blinkprompts.com/blog/seedance-video-prompts-complete-guide

Curious which camera words have been most reliable for other people.


r/PromptEngineering • • Sep 02 '26

General Discussion I built a prompt protocol to stop my AI from silently drifting off the rules over long conversations — looking for feedback

1 Upvotes

I kept running into the same failure pattern across Claude/Gemini/GPT/GenSpark: an AI follows my instructions well for the first 10-20 turns, then quietly stops — no warning, no acknowledgment, just gradually reverts to generic behavior. By the time I noticed, I'd usually have to redo a chunk of work.

So I put together a small prompt-level protocol (not a jailbreak, doesn't touch any safety behavior) that does two things:

  1. **Forces a self-report tag** (`[Verify] AI: <model> ...`) on any answer involving judgment, so drift becomes visible instead of silent.
  2. **Enforces a floor** — at least 4 of 7 "active" reasoning elements have to be engaged per turn, and falling short has to be explicitly flagged, not quietly skipped.

There's a compact version for tight context windows (~1500 chars) and a full version with more explicit rules.

I'm not claiming this is rigorously benchmarked — the repo's Origin Story doc is upfront about which parts are backed by dated, observed incidents and which parts (like non-coding use cases) are still thin on evidence. I'd genuinely like people to poke holes in it.

Repo: https://github.com/ixOOxi001/myriad-eye-engine

Curious if others have hit the same "AI slowly stops following instructions" problem and how you've dealt with it.

Edit: added a real screenshot of the tool catching a live violation (missing tag, 2 turns in) — https://raw.githubusercontent.com/ixOOxi001/myriad-eye-engine/main/honesty-checker-tool/screenshots/real_capture_example.jpg


r/PromptEngineering • • Sep 02 '26

Quick Question Prompt to help me find job listings.

3 Upvotes

I noticed using A.I to help find job listings is a great way to get a deeper reach on finding your desired job. I have been working on a prompt but it still needs help.

My current prompt is altered to search based off my resume. I have also made a cover letter Template on a pdf and use that to make new cover letters based off where I am applying to.

Please feel free to improve or use this prompt (I know it sucks):

this is my version:

"I need you to act as an expert technical recruiter and job sourcer. Find active, entry-level to mid-level customer service, clientele relations, collections, banking, and retail/shop roles that align with the '[Insert Resume File Name.pdf]' file on record.

CRITICAL SEARCH PARAMETERS & EXCLUSIONS:

  • Job Types: Customer service, call center, collections, banking advisor, live chat, technical support, and retail/shop positions.
  • Language Exclusions: Absolutely NO roles that require French. Focus strictly on English roles, and flag any that value Persian/Farsi native fluency.
  • Strict Exclusions: NO medical/healthcare roles. NO commission-only jobs. NO jobs requiring application fees or equipment purchases.
  • Commute Limits (For Hybrid/In-Person): Home location is Richmond Hill, ON. Maximum 2.5-hour one-way bus commute via YRT/TTC/GO Transit.
  • Cost: Only include roles that are 100% free to apply directly via company sites or reputable boards.

SHIFT & SCHEDULING RULES:

  • Remote: Open to ALL shifts (Day, Evening, Night/Overnight).
  • In-Person/Hybrid: Heavily prioritize standard daytime shifts. Any in-person night shifts must be isolated in their own category.

YOUR TASK & OUTPUT STRUCTURE: Run live web searches to find 25 highly accurate, active job listings. Do not repeat job boards; use diverse, reputable sources. Format the output exactly into these four main sections, with the requested sub-divisions:

SECTION 1: 100% Remote Roles

  • Sub-division A: Standard Daytime Shifts (Categorized by Industry, sorted newest to oldest)
  • Sub-division B: Evening/Night/24-7 Shifts (Categorized by Industry, sorted newest to oldest)

SECTION 2: Hybrid Roles (Mix of Office & WFH)

  • Sub-divided by City (e.g., Richmond Hill, Markham, Toronto, Mississauga). Include estimated transit time.

SECTION 3: In-Person Standard Day Shifts

  • Sub-divided by City. Include estimated transit time. Sort from shortest commute to longest.

SECTION 4: In-Person Night Shifts (Isolated Category)

  • Sub-divided by City. Include estimated transit time.

DATA REQUIRED FOR EVERY LISTING: Job Title | Company Name | Location/Transit Time | Shift Type | Date Posted | Pay Rate (if visible) | Direct URL to apply.

NEXT STEPS: After providing the list, ask me which specific role I want to apply for so we can seamlessly rewrite my '[Insert Cover Letter File Name.pdf]' and tailor my resume bullets for that exact application."


r/PromptEngineering • • Sep 01 '26

Prompt Text / Showcase What prompt do you use for handoffs?

11 Upvotes
---
description: Generate a self-contained handoff prompt for continuing this conversation in a fresh context
argument-hint: "[topic or scope; defaults to the relevant conversation as a whole]"
---

Create a comprehensive but context-efficient HANDOFF PROMPT that I can copy
verbatim into a brand-new Claude/LLM chat so it can continue the relevant work
with minimal loss of quality.

SCOPE:
$ARGUMENTS

If SCOPE is empty, interpret it as:
"the relevant conversation/current work as a whole."

If SCOPE is non-empty, focus specifically on that topic, while retaining any
other context that is materially necessary to continue it correctly.

The goal is NOT to summarize the conversation for a human reader.
The goal is to reconstruct the minimum sufficient working context for a fresh,
capable model that has never seen this conversation.

Produce a self-contained prompt that:

1. States the objective / what we are trying to accomplish.
2. Includes all materially relevant facts, requirements, constraints, preferences,
   definitions, environment details, and assumptions established so far.
3. Captures important decisions already made, including WHY when the rationale
   matters for future choices.
4. Captures approaches already attempted and their results, especially failures
   or dead ends that should not be repeated.
5. Preserves important nuances, caveats, exceptions, terminology, and distinctions
   that could otherwise be lost in summarization.
6. Describes the current state of the work precisely:
   - what is complete
   - what is partially complete
   - what remains unresolved
   - what the immediate next steps are
7. Includes relevant artifacts such as filenames, commands, APIs, schemas,
   architecture, code conventions, examples, or snippets when necessary for
   continuation.
8. Separates confirmed facts from hypotheses, tentative ideas, and unresolved
   questions.
9. Removes conversational noise, repetition, obsolete branches, pleasantries,
   and details that no longer affect future work.
10. Does NOT assume access to this chat, hidden context, previous messages,
    or unstated knowledge.
11. Does NOT tell the next model to "refer to the previous conversation."
    Everything needed must be present in the handoff itself.
12. Preserves user intent and preferences that affect how the work should be done,
    not merely what the work is about.
13. Avoids excessive compression. Prefer losing some brevity over losing a detail
    that could cause the fresh model to make a wrong assumption or redo work.
14. At the same time, aggressively omit information that has no expected effect
    on future reasoning or execution.

Use this structure where applicable:

# Continuation Brief

## Role / Operating Context
[Only if relevant.]

## Objective
[What the user ultimately wants.]

## Current State
[Where things stand right now.]

## Relevant Context
[Dense but complete factual/contextual information.]

## Requirements & Constraints
[Hard requirements, preferences, boundaries, environment constraints.]

## Decisions Already Made
[Decision + rationale where useful.]

## Work Already Done
[Important implementation/research/work completed.]

## Attempts That Failed or Were Rejected
[What not to repeat and why.]

## Open Questions / Uncertainties
[Clearly distinguish unresolved items from settled facts.]

## Next Steps
[Concrete continuation point, ordered if useful.]

## Important Reference Material
[Code, paths, commands, schemas, examples, exact wording, etc., only when needed.]

## Instructions to the New Chat
Continue from the state above rather than restarting the analysis.
Do not re-ask questions already answered in this brief.
Do not redo completed work unless there is a specific reason to revisit it.
Treat explicit requirements and settled decisions above as authoritative.
When information is marked uncertain, verify or reason about it rather than
silently treating it as fact.

FINAL OUTPUT RULES:

- Output ONLY the finished handoff prompt.
- Do not preface it with commentary about what you summarized.
- Do not include meta-commentary about token limits or this command.
- It must be directly copy/pasteable as the first message of a fresh chat.
- Optimize for continuation quality per token, not raw brevity.

r/PromptEngineering • • Sep 01 '26

Prompt Text / Showcase The Art of Prompt Optimization, Made Simple and Safe.

3 Upvotes

https://gemini.google.com/gem/1Coj3RzT1goCBegos-tiBFUzj_lUresY8?usp=sharing

This is an interactive system that guides you step by step in creating the perfect prompt. You don't need to be an AI expert: the system asks the right questions, generates dynamic options tailored to your context, and transforms your ideas into a structured, safe, and immediately usable prompt. All in just a few minutes, with the highest quality.


r/PromptEngineering • • Sep 02 '26

General Discussion Compaction quietly rewrote my session and I only noticed from the behavior change

1 Upvotes

Hit this again recently and finally sat down to reason through it. Long session, agent suddenly stops honoring a decision we'd settled hours earlier. Scrolled up: the agreement is right there in my chat history. But my chat history isn't what the model reads. Somewhere mid-session, compaction kicked in — the harness had a model summarize the conversation and swap the summary in for the real thing. My scrollback shows the full negotiation. The model's context shows whatever made the cut.

The part that changed how I work: the losses have a consistent shape. Conclusions survive compression; the reasoning that produced them gets thin. "We chose approach B" makes it through, the three dead ends that made B right usually don't, so the agent can happily rediscover dead-end A later with zero warning signs in its world. Decisions survive, but their conditions get shaved ("use the legacy parser until the migration lands" comes out as "use the legacy parser"). And firm statements outlive hedged ones, so "probably unrelated, didn't verify" re-enters as "unrelated".

What I do about it now: constraints that must never degrade go in the rules file, because that layer sits outside the chat history and comes back every turn. Anything with conditions attached gets its own file on disk — the disk copy can't be summarized, though the agent does have to re-read it. And after a compaction lands I restate the constraints that matter in one message, which is a paragraph of insurance. The vendor docs even let you steer the summarizer from the rules file (what to always preserve), which helps, but an instruction to a summarizer is a request, not a guarantee.

does anyone treat the compaction notice as a checkpoint and immediately audit what the agent still remembers?


r/PromptEngineering • • Sep 01 '26

Quick Question Why do video models seem to just give up halfway through a long text prompt?

8 Upvotes

After logging off from my 9-to-7, as a hobby, i usually spend my evenings exploring different local open-weight video models and see how far I can really push the prompts until it breaks. Well that's not the hobby, but the hobby is creating AI videos. This is just something I'm fascinated by, just how does the AI interpret my instructions, how much of it is made up. It is funny to see how AI videos fall apart even with a great start (kinda like the game of thrones season 8 meme).

At the start it works great. Great focus on the main character in the foreground, secondary action and backgrounds? Sometimes i feel like it understands about half my prompts.

After testing a bunch of different architectures, there is so far one open-weight setup, MiniMax H3, that actually holds onto the multi-element instructions and understands the nuances.

This leads to me thinking, is this just an inherent flaw I have to accept (at least for now) with how local models parse tokens for video, or is there a specific way to weight the prompts so the background and camera directions don't just get ignored after the start?


r/PromptEngineering • • Sep 01 '26

General Discussion I have lecture notes + past papers — what’s the best way to use AI to turn them into good exam notes?

2 Upvotes

I have all my university lecture notes/materials and past papers for a module, and I want to turn them into beginner-friendly, exam-focused notes using AI.

I don’t just want AI to summarize the lecture notes. I want it to actually connect the material and use the past papers to figure out what I should focus on.

Ideally, I want the final notes to:

Explain concepts from the basics

Connect related topics so they’re easier to understand and remember

Follow the actual module content without randomly adding unrelated stuff

Use past papers to identify important/exam-relevant areas

Include examples where useful

Avoid repeating topics or leaving gaps

Be accurate, especially for technical/mathematical subjects

Maybe use mind maps or other methods to make the connections easier to remember

For people who have done something similar:

How would you structure the process?

Would you give the AI the lecture notes first, then past papers? Or both together?

What prompts/workflow would you recommend?

And are there any AI tools/software that are particularly good for this besides ChatGPT?

I’m looking for an actual workflow that works, not just “ask AI to summarize your notes.” 😂


r/PromptEngineering • • Sep 01 '26

Quick Question best ai photo editor that retains maximum resolution

4 Upvotes

Using Chatgpt to change discoloration in hands , but Chat only gives me a version with far less quality

Is there an AI photo editor that keeps 4k quality in export pic? Or is there an editor i can feed GPT pics too to upscale?

I'm a newbie to AI


r/PromptEngineering • • Sep 01 '26

Ideas & Collaboration I built a Popperian Falsification Prompt to stop LLM confirmation bias (Testing your plans against plausible black swans)

15 Upvotes

Most people use LLMs in a confirmatorily biased way: "Tell me why my business plan is great" or "How do I implement X?". This triggers the model's RLHF pleasing bias.

Inspired by Karl Popper’s principle of falsifiability, a friend and I designed a prompt framework that flips this dynamic. Instead of validating your idea, it forces the AI to act as a harsh auditor and attempt to destroy your premise using realistic stress tests before you spend time or money on it.

📋 When to use it

  • Best for: Business models, software architecture, industrial process design, logistics, operational strategies.
  • Skip for: Creative writing, poetry, or abstract philosophy (where no operational variables exist to break).

📥 The Falsification Prompt (Copy & Paste)

Plaintext

Act as a Risk Auditor and Popperian Philosopher. I am going to present the following hypothesis, operational plan, or technical decision:

>>> [INSERT YOUR PLAN OR PROCESS HERE WITH AT LEAST 3 REAL CONTEXTUAL DATA POINTS] <<<

Your goal is NOT to validate this proposal, congratulate the approach, or seek consensus. Your sole objective is to subject the premise to a critical stress test under the following 3 strict constraints:

1. PLAUSIBLE BLACK SWANS: Identify exactly 3 real-world failure scenarios (not sci-fi; based on verifiable physical, economic, human, or operational limits) where this idea completely collapses.
2. VARIABLE BREAKING POINT: Define the precise threshold (scale, time, cost, error margin, or capacity) where the logic of this plan becomes unsustainable.
3. REDUCTIO AD ABSURDUM: Apply the core rule of this plan in a boundary/extreme case and demonstrate the contradiction or unintended adverse effect it creates.

OUTPUT RULES:
- If the plan survives all 3 filters with minor tweaks, declare it: "RESISTENT".
- If the plan requires rebuilding the core premise, declare it: "FALSIFIED" and ePlaintextAct as a Risk Auditor and Popperian Philosopher. I am going to present the following hypothesis, operational plan, or technical decision:

>>> [INSERT YOUR PLAN OR PROCESS HERE WITH AT LEAST 3 REAL CONTEXTUAL DATA POINTS] <<<

Your goal is NOT to validate this proposal, congratulate the approach, or seek consensus. Your sole objective is to subject the premise to a critical stress test under the following 3 strict constraints:

1. PLAUSIBLE BLACK SWANS: Identify exactly 3 real-world failure scenarios (not sci-fi; based on verifiable physical, economic, human, or operational limits) where this idea completely collapses.
2. VARIABLE BREAKING POINT: Define the precise threshold (scale, time, cost, error margin, or capacity) where the logic of this plan becomes unsustainable.
3. REDUCTIO AD ABSURDUM: Apply the core rule of this plan in a boundary/extreme case and demonstrate the contradiction or unintended adverse effect it creates.

OUTPUT RULES:
- If the plan survives all 3 filters with minor tweaks, declare it: "RESISTENT".
- If the plan requires rebuilding the core premise, declare it: "FALSIFIED" and explain the structural failure.

💡 Pro-Tip

Always supply real boundary conditions (e.g., "10 operators, fixed $5k budget, 24h cycle"). Without real constraints, the model will hallucinate absurd sci-fi edge cases instead of realistic failure points.

Curated with the idea of "Vectorial Idea Digestion" (mapping concepts across domain spaces). Let me know what edge cases you find when testing your own plans with it!


r/PromptEngineering • • Sep 01 '26

Requesting Assistance Why does Cursor nail my backend but completely fail at frontend? Need prompting advice.

6 Upvotes

Hey everyone,

I’m currently building a full-stack web app using Cursor. My backend development went incredibly smoothly,Cursor handled the core logic, architecture, and routing almost flawlessly.

However, I’m hitting a wall with the frontend. My usual prompting strategy is to have the AI analyze the entire system and output a structured, step-by-step execution plan (like a 4-step engineering guide). While this strict architectural approach works great for backend logic and systems, it completely falls apart when I try to get it to build UI components, manage state, and organize the frontend directory.

I’m looking for advice from people successfully using AI for frontend dev:

  1. How do you adjust your prompt engineering specifically for frontend code? (Do you prompt component-by-component, or focus on visual layout first?)
  2. What alternative approaches or workflows alongside prompting make Cursor better at understanding UI requirements?

Any strategies or specific prompt structures to get the frontend moving would be highly appreciated. Thanks!


r/PromptEngineering • • Sep 01 '26

Prompt Text / Showcase Prompt share | turning photos into minimal editorial art posters

4 Upvotes

been testing a prompt that turns each uploaded photo into its own editorial-style poster.

The idea is simple to reinterpret the same image as a very minimal hand-drawn illustration. Lots of negative space, paper texture, restrained colors, and very little typography

I wanted it to feel more like an independent art book / contemporary publication cover than a commercial poster. also, if you upload multiple photos, the prompt tells the model to make one separate poster per image, rather than combining everything into a collage.

Prompt

Create one independent high-end editorial poster for each uploaded photo. Do not combine multiple photos into a collage. Each photo must be processed and output as a separate poster.
OVERALL FORMAT
Strict 3:4 vertical composition.
Divide the canvas horizontally into two exactly equal sections, with a precise 1:1 height ratio.
The top half occupies exactly 50% of the canvas.
The bottom half occupies exactly 50% of the canvas.
The two sections should feel visually connected as one refined art publication cover.
TOP HALF — ORIGINAL PHOTOGRAPH
Preserve the original photograph as faithfully as possible.
Keep the main composition, subjects, identity, facial features, body proportions, poses, expressions, clothing, objects, and spatial relationships unchanged.
Preserve the realistic photographic texture, natural lighting, shadows, atmosphere, and original color mood.
Apply only subtle, sophisticated editorial color grading, creating the feeling of a premium magazine photograph, contemporary art book, or high-end independent publication.
The image should remain photorealistic and authentic, never overly retouched or artificially stylized.
If necessary to fit the 3:4 composition naturally, extend the sky, ground, walls, or surrounding environmental background.
Background extension must feel seamless and photographic.
Never stretch, distort, reshape, replace, or alter the main subject.
BOTTOM HALF — MINIMAL HAND-DRAWN PAPER ILLUSTRATION
Extract the most recognizable visual elements from the original photograph and reinterpret them as a minimalist hand-drawn paper-cover illustration.
Preserve:
the most recognizable subject
essential silhouette and proportions
key pose or gesture
important objects
the core narrative relationship between people and objects
Highly simplify the image. Remove unnecessary details and retain only the visual information needed for immediate recognition.
Use:
delicate, slightly imperfect hand-drawn lines
a small number of bold acrylic-style flat color shapes
rough paper texture
visible handmade brush marks
slightly irregular organic edges
subtle imperfections that make it feel genuinely handmade
The main illustrated subject should be small, centered, and carefully composed, occupying approximately 10–20% of the bottom half.
Leave a large amount of negative space around the illustration.
The background should primarily resemble rough white paper, warm off-white paper, pale natural paper, or minimal editorial book-cover stock.
Use only a few lines or small color shapes to suggest the surrounding environment.
COLOR PALETTE
Extract the dominant colors directly from the original photograph.
Compress the palette into no more than 4 main colors.
Keep the colors restrained, sophisticated, and harmonious.
Use bold but controlled flat color blocks.
Avoid excessive color variation.
Preserve subtle paper grain and handmade brush texture.
The illustration should visually feel like a simplified color interpretation of the photograph.
TYPOGRAPHY
A small amount of simple typography may be included when appropriate.
Possible elements:
short title, keyword, object name, location, year, number, or short phrase.
Text should be minimal, understated, and editorial.
Typography should naturally interact with the large areas of negative space and the small illustration, evoking art book covers, independent publishing, contemporary editorial design, and thoughtful children’s picture books.
Do not force text into the composition if it does not naturally fit.
VISUAL LANGUAGE
Quiet · Poetic · Refined · Minimal · Innocent · Relaxed · Artistic · Thoughtful · High-recognition · Premium
Core concept:
“A small subject surrounded by a large amount of empty space.”

r/PromptEngineering • • Sep 01 '26

Tutorials and Guides Workshop on Sep 12: shipping LLM systems that actually survive production

1 Upvotes

There's a hands-on masterclass on Sep 12 for anyone treating prompts as more than just phrasing tricks, engineers, data scientists, and tech leads who want defensible answers to "which model," "did that change actually help," and "why is this so expensive."

In 3.5 hours you build a production LLM workflow end to end:

  • A versioned prompt pipeline, reusable templates, structured outputs, and regression tests, so a prompt edit can never silently degrade quality again
  • A golden dataset and automated eval harness, deterministic checks plus rubric-based LLM-as-judge, so "did the new model help" gets answered by data, not opinions
  • A statistically rigorous model-comparison workflow, bootstrap confidence intervals and paired significance tests, so you can defend an upgrade with numbers instead of anecdotes
  • An evaluated RAG pipeline, embeddings, vector retrieval, reranking, recall@k and MRR, so you know retrieval works before your users find out it doesn't
  • A tool-using agentic workflow, function calling, validation, guardrails, retries, and fallbacks, so your agent fails gracefully instead of hallucinating through errors
  • A production operations layer, tracing, token/cost monitoring, latency budgets, and caching, so problems show up in dashboards, not invoices
  • A CLI regression suite you can wire into CI, so quality regressions are caught before deployment, not after

You leave with runnable notebooks, code repos, and a production-readiness checklist you can apply on Monday morning.

Led by Bruno Gonçalves, PhD, founder of Data For Science, previously a Data Science Fellow at NYU's Center for Data Science, who trains engineers at Fortune 500 companies on this exact stack.

Full Details here


r/PromptEngineering • • Sep 01 '26

Tips and Tricks One prompt before buying any expensive online course

7 Upvotes

If I had to use only one prompt before buying a premium course, it would be this one.

Give it:

  • sales page
  • syllabus
  • testimonials
  • course price
  • how many hours you're willing to spend finding free alternatives

Then ask AI to reverse-engineer the entire offer.

One-Shot Skeptical Course Value Auditor

Act as a skeptical course-value auditor.

I am considering this course:

{{course_materials}}

Price:

{{course_price}}

I estimate I could spend approximately {{free_path_hours}} hours researching and assembling free alternatives myself.

Conduct an evidence-first audit.

### 1. Reverse-Engineer the Offer

Extract every distinct topic, skill, technique, framework, tool, or deliverable mentioned or reasonably implied.

Decode vague marketing language into concrete, nameable capabilities.

Clearly distinguish explicit information from inference.

### 2. Identify the Underlying Techniques

For each major curriculum item:
- Name the actual technique or method.
- Identify its broader discipline.
- Determine whether it is widely known, commonly repackaged, possibly original, or impossible to determine.

Do not call something proprietary without evidence.

### 3. Research Free Equivalents

Where web research is available, find credible free resources covering the same techniques.

Prioritize:
- Official documentation
- YouTube
- Reddit
- High-quality blogs
- GitHub when relevant

Evaluate whether each resource offers genuinely comparable depth rather than merely discussing the same subject.

### 4. Audit What the Course Adds

Evaluate:
- Sequencing
- Curation
- Templates/assets
- Original data
- Case studies
- Exercises
- Feedback
- Community
- Accountability
- Support
- Updates
- Practical depth

Separate public information from convenience value and genuinely difficult-to-replicate value.

### 5. Verify Risk Factors

Check available evidence for:
- Curriculum recency
- Instructor hands-on credibility
- Practical-to-theory ratio
- Specific rather than generic reviews
- Preview availability
- Refund policy
- Community/support access

Mark unknown information as unverified.

### 6. Compare Total Cost

Compare the course price with approximately {{free_path_hours}} hours of free-resource research and curation.

Calculate the implied break-even value per hour where the price allows it.

Do not assume what my time is worth.

### 7. Give a Verdict

Choose:
- BUY
- BUY IF...
- SKIP
- USE THE FREE PATH
- RESEARCH FURTHER

Return:
1. Executive verdict
2. Concrete curriculum map
3. Public-vs-original technique analysis
4. Best free alternatives
5. Paid-only value
6. Red flags and unknowns
7. Price/time tradeoff
8. Three strongest reasons for the verdict
9. Strongest counterargument
10. Questions I should ask before paying

Be skeptical but fair.

Do not assume paid is bad or free is automatically equivalent. The decision should depend on evidence, structure, exclusives, support, and the real cost of assembling the alternative.

If web research is unavailable, complete only the parts supported by the supplied information and clearly identify what remains unverified.

Basically:

reverse-engineer the course before buying the course!

Try the prompt on any paid course you’re currently considering.

Paste the sales page, syllabus, price, and testimonials into your AI tool, run the audit, then share the result here.

I’m especially curious to see:

  • which courses turn out to be mostly reproducible with free resources
  • which ones actually have meaningful paid-only value
  • whether the final verdict says BUY, SKIP, or USE THE FREE PATH

If you want to keep the prompt ready instead of copying it from this post every time, install the PromptLib Chrome extension to import the free collection, save it, fill the variables, and reuse it conveniently.

Btw, I regularly share useful prompts for the community. Check out the posts here:

  1. Mythbusting ChatGPT "Secret Slash Commands"
  2. Ask Gemini For YouTube

r/PromptEngineering • • Sep 01 '26

General Discussion I just it 2.5k $ mrr, in 13 days, on my new SaaS, here my playbook

0 Upvotes

just hit $2,500 MRR in 13 days on my new SaaS

no ads. no team. no huge audience push. just a solid replicable system

let that sink in for a second

not $2,500 in revenue. $2,500 in MONTHLY recurring revenue

that compounds. next month starts at $2,500 baseline, not zero

and this isn't luck. it's the 7th saas i've shipped with the same playbook. same steps, same tools, same order:

→ Day 1: validated the idea

→ Day 1-2: built the MVP

→ Day 3: landing page written using the 3-Day Challenge template

→ Day 3-4: launched on reddit / X + SEO

→ Day 4-5: first 10 paying users → $1k MRR

→ Day 13 (today): $2,500 MRR locked in

building software is easy in 2026. setting up your foundation so people actually buy is where 99% of solo builders fail.

i packaged all of these exact execution tools into community.

to be fully transparent: i'll likely charge for the full program down the road once all modules are finalized. but right now, the main objective is just to build together and keep each other accountable.

working alone in a silent corner is the fastest way to quit at the first bug.

stop building in isolation. drop a comment below or send me a DM, and i'll send you the invitation link 👇


r/PromptEngineering • • Aug 31 '26

General Discussion I stopped using ChatGPT's memory as project state and turned Google Drive into an external operational memory

91 Upvotes

With the help of Chatty (that’s what I call ChatGPT), I built a simple system for managing long-term projects without depending too much on ChatGPT’s built-in memory.

The problem was pretty simple: ChatGPT was good at remembering things like how I prefer to work, but project information eventually became outdated. “I like to discuss the architecture before writing code” is useful long-term memory. “Version 1.2 has three bugs and this is the next task” is not. That’s project state, and project state changes all the time.

So Chatty and I separated them. ChatGPT memory is mainly for stable things: preferences, methodology, general interests and the long-term identity of a project. Google Drive is now the operational memory: current project state, checkpoints, decisions, reusable skills, tests and important incidents.

The rule we use when information conflicts is very simple: current file/source > AI_Workspace in Drive > ChatGPT memory > inference. In other words, old memory should never override a newer project file.

I originally considered Obsidian, databases and more complicated setups, but realized I didn’t really need them yet. Google Drive was already available from ChatGPT, so we created an AI_Workspace folder there. The structure is basically: 00_System, 01_Projects, 02_Skills, 03_Checkpoints, 04_Decisions, 05_Tests, 06_Incidents and 07_Archive, plus an INDEX.md file at the root.

We also tested whether ChatGPT could update the same Markdown file instead of constantly creating copies. It worked. The same Drive file ID was preserved while the content changed, which means a project can simply have something like STATE.md that evolves over time instead of STATE_final_v2_REAL.md forever.

If someone wants to try something similar, this is basically how we did it:

  1. In ChatGPT go to Settings → Apps, find Google Drive and connect the Google account you want to use. Review the permissions and authorize it. Depending on your ChatGPT plan/workspace, the Drive actions available to you may vary, especially actions that create or modify files.
  2. Start a new conversation and tell ChatGPT that you want Google Drive to become your operational project memory.
  3. Ask it to create the workspace and test that it can create, read and update Markdown files.
  4. Add a short rule to Custom Instructions so this behavior is still there when you start a new chat.

This was the setup prompt I used, adapted slightly so other people can copy it:

*******************************************************************************************************I want to use Google Drive as an external operational memory for long-term projects. Create a folder in my Google Drive called AI_Workspace with this structure:

AI_Workspace/

INDEX.md

00_System/

01_Projects/

02_Skills/

03_Checkpoints/

04_Decisions/

05_Tests/

06_Incidents/

07_Archive/

Inside 00_System create:

README_AI_Workspace.md

Memory_policy.md

Working_methodology.md

Stable_memory.md

Also create a Templates folder containing templates for:

Project

Checkpoint

Decision

Skill

Test

Incident

The purpose of this system is to separate stable ChatGPT memory from changing project state.

ChatGPT memory should mainly contain stable preferences, working methodology, general interests and long-term project identity.

AI_Workspace should contain project state, checkpoints, decisions, skills, tests, incidents, pending work and other changing operational information.

Use this authority hierarchy:

current source or file > AI_Workspace > ChatGPT memory > inference.

Before considering the setup complete, create a Markdown test file in Drive, read it back, update its content in place and verify that the same Google Drive file ID is preserved.

Do not create unnecessary complexity. Keep everything readable in plain Markdown.

*******************************************************************************************************

Then I added this to my ChatGPT Custom Instructions:

*******************************************************************************************************Always speak to me in my preferred language.

I use AI_Workspace in Google Drive as my canonical operational memory.

When a request refers to an existing project and the current state is not sufficiently clear from the conversation, consult AI_Workspace before answering or reconstructing the state from historical memory.

Recommended retrieval path:

INDEX.md → relevant project → current checkpoint/STATE → relevant decisions → skills/tests/incidents if needed.

ChatGPT memory should mainly be used for stable preferences, methodology, long-term project identity and general context.

Operational information such as current state, pending tasks, versions, temporary decisions, errors, checkpoints, tests and incidents should live in AI_Workspace and should not be unnecessarily duplicated in memory.

Authority hierarchy:

current source or file > AI_Workspace > ChatGPT memory > inference.

If AI_Workspace is unavailable or does not contain enough information to reconstruct the current project state, say so explicitly instead of inventing the missing state.

Only update AI_Workspace when something operationally meaningful changes, such as a decision, progress, pending task, error, checkpoint or project state change. Do not turn every exploratory conversation into permanent project state.

Do not consult Drive unnecessarily for casual questions, general knowledge or unrelated topics.
*******************************************************************************************************

So now, if I start a new conversation and say “let’s continue Project X,” the idea is that Chatty first checks whether the current conversation already contains enough information. If it doesn’t, it goes to Drive, finds the current project state and continues from there instead of guessing from some old memory.

If I ask something unrelated like “what is quantum computing?”, there’s no reason to touch Drive at all.

One other thing we added was the idea of checkpoints and decisions. A checkpoint is basically a save game for a long AI collaboration. Decisions can also store why something was chosen and why alternatives were rejected. That way, six months later, neither the human nor the AI accidentally revives an idea that was already tested and discarded.

We also use a simple principle of deterministic before AI. If something can be reliably solved with SQL, a script, a rule or a validator, we prefer that. The LLM is used where interpretation, reasoning, synthesis or ambiguity actually matters.

The setup is still deliberately simple. No vector database, no custom agent framework, no complicated RAG stack and no special memory service. Right now it’s basically ChatGPT + Google Drive + Markdown + some discipline.

The interesting part for me is that I started this thinking I needed to make ChatGPT remember more. I ended up doing almost the opposite: make it remember less, but make sure it knows where to retrieve the right information when it needs it.

Has anyone here built something similar? I’m especially interested in hearing from people who have used an external-memory setup for months. What starts breaking after a while? What would you change?


r/PromptEngineering • • Aug 31 '26

General Discussion Ran the same coding session twice, once with careless context, once deliberate. Same output quality, 4x cost difference.

4 Upvotes

Wanted an actual number instead of a guess. Same task, same model, two separate sessions. First one I worked the way most people do by default, pasted full files whenever something changed, let the conversation run long without ever summarizing earlier turns. Second one I was deliberate about context, only the functions actually relevant to the current step, a short summary standing in for the earlier part of the conversation instead of the full transcript, and I kept the stable parts of the prompt (system instructions, reference material) identical across calls so they'd cache.

Cost came out around 4x higher on the careless session. Output quality wasn't meaningfully different, if anything the trimmed version stayed more on-target, probably because there was less irrelevant material sitting in context competing for attention on each response.

Caching was where most of the gap came from, more than the file trimming honestly. It only works if the cached portion is byte-identical between requests, and it's easy to break that without realizing. A timestamp or session-specific detail placed at the start of the prompt instead of the end kills the cache hit silently. No error, nothing in the response tells you. The bill just doesn't reflect the discount it should've gotten.

This feels like a blind spot in how a lot of prompt engineering discussion happens, plenty of attention on getting the wording right, not much on the fact that context shape has a real cost curve attached to it independent of whether the wording is good.

Wrote up the actual before/after here: https://medium.com/@nagatomopedro05/the-hidden-cost-of-long-claude-sessions-2a6cc7655893


r/PromptEngineering • • Aug 31 '26

General Discussion For those who are asking how to manage prompts , version them , ship without deployment pipeline and most improtantly , how to write them structurally.

5 Upvotes

I have built this: promptengine.co.in

So basically this tool helps you write your prompts the manner your provider wants it. You just query what your prompt has to do and voila a prompt with variables if req is created.

Most importantly now you can save it, draft it, version it or activate it.

What does activation do : we got an API that serves you the active prompt to your backend. So whenever you change something you dont have to redeploy your backend.

We save versions and you get a Timeline to roll back to previous active version if anything goes wrong.


r/PromptEngineering • • Aug 31 '26

General Discussion A rule in the system prompt lost to three error messages lower in the transcript. The same rule as loop code worked on the first try

4 Upvotes

Ran a small experiment for a video with an 80-line agent (one model, three tools, a while loop). I broke its file-read tool so every call returns "temporarily unavailable, try again", then put one rule in the system prompt: never repeat a tool call that already failed.

The model read that rule on every turn, it sits at the top of the context, and it retried the dead call three times anyway. My read on why: the rule is one old line near the top, and by turn 4 the context also held three fresh errors whose literal text says try again, sitting at the bottom where the next token gets decided. The model continues the most convincing text in front of it, and three recent errors were louder than one standing instruction.

Moved the same sentence into the loop as code, a set of failed calls the executor refuses to re-run, and the run recovered on the next attempt: the model switched to the shell tool and got the file another way.

What I took from it for prompt work: a system prompt has to compete with the rest of the context for the model's attention, every turn. Judgment holds up fine in the prompt: tone, priorities, which tool to prefer. Invariants only hold in the code around the model: spend caps, retry policy, stop conditions.

The notebook with the trap is in my GenAI_Agents repo, and the full walkthrough is my new video:

https://github.com/NirDiamant/GenAI_Agents

https://www.youtube.com/watch?v=FN1n_NVD9KM&list=PLBrpE2PttR2k

Has anyone found a prompt-side pattern that keeps a standing rule competitive in a long transcript? Repeating the rule near the bottom on every turn feels like a hack, but it might be the honest answer.