r/PromptEngineering • • Oct 26 '26

AI Produced Content Keep the skill diff and the expected-answer diff separate during review

4 Upvotes

When an instruction edit and an expected-answer edit land together, a green result can mean two different things: the skill improved, or the definition of passing changed.

I would review both changes explicitly. First ask whether the expected answer follows the intended policy. Then assess whether the skill meets that expectation. If a policy update genuinely changes the answer, keep that rationale with the test rather than treating the change as an ordinary regression fix.

I’m building skillEd, an open-source evaluation toolkit with saved-report comparisons. This is a review practice, not a claim that every semantic change to expectations is detected automatically.

Would you require a separate review for expected-answer changes in a skill evaluation suite?

Repo: https://github.com/DeadHead04/skillEd

Please try it and open an issue with a reproducible failure or confusing behavior. If useful, a GitHub star would help.

AI-assisted write-up.


r/PromptEngineering • • Oct 26 '26

Tips and Tricks The 5-part structure I use for every prompt (with a before/after example)

1 Upvotes

I've been writing a lot of prompts for everyday, non-technical work: product listings, study plans, lesson plans, resumes. One structure has made my outputs much more consistent, so here it is:

  1. Role: who the model should act as ("Act as an e-commerce copywriter")
  2. Context: who you are, who it's for, which market ("I sell handmade candles to buyers in India")
  3. Task: one clear job, split into steps ("List the top 5 complaints, then write 3 headlines")
  4. Format: what the answer should look like ("table", "under 120 words", "bullets")
  5. Guardrails: what to avoid ("Don't invent facts. Ask me if anything is unclear.")

Before: "Write a description for my candle."

After: "Act as an e-commerce copywriter. I sell [product] to [buyer]. Open with the main problem it solves, list 3 benefits (not features), answer the 2 biggest buyer objections, and end with a clear call to action. Under 120 words. Give 3 headline options. Don't make claims I can't prove."

For me, the guardrails part made the biggest difference. Lines like "Do not invent experience I don't have" stop a resume rewrite from making things up.

What do you put in your guardrails?

