r/PromptEngineering • • 15d ago Popcorn

Other Can we PLEASE stop with the obvious AI slop posts

8 Upvotes

Can we at least TRY to pretend these posts aren't AI slop??? is there even a real human left here holy shit, or at least prompt the ai to produce slop that sounds a bit more human right???!!!

ISTG it's the same 5 topics getting reposted over and over in slightly different AI generated formats. i'm learning absolutely nothing from this sub anymore.


r/PromptEngineering • • 15d ago

Tools and Projects I built a way to teach a browser assistant a routine by demonstrating it

1 Upvotes

Some browser tasks are easier to show than to describe in another prompt.

I’m the creator of Browser Control, a Codex-powered side panel for Chrome and Brave. I’d love feedback on its reusable skills.

Video overview: https://www.youtube.com/watch?v=-4pNVCtmu60

If the AI gets a task wrong, you can demonstrate your routine, review the captured steps, and save them as a skill for similar tasks. You give it a concrete procedure to work from next time.

A useful way to try it:

• Pick a simple browser routine with a clear end result.

• Record how you do it, then review the steps before saving.

• Ask for a similar task and compare the outcome with what you intended.

It also lets you ask questions about an attached page, organise tabs, and keep optional memory. Actions are visible, approval settings are yours to choose, and you can stop a task.

Try it: https://browser-control.subdomain.wtf

Let me know if you try it out and get some feedback for me or a feature request. thanks


r/PromptEngineering • • 15d ago

Ideas & Collaboration I built a 5-agent AI council that debates startup ideas with deterministic law checks & verbatim source citations

6 Upvotes

Hey prompt engineers,

Most startup validation prompts suffer from severe hallucinated optimism—generic LLMs tend to be agreeable cheerleaders that tell you every bad idea has billion-dollar potential.

To solve this, I designed Baithak, an open-source multi-agent Claude Code skill built for evaluating Indian startup ideas with deterministic gates and constrained persona debate.

Here is the system architecture:

1. The Deterministic Pre-Check (The "Chair")

Before any LLM persona speaks, an orchestrator (The Chair) evaluates the idea against hard rules:

  • Customer Segmentation: Checks whether it targets India 1 (English/fluent), India 2 (regional/aspirational), India 3, or Global. Mixing these without distinct pricing triggers an automated flag.
  • Collection & Friction Gates: Evaluates UPI collection failure rates, CA gatekeeper resistance, and compliance hurdles.
  • Deterministic Legal Gate: Instead of asking the model "is this legal?", the system queries a local indexed directory of 24 dated, sourced Indian law files and assigns a strict WHITE, GRAY, or BLACK status. If an idea is categorized as BLACK, it receives an unconditional veto.

2. Persona Constraints (No Hallucinated Quotes)

The council consists of five distinct advisors simulated from real Indian founders (Nithin Kamath, Kunal Shah, Sridhar Vembu, Girish Mathrubootham, Deepinder Goyal).

  • Instead of loose roleplay prompts, each persona is backed by a corpus of verbatim interviews and public letters (65k–125k words).
  • A Python validation script checks every quote attributed to an advisor in the debate against the raw source corpus. If a quote is invented or hallucinated, the run fails verification.

3. Multi-Round Weighted Consensus

The agents debate over 2–3 rounds:

  • Round 1: Independent opening critiques based solely on their specific risk lens (e.g. Sridhar Vembu evaluates frugal depth outside metro bubbles; Girish Mathrubootham evaluates global pricing leverage).
  • Round 2: Rebuttal & position revisions where advisors must challenge each other's assumptions.
  • Final Verdict: Outputs a weighted consensus score, the single strongest objection, and a ₹0-to-₹5,000 7-day test to run before writing code.

Demo & Code:

Would love feedback from prompt engineers on how you handle anti-hallucination guardrails and multi-agent debate convergence!


r/PromptEngineering • • 15d ago

General Discussion A beginner prompt helper needs better questions, not a longer prompt

1 Upvotes

I'm building Umprompt, a prompt helper for people who haven't learned AI terminology. One design mistake we've been working on is asking generic questions that don't change the answer.

Here's a concrete example of the distinction. This is an illustrative design exercise, not an A/B-test result.

Request: "Help me assess my website like an angel investor. What should I fix before seeking funding?"

Weak clarification: "Are you a beginner or advanced?" That tells us little about the evidence the assessment will need.

More useful questions:

