LikePrompts

AI Prompts for Setup Instructions: Every Step Starts With a State

LikePrompts Editorial November 23, 2026
AI Prompts for Setup Instructions: Every Step Starts With a State

Image generated with AI.

Your setup guide works for you and stops for everyone else at step 3. A five-field card gives each step a state before, a state after and a branch.

You paste your install notes into a model and get a clean guide: numbered steps, no warnings. AI prompts for setup instructions fail in the same place every time. A reader who has never seen your product stops at step three, because step three starts in a state that step two never reached.

Why AI Prompts for Setup Instructions Die at Step Three

The person who writes a setup guide tests it on the only machine where it cannot fail: their own, with everything already installed, the account already created and the old version already removed. Everything they see is the result of work they did months ago and no longer remember doing.

The model inherits that blindness, politely. Ask for installation instructions and it produces actions: install this, run that, open the panel. It never writes "I do not know what your screen shows right now," because that sentence is not in its training distribution. Guides are written in the voice of someone who has already arrived.

So the failure is not a writing failure: the text can be clear, the numbering correct, and the reader still stops. What is missing is a state, not a sentence. Fill the two state columns and the same prompt produces a guide that survives a stranger on a fresh machine.

A Step Is a Transition, Not an Action

The documentation framework Diataxis separates four kinds of technical writing: tutorials, how-to guides, reference and explanation. A setup guide is a tutorial. Its reader does not know the product, the vocabulary, or how to tell whether they are on track. That classification explains why so many install guides feel long and fragile: they mix a tutorial with a table of parameters and a paragraph on why the stack was chosen.

A step, in a tutorial, is a transition between two states. That definition changes what you ask the model for.

State Before

Where the reader is coming from. Signed in as the account owner, the domain already pointing at the host, the version they just installed. If the state before is not written, the reader cannot tell whether they are at the step or two steps behind it, and the honest ones stop to ask.

One Action

One action per step. This is the rule the Microsoft Writing Style Guide states for step-by-step procedures, along with the imperative voice: the step tells the reader what to do, not what happens. The test is mechanical. If your step contains "and", it has two actions, which means two states, which means it should be two steps. Splitting it is how the next step gets a state to start from.

State After, Observable

Not "configure the domain" but "the DNS panel lists the record and the hosting dashboard says Verified". Something the reader can see, read or copy. Claude Technical Docs Writer gives you the shape: its QUICKSTART block asks for install, a three-step setup and a hello world example that works, and its TROUBLESHOOTING block is where the branches belong. What it cannot supply is the state itself, because it has never seen your screen.

Worked example, the CNAME record. State before: the DNS panel of the domain is open in the account that owns it. Action: add the CNAME record the hosting provider gave you. State after: the record appears in the list and the hosting dashboard reports it as verified. If you do not see it: the record was added in the registrar panel instead of the DNS panel, two screens that look alike.

The Three Things a Generated Step Never Says

The Version It Was Tested On

Stamp the product version, the operating system and the date of the last run at the top of the guide. Without that stamp every screenshot is a promise that expires quietly, and the reader cannot tell whether the mismatch is their mistake or your drift.

The Branch When the Screen Does Not Change

List the three most likely failure states and what to do in each: the missing permission, the older version still installed, the network that blocks the call. This is the section that prevents the support ticket rather than the one that answers it. The model can format the branches; only you know which three are likely.

What Not to Do Yet

Order is itself an instruction. "Do not connect billing before the domain is verified" belongs before the step it protects, not at the end as a warning. The model does not know that order exists because it does not know your dependencies.

The State Card: Five Fields

Before asking a model to write anything, fill one row per step with five columns. It takes twenty minutes and removes most of the back and forth.

StepState beforeAction (one)State after (what you can see)If you do not see it
Add the CNAMEDNS panel open as the domain ownerAdd the record given by the hostRecord listed and host reports VerifiedAdded in the registrar panel, not the DNS panel
Create the API keySigned in as owner, integrations tab openCreate a key named for the projectKey shown masked, last four characters visible, copiedWrong role: the key belongs to the workspace, not the user

The rule that keeps the card honest: if a row cannot be filled without opening the product, the row is not finished. Guesses in the state columns become confident sentences in the guide, and confident sentences are what a stuck reader does not need.

The "state after" column is written like a manual test, not like a task. PHP & WordPress Developer has a TESTING block that produces a short manual checklist plus a command line snippet to verify the result, which is the right shape: a check somebody can run and read. This post borrows that shape as a mold; it is not using the prompt to generate code.

Three Tests Before You Send It

The Clean Run

Give the draft to someone who was not in the room, on their own machine, with no permission to ask questions. Record the exact step where they stopped. That step is the one missing a state; fix that row of the card and regenerate only that section.

The Visible Check

Read only the "state after" column, out of order. If a row produces nothing you can see, read or copy, it is not a state, it is an intention. Intentions are the expensive kind of step, because the reader waits for a confirmation that was never specified.

The Version Stamp

Confirm the guide says which version it last ran against. After any release, run it once and stamp it again. Without the stamp the guide is a photograph with no date.

What the Prompt Can and Cannot Do

It can supply the structure: quickstart, minimum working example, common tasks, troubleshooting. It can hold the tone, keep steps short and mark what it inferred so you can check it. It cannot tell you what your screen shows, what permissions your reader has, or which version you ship tomorrow. You fill the state columns before you ask for prose, and the model turns your observations into sentences.

FAQ

Are screenshots not enough?

A screenshot is a state, which is why it needs a date and a version next to it. Crop it to the element that changed so the reader compares one thing.

How many steps should a setup guide have?

As many as the transitions require, with one action each. A step with two actions leaves the reader unable to tell which state they are standing in.

Can the model write the prerequisites?

Only from what you paste: the plan, the permissions, the error messages, the version. Left alone it invents a plausible admin model and the reader pays for it.

Start With the Card, Not the Draft

Use Claude Technical Docs Writer to build the skeleton and stay honest about what it inferred, and borrow the TESTING shape from PHP & WordPress Developer to write each state after as something a person can observe.

The model can write your steps; only you have seen your screen. Fill the five columns first and the draft will survive a stranger, a fresh machine and a Tuesday afternoon release.

LikePrompts Editorial

Practical guides for getting the most out of AI prompts — written by the LikePrompts team.