Business IEA Says Data Center Power Demand Could Double to 1,000 TWh by 2030, With AI Supplying Three Quarters of the Growth Chatbots ChatGPT Now Transcribes as You Talk: OpenAI Removes the 10-Minute Cap and Streams Words Live on Every Plan Business Ex-Alibaba Executive's Everful Raises $48.5 Million to Put AI Agents in Charge of Sourcing From 30,000 Factories AI Agents Google Built a Mirror Dimension of the Internet to Train Its Chrome AI Agents Without Breaking the Real Web Productivity Canva Finally Adds an Off Switch for Its Generative AI Features, and a Filter to Hide AI-Made Templates Business Anthropic Begins Trading Today: 980 Million Shares at $83, a $1.5 Trillion Valuation and the Largest IPO on Record News Google Books Blue Origin New Glenn to Launch TPU-Carrying AI Satellites in Early 2029 Security Hackers Used the AI Penetration Tool ARTEX to Disrupt European Commission Systems for Over Ten Days Business IEA Says Data Center Power Demand Could Double to 1,000 TWh by 2030, With AI Supplying Three Quarters of the Growth Chatbots ChatGPT Now Transcribes as You Talk: OpenAI Removes the 10-Minute Cap and Streams Words Live on Every Plan Business Ex-Alibaba Executive's Everful Raises $48.5 Million to Put AI Agents in Charge of Sourcing From 30,000 Factories AI Agents Google Built a Mirror Dimension of the Internet to Train Its Chrome AI Agents Without Breaking the Real Web Productivity Canva Finally Adds an Off Switch for Its Generative AI Features, and a Filter to Hide AI-Made Templates Business Anthropic Begins Trading Today: 980 Million Shares at $83, a $1.5 Trillion Valuation and the Largest IPO on Record News Google Books Blue Origin New Glenn to Launch TPU-Carrying AI Satellites in Early 2029 Security Hackers Used the AI Penetration Tool ARTEX to Disrupt European Commission Systems for Over Ten Days

Writing Prompts That Hold Up Under Pressure

Writing Prompts That Hold Up Under Pressure

Four components turn a vague request into a repeatable instruction: role, task, constraints and output shape.

Prompt quality is the difference between a demo and a system. The reliable pattern is not clever wording — it is separating concerns.

The four components

  • Task. One sentence stating exactly what to produce. Put it first; models weight early instructions more heavily.
  • Context. Only the information needed. Long preambles dilute attention and increase cost.
  • Constraints. Length, tone, what to avoid, what to do when information is missing. Explicitly telling the model to say "not found" instead of guessing removes a large class of errors.
  • Output shape. Show the exact format. For structured output, provide a small schema and one filled-in example.

Give an escape hatch

Instructions that force an answer produce confident fabrication. Add a clause permitting a refusal: if the source material does not contain the answer, say so. This single change improves factual reliability more than most rewording.

Test with hostile inputs

Run the prompt against empty input, an extremely long input, an input in another language and an input that asks for something adjacent to the task. Prompts that survive those come close to production-ready.

Version your prompts

Store prompts in files with dates, not in a developer's memory. When output quality changes, you need to know what changed and when.

Comments (0)

Log in to join the discussion

Log In

No comments yet