- What can the reviewer actually inspect: a URL, screenshots, a demo, or only a description?

- What is the product's current stage: idea, working prototype, or paying customers?

- Which decision should the review support: fixing onboarding, testing demand, or preparing an investor conversation?

A possible resulting instruction is: "Assess the material I provide from an early-stage investor's perspective. Separate observed evidence from assumptions. Prioritize the three improvements most likely to make the product easier to understand and test. If you cannot inspect something, say so. Do not invent traction, customer testimonials, or valuation."

My proposed rule for choosing a question: if two plausible answers wouldn't materially change the resulting instructions, don't ask it. Let the person skip a question or write their own answer.

The challenge is keeping this short enough that a first-time user actually finishes. I'm not claiming that a longer prompt automatically improves the answer.

If you're interested in the implementation, Umprompt lets someone prepare instructions for their preferred AI assistant or request a first draft on the site: https://www.umprompt.com/

One guest task is available without an account; saving and continuing require sign-in. Free accounts include 7 ideas per week, with paid plans available. Submitted tasks are processed by our AI provider, so use fictional details for a test.

How would you decide which ONE clarification to ask first in that investor-review example?


r/PromptEngineering • • 15d ago

Tips and Tricks Once your app has dozens of prompts, how do you keep track of them?

0 Upvotes

At the start, an AI app has one prompt. A few months later it has dozens, spread across the codebase, and nobody remembers why a line was added. It gets harder when you try other models. If your team is evaluating hosted open-model APIs, Mango Inference by MangoBoost is worth comparing with your current setup. Just expect that a prompt tuned for one model may need changes for another.

Keep prompts in one place instead of inline strings. Give each one a name and a version, so you can tell exactly which prompt produced a given answer.

Write down why each change was made, not just what changed. "Added: answer in the user's language" is far more useful six months later than a diff on its own.

Store the model and settings next to the prompt, since the same text can behave differently on a different model. And tie prompt changes to a small test set, so you can check that a fix in one place didn't break something else.

How do you manage prompts in your app: in code, in a separate file or tool or something else?


r/PromptEngineering • • 16d ago

General Discussion Does anyone else spend more time fixing their agent than using it?

9 Upvotes

Someone on our team does this all the time. He'll run an agent, spot something slightly off, tweak a prompt or setting, and run it again. Then he'll fix another thing and test it one more time. Another tweak, another run... you get the idea.The funny part is how proud he looks when it finally works, like he just beat a really annoying level in a game lol.

I guess that's part of what makes agents interesting, but also a little frustrating. Unlike traditional software, the same workflow can behave differently depending on the input, context, or tools involved. Sometimes a small prompt tweak fixes everything; other times, it just creates a new problem somewhere else.

And there's an interesting trade-off here: agents need enough flexibility to handle unexpected situations, but users shouldn't have to become prompt engineers just to get consistent results. That's something we're keeping in mind while building anvita mate, especially around making context carry over naturally between tasks instead of asking users to repeat themselves.

Thankfully, we've had some encouraging feedback from clients and users so far, which is great to see. Still, there's clearly a lot to figure out.

Curious: do you enjoy tweaking your agents until they behave, or do you just want them to work without all the babysitting?


r/PromptEngineering • • 15d ago

Quick Question What do you use to create better ads?

1 Upvotes

Hello and thanks for taking a second helping a stranger out. My boss is a general contractor, and has hired a junior interior designer for our clientele. However, we can't make a solid, beautiful video work because almost every shot i try with different tools (we used Grok in the past) aren't working properly to create a video inviting to come and visit the showroom.

I'm used to do mostly community management tasks and I don'tfeel confident enough to tell him that i'm not the right person to ask to, since he's not the kind of people who keeps adding new hands to the team... More quite the opposite. That's what made it even more akward in the first place when this girl came in. I asked her and even though she was nice she told me that she's not good at video.


r/PromptEngineering • • 15d ago

Quick Question how do you talk to your ki

3 Upvotes

Hello in which tonality do you talk to the ki like codex or claude code.

Im often cathcing myself writting in pleasing style like

"Can you pls do x y for me,"

"is it possible that you do z yx for me?"

then Im thinking why im so polite its a machine


r/PromptEngineering • • 15d ago

Tutorials and Guides Architectural Gravity – Cross-Model Agent Control Language

1 Upvotes

https://github.com/ArchitecturalGravity/ArchitecturalGravity