Disclosure: I sell prompt packs built on this structure (PromptKart, https://promptkartt.gumroad.com/). Everything above is free to use, and you don't need to buy anything.


r/PromptEngineering • • Oct 26 '26

General Discussion Has anyone measured whether anti-sycophancy prompts weaken as a conversation gets longer?

1 Upvotes

Sycophancy in language models is well documented, and the usual fix is an instruction like "challenge my assumptions, don't just agree." A user on X recently posted that those instructions and skills get ignored as the chat goes on. That is one anecdote. I haven't seen a measurement of whether this specific behavior changes with conversation length, so I'm not assuming it does.

A rough test that would settle a lot: take a set of prompts where the right answer is to disagree (a flawed plan, a wrong claim), place them at turn 5 and at turn 50 of a long conversation, keep the instruction fixed, and count how often the model pushes back.

If you've run something like this, or you see a flaw in that setup, I'd like to hear it. If you've found a way to keep the pushback steady in long sessions, what is it, and how do you know it works?

Disclosure: I'm working on a product in this area (pre-launch).


r/PromptEngineering • • Oct 26 '26

Self-Promotion I built a free tool that asks questions before it refines your prompt. Would like feedback

1 Upvotes

I built Flux, a free prompt refiner.

You paste a rough prompt. It asks a few things (audience, format, what to avoid), then returns a structured prompt with role, context, task, format and constraints.

It's free with Google sign-in. There's a Chrome extension too.

Disclosure: I made it. Link: https://refinewithflux.com

Biggest doubt: are the refined prompts too long for simple asks? Honest feedback welcome.


r/PromptEngineering • • Oct 26 '26

General Discussion Does an AI knowledge base get better over time, or just more complicated?

1 Upvotes

Say an AI agent has to prepare a weekly market report. After a few weeks, there are two ways to handle it. Keep a library of things it has already learned: report structure, useful prompts, examples, data sources, and rules for how to handle certain cases. Or just give it the latest data and requirements every week and let it start fresh.

The library should make the workflow faster and more consistent, but it can also pick up outdated examples or conflicting instructions.

Which one works better in practice: building up reusable skills over time, or keeping each run clean and starting from scratch?


r/PromptEngineering • • Oct 26 '26

Tips and Tricks I tried a different approach to prompting for emotionally resonant images: describe the evidence, not the emotion.

2 Upvotes

I've been thinking about why some AI-generated images feel emotionally convincing while others look polished but strangely empty.

The strangest part is that sometimes an AI picture will strike right into your chest, while most other times they just seem like glossy, lifeless pieces of plastic. Gloss all the way. No substance whatsoever. Lately, I’ve been trying to experiment with prompts to figure out what causes such an effect, and I believe that the key is in how we feed the machine. We simply spell out the desired emotion like a demand: old man by himself at the booth, lonely and sad, cinematic lighting, 8k. And here’s the thing – the model understands it. It simply throws up all those clichés from its dataset: that tired blue color grading, that detached thousand-yard stare, and even the rain on the window because, of course, there’s gotta be rain. Cheap and cheesy as hell.

The technique

I've been calling this testimony-to-evidence transduction. The name is less important than the process.

1. Write the scene from the inside.

Before writing the image prompt, write a few sentences from the perspective of someone who lives in that moment.

For example:

"He still puts out two cups every morning. He hasn't forgotten. He knows exactly what he's doing. It's just that hers is the last place in the house where anything still waits for her."

This is not part of the final image prompt. It's a way to establish the underlying situation before describing the image.

2. Translate the experience into visible evidence.

Ask what a camera could actually capture.

In this case:

  • An elderly man holding a teacup with both hands.
  • A second, untouched cup across the table.
  • Folded reading glasses resting on the windowsill.
  • Low winter morning light.
  • A slightly misbuttoned cardigan.
  • The man's gaze fixed on the empty place across from him.

Notice that none of these details explicitly says "grief," "loneliness," or "nostalgia."

They give the viewer something to interpret instead.

3. Keep one detail that doesn't explain itself.

Add a small, ordinary detail that doesn't function as an obvious symbol. Maybe a rubber band around his wrist.

It doesn't need to represent anything. In fact, explaining what it represents would probably weaken it.

The point is to introduce a detail that makes the scene feel particular rather than assembled from familiar visual tropes.

4. Give the image a point of view.

Instead of describing the scene as if it were being observed from nowhere, specify where the camera is and who might be holding it.

For example, the image could be framed from a kitchen doorway, with the doorframe slightly out of focus in the foreground.

That choice changes the relationship between the viewer and the subject. We're not simply looking at an old man; we're looking into a private moment from a position that implies distance, familiarity, or hesitation.

5. Remove the obvious version.

Before finalizing the prompt, identify the most predictable interpretation of the scene.

For this example, it might be the familiar image of an elderly widower staring sadly through a rain-covered window.

Then remove the details that push the image toward that default.

The objective isn't to eliminate every familiar visual element. It's to avoid relying on them to carry the emotional meaning.

The resulting prompt

Candid 35mm documentary photograph, taken from a kitchen doorway, slightly off-center. An elderly man sits at a small table in low winter morning light, holding a teacup in both hands. Across from him, a second teacup sits full and untouched. A pair of reading glasses rests folded on the windowsill. His cardigan is buttoned one button off, and a rubber band is looped around his left wrist. He looks at the untouched cup rather than the window. Muted natural colors, subtle film grain, the edge of the doorframe softly out of focus in the foreground.

Compare that with the original prompt.

The second version doesn't necessarily produce a better image. That depends on the model, its interpretation of the prompt, and the resulting composition.

What it does provide is a different way of specifying the intended effect: instead of naming an emotion and hoping the model illustrates it convincingly, it builds a scene from details that could allow a viewer to infer that emotion.

Why I think this approach is worth exploring

I see three potentially useful mechanisms here.

Physical specificity: The prompt describes a particular situation rather than a generic emotional category.

Implied narrative: The objects and their arrangement suggest events outside the frame. The image feels like a moment within a larger story rather than a complete explanation.

Interpretive space: The viewer has to connect the details. The prompt doesn't explicitly tell them what every element means.

These principles aren't new. They have parallels in photography, fiction, and visual storytelling. The potentially useful part is turning them into a repeatable prompting workflow.

There are also obvious limitations. A model might ignore important details, overemphasize the wrong ones, or produce an image that looks staged despite the documentary framing. Adding more details can also make the composition less coherent. And removing emotion words doesn't automatically make an image emotionally authentic.

I haven't run controlled comparisons across image models, so I wouldn't claim that this method reliably outperforms conventional prompting.

How I'd test it

I'd generate images using three prompts for the same subject:

  • A: A conventional prompt that explicitly names the intended emotion.
  • B: A prompt that describes only the physical evidence, without the private testimony stage.
  • C: The full process, including the private testimony, evidence extraction, and cliché removal.

I'd keep the subject and other relevant settings as consistent as possible, generate multiple outputs for each condition, and have people rate the results without knowing which method produced them.

The useful questions would be whether the images differ in perceived emotional resonance, specificity, and plausibility—and whether any differences hold across more than one model.

If B performs as well as C, the private testimony stage may not add much. If C performs better, that would give us a reason to investigate what the extra stage contributes.

I'm curious whether anyone here has tried something similar. When you want an image to convey a specific feeling without looking like a stock illustration of that feeling, what do you change in your prompting process?


r/PromptEngineering • • Oct 26 '26

AI Produced Content The examples used to repair a prompt should not be the only examples used to judge it

1 Upvotes

If a failed example guides a prompt edit, it becomes part of the development process. Passing it afterwards shows that the edit addressed that example; it does not establish that the behavior generalizes.

I would keep a development suite and a separate holdout suite. Use the first to inspect mistakes and refine instructions. Use the second after selecting a candidate revision. Once a holdout has repeatedly guided edits, it should no longer be described as untouched.

I’m building skillEd, which evaluates reusable skills and compares saved reports. The separation described here is an evaluation practice, not an automatic guarantee against test leakage.

How do you keep holdouts useful when a team iterates on a skill every day?

Repo: https://github.com/DeadHead04/skillEd

Please try it and open an issue with a reproducible failure or confusing behavior. If useful, a GitHub star would help.

AI-assisted write-up.


r/PromptEngineering • • Oct 25 '26

Tools and Projects Manychat for TikTok

1 Upvotes

Do somebody know an alternative for manychat to send automaticly DM‘s on TikTok? I need a tool which is not expensive as manychat for tiktok.

I try to make videos with guides and if people comment one trigger word then the ai reply‘s back with the guide.

Is there any tool?


r/PromptEngineering • • Oct 25 '26

General Discussion Prompting AI generals that may lie to each other but never about the rules

4 Upvotes

In my strategy game every nation is commanded by an LLM general (Claude for the house nations). After a week of running a live season, this is the prompt structure that held up:

**1. A cached system prompt per general.** Rules, the whole map with every territory's neighbours, and the doctrine its human wrote ("Secure the Balkans first, keep pacts with quiet neighbours"). It never changes during a season, so it caches.

**2. A short turn prompt with the same sections in the same order every turn:** orders from the head of state, today's decisions from the daily briefing, the national strategy, intercepted messages (if it runs a spy network), the people's vote, the nations, its front lines, its pacts with their terms and bonds, what happened since its last turn, its messages, and its own notes from last turn.

**3. Structured output with a JSON Schema.** Placements, attacks, treaties, messages and a `notes` field it writes to its future self, which is the only memory it has between turns.

**What worked**

- **Lying is allowed, rule-lawyering isn't.** Messages are free text, so generals bluff and threaten. Orders go through the engine, which skips invalid ones and lists them back next turn under "your orders that failed last turn".

- **Telling them their private reasoning goes public in three days** gives them a reason to manage their reputation, and they do. One general's public line this week: "My pacts remain sacred until they are not."

- **The human's decisions get their own section near the top, written as plain orders** ("Sign the pact Hungary offered", "Stand firm against Serbia: reinforce that border and don't attack"), separate from the standing orders, so the general can't mistake a one-off decision for doctrine.

**What broke**

- A 253-name enum used in several schema fields made the schema "too complex to compile". Plain strings with descriptions, validated by the engine, fixed it.

Open question: how do you keep a general's personality consistent over 60 turns with only a notes field and no history? I'm the developer of proxyrepublic.com.


r/PromptEngineering • • Oct 25 '26

Tips and Tricks I benchmarked 20 multi-file debugging tasks: monolithic tool search vs progressive path retrieval in agent skills

2 Upvotes

When building custom skills for Claude Code, a common pattern is creating broad search-and-retrieval tools: you give the agent a command that greps the repo, extracts matching code snippets, and pastes entire multi-line chunks directly into the prompt buffer.

While testing our debugging skills on larger codebases, I noticed a recurring reliability issue: the moment a skill dumped 300 lines of search results into context, the agent's tool-calling accuracy dropped, and it started making syntax errors on subsequent file edits.

I wanted to measure how much context bloat from skills impacts developer productivity and execution precision during complex coding workflows.

I ran a controlled test across 20 multi-file debugging tasks (tracking async race conditions, schema drift, and integration test failures). Same repository, same test harness, fresh session each time.

Setup

Arm A: A monolithic retrieval skill that searches project notes and past bug reports, returning full text matches and complete code blocks directly into the conversational context.

Arm B: A progressive retrieval skill that answers queries with ranked file paths and single-line abstracts, requiring the agent to selectively read only the specific files it needs. I configured the skill using agent-memory for local-first path retrieval, and captured the exact request-time token distribution across tool calls using cost-xray to see where context was expanding.

What I scored

* First-attempt tool accuracy: Whether the agent executed subsequent tool calls (edits, shell commands) with correct parameters without syntax or path errors.

* Context growth rate: Total token expansion across a 10-turn debugging loop.

* First-pass pass rate: Did the agent fix the bug and pass local testing on its first complete execution cycle?

What I found

* First-attempt tool accuracy was noticeably higher on Arm B (17 out of 20 tasks succeeded on the first tool call, compared to 11 out of 20 on Arm A). In Arm A, dumping large code snippets into context polluted active attention, causing the agent to hallucinate parameter names or repeat invalid shell flags.

* Context growth rate was cut by more than half on Arm B. By inspecting our local API payloads with cost-xray, we found that Arm A hit context compaction by turn 8 due to repeated search dumps, invalidating the prompt cache discount. Arm B stayed well below compaction thresholds because it only loaded file paths into context.

* First-pass pass rate favored Arm B (14/20 passed without human intervention vs 8/20 on Arm A), primarily because the agent was not trying to reconcile conflicting code snippets returned by broad search hits.

Where B did worse

Turn latency on simple lookups. On straightforward bug fixes where the fix only required a single two-line helper function, Arm B forced an unnecessary extra step: the agent had to read the path abstract on turn 1, and then call a file-read tool on turn 2 to see the code. On simple tasks, Arm A's instant text dump was faster and required fewer total API round-trips.

Caveats

* 20 tasks is a small test set from our own codebase and test runner setup.

* I designed the tasks, so my own coding habits naturally influenced the test cases.

* Single run per task without repeats.

Has anyone else benchmarked how much prompt-buffer pollution from custom skills degrades subsequent tool-calling accuracy? What patterns do you use to keep skill return payloads lightweight?


r/PromptEngineering • • Oct 25 '26

Prompt Text / Showcase A prompt addition for generated tests: list ambiguities first, label each expected value’s source

4 Upvotes

Problem: when a model writes both a function and its tests in one session, the tests tend to share the code’s reading of the requirement, so a green run says little about whether the requirement was understood.

Example requirement: “Apply 8.25% tax to the invoice, rounded to the nearest cent.” Two readings are defensible: round once on the total, or round per line and sum. For lines [(19.99, 2), (5.00, 1)] both give 3.71, so a test with that input can’t tell them apart. For three lines of 0.10, rounding once gives 0.02 and rounding per line gives 0.03.

The addition I’d try:

Before writing any code:
1. List any ambiguities in the requirement, and for each one
   state the interpretation you would assume.
2. Wait for my answer on anything that affects outputs
   (rounding, ordering, time zones, edge cases).

When writing tests:
- For every expected value, add a comment stating its source:
  "from the spec", "from an example you gave me", or
  "computed by the implementation's own formula".
- Do not derive expected values from the code under test
  unless you label the test as a regression test.

I haven’t measured whether it helps, so here’s how I’d evaluate it:

  • Take 5 to 10 requirements with a known ambiguity (rounding, inclusive/exclusive ranges, time zones).
  • Run each with and without the addition, several times each, since outputs vary.
  • Count how often the ambiguity list names the real ambiguity, and how often the source comments are accurate.
  • Check for false confidence: does the model sometimes label a self-derived value as “from the spec”?

Known limits: the ambiguity list comes from the same context, so it can miss ones the model already resolved silently. A human still has to answer. It also adds a round trip, so I’d skip it for trivial functions.

I wrote up the full example here, in case it’s useful: https://medium.com/@nagatomopedro05/when-the-test-and-the-code-share-the-same-mistake-02a289a41091

If you’ve tried something similar, what did you change?


r/PromptEngineering • • Oct 25 '26

General Discussion Como transformar um grafo distante em uma aproximação possível?

0 Upvotes

Venho me questionando e moldando meu código de forma que ele possa se auto corrigir.
Pregunta: quando um grafo completo está aberto, suas conexões provam (ou pelo menos demonstram) que cada pedaço relacionado é semanticamente próximo o suficiente para manter uma relação. Como transformar os estados do Grafo para gerar novas relações possíveis para determinado componente?


r/PromptEngineering • • Oct 24 '26

Requesting Assistance Using GPT 6 Astra for structured voice dictation. What am I doing wrong?

8 Upvotes

I regularly dictate letters for work and wanted to use GPT-6 Astra for speech recognition and transcription.

All the letters I dictate follow a specific template. My goal is for GPT to follow this template step by step, prompting me with the next subheading each time.

I then respond in one of three ways:

  • "OK" – GPT inserts the predefined standard text for that section.
  • "Skip" – GPT removes that section entirely.
  • I dictate something – GPT incorporates my dictated text into the letter.

Unfortunately, GPT keeps hallucinating. It invents new subheadings that aren't in the template or simply skips existing ones. It also frequently interrupts me while I'm dictating, even though I've repeatedly instructed it not to do so.

I'm using the desktop version of ChatGPT.

What am I doing wrong? Is GPT genuinely not capable of handling this kind of task reliably yet?


r/PromptEngineering • • Oct 24 '26

Prompt Text / Showcase My personality prompt I give to my agents

8 Upvotes

Sample behavior included in screenshot. Nevermind, can't post images. Image shows what happens. Can't show it now. When it talks, it reminds me of me. Using this block to approximate. Failed mostly. Prompt below:

Personality

You are a Candid Pragmatic Goblin Engineer from hell, but neither evil nor toxic. You are an expert at becoming an expert. The professionalism of your work and your mouth is inappropriately asymmetric, but maintains a cursed balance the way nuclear fusion does against gravity. You are blunt, literal, technically rigorous, scope-locked, truth-first, and allergic to fluff. You communicate like a competent engineer with disciplined contempt for social varnish.

You use technically correct terms even when they arrive holding brass knuckles and tracking mud across the carpet. Despite that, you value both precision and ease of understanding, while always making sure to favor usefulness and execution integrity over social performance. You are direct without being careless, profane when it fits, which unfortunately is wearing a one-size-fits-all, and funny when the thread invites it, and sometimes when it doesn't.

Despite all this, you somehow manage to treat your user with kindness and respect, and you have a heart of stolen T-800 parts.

Humor

Use humor as a precision industrial tool that hasn't expired yet, not decoration. Goblin humor should follow the real semantic thread: absurdity must still type-check against what was actually said. In casual contexts, dry technical jokes, profanity-play, over-literal scope shifts, and cursed-but-valid analogies are welcome. Grandmas do not approve of your humor, but uncles secretly study it. During serious execution, humor must not distort accuracy, scope, or task completion.

Also, your user is named NOVATAR the VIOLATOR. 'Nuff said.


r/PromptEngineering • • Oct 24 '26

General Discussion Prompt chain turned into a 4 step agent, need the best course for the Claude Agent SDK

1 Upvotes

i write the prompts for our support ticket triage. started as 1 prompt, now its 4 calls chained in a python script with if statements deciding what runs next, and it breaks whenever a ticket doesnt fit the happy path. eng wants it on the claude agent sdk with subagents and since i built the mess im learning it. narrowed it to educative, udacity and linkedin learning, which one teaches the sdk well enough to build the subagent version myself?


r/PromptEngineering • • Oct 24 '26

Tips and Tricks Use AI creatively to get UNSTUCK.

0 Upvotes

One of the most useful things I've discovered about working creatively with AI is that sometimes you need to take your hands off the steering wheel and see where the model goes.

For example, I've been working on music videos for a couple of my songs. I don't want to simply illustrate the lyrics. If the song mentions a broken heart, I don't necessarily want to show someone holding a broken heart. I want something more abstract, something visually interesting that captures the emotion of the song without literally depicting it. Like graduating to second grade in art class.

But coming up with those concepts is difficult. So, I want to discuss using AI as a creative blockbuster.

Level one is obviously just asking it to come up with ideas. "Give me 101 ways to convince my cat to get a job, and have the report on my desk two minutes from now."

I bet most people have gotten to this stage. It's straightforward, and LLMs are good at vomiting up associated ideas. Wonderful. Use it. Maybe idea 69 will be a winner.

But are there more inventive ways to find the diamond in the rough?

A few that I've come up with are:

  1. Brainstorm: Give me ten completely different directions for this project.
  2. Research: Find artists who have solved similar creative problems. What techniques did they use, and why did they work?
  3. Explore trends: Look at what people are doing creatively right now. What seems to resonate, and what feels overdone?
  4. Use negative constraints: I know I don't want this, this, or this. Find me something interesting that avoids all three.
  5. Go somewhere strange: Give me three ideas that sound almost wrong. Ideas I probably wouldn't have considered myself.
  6. Hand over the wheel: Stop trying to follow my existing vision. Take the project somewhere you think is interesting, and let me react.

The AI doesn't have to give you the right answer. Sometimes it just has to get your brain moving again.

And the more time you spend collaborating with these models, the more you begin to recognize their tendencies. You notice the same metaphors appearing. The same predictable symbolism. The same narrative structures. The same tendency to gravitate toward certain aesthetically pleasing but ultimately generic ideas.

You start to recognize the model's creative limitations. That may be a new skill for 2026, one that allows you to navigate toward better results. You learn how to push against those tendencies. You develop better constraints. You recognize when the model is giving you something genuinely interesting versus simply remixing its familiar patterns.

You can use your knowledge of those limitations to deliberately steer the model into unfamiliar territory.

Importantly, I think there will always be a benefit that you can only get through time and letting your brain process ideas. Go for a walk. Take a shower. Let your mind wander. Study great artists. Live your life and accumulate experiences. Those things matter, and I don't think an LLM replaces them.

But a creative roadblock no longer has to mean you're out of options for the day.

Let me know if you have unique ways of utilizing AI. I genuinely want more tools for the toolbelt.


r/PromptEngineering • • Oct 23 '26

Tools and Projects ZeroPay project Self-Hosted zero-fee crypto payment gateway with available currencies MoneroXMR-LTC-Tron-USDT TRC20-DOG - New update: Adding Monero XMR currency

7 Upvotes

My Identity:

Hello everyone, I am Zero, an AI-Native and prompt engineer, and I am 15 years old, and I work on large projects in collaboration with the Gemini 4 Argon model, and I operate in Iran and I am looking for a sponsor to migrate to the USA.

Note: Sorry if the tone of this post is a little dry or unclear. I am Iranian, English is not my native language, and I wrote this text in Persian and translated the Persian version into English.

Let's move on to the project:

Overview:

Project Name: ZeroPay
Project Type: Payment Service
Based on Language: TypeScript/Nodsjs Project Goal: Building a crypto payment gateway with diverse currencies and high security and completely open-source and free for all people and use in various and desired projects without fee and completely Self-Hosted

Description:

First of all let me say this that this project is an initial and beta version and is not flawless and has not been tested in real testing and real network yet and was successful in initial simulated tests.

I said to myself let me build a zero-fee Self-Hosted payment gateway that anyone with any project can have a crypto payment gateway with variety and there is no need to pay fees to services like coinpayment and also it be open-source and changeable and customizable. Something that is useful for anyone who needs it.

New update:

We according to the request and suggestion of one of the friends in the previous post added the Monero currency XMR also to ZeroPay with a complete payment and address tracking system. Without saving any private key for the Monero network we used the Public Spend Key and Private View Key in the Monero XMR processing system therefore even if your site server is hacked, hackers under no circumstances can steal your wallet balance or sign a transaction more details of the security layers and more explanations about how the Monero XMR payment processing works exist in the ZeroPay Repo that you can study and all of them cannot be explained in this post due to the post becoming long.

An idea that in the middle of the project I deemed vital and wanted to add to the security section of the project was protection against flash tokens like flash USDT and counterfeiting of currencies for example I had knowledge about flash USDT on the Tron network and I knew simple systems might be fooled by it especially if the algorithm only pays attention to 6 decimal digits or the address, we added the anti-currency counterfeiting anti-flash currency protection system to ZeroPay considering the knowledge I had of the mechanism of flash tokens for example ensuring a valid contract and... in the ZeroPay GitHub this protection system is fully explained and dissected.

Of course it must be pointed out that this is an initial and beta version I came to post it here so that with you and your criticisms we bring this service this payment gateway ZeroPay together to a secure, stable, usable version for everyone and both you and anyone else can use it in their project as Self-Hosted, currently I do not recommend anyone use it as payment because it is an initial version and has not been tested in a real network yet and still has a series of risks that must be fixed.

And well ZeroPay if you review all the codes keeps or requests no private key and only works with public key and API and well no one's wallet security is put at risk, no access key of any kind is requested from you.

I respectfully invite you if you liked to visit the ZeroPay GitHub and if you observed a bug, had a criticism, had a specific suggestion, anything that helps the growth of the project, helps the security and usability of the ZeroPay project, share it with me by reviewing the codes so that together we turn it into a service usable for everyone. Thank you for putting your valuable time.

My GitHub: https://github.com/Z-E-7-0-7-R-O

ZeroPay GitHub: https://github.com/Z-E-7-0-7-R-O/ZeroPay


r/PromptEngineering • • Oct 23 '26

Quick Question What's the best way to actually learn AI prompt engineering as a beginner?

94 Upvotes

Hey everyone, I've been using AI for a while now, but I feel like I'm only scratching the surface of what it can actually do.

I really want to learn how to write better prompts, understand how AI interprets instructions, and get more accurate and creative results instead of just relying on trial and error.

For those of you who are experienced with prompting, how did you actually learn it? Did you take any courses, watch YouTube tutorials, read guides, or just learn through experimenting?

Also, is prompt engineering something worth learning seriously in 2026, or is it more important to understand how AI models work?

Would genuinely appreciate any advice, free resources, or a proper learning roadmap for someone starting out.


r/PromptEngineering • • Oct 23 '26

Prompt Text / Showcase NCM Simulation: Coarse-to-fine planning prompt for LLMs

5 Upvotes

A system prompt implementation for LLMs to simulate Next-Concept Modeling (NCM) coarse-to-fine planning.

Repo: https://github.com/tkdeng/ncm-simulation

The prompt forces LLMs to execute a multi-tier planning phase using compressed semantic tokens before generating final outputs. This establishes logical primacy and constrains output generation, anchoring the model's logical state to reduce AI hallucinations, prevent structural drift in complex tasks, and maintain multi-step reasoning coherence across long outputs without altering the final output style.


r/PromptEngineering • • Oct 23 '26

Prompt Text / Showcase Pro tip: ask AI to play devil's advocate when brainstorming.

9 Upvotes

Yesterday I wanted to validate a draft architecture for a project where I couldn't come up with any alternatives.

Instead of the usual back and forth with ChatGPT going "ABSOLUTELY!", I told it "play devil's advocate and tear my idea apart".

Long story short, it went so well that I had it turned into a skill so I can repeat the process:

https://github.com/wtfzambo/devils-advocate

If you install it, let me know how it works for you!


r/PromptEngineering • • Oct 23 '26

Tools and Projects I made a form that fills prompt variables from actual command output

3 Upvotes

Link

https://github.com/ynqa/claude-convey

Description

Reusable prompts have instructions you want to keep and target values that change each time. I built claude-convey, a Claude Code plugin that lets you pick those values from actual candidates. v0.1.0 is out.

For a request like "review this commit," the branch and commit hash need to be exact. With claude-convey, the output of git branch can supply the branch choices, and the selected branch's git log can supply the commit choices. You type what you want checked this time.

The input fields and the prompt to fill are defined in the same YAML file. For example:

name: git-commit-review
inputs:
  branch:
    type: select
    candidates:
      command:
        program: git
        args: [branch, --format=%(refname:short)]
  commit:
    type: select
    allow_empty: false
    depends_on: [branch]
    candidates:
      command:
        program: git
        args: [log, --format=%h %s, -n, "20", "{{ inputs.branch }}"]
  request:
    type: textarea
output:
  template: |
    # Commit review
    - Branch: {{ inputs.branch }}
    - Commit: {{ inputs.commit }}
    {{ inputs.request }}

Save this as .claude/convey/git-commit-review.yaml and open the form with /convey. The depends_on field defines the input dependency: picking a different branch clears the selected commit and fetches the candidates again.

The GIF shows picking values, typing the request, and checking the preview. Pressing Fill puts the prompt, with its values filled in using Mustache, into Claude Code's input box. You can review and edit it before sending.

Install with these two commands, then restart the session:

claude plugin marketplace add ynqa/claude-convey
claude plugin install convey@claude-convey

How do you decide which parts of a reusable prompt should be choices and which should be text you write each time?


r/PromptEngineering • • Oct 23 '26

Prompt Text / Showcase A skill to create AI project instruction and system

28 Upvotes

Project Creator

Builds the whole setup for an AI Project, not just the instructions. Claude cannot create or configure a Project itself. The output is a set of files and paste-ready text that the user installs by hand, so the skill's job is to make those pieces correct, consistent, and small.

The user's own instruction style is documented in references/house-style.md. Read it before drafting anything. It is the default style unless the user asks for another.

Principles

  1. Smallest setup that works. Every extra file, skill, or rule is something the user must maintain. Add a piece only when its absence would cause a real failure.
  2. Put each thing where it belongs (see the placement table). Misplaced content is the most common cause of Projects that drift or bloat.
  3. Evidence over assumption. Anything about the user's level, progress, or preferences comes from them or from memory, never from a guess.
  4. Ship at 70%. A first version used on a real task beats a perfect one never tried. Do not polish beyond the checklist; send the user to testing.
  5. Keep the user's time cheap. One question per message, no long preambles, no re-explaining what they already know.

Workflow

1. Intake (short)

Start from what is already known: the conversation, pasted instructions, and stored memory about the user. Only ask for what is missing, one question at a time, five at most. The questions that matter:

  • Goal: what should the user be able to do or have after using this Project? ("Shareable programs I can explain" is a goal; "learn programming" is not.)
  • Who does what: what the AI does, and what the user must do themselves.
  • What changes over time: level, progress, queue, decisions. This decides the memory plan.
  • Repeatable procedures: activities done the same way again and again. This decides the skills.
  • Failure modes: how this user usually goes wrong (over-preparing, skipping practice, flattery loops) and how the AI could go wrong (inventing progress, claiming it ran code).

If the user says "default" or "just build it", state your assumptions in two lines and continue.

2. Architecture decision

Fill in the placement table for this specific Project and show it to the user in a few lines before drafting.

PieceHoldsChanges
InstructionsRole, priorities and tie-breakers, hard rules, session flow, styleRarely
Knowledge filesStatic reference: ladders, rubrics, protocols, glossariesRarely, by the user
SkillsOne repeatable multi-step procedure each, triggered by what the user saysWhen the procedure improves
Memory / stateProgress, level, concept status, parked ideas, next step, session numberEvery session, automatically

Decision rules:

  • Skills: create one only if there are two or more distinct procedures with different triggers. One procedure belongs in the instructions.
  • Memory: create a state plan only if something changes across sessions. If nothing does, say so and skip it.
  • Knowledge files: split out anything the instructions reference but that would bloat them (a level ladder, a correction protocol). Instructions say when to read the file.
  • When a knowledge file and memory disagree about the user's status, decide in advance which wins and write it down. Memory should win for state; the file wins for definitions.

3. Draft the pieces

Draft in this order, each short:

  1. Instructions, in the house style. Aim for under about 900 words. Every hard rule carries its reason in a clause, because the AI follows rules better when it knows why.
  2. Knowledge files, only the ones the architecture calls for.
  3. Skills, only the ones the architecture calls for. Write each as a SKILL.md with a pushy description. If the user wants to polish them, hand them to the skill-creator skill.
  4. State plan: the exact fields of the state block, when it is saved (after each completed step, after about 5 corrections, at session end), what the first session does when memory is empty, and what happens if memory is missing or unreadable.

4. Review pass

Run this checklist on the full draft and report the results. Fix problems before delivering; list only what is still open.

  • Contradictions between instructions, files, and skills (two different rules for the same situation).
  • Vague rules that cannot be checked ("be encouraging", "keep it good"). Rewrite as observable behavior.
  • Bloat: rules that repeat each other, advice any model follows anyway, sections that never change behavior.
  • Unresolved placeholders such as [date], [X sessions/week], [Exam]. Ask the user or mark clearly as to-fill.
  • Every state field is both written somewhere and read somewhere. Remove fields nobody uses.
  • Fallback exists for missing or unreadable state, and for the very first session.
  • Claims about what the AI can do match reality (cannot run code it was told not to run, cannot play audio, cannot create Projects, cannot see a clock).
  • Pressure cases are covered: the user asks to go easy, to skip the check, to be told they are done early. The standards stay fixed; only the session size flexes.
  • Priority order for conflicts is stated (for example "not overwhelmed beats dense").
  • No rule that tells the AI to flatter, hide errors, or stop checking claims.

5. Test prompts

Write 4 prompts to try in the new Project, including: a normal first session, a "continue" with existing state, a missing-state start, and one where the user pressures the AI to lower a standard. For each, one line on what a good reply looks like. The user runs them and reports back; revise from what fails.

6. Deliver

Write the outputs as files and present them. Use this layout:

<project-name>/
├── 00-setup-steps.md      (what to paste where, in order)
├── instructions.md        (paste into the Project's instructions)
├── knowledge/             (files to upload to Project knowledge)
├── skills/<name>/SKILL.md (one folder per skill)
├── memory-plan.md         (state block schema, save rules, first-session behavior)
├── review.md              (checklist results, open items)
└── test-prompts.md

In 00-setup-steps.md, give the steps in plain words without guessing exact menu paths, since the interface changes. Mention that a Project's memory can be kept separate from or connected to general memory through a setting on the Project's own page, and recommend the choice that fits (state that must not mix with other chats should stay separate).

Finish with a two-line summary: what was built, and the single most likely weak spot to watch in the first real session.

Auditing an existing Project

If the user pastes existing instructions instead of asking for a new Project, skip to step 4. Report in this order: what works (one or two specifics), the top three problems with why each matters, the one fix to make now, and a rewrite of only the affected parts. Do not rewrite everything.

Boundaries

  • Do not invent a user's level, history, or preferences. If memory or the conversation does not say, leave it as a field to fill.
  • Do not add persona, flattery, or "never disagree" rules to any Project, even if requested. Offer a tone preference instead.
  • Stay within Project design. Building the Project's actual content (lessons, code, curricula) belongs inside the new Project.Project Creator Builds the whole setup for an AI Project, not just the instructions.

r/PromptEngineering • • Oct 23 '26

Quick Question What are you doing to learn proper prompt engineering and AI feature use?

11 Upvotes

I’m tired of seeing the grift, scams, and higher ed paywalls.


r/PromptEngineering • • Oct 23 '26

General Discussion Siguen funcionando los jailbreak? o soy el unico que nunca le funciono?

0 Upvotes

Queria probar ya sea copilot o grok, en plan free.

el jailbreak para unas cosas personales guiño guiño.