Prompts Are Specs, Not Spells: Writing Variables That Keep AI Honest

Somewhere along the way, prompting picked up the aesthetics of sorcery. There are “secret” prompts, “god-mode” prompts and prompts that promise to unlock hidden capabilities if you just address the model as a world-class expert with forty years of experience. Thread after thread offers incantations, each one guaranteed to be the last prompt you’ll ever need.

Practitioners who use AI daily for content work tend to arrive at a less exciting conclusion: the best prompts aren’t spells. They’re specs. They read less like magic and more like a well-written work order. And the most important part of a good spec isn’t the clever phrasing. It’s the variables.

This article makes the case for spec-style prompting and shows how to write variables that keep AI output anchored to the truth.

What’s wrong with prompts written like spells?

A spell-style prompt relies on phrasing to produce quality. “Write an amazing, SEO-optimized blog post about roof repair that ranks #1 and converts readers.” It’s all adjectives and aspiration. It gives the model a mood and no facts.

The model, being cooperative, fills the gap. It invents a plausible business, plausible prices, a plausible warranty and, frequently, a plausible statistic about how many homeowners delay roof repairs. Every one of those inventions has to be found and removed by a human later, assuming a human notices.

Spells fail because they put the burden of facts on the one participant that doesn’t have any.

What makes a prompt a spec?

A specification tells the builder what to build, with what materials, to what standard, and what not to do. A spec-style prompt does the same:

  • Role and task: what the output is and who it’s for.
  • Inputs: the facts the output must use, supplied as variables.
  • Constraints: what the output must not do, such as inventing statistics, reviews or credentials.
  • Format: structure, length and any required elements.
  • Verification hook: an instruction to flag anything that needs a source.

The phrasing can be plain. The power is in the inputs and constraints.

What can history teach us about specs that fail and specs that work?

Three examples, from three very different fields, make the point that precision in instructions beats eloquence.

The Mars Climate Orbiter. NASA lost the spacecraft in 1999. The investigation found that one team’s software produced output in English units while another expected metric units. The individual pieces worked. The interface between them wasn’t specified tightly enough.

Fannie Farmer’s cookbook. The Boston Cooking-School Cook Book, published in 1896, is widely credited with popularizing standardized, level measurements in American recipes. “A handful” became a measured cup. Recipes became repeatable by strangers.

Commander’s intent. In 19th-century Prussia, Helmuth von Moltke the Elder is associated with an approach to orders that emphasized stating the goal and the essential constraints while leaving execution to subordinates. Clear intent plus clear limits produced better results than micromanaged scripts.

A good prompt does all three: tight interfaces (variables), standardized measures (format) and clear intent (task and constraints).

Why are variables the most important part?

Because every variable is a fact the model doesn’t have to guess. Consider the difference between these two prompts:

Write a FAQ answer about how much gutter cleaning costs.

Write a FAQ answer about how much gutter cleaning costs for [BUSINESS NAME] in [SERVICE AREA]. Use only this price range: [PRICE RANGE]. Factors that affect price: [PRICE FACTORS]. Do not add statistics, reviews or comparisons with other companies. If any claim needs a source that isn’t provided, flag it with [SOURCE NEEDED].

The first will produce a generic answer with invented numbers. The second produces something you can publish after a light edit. The difference is five brackets.

How do you write good variables?

Six rules make variables do their job:

  1. Name them for the fact, not the format. [SERVICE AREA] is better than [LOCATION TEXT], because it tells the person filling it what to look up.
  2. Make them atomic. One fact per variable. [SERVICES] can be a list, but don’t combine services and prices in one slot.
  3. Include the facts most likely to be invented. Prices, dates, credentials, locations, team names and policies are what models invent most often. Give each one a slot.
  4. Mark optional variables explicitly. If a fact might not exist, say what to do when it’s missing: omit the section, don’t improvise.
  5. Keep a canonical fact sheet. Fill variables from one maintained document, not from memory. Inconsistent inputs produce inconsistent outputs.
  6. Never leave brackets unfilled. An empty variable is an open invitation to make something up.