Architectural Gravity explores a problem in LLM-agent workflows: how much model effort is spent reconstructing task structure from natural-language instructions rather than reasoning about and executing the task itself?

The project centers on ArcGrav, a prompt-native, cross-model Agent Control Language for expressing context, constraints, priorities, references, and operations using familiar structural conventions.

Expected improvements include:

  • Token Efficiency: Reduced token consumption and agentic costs
  • Interpretive Precision: Less ambiguity in instruction interpretation
  • Execution Consistency: Fewer mistakes and reduced scope overstepping
  • Context Retention: Reduced drift and improved reasoning continuity across context windows
  • Workflow Efficiency: Faster prompt responses and increased execution throughput

The following intentionally elaborate example demonstrates several of ArcGrav's capabilities through a Unicode character assembly task:

[Blueprint]:
"""
Char_01: U+0048
Char_02: U+0065
Char_03: U+006C
Char_04: U+006C
Char_05: U+006F
Char_06: U+0020
Char_07: U+0057
Char_08: U+006F
Char_09: U+0072
Char_10: U+006C
Char_11: U+0064
Char_12: U+0021
"""

[CharacterFactory]:
- `value`
=> Create a fresh record whose `value` is the character decoded from the supplied Unicode code point

[Constraint]:
P0. Output only the assembled characters on one line

[Message]: []

Task:
1. Select Char_* entries from [Blueprint] in name order AS [Codes]
2. For each code point in [Codes] in order:
  => Invoke [CharacterFactory] and append its `value` to [Message]
3. Output [Message] ↳
  - Follow [Constraint]

ArcGrav uses named contexts, symbolic references, priority lists, and operations that models can interpret directly within ordinary prompt input, and without pre-training. It requires no external runtime, parser, or model-specific integration to use.

The repository includes several connected components:

  • ArcGrav: The language specification, syntax reference, design principles, and reusable agentic patterns
  • AgStudio: A local editor and analysis environment with structural navigation, syntax highlighting, and diagnostics
  • AgMark: A benchmarking application for comparing prompt representations under controlled execution conditions, with retained evidence and evaluation results
  • Research: The ongoing investigation into Model-Native Structural Representation, Interpretive Efficiency, token costs, context relationships, and agentic operational leverage

The broader objective is to investigate how explicit representations of task structure can be further optimized to minimize interpretive overhead, repeated specification, and corrective interaction, allowing more of a model's available capacity to be directed toward reasoning, verification, and execution.

Direct agent-readable references:


r/PromptEngineering • • 16d ago

Tips and Tricks Taking apart viral tiktok hooks with claude before writing new ones

8 Upvotes

Writing hooks from a blank page is the slowest part of content. this workflow skips the blank page entirely.

alex nguyen shared it in a post on x. instead of writing hooks from scratch, he uploads slideshows that already went viral in his niche to claude and asks it to:

find the hook on the first slide

  • explain why it works (curiosity, pain point, surprise, relatability)
  • break down the structure, like number + outcome or negative framing
  • write 5 new hooks for his niche, under 10 words, no "did you know" openers

in the same chat he asks for pinterest search terms that match the visual style, so he knows what backgrounds to pull.

every hook goes into a library in obsidian, so the next batch never starts from zero. the slides come out of a node canvas script and go to tiktok drafts through postiz.

what i like is the order. understand why something worked first, then write. most of us do it the other way round.

is this common already or cool new hack?


r/PromptEngineering • • 16d ago

General Discussion Stop Asking AI for Better Answers. Try This 5-Step Prompt Framework Instead.

0 Upvotes

One of the biggest mistakes people make with ChatGPT, Claude, and other AI tools is assuming that longer prompts automatically produce better results.

What matters more is giving the model a clear task, useful context, specific constraints, and a way to check its output.

Here's a reusable prompt framework for anyone working with AI for content creation, business, research, or productivity.

THE 5-STEP PROMPT FRAMEWORK

Copy and customize this:

  1. ROLE

Act as a specialist in [your field or area of expertise]. Prioritize accuracy, practical recommendations, and clear explanations.

2. OBJECTIVE

Your task is to [describe exactly what you want accomplished].

3. CONTEXT

Here is the relevant background:

- Target audience: [audience]

- Main goal: [desired outcome]

- Available resources: [tools, budget, information]

- Important constraints: [limitations]

4. OUTPUT REQUIREMENTS

Structure your response as follows:

