Competency Questions for LLM/SEO: Turn prompt chaos into a test suite you can track and improve
Mika Sandgrove | | 5 min read
Introduction: Why competency questions beat prompt thrash
Competency questions are testable requirements for an LLM+SEO workflow—written so you can verify whether an output meets the standard, independent of the prompt.
If your team keeps rewriting prompts and swapping models without knowing whether anything improved, you’re iterating without measurement. Competency questions turn “what good looks like” into a small, versioned test suite you can rerun after any change (prompt, model, inputs, templates) to track improvements and prevent regressions.
The playbook stays minimal:
1) Inventory competency questions from workflow outcomes.
2) Operationalize them into repeatable test cases (criteria, versioning, failure taxonomy).
3) Score + report results in a way stakeholders will trust.
AI visibility matters as an outcome—whether outputs are eligible to perform well in search and assistants—not as a promise of rankings.
1) Define competency questions for LLM/SEO (what they are and aren’t)
A competency question is a requirement you can test against an output. It’s not “how to ask the model,” and it’s not a loose brainstorming prompt.
Keep the boundaries clear:
- Prompt: the instruction you send (changes often).
- Requirement: what must be true in the output (should be stable).
- Test case: requirement + inputs + acceptance criteria + recorded result.
This separation matters in SEO workflows because the risk is usually an output defect:
- Intent mismatch: you needed comparison content and got a generic overview.
- Entity omissions: required products/features/locations never show up.
- Compliance/brand errors: prohibited claims, unsafe advice, trademark misuse, tone drift.
- Format failures: missing FAQ fields, broken title rules, wrong heading structure.
Competency questions make evaluation repeatable. Run the same checks after a model update and compare like-for-like results over time.
2) Build a competency-question inventory from workflow outcomes (not prompts)
Name one workflow you want to standardize, then define what “done” means. Examples: product description rewrites, category intro copy, SEO titles/meta, FAQ generation, internal linking suggestions.
Write competency questions as verifiable checks, not exploratory asks. Good phrasing usually includes:
- a clear subject (“the output”)
- a condition (“includes / avoids / uses / matches”)
- a measurable target (“at least N entities,” “title ≤ 60 chars,” “no medical claims”)
Add the SEO constraints that drive production risk:
- Intent match (informational vs commercial; SERP/task fit)
- Entity coverage (required entities, attributes, modifiers, locations)
- Policy/compliance (regulated categories, claims, disclaimers, prohibited topics)
- Formatting/structure (H1/H2 rules, bullet limits, schema-ready fields)
Prioritize hard. In my experience, the first suite works best as 10–20 questions for your highest-volume or highest-revenue page type and the failures you already see in QA.
Micro example (vague → testable):
- Vague requirement: “Make it SEO-friendly and don’t miss important details.”
- Competency question: “Does the output include all required entities from the brief (brand, model, primary feature, target use case) and avoid introducing new product specs not present in the source?”
3) Turn the inventory into a trackable test suite (metadata, criteria, versioning, failure modes)
You don’t need a platform to start; a spreadsheet works if it’s consistent. You do need enough structure that two people can run the same suite and get comparable results.
Minimum metadata (so the run is repeatable)
Record:
- Test ID (unique, stable): e.g.,
FAQ-INTENT-001. - Owner and run cadence (weekly during iteration; monthly once stable).
- Workflow and sample set (which pages/briefs are used).
- Result location (sheet/tab, table, folder).
Acceptance criteria (hard rules vs judgment calls)
Define expected characteristics:
- Use pass/fail for hard constraints: policy bans, field presence, character limits, required sections.
- Use a small rubric (e.g., 0–2) for judgment calls: intent match quality, clarity, usefulness.
Keep rubrics tight. If reviewers need a meeting to interpret scores, the suite won’t survive production pressure.
Versioning requirements (so you can reproduce deltas)
For every run, capture:
- Prompt version (or template commit/hash).
- Model + version (and key parameters like temperature).
- Inputs (source URLs, briefs, product feeds, SERP notes).
Without versioning, “improvement” is just vibes. With it, you can tie pass-rate changes to a specific edit.
Failure-mode taxonomy (so fixes are systematic)
When a test fails, classify it so fixes aren’t random:
- Intent mismatch.
- Missing entities.
- Policy/compliance.
- Hallucinated claims/citations.
- Formatting/schema.
- Tone/brand.
When I ran this kind of QA loop, the fastest gains came from fixing the top two failure categories first, not rewriting the entire prompt.
Baseline before you change anything
Run the suite once on your current setup and save it as the baseline. Every later run is a delta against that baseline.
4) Lightweight scoring and reporting stakeholders will trust
Keep scoring aligned to SEO and brand risk. Pick 3–5 dimensions and keep them stable:
- Intent match (rubric).
- Entity coverage (pass/fail or % coverage).
- Factuality / grounding behavior (e.g., “no unsupported claims,” “quotes only from provided sources”).
- Policy compliance (pass/fail).
- Formatting/readability (pass/fail for structural rules).
Reporting essentials (no dashboards required):
- Pass rate by run (and by dimension).
- Score trend over time.
- Regression alerts broken out by prompt/model/version.
Use reporting to justify the next change. “Top recurring failures” should map to the next prompt edit, retrieval tweak, or guardrail, followed by a rerun to confirm the fix.
Define “good enough” with release gates: zero policy failures, ≥ 90% pass rate on hard rules, and intent rubric average ≥ 1.5/2 before outputs ship.
Conclusion: Start small, prove value, then expand
Competency questions turn prompt iteration into something you can manage: inventory requirements → operationalize a repeatable suite → score/report results.
Keep your first move small:
- Pick one workflow (the one causing the most QA churn).
- Write 10–20 competency questions tied to outcomes: intent, entities, policy, formatting.
- Run a baseline before changes.
- Iterate with a change log that records prompt/model/input versions and the resulting pass rate.
Over time you’ll see measurable improvement and fewer regressions as prompts and models change, because you’re testing outputs against stable requirements. Share ownership across SEO, content ops, and engineering so the suite stays maintained as tooling and models evolve.
Further reading: Google Search documentation.
Article author
Mika Sandgrove
Mika Sandgrove is an SEO writer and independent SEO consultant with more than three years of experience creating and optimizing content for search. He runs his own SEO practice, helping businesses improve their organic visibility through SEO strategy, content optimization, and technical and on-page SEO services. Much of his work comes through freelance marketplaces and online client platforms, where he works with businesses across different industries and markets. Mika primarily writes about SEO, search visibility, and practical optimization strategies, and is increasingly exploring Answer Engine Optimization (AEO) and how businesses can adapt their content for AI-powered search experiences.

