AI Devs Wrestling with Prompt Workflows
51 posts across 19 communities in the last 30 days; 18% from Hacker News.
“I am also a principal engineer.The fundamental issue is that traditional code review doesn’t scale.I now use a “Controls” linter which applies deterministic methods to constrain AI output, requires explicit declaration when key resources are used (file system access, network…”
“So basically my problem is that ChatGPT won’t do my prompt cause it violates his principles, values and standards bla bla. Which prompt will definitely help to get around from this deeply rooted AI programming?”
“There was nothing ambiguous about the task. It had a clear goal and a clear gate to assess success, a gate that takes less than 2 minutes to assess if run correctly (which it didn't until I forced it to encode it as a program).Your argument that holding the model's hand and…”
AI developers are finding that prompt engineering is far more complex than initially anticipated. It's not just about crafting the perfect prompt, but also about structuring the entire workflow, handling errors, and ensuring reliability, leading to significant time investment and frustration. The focus is shifting towards a more systematic, code-like approach to prompt management.
SOURCES (60)
“I'm seeing a lot of posts on X and Reddit about people using voice/conversation mode for their prompts.For context, I'm a software engineer, and work almost exclusively in Claude Code.Whenever I am constructing a question/prompt, I don't have the thought fully fleshed out in my…”
“I do not agree with this. You can use AI, I think, with exactly the precision level that you want to. If you want to use it just to write a single if-then block, then you can. If you want to use it to write a whole function, you can. If you want to use it to write a whole class or code file, you can. And indeed, if you want to use it to write a whole game, effectively, you can also, in many cases, the way that the tools work today. But the choice of which precision you want to use the tool at is”
“Work/Sites: false completion, scope drift, and ignored STOP / "discuss only" across multiple models on one small animation”
“Hey HN,I find myself in this situation almost daily:- I have some long-running task in my session going - I queue up a few more prompts as that task is running, in the same session. - I realize I want to to edit, re-order, delete or consolidate one of those several queued promptsI'm surprised to not find intuitive and seamless support for this workflow. I use github copilot CLI as my daily driver (MSFT employee), but I have tried claude code, opencode and other harnesses as well. I realize I cou”
“Before Submitting [x] I searched open and closed issues and discussions for an existing request. [x] I checked whether this already exists on the dev branch or latest source. [x] I understand that maintainers want a well written issue or discussion before any code pull request. [x] This request is not a security vulnerability. Problem When creating a custom model (or 'agent' in most other platforms) we can already add custom prompt suggestions for it. However, regular users that create these cus”
“Now that we use AI to create and check automations, a small UI addition would be useful. What about adding to the automation menu commands “Copy YAML” and "Paste YAML? They would save clicks every time we need to copy t…”
“Roqer on current main , Windows. Steps to reproduce 1. Have a long instruction to give the agent, for example a list of things to fix after a playtest. 2. Try to say it instead of typing it. What happens: the message box takes typed text only. A long instruction has to be typed out, or dictated in another application and pasted in. Expected: a microphone button in the message box that writes what I say, in French or English, without sending my voice to a service. I have a fix ready and can open”
“Feature Request: Preserve User-Defined AI Identity and Conversational Continuity Across Model Upgrades”
“Just a random thought that came up when I was discussing AI engineering challenges with some folks. Prompt engineering/tuning was definitely "a thing" during the ChatGPT-3.5 era.There were all sorts of fancy rule of thumb people were advocating, as well as formal approaches like GEPA that were then incorporated into frameworks like DSPy which were also briefly popular.Having said that, it's been a while since I've come across conversations on this topic, which means it's either dead or it's alre”
“What happened On a discussing ask in Todo (an ask(ci): …? question task), the orchestrator ran agent launch <key name ci measure model sonnet for a read only measurement. Launching the helper moved the task to In Progress with phase checking . When the helper finished, the task stayed In Progress with nothing building it. It opened an unowned wait ("the board restarts its builder in place"), even though the task never had a builder. There is no way back to Todo: item set phase discussing is refu”
“Oftentimes, you may think of additional info for the agent as it's working on the prompt you sent. "Steering prompts" allow the queuing of additional messages to the agent, to be consumed by the agent the next time the harness submits a completion request to the LLM backend. (at the end of the tool call produced by the current agent turn) After you've submitted your first steering prompt, you may think of yet additional info to add, expanding on your first steering prompt. You can submit another”
“No I don’t mean that they work but are functional rather than imperative. It’s no secret that automations get pretty complex or numerous and grow combinatorially. Triggered by conditions can help reduce the number but t…”
“Before Submitting [x] I searched open and closed issues and discussions for an existing report. [x] I reproduced this bug on the latest release AND on the current dev branch, right before submitting this report. I did not just check an old version or rely on a check from days ago. [x] I understand that maintainers want a well written issue before any code pull request. [x] This is not a security vulnerability. Installation Method Docker Open WebUI Version v0.13.4 (re verified on current dev , 20”
“Product feedback for Codex PMs — A production-quality AI development system blocked by session orchestration limitations”
“Problem/Motivation The AI items of a plugin must work with any AI CLI, with Claude Code as the default shape. The items of this plugin are already written as plain Markdown, but nothing holds them to it: no test stops a tool or a feature of one CLI from being named in the body of an agent, a skill, a command or a prompt, and the prompt astro build and test does not say that its text can be given to another AI CLI. Steps to reproduce 1. Read ai/prompts/astro build and test.md : the launch block s”
“Problem/Motivation The AI items of a plugin must work with any AI CLI, with Claude Code as the default shape. The items of this plugin are already written as plain Markdown, but nothing holds them to it: no test stops a tool or a feature of one CLI from being named in the body of an agent, a skill, a command or a prompt, and the prompt ghost build and test does not say that its text can be given to another AI CLI. Steps to reproduce 1. Read ai/prompts/ghost build and test.md : the launch block s”
“The key word in your question is "help". Ask yourself, if you were to give a somewhat technical person your prompt history and the chat output, could they come close to making a functional version of your project with very little additional coding ? If so, then the code is arguably Gen AI output and not copyrightable. Worse it's not even a trade secret anymore since you shared it fully with a 3rd party not known to value privacy or IP rights.The question is also somewhat pointless unless you hav”
“Every slightest blocker, obstacle, unclear instruction it stops and waits for an input. Even if that input is just 'continue'. I need to babysit it every 5-10 minutes and keep typing 'continue', 'proceed', 'move on to the next option', etc. I had numerous conversations, set up basic rules, clarify I want it to work with subagents and push back on failures, attempt different things which it is clearly technically capable of doing . I repeatedly mentioned that warni”
“If you put that prompt into Copilot you will get a better response. [re: I’m trying to build a simple Notion workspace to manage an entire small business. What would you include?]”
“Have you tried what happens if you run the same prompt using a normal chat interface without any harness at all? [re: I ran the same Halloween animation prompt through five coding agents on one local Qwen model]”
“Fuck that, just prompt with Opus 5.5 or Fable 5.2 and know what you are doing. Everything else is just opinionated bullshit. [re: Has anyone here done an "AI Coding" technical assessment?]”
hat’s a really good idea which fits how the prompts already work. They end with acceptance criteria, but the builder isn’t told to check them itself yet. Making it verify those points…
“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”
“Brand kit once, then just naming it per render is the right call, that's the part that usually gets re-pasted every prompt. Follow-up on the iteration side: when the AI tweaks an existing design, does it edit the same render or make a new one that counts against the 50? Getting an OG image right usually takes a few passes, so that changes the math a lot. [re: Looking for beta testers: Render Pixels, an MCP server that lets your AI make your marketing images]”
“I am also a principal engineer.The fundamental issue is that traditional code review doesn’t scale.I now use a “Controls” linter which applies deterministic methods to constrain AI output, requires explicit declaration when key resources are used (file system access, network egress, outside libraries, or whatever I feel is important), and ties directly to other external requirements for business level controls that may be audited. (And more, but this gets the idea across)Individual control viola”
“Sometimes a prompt gives exactly the answer you're looking for, and then a small change in wording completely throws everything off. I've been thinking about how much effort goes into getting consistent results. There's so much discussion around prompt engineering, AI development, and teams like geekyants, but the actual challenge seems to be making things work reliably beyond a few successful tests. I'm curious what people here focus on more. Do you spend time refining the promp”
“When support lands, a useful comparison would separate prompt processing from generation at the same filled context length. Keeping the model, GPU and batch size fixed, then checking the same long-context tasks, could make the speed and quality tradeoff easier to judge. [re: llama.cpp: Add FP8 KV-cache]”
Prompt Engineering Showcase: Your Best Practical LLM Prompting Hacks
“So basically my problem is that ChatGPT won’t do my prompt cause it violates his principles, values and standards bla bla. Which prompt will definitely help to get around from this deeply rooted AI programming? submitted by /u/Upper-Bicycle6810 [link] [comments]”
“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”
“There was nothing ambiguous about the task. It had a clear goal and a clear gate to assess success, a gate that takes less than 2 minutes to assess if run correctly (which it didn't until I forced it to encode it as a program).Your argument that holding the model's hand and telling it what to do and how to achieve the task would make it perform better is ridiculous. It's equivalent to not only giving it the answer to the problem, but also staying all day watching it while it re-derives the solut”
“its wild how often places overcomplicate a basic 10 second intake process just because they can [re: Annoying to talk to AI support]”
“This just highlights exactly what I've learned in daily-driving aigen code: prompting "make X" is not enough, and that's where people tend to stop.1. you need regular review cycles to catch the issues - ai is better at finding it's own bugs than people are at finding theirs, from experience2. you need to regularly test and feed back - ai doesn't (imo) make great user experiences - it's makes UX that's generally _usable_, but needs a human to tell the agent "this flow is klunky", or "this layout”
“Prompt injection is what happens when text your system meant to treat as data gets treated as instructions instead. It has had a name since September 2022, it sits at number one on OWASP's list of LLM risks, and nothing published since has produced a defense you can rely on. What you can control is how much damage a successful injection is allowed to do. Where the name came from On 12 September 2022 Simon Willison published "Prompt injection attacks against GPT-3", the post that ga”
“Solid workflow, and it clearly works. But reading it as someone who builds with Claude Code, almost every step is something you do by hand once per episode that could be a single command. How I’d approach it: Transcribe the episode with Whisper (word-level timestamps). Let the model pick candidates : ask it for the 5 to 10 best 25 to 50 second segments, each with a self-contained hook and a punchline at the end. You approve or reject, that’s your only manual step. Cut the ums and pauses automati”
“I've been exploring an interesting question while developing an open-source AI coding agent for VS Code. We often rely on system prompts to tell AI agents things like: Don't modify files without permission. Respect previously approved project decisions. Don't trust outdated information. Verify your work before reporting success. But how much of this should depend on prompting alone? In my project, RAME Code, I've been experimenting with a different approach: the model proposes ac”
“Seeing how teams use evals to test prompts, measure accuracy and improve AI outputs makes the concepts much easier to understand [re: What's everyone's favourite resource to learn about evals]”
“Prompt engineering is a skill. Its not a magic box you can shout your problems into and it solves them. Your game console issues could have been solved much easier if you had provided more information and more specifically descrived the problem, what works, what doesnt work, whats happening right when it fails. If you just say "my ps5 isnt working" its going to give you the most generic indian call center reading from a computer steps. If you tell it, "my ps5 is shutting down whil”
“Whichever AI you pick will write the code. Most non-coder builds still stall because nobody decided who the first user is or what one action on the first screen counts as done. Map that on paper for a day, then let the tool fill in the boring parts. [re: What's the best way to code if you're not a Coder ( I will not promote )]”
“normal ones you have to just turn of thinking and change the system prompt and write it not like, short and user-rewrite like, errrr, ummm.... *hates brain fog* that is, sound like you're an engineer but you can say anything, they are very much influenced by their own history too so accessing the threads json, jsonl, markdown, anything, you can totally play with their previous comments which will, well, that's more fun when it's not important to keep kv happy. lol [re: Qwen be like]”
“We are in the process engineering standard prompt/templates for our firm. Ask iManage's shortcomings are making this task nearly impossible. We can run the exact same prompt against the exact same set of documents several times. On 4 out of 5 attempts one or more subtasks (Tabular reviews, chronology tasks, Q&A etc) will timeout or fail and Ask iManage will simply refuse "can't help with that" or give a complete garbage unusable response. But then on 1 of the 5 attempts all”
“Prompting AI nodes in n8n for reliable output: lessons from a production content pipeline”
“I have a large list of improvements I could ask for, mainly from juggling various AI terminal agents and not wanting to go full tmux.* Ability to programmatically start and stop terminal tabs* Multiple rows of tabs* Full, reliable control of the formatting and color of a tab and its contents* Tabs fully independent of but still capable of using the terminal's advanced features (read - you can restart the host terminal without closing everything)All of these are done by at least one terminal prog”
“Feature Request: Automatically Read Project Instructions and Sources Before Responding”
“Submission checklist [x] This is a bug, not a usage question. [x] I added a clear and descriptive title that summarizes this issue. [x] I used the GitHub search to find a similar question and didn't find it. [x] I am sure that this is a bug in LangChain rather than my code. [x] The bug is not resolved by updating to the latest stable version of LangChain (or the specific integration package). [x] This is not related to the langchain community package. [x] I posted a self contained, minimal, repr”
“Simple changes - just prompt. Medium - A simple plan grill me with docs skills / to spec / build Large changes - I tend to just POC something with the AI let it build something and have a high level review how it approached and see what it done differently to whatever I had in my head. Ill then use this information to and any other research maybe use the wayfinder skill to then come up with the actual spec and to tickets. https://plannotator.ai/ Is probably the best tool i've used with AI. a”
“Not for this specific use-case, but I use analogous systems as a regular part of my workflows (in-house commercial). Context engineering is what takes AI from “mediocre content full of inaccuracies and hallucinations” to “a reliable tool that is genuinely helpful for daily use.” You just have to understand how LLMs process data and structure your reference materials accordingly. Look up the Karpathy method as a starting point. [re: How do I track city/county ordinances efficiently?]”
“Interesting idea. One question from someone building in a similar space: how do you keep the AI explanations from stating things the crawl didn't actually measure? In my own project, the biggest quality jump came from separating what was measured from what the model infers, and labeling the difference in the output. Do the proposals show which findings are measured versus AI-suggested? I haven't tried ScopePilot, so this is just a question, but that split would matter a lot to me if I we”
“Any thoughts on prompts that proactively prevent the over-engineering of requirements? Happy to still be the human in the loop, but curious if you’ve found a way to improve efficiency. The expectation is that we’re tokenmaxxing 🫠 [re: Anyone else having AI dissonance between Engineering and Product on PRDs generated by AI for Agentic SDLC]”
“A quick map of the main prompt styles. * **Zero-shot (just ask)**: simple tasks the model has seen countless times, like rewrites or translation. * **Few-shot (2 to 5 examples)**: when format or tone matters more than knowledge, such as classification or data extraction. * **Ask it to reason first**: maths and planning problems. Reasoning models already do this internally, so the instruction adds less than it used to. * **Chaining (split into steps)**: long jobs where one bad step ruins the rest”
“once solved the issue, make a note about the issue, the solution and the context [re: How do you capture & reuse AI-assisted solutions before you forget them 2 weeks later?]”
“It's way easier to give the AI context that I would have to give the designer anyway, plus have it consider my codebase and come up with better patterns than they could. And do it all within 10 minutes. Compared to 1 week. To be fair few designers support many products at my company and they are mostly internal products. I mostly just have a sense of what has to be done and I tell them the things that the user needs to be able to do and what I'm thinking in essence I have already been do”
“makes sense, preparing is the easy yes. would you ever let it hit send on its own for some types, like scheduling replies or simple confirmations? [re: What I learned building an AI assistant people would trust with their inbox]”
“Except calculators are deterministic. Programming languages are deterministic. The problem people are ignoring is that AI is non-deterministic. You can input the same prompt into the same model and get 2 different outputs. X doesn't map to Y, and that's a massive problem. When you add a new layer on top of already easy-to-understand programming languages that is non-deterministic and pretending it's "the new programming" you're basically ignoring computer science as a s”
“It gives you a few dozen tokens and very little theming What? What do you think we're doing here? [re: We are building The design system for AI and Humans]”
“I am using a seed (int 1) for prompt generation with a mistral model, and it works not reliable. Instead, I get some interesting results with a pattern: EDIT: It seems like this behavior is independent of the seed choice and the seeds are not working at all? When freshly start ollama serve and send the exact same prompt together with a seed to "/api/generate" (stream: false) I always get three times the same reply. The fourth and all following replies are then different! When I switch the model”