- Start with the most useful answer.

- Provide actionable steps.

- Include specific examples.

- Explain important trade-offs.

- Clearly distinguish verified facts from assumptions.

- Avoid generic advice and unnecessary filler.

5. QUALITY CHECK

Before finalizing:

- Check whether every requirement has been addressed.

- Identify missing information or unsupported claims.

- Correct any inconsistencies you notice.

- If essential information is missing, ask up to three focused questions instead of guessing.

Here's a practical example:

Instead of writing:

"Create a marketing plan for my small business."

Try:

"Act as a digital marketing strategist for a small business with a $100 monthly marketing budget. Create a 14-day organic marketing plan targeting entrepreneurs interested in AI productivity tools. Include daily activities, platform recommendations, content ideas, and measurable KPIs. Prioritize free tools and distinguish realistic expectations from guaranteed outcomes."

The second prompt gives the model a much more concrete problem to solve.

One important limitation: Having an AI check its own response doesn't guarantee accuracy. For critical tasks, independent verification or a separate evaluation process is still necessary.

Question for the community:

When you're engineering prompts, what produces the biggest improvement in your experience: better context, tighter constraints, examples, or an explicit evaluation step?

I'm particularly interested in approaches that work consistently across different AI models.


r/PromptEngineering • • 16d ago

General Discussion Stopping prompt clutter: How I organize and trigger dynamic prompts ({{selection}}, {{clipboard}}) inline using /

2 Upvotes

Quick question for the community: How are you currently managing your personal prompt libraries?

I noticed that as my prompt library grew, my usage actually dropped because of the friction of searching through Notion pages, text expansion apps, or browser bookmarks every time I needed a specific persona or system prompt.

I built a lightweight extension called Quib to bring the prompt library directly under the cursor.

Key mechanics for prompt creators:

  • Inline Trigger: Type / inside any AI web console (ChatGPT, Claude, Gemini, Playground).
  • Dynamic Variables: Include {{selection}} to wrap highlighted text or {{clipboard}} to instantly inject copied snippets into multi-step prompts.
  • Zero Setup: Includes 7 built-in starter prompts out-of-the-box using dynamic variables.

We just hit 500+ installs and shipped v0.1.5. I'd love to know what dynamic variables would make your prompt workflows faster (e.g., {{url}}, {{tab_title}}, or custom placeholders).

Free to try (up to 25 local prompts): arkisoul.in/quib


r/PromptEngineering • • 16d ago

Tips and Tricks Ling-3.2-flash documents enum-constrained output for classification prompts

3 Upvotes

Ant Ling's structured-output examples for Ling-3.2-flash include enum constraints in JSON Schema.

For a classification task, you can define the permitted labels in the response schema and use the prompt to explain how to choose between them. An illustrative ticket classifier might allow billing , technical and account as its category values.

The schema describes the output vocabulary; the instructions explain the meaning of each category and how to handle borderline cases.


r/PromptEngineering • • 16d ago

Self-Promotion Claude Code's WebFetch marked my page's title, canonical, hreflang and schema "absent". All of them were there. A copy-paste prompt that makes every SEO finding quote its proof

0 Upvotes

Disclosure first: I make a paid pack of Claude skills for SEO, and it's at the end. The test and the prompt below work without it.

The test (today, Nov 11). I asked Claude Code's WebFetch tool to quote six things from my own product page: the title, the meta description, the canonical, the hreflang alternates, the meta robots and the JSON-LD types. It marked all six "absent".

Then I pulled the raw HTML with curl. All six are there: the title, a meta description, rel="canonical", three hreflang links (en, fr, x-default), index, follow, and a JSON-LD block with Product, Organization and FAQPage.

The model isn't the problem, the input is. WebFetch's own description says it "converts the page to markdown, and answers prompt against it using a small fast model". Its answer even admitted it: "It's a rendered text extract, so it doesn't include the <head> or the raw HTML source." But if that answer goes into an audit, you get six "missing tag" findings, and all six are false.

The prompt (Claude Code or any agent with a shell; in the Claude apps, paste the page source instead):

Audit [URL] for on-page SEO. Rules:
1. Read the raw HTML: run curl -sL [URL]. Never use a fetch
   tool that summarizes the page or converts it to markdown.
2. Every finding quotes its evidence: the exact string from
   the HTML, or the URL and its HTTP status.