What constraints matter most?

Three constraints do most of the work in content prompts:

  • No invented statistics. If a number isn’t in the inputs, it doesn’t go in the output.
  • No invented social proof. No testimonials, reviews, client names or awards that you didn’t supply.
  • Flag, don’t fabricate. When the model wants to make a claim that needs evidence, it should mark the spot rather than fill it.

Models generally follow these instructions well when they’re explicit. They follow them poorly when they’re implied.

How do you build the fact sheet that feeds your variables?

Variables are only as good as the facts poured into them, so the fact sheet deserves a little ceremony. Keep it short, keep it current and keep it in one place. For a small business or a single client, it usually fits on one page with nine sections:

  1. Canonical business name and any approved short forms
  2. Category, in the words a customer would use
  3. Services or products, each with a one-line description
  4. Audience segments
  5. Service area or shipping regions
  6. Prices or price ranges you’re willing to publish
  7. Credentials, licenses and memberships that can be verified
  8. Official profile URLs
  9. Words and claims to avoid

Date the sheet and note who approved it. When a fact changes, update the sheet first and the content second. That single habit prevents the most common source of inconsistency in AI-assisted content: two drafts written a month apart from two slightly different memories of the same business.

For agencies, one fact sheet per client becomes a quiet asset. New writers onboard faster, prompts stay consistent and clients see their own facts reflected accurately across everything you produce.

How do you know a spec-style prompt is working?

Run a verification pass. The best prompt libraries include a separate category of prompts whose only job is to review drafts: find claims that need sources, check consistency against the stated facts and surface anything that looks invented. That second pass catches what the first one missed, and it turns fact-checking from a vague intention into a step with its own tool.

What does a spec-style prompt library look like?

The SEO & Content Prompt Pack is built on exactly this principle. Its 120 prompts use fill-in [VARIABLES] for the facts that matter, and they cover the full content workflow across ten categories:

  • Keyword and topic research
  • Search intent and AI-answer analysis
  • Content briefs and outlines
  • Drafting and brand voice
  • On-page SEO
  • AEO, FAQ and answer-ready snippets
  • Content refresh and pruning
  • Schema and technical helpers
  • Repurposing for email, Pinterest and social
  • QA and fact-check

The QA and fact-check category is the verification hook described above, built as its own set of prompts. The pack also includes a short prompting primer and a fully worked walkthrough using a fictional business, showing filled variables, sample output and the fact-check edit, so you can see the spec approach end to end before using it on real work.

It ships as a PDF, a Notion-ready CSV and a Markdown version for Obsidian or any notes app, so the library lives wherever you already work.

Isn’t this just making prompts longer?

Slightly longer, much more reliable. A spec-style prompt might be three or four sentences longer than a spell. In exchange, you skip the cycle of generating, discovering invented details, correcting and regenerating. Over a week of content work, specs are faster.

They’re also more transferable. A spell works for the person who wrote it, on the day they wrote it, with the model they used. A spec works for anyone who fills in the variables, across different assistants, because it carries its own context.

Quick answers

Do role prompts like “you are an expert” help?

They can set tone, but they don’t supply facts. A model told it’s an expert roofer still doesn’t know your prices. Spend your words on inputs and constraints first.

Should prompts be tool-specific?

Rarely. Well-structured prompts with clear variables and constraints tend to work across the major assistants. Tool-specific tricks age quickly.

How do teams keep prompts consistent?

Store them in one shared library, such as a Notion database or a Markdown folder, and fill variables from one shared fact sheet. Consistency comes from the system, not from memory.

Write the work order

Prompting doesn’t need to be mysterious. The practitioners getting the most dependable results aren’t using secret phrases. They’re writing clear work orders with real facts in labeled slots and a verification step at the end.

If you want a ready-made library built that way, get the SEO & Content Prompt Pack: 120 spec-style prompts, ten categories, a worked walkthrough and a fact-check routine, for $12. Fill in the brackets, and let the model do the part it’s actually good at.

The Prompt Pack is on Content & SEO Workflows, with the other writing tools in this line.

Leave a Reply