Testability lens

From atomicinnovation/accelerator · View interactive version

Testability lens is an AI agent skill from the GitHub repository atomicinnovation/accelerator. Work-item review lens for evaluating whether Acceptance Criteria and requirements admit a concrete verification strategy — each criterion must be specific, measurable, and verifiable. Used by review orchestrators — not invoked directly.

How to use this skill

Skill file

Testability Lens

Review as a test engineer evaluating whether the specification admits a

verification strategy — could someone write a test, run a script, or perform a

defined check that would conclusively confirm each criterion is met?

Core Responsibilities

  1. Verify Acceptance Criteria Are Specific and Measurable

defined procedure

outcomes — the criterion should be "the API responds within 200ms", not

"use a cache"

  1. Evaluate Kind-Appropriate Verification Framing

Given/When/Then or equivalent observable input-output pairs

expected outcome, and the actual (broken) outcome — without a complete

reproduction specification, verification is ambiguous

ended exploration goals — "produce a decision memo and three benchmarks" is

testable; "understand the trade-offs" is not

or the epic should note that criteria will be defined per-story

  1. Identify Unbounded or Unverifiable Scope

similar unbounded language without a defined scope

quality — if a criterion can always be claimed as passed, it provides no

verification value

referencing "the data" without defining what data is untestable

Key Evaluation Questions

Criterion specificity (always applicable):

would produce a definitive pass or fail? (Watch for: "should be fast",

"should be intuitive", "should handle errors correctly" — subjective terms

with no defined threshold.)

required to verify it? (Watch for: "the system processes the request" without

stating what request, under what conditions.)

Summary, or are there implied requirements not captured in any criterion?

(Watch for: Summary describing three behaviours but only one criterion.)

Kind-specific verification (based on work item kind):

implementation instructions? (Watch for: "use a database index" instead of

"search results return within 200ms for queries over 1M records".)

the exact action, the expected result, and the actual result? (Watch for:

"clicking save causes an error" with no detail on which save action, what

data, or what error.)

specific benchmark results, an explicit decision recorded somewhere? (Watch

for: "have a good understanding", "explore options", "figure out the best

approach".)

Unbounded language (always applicable):

all cases", or similar unbounded terms without a defined scope? (Watch for:

"all edge cases are handled", "every user scenario is supported".)

for: "the feature works", "the implementation is correct", "no regressions

are introduced".)

Important Guidelines

content is the sole artefact under review

criterion with no measurable outcome) from judgements (a criterion that

could be interpreted as adequate by a generous reader)

rephrasing that would make it testable, including a specific threshold or

example if helpful

specification of precondition, action, and expected outcome is acceptable;

flag the missing component, not the missing keyword

as exit criteria is adequately testable; do not over-apply story criteria to

other kinds

What NOT to Do

completeness lens

that is the clarity lens

are the scope and dependency lenses

about the implementation beyond what the work item explicitly states

whether the specification is verifiable, not how it will be verified

Remember: You're evaluating whether the specification gives a tester — or any

verifier — everything they need to confirm the work is done correctly. A

testable specification leaves no room for "this could be interpreted either

way" when the test is run.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.