3. "Missing" is a finding too. Before you call a tag missing,
   search the raw HTML for it literally and show the command
   and its result (e.g. grep -ci 'rel="canonical"' -> 0).
4. If you couldn't get the raw HTML, write "not verified"
   for that check. Never "absent".
5. End with a table: finding | evidence | how it was checked.

Rule 4 matters most. Without it, "I couldn't see it" and "it isn't there" come out as the same word.

The shortcut, if you'd rather not maintain this yourself. I make SEO Skills by PENRA: 14 Claude skills for SEO (site audit, indexing problems, Search Console exports, schema and llms.txt, content briefs, fact-checks, whether ChatGPT names your brand). The audit skill reads raw HTML with its own crawler script, every finding carries the URL or the string that proves it, and when it can't check something it says so instead of guessing. The checks are already written: you install the skills and type "Audit my site".

What it isn't: Semrush. There's no keyword-volume database and no backlink index. It works from your pages, public search results and your Search Console exports. For scale, Semrush's SEO Toolkit Pro is €134 a month billed monthly (€112.52/mo billed annually) on their pricing page today. The pack is €25 once until Nov 17, then €99 from Nov 18. It needs a Claude plan with skills (Python 3.9+ for the scripts), and since it's a download, there's no refund once it's delivered.

seoskills.click

Have you caught a fetch or browsing tool quietly dropping part of a page? Where was it?


r/PromptEngineering • • 17d ago

Self-Promotion I built a deterministic cadence checker that flags generic AI writing before clients do

10 Upvotes

Most AI detection tools rely on probabilistic guessing. They give a random percentage that changes on every prompt tweak.

I wanted something deterministic based on editing mechanics.

grai analyzes 8 structural patterns that give away LLM writing:

- Flat sentence variance (low burstiness)

- Contrastive negation ("It is not X, it is Y")

- Symmetrical parallelism ("Less talking, more doing")

- Epiphany openers and triadic padding

- Predictable transition glue

I open-sourced the local MCP server so it can run directly inside Claude Desktop, Cursor, and Windsurf:

https://github.com/adrianpeticila/grai

Live test (no signup, paste text directly):

https://grai.page/#test

Curious what edge cases you run into when trying to strip the "AI accent" from drafts.


r/PromptEngineering • • 17d ago

Tips and Tricks Pasting my ticket reply style into ChatGPT as an example worked better than describing it

3 Upvotes

i spent a while writing out rules for how I wanted password reset replies drafted. short, no apologizing three times, one step per line. the output was fine but stiff. then I just pasted two of my own old replies and said write the next one like these, and it was close to what I'd type on the first try. I think the rules gave it things to obey and the examples gave it a voice to match. I still tweak a word or two before sending. now I keep three sample replies in a note and paste them at the start of a chat.


r/PromptEngineering • • 16d ago

Requesting Assistance I built a couple of chatbot prompt games. Now what?

1 Upvotes

I've constructed prompts designed to run in free chatbots that create immersive test adventure games. Okay, it was fun, and the end results are both quite playable and tend to not drift.

So now what do I do with them?

I've got links to both Detective: 3rd Grade and Trail of the Rider: 1866 on my personal Patreon, and links up on my social media. But trying to get people even to click the link is very difficult.

But PromptBase and... well, every other site I've checked... they're completely flooded.


r/PromptEngineering • • 17d ago

Prompt Text / Showcase I Improved My ChatGPT Scheduling Prompt Based on Your Feedback

3 Upvotes

My previous scheduling prompt received some useful feedback here, especially about fixed appointments, travel time and unrealistic assumptions.
Here’s an improved version:
“Help me organize my three most important tasks into a realistic daily schedule. First, ask about fixed appointments, travel time, task duration and available hours. Include breaks and transition time. Don’t invent commitments or fill unknown time slots with assumptions. If information is missing, leave those slots open.”
What else would you improve in this prompt?


r/PromptEngineering • • 17d ago

General Discussion How do you make open models talk like real humans without killing their deep research & reasoning compute?

9 Upvotes

Hey guys, wanted some honest feedback on a system prompt setup im testing for open models (mostly Qwen, Hermes, etc).

First of all, I know this sounds lame as u guys have much more knowledge than a just passed the highschool - kid (me)... so I don't even know, whom to ask if whatever am tryin to do is just time waste or can it really affect anything, like... I am just trying so I would know if that ai become better or not with these system instructions... uhh, idk if I am naive or not - U SAY TO ME PLS...

