Blog / AI & search /

Testing AI prompts as part of a repeatable SEO process

A prompt that worked once can quietly fail later. The source data changes. The model changes. The search task changes. Nobody notices until the output looks odd.

So treat prompts as reusable parts of your SEO process, and test them like any other workflow. Define the input, the expected output, the error conditions and the human review.

The aim isn’t to prove a prompt is clever. It’s to know when its output is useful, when it needs correcting and when the task should be done another way.

Write a small test set

I pick representative inputs: ordinary cases, edge cases, and examples with missing or conflicting facts. Remove confidential details unless your approved system and policy allow them.

Define a rubric before you look at any output: factual accuracy, coverage, tone, format and whether it invents anything. Include examples where the right answer is “the evidence is insufficient”. A prompt that always produces a polished answer may be less reliable than one that flags uncertainty. I trust the second kind more.

Keep variables visible

Record the prompt version, the model or tool, the date, the input type and the reviewer’s verdict. If the tool changes, rerun the same set and compare. One favourable sample isn’t validation.

Check whether the instruction creates hidden bias. It might push every page towards the same keyword pattern, or reward length over usefulness. For SEO tasks, check the output against the live page, search intent and reliable sources, not in isolation.

Decide what passes

Set clear thresholds for use, revision or rejection. A low-risk outline needs a different review level from a claim about product safety or a page migration instruction. Keep accountability with the person who approves publication.

Track recurring failure types, and improve the source data before you endlessly edit the prompt. Save a known-good baseline, so you can roll back a change.

Test different formats separately

Use separate test cases when the prompt should produce different formats, such as a short summary and a structured table. If the output feeds another tool, check formatting validity as well as meaning. A table with one broken column can quietly corrupt a whole batch.

Keep a record of rejected outputs. They often reveal a missing instruction, or a task that shouldn’t be automated at all.

Avoid over-tuning

Don’t tune a prompt so tightly to a tiny benchmark that it performs badly on everyday input. A prompt that nails your five test cases and fails on the sixth hasn’t been tested. It’s been memorised.

Ask a second reviewer to inspect a sample wherever the output may influence publication. A repeatable process should make it easy to stop the automation when inputs become unfamiliar.

Review the reviewers

Human review is part of the test, so check it too. If two reviewers score the same output differently, your rubric is unclear. Sit down, agree what each score means and try again on the same examples.

Watch for reviewer fatigue as well. After twenty polished outputs, it’s easy to wave through the twenty-first. Rotate who reviews, keep batches short and spot-check approved outputs against the source. A test is only as honest as the person reading the results.

Finally, write down what the prompt is not allowed to do. For example: never invent a statistic, never claim a ranking result and never add a product feature that is not in the source. Test those rules deliberately, with inputs that tempt the model to break them.

Keep stable test cases

Store a small set of test cases you can repeat after any model or workflow change. Include one where the source material conflicts, one with absent information, and one that asks for unsupported certainty.

Inspect outputs for factual errors and also for patterns that produce repetitive, generic copy. If every page starts the same way, the prompt is doing the thinking for you.

A prompt should be maintained like a process, not treated as a one-time discovery. Put a review date on it, and name who owns it. When the model updates, rerun the set before you trust the old results.

So what would count as a real failure for the prompt you rely on most, and have you written it down?