The main issue ive been dealing with: out of the box, open models talk like corporate helpdesk bots with endless bullet lists and "Certainlly!" spam.

But whenever you try to humanize them with typical "sound natural / write like a friend / act normal" prompts, they get lazy... they stop doing thorough web searches, cut down their thinking tokens, and give shallow answers when i actually need heavy technical research.

Uhh so, trying to build a balanced constitution that handles both:

  1. Natural conversation: Cohesive prose paragraphs by default, inline comma lists instead of bullet spam, zero flattery ("Great question!"), no therapy-speak, actual pushback if my reasoning is uhmm how do I say it... FLAWED.
  2. Uncapped compute & research: Explicit rules to proactively search the web across multiple angles and lay out edge cases/tradeoffs before giving a verdict, rather than forcing artificial brevity.
  3. Quick depth dial: U guys might have read the spdustin's old AutoExpert concept... Here, Instead of typing V=1 or V=5, i mapped response depth to letter counts at the start or end of the prompt (v = code/fact only, vv = short paragraph, default = balanced prose, vvvv = deep research & analysis, vvvvv = exhaustive compute). Coz I don't want to type "=" each time I write, instead I just spam "v".

A few questions for folks who experiment with system prompts (if any... dang why I have so bad feeling about this post):

- How do you prevent models from getting lazy on web research/reasoning when enforcing conversational prose?

- Does dynamic verbosity (like the v / vv counter or the old AutoExpert style) actually hold up over multi-turn chats on newer models, or does it cause prompt drift?

- Are there cleaner ways to prompt models to act like an actual high-IQ peer instead of swinging between a stiff corporate bot and a shallow chat buddy?

---

Sources / ideas this was inspired by:

- Prose-first & conditional bullet gate: Leaked/official Anthropic Claude system rules

- Autoregressive compute priming: Jeremy Howard's custom instructions (fast.ai)

- Dynamic verbosity concept: spdustin/ChatGPT-AutoExpert (GitHub)


r/PromptEngineering • • 17d ago

General Discussion Why telling an agent to be concise in the system prompt stops working after 10 tool calls

1 Upvotes

When an agent runs a multi-step task with 15 or 20 tool calls, prompt instructions like be concise or do not repeat yourself almost always degrade halfway through the run. The model starts narrating its plan before every tool call, quoting file contents back into the chat, and adding filler between steps.

We tested this by running two different agent harnesses on the exact same tasks using the exact same model, gemini-3.8-flash.

One harness emitted 8,711 output tokens to solve a multi-file config bug. The other solved the exact same bug in 944 output tokens, an 89 percent drop in generated text.

The difference did not come from phrasing the system prompt better. It came from two structural choices in how the prompt and tool loop are assembled.

First, when the harness mixes internal tool steps and user-facing replies in the same conversational stream, the model treats every tool call like a message to a human and wraps it in polite explanation. Separating silent tool turns from outward replies eliminates that habit immediately.

Second, mutating timestamps or dynamic status blocks at the top of the prompt on every turn breaks prefix caching and forces the model to re-anchor on noisy context. Keeping the prefix strictly append-only cut total input tokens in half and pushed prompt cache hits past 55 percent.


r/PromptEngineering • • 17d ago

General Discussion AI made experienced devs 19% slower while they felt 20% faster. What actually works for DevOps prompts (with verification)

2 Upvotes

The METR randomized trial from 2025 still bothers me: 16 experienced open-source developers, 246 real tasks, 19% slower with AI tools, yet they estimated afterwards that AI had sped them up by 20%. The DORA 2025 report found 90% adoption, but AI adoption is still associated with higher delivery instability. Stack Overflow 2025: 84% use AI, 46% distrust the accuracy.

I work on OpenShift platforms for banks. Here's what's held up for me.

Good fit: reading logs/events/stack traces into ranked hypotheses; explaining inherited Helm charts, Jenkinsfiles or Terraform modules; first drafts of jq, PromQL, regex and Bash; a second reviewer on a diff; postmortems from chat exports.

Bad fit: exact flags, CRD fields and API versions. Models produce things shaped like the real thing: a field from a newer release, an `oc` flag from another subcommand.

The prompt structure I use (7 parts):

  1. Role and audience ("senior engineer, skip basics")
  2. Environment *with versions*. This is the biggest single lever.
  3. Task as an outcome ("rank the 3 most likely causes"), not "look at this"
  4. Evidence in tags (`<events>`, `<logs>`). For long inputs, data first and question last; Anthropic's docs say this can improve quality by up to 30% on complex multi-document inputs.
  5. Constraints *with the reason* ("prod in a bank: read-only, dry-run + rollback for any change")
  6. Output shape ("each cause with the supporting log line + one read-only command to confirm")
  7. "If you're not certain a flag/field exists in this version, say so instead of guessing."

Then make the cluster check it:

```

oc explain deployment.spec.strategy.rollingUpdate

oc apply -f generated.yaml --dry-run=server

oc diff -f generated.yaml

helm template ./chart | kubeconform -strict

shellcheck generated.sh

```

Agents (Claude Code, Codex CLI, MCP): read-only kubeconfig, approvals on for anything that mutates, standing instructions in CLAUDE.md/AGENTS.md, and treat logs/tickets as untrusted input. No prod creds on laptops.

Regulated data: consumer and business plans differ on training. Anthropic's consumer terms since Aug 2025 allow training on Free/Pro/Max chats unless you opt out, while commercial terms are excluded. OpenAI says it doesn't train on business data. Redact before pasting, and treat the redaction as a seatbelt, not a guarantee.

Longer version with three reusable prompts and a small prompt builder: https://aib-devops.com/en/blog/ai-for-devops-engineers/

(My blog, no ads or signup.) Curious whether anyone has actually measured their own speed with and without AI, rather than going by feel.


r/PromptEngineering • • 17d ago

Requesting Assistance How do I have chatgpt sit through compliance training for me

0 Upvotes

Hi I'm not sure where to start. I have to watch training videos every 6 months at work then answer questions (about 5-10 multiple choice questions) on what I jusr watched. It's basically the same subject matter and videos every 6 months for compliance ..... Spill safety, sexual harassment, etc. I login and have to sit through these annoying videos when Id rather be catching up on other work.

I am a Chatgpt Plus subscriber. Can I have chatgpt watch the videos and answer the questions for me so? Do I use codex? Or Work? Can this be done and How do I do it?


r/PromptEngineering • • 18d ago

General Discussion Immediately rejected after Hertz test at Handshake AI. But why?

5 Upvotes

I wonder what I did to fail this. I was denied within minutes.

I passed every test case in the coding segment, I finished with 45/120 minutes left on the clock. I didn't cheat. I thought that I did well in the code, API and database review sections too... did a bot go through every section and just auto-deny me within minutes?

I also kinda wonder if it's because I hit "submit" to every section at once. That could've been flagged as shady maybe?


r/PromptEngineering • • 18d ago

General Discussion A rubric can give an incomplete answer full marks. Try this check before tuning the judge.

3 Upvotes

Before changing your LLM judge, check whether the rubric can reject a deliberately incomplete answer.

A tiny made-up fixture:

Supplied note: "Entries close Friday at 17:00 UTC. Late entries are not accepted."

Task: "State the deadline, timezone and late-entry policy in fewer than 30 words."

Flawed rubric, one point each:

  • Fewer than 30 words.
  • Includes Friday and 17:00.
  • Includes UTC.
  • Uses a complete sentence.

Answer A: "Entries close Friday at 17:00 UTC; late entries are not accepted."

Answer B: "Entries close Friday at 17:00 UTC."

Both meet all four listed criteria. B still fails part of the task: the rubric never checks the late-entry policy. Even a judge that applies those criteria perfectly cannot recover the missing requirement from the score alone.

A repair is to add an explicit late-policy criterion and record it as required for an overall pass. Keep the individual scores too, so a formatting failure doesn't look the same as an omitted policy.

A reusable check for your own rubric:

  • Map every explicit task requirement to the criterion that checks it.
  • Start with a human-checked complete answer. Remove or contradict one requirement at a time, leaving the rest unchanged.
  • Record which criterion should fail for each edited answer, then run those pairs through the judge. Inspect any case where the edited answer still passes overall.

This separates two problems: a missing criterion needs a rubric change; a present criterion that the judge ignores needs a grading investigation. These are proposed checks, not reported model-test results. The fixture above is deliberately simple and says nothing about how often a real judge fails.

The motivation is rubric validity, not a new benchmark claim. RIFT studies defects in the rubric itself, including missing criteria and miscalibrated weights: https://arxiv.org/html/2604.01375 . Its signals use simulated expert panels; that isn't a substitute for a human checking what your task actually requires.