Skip to content
Back to skills

Acceptance Criteria

ASecurity

Turn a settled idea (problem + scope) into a checkable contract: a set of acceptance criteria that are each testable by a test AND checkable by a reviewer, plus a verification map. Use AFTER idea and BEFORE design. Triggers: 'acceptance criteria', 'define done', 'what does done mean', 'write the criteria', or any time you have a settled brief and need the contract the build will be held to. Scope: only within an Agent SDLC run (a spec chain exists), not on the bare word alone. Stays tech-agno...

  • 2 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 15, 2026
ai-agentsgoapisecuritydocumentation

Works with

  • terminal
  • api

Security analysis

A100/100

Scanned November 15, 2026

npx -y skills add smarzban/agent-sdlc --skill acceptance-criteria --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Acceptance Criteria?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Acceptance Criteria
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/smarzban-acceptance-criteria/badge)](https://www.skillsdirectory.com/skills/smarzban-acceptance-criteria)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: acceptance-criteria
description: "Turn a settled idea (problem + scope) into a checkable contract: a set of acceptance criteria that are each testable by a test AND checkable by a reviewer, plus a verification map. Use AFTER idea and BEFORE design. Triggers: 'acceptance criteria', 'define done', 'what does done mean', 'write the criteria', or any time you have a settled brief and need the contract the build will be held to. Scope: only within an Agent SDLC run (a spec chain exists), not on the bare word alone. Stays tech-agnostic: WHAT and WHY, never HOW."
---

# Acceptance criteria: turn settled intent into a checkable contract

Take a settled idea and produce the contract that everything downstream is held to:
criteria that are each provable by a test or checkable by a reviewer, plus a map from each
criterion to the thing that proves it. This phase makes "done" unambiguous. It does not design,
choose a stack, plan, or build.

<HARD-GATE>
Input is the settled brief (problem + scope), resolved per the input-resolution rule
([input-resolution](../getting-started/reference/input-resolution.md)) — the `## Brief` section of
`docs/specs/<feature>/<feature>.md`, or an explicitly supplied source (a prompt, doc, or Linear item)
materialized into `## Brief` with a provenance marker first; the precondition is a settled brief, not
the file's presence. Output is the `## Acceptance Criteria` section of the same file and nothing else. Stay tech-agnostic: criteria state
WHAT must be true and WHY, never HOW (no architecture, no stack, no API names, no code). Do NOT
write design, techstack, plan, tasks, or code. If drafting criteria exposes a fuzzy or unsettled
problem, STOP and loop back to idea rather than papering over it. The terminal action is an
approved acceptance-criteria artifact handed to the design stage.
</HARD-GATE>

## The criterion bar (the whole game)

A candidate is a real acceptance criterion only when it passes all five. Everything else in this
skill is structure around getting each one here.

1. **Atomic** one claim, so a test asserts one thing and a reviewer renders one verdict. If it
   has an "and", split it.
2. **Observable** has a concrete given/when/then (or equivalent), so there is something to drive
   and something to point at.
3. **Falsifiable with a named oracle** you can state what would make it fail, and name what
   decides. For a test, the oracle is an assertion; for a reviewer, it is the criterion text plus
   intended shape. If you cannot name what falsifies it, it is not a criterion yet.
4. **Quantified where it claims a degree** "fast", "robust", "scalable", "secure" get a threshold
   or they are not criteria. No vague adjectives survive.
5. **In scope** bound to this feature. Aspirational creep becomes a non-goal, not a criterion.

## Verification type (every criterion carries one)

Tag each criterion as one of two, defaulting to test-backed:

- **test-backed** name the *kind* of oracle only at this stage: unit / integration / property /
  e2e / manual. Do NOT name concrete tests; test identity is the plan stage's job once a design
  exists. These feed the pr-review-stage terminal AC verification (the `verification-report.md` proof
  map, validated by `sdlc-check --require verification-report`): a test-backed criterion's proof is
  a named test that must appear in the captured green-bar evidence.
- **reviewer-checked** name the review axis (e.g. Security, Spec Conformance, Architecture) and
  write out the explicit pass/fail question the reviewer answers. Allowed only with a one-line
  justification of why it cannot be cheaply automated. These feed the downstream Spec Conformance
  reviewer.

Reviewer-checked is a labeled exception, not an escape hatch. If you are reaching for it to dodge
a hard test, that is a red flag (see below).

**A reviewer-checked AC still needs a carrying task.** Verification type governs HOW an AC is proved,
never WHETHER it must be advanced by a task. Every AC — reviewer-checked ones included — must appear in
≥1 task's `*Advances:*` (or a Task-to-criterion coverage-map row) or forward coverage fails.
**For a reviewer-checked AC the carrying task is the one that produces the artifact the reviewer
checks** — the criterion is still "carried" by the task that builds the thing being inspected. There
is no auto-tracing: pick that task and name the AC in its `*Advances:*`.

## Checklist (do in order)

1. **Load the inputs** read the `## Brief` section of `docs/specs/<feature>/<feature>.md`, the root
   `CONTEXT.md` glossary, and `constitution.md`. Confirm intent and scope are actually settled. If they are fuzzy, loop back
   to idea; do not invent intent here.
2. **Derive candidates** turn each distinct observable outcome implied by intent + scope into one
   candidate criterion. Prefer the codebase over guessing: if existing behavior answers a
   question, go read it.
3. **Grill each candidate to the bar** one at a time, leading with your recommended phrasing and
   the alternatives you considered, then let the user decide (the system-wide
   recommend-and-alternatives rule). Sharpen or split until it passes all five tests.
4. **Run the trimmed clarify sweep** scan only the criteria-relevant dimensions: non-functional
   thresholds, edge and error cases, completion signals, integration contracts, and hard
   constraints, plus a light ambiguity check (no vague adjectives, no unresolved TBDs). Ask at
   most a handful of targeted questions, one at a time, each with a recommended answer, and write
   accepted answers straight into the criteria. Do NOT re-litigate scope or terminology
   (idea owns those). Do NOT resolve UX flow or domain-model internals (design owns those).
5. **Quantify** replace every degree-claiming adjective with a threshold, or cut it.
6. **Assign verification type** tag each criterion test-backed (with kind-of-oracle) or
   reviewer-checked (with axis + pass/fail question + justification).
7. **Pin relational terms** for every criterion a **mechanical rule** will consume, define each
   relational term it uses — carries / references / reaches / linked / history / reachable / matches
   / exactly-one — in the glossary (`CONTEXT.md`) or inline in the criterion, **before the section is
   settled**. Name the exact relation ("referenced = appears in the commit subject's `type(scope):`
   scope position", "reachable = an ancestor of HEAD"), not a loose verb — a rule and the author must
   read it the same way.
8. **Make non-goals checkable** restate the idea's non-goals as explicit negative criteria
   (out-of-bounds / won't-do) so over-engineering is itself a detectable violation.
9. **Build the verification map** one row per criterion: criterion -> kind-of-oracle, or
   criterion -> review axis. Every criterion appears exactly once.
10. **Settle and write** present the criteria in sections scaled to count, get approval, write the
    artifact.
11. **Hand off** tell the user it is ready for the design stage. Do not start design yourself. If
    Linear sync is enabled in `.agent-sdlc/config.json`, also perform this stage's action via the
    `linear-sync` skill.

## Principles

- **The bar is non-negotiable.** A criterion that fails any of the five tests is not done being
  written.
- **Recommend, don't just ask** — per the recommend-and-alternatives rule (getting-started's shared
  operating rules). The user decides.
- **Tech-agnostic.** WHAT and WHY only. The moment you reach for a class name or a library, you
  have drifted into design.
- **Code over questions.** If the repo answers it, read it instead of asking.
- **YAGNI.** A criterion the problem does not actually need is scope creep wearing a contract.
- **Loop, don't patch.** Criteria that will not settle usually mean the problem did not. Go back.
- **Criteria are a contract, not a wishlist.** Each one is something you would block a merge over.

## Rationalizations (excuses to skip the bar, and the rebuttal)

| Excuse | Rebuttal |
| --- | --- |
| "It's obviously testable, I'll skip naming the oracle." | If you cannot name what falsifies it, neither can the test author or the reviewer. Name it. |
| "'Fast enough' is clear from context." | It is not. A threshold or it is not a criterion. |
| "I'll make it reviewer-checked so I don't have to think about a test." | Reviewer-checked needs a justification for why it cannot be automated. Dodging effort is not one. |
| "This criterion covers several things, but they're related." | Related is not atomic. Split it; one verdict each. |
| "The design will clarify this criterion." | Backwards. Criteria are the contract design is held to. If a criterion needs the design to be meaningful, it is a design constraint, not an acceptance criterion. |
| "The verb is obvious." | Obvious to you, ambiguous to the rule — "references" meant scope-position, not any mention. Pin it or the checker and the author disagree. |
| "Let me also note the architecture here while it's fresh." | That is the next stage. Keep this tech-agnostic. |

## Red flags (stop and fix)

- A criterion with "and" in it, or that needs a paragraph to state.
- An adjective of degree with no number.
- More than a few criteria tagged reviewer-checked, or any tagged so without a justification.
- A criterion you could not point to a diff line for, or write a failing test against, even in
  principle.
- You are describing how it works, not what must be true.
- A criterion states a relation a mechanical rule will decide (carries / references / reaches /
  history…) with the term left to interpretation — two readers or implementations can diverge. The
  enforcement spine shipped three such defects from one root: "carries", "referencing", and "which
  history" were each under-specified, and each let a checker and its author disagree. Pin the term.
- A reviewer-checked AC left with no carrying task — verification type is not an exemption from
  forward coverage; every AC needs a task that advances it (the one producing the artifact reviewed).
- The verification map has a criterion with no oracle and no axis, or a criterion listed twice.

## Done when

- Every criterion passes all five bar tests.
- Every criterion carries a verification type with its oracle-kind or review-axis named.
- Non-goals are stated as negative criteria.
- The verification map is complete: each criterion mapped exactly once.
- Nothing in the criteria contradicts `constitution.md`.
- The user has approved the artifact.

## The artifact (output)

The `## Acceptance Criteria` section of `docs/specs/<feature>/<feature>.md`, containing only:
- **Criteria** each with: ID (`AC-1`, `AC-2`, ...), the statement, verification type
  (test-backed + oracle-kind, or reviewer-checked + axis + pass/fail question + justification).
- **Negative criteria** the non-goals restated as out-of-bounds checks.
- **Verification map** criterion ID -> oracle-kind or review axis, one row each.
- **Deferred** any criterion explicitly postponed, with the reason.
- **Glossary terms touched** new or sharpened terms, mirrored into `CONTEXT.md`.

No design, no stack, no tasks. Those are later stages.

## Checker grammar (what `sdlc-check` parses — emit exactly this)

Downstream, the gate/pr-review checker parses this section literally:

- **Each criterion id is defined at a bold-lead** — `**AC-1**`, `**AC-2**` — the same handle the
  design map, plan, and proof map cite. The checker parses **only `AC`/`C`/`T` prefixes** as ids: an
  `NC-N` negative criterion is **prose** from its view, so it is never required to carry a proof-map
  row (nor traced). Keep negative criteria as `NC-N` precisely so they stay out of the mechanical
  coverage set; use `AC-N` for anything the checker must hold the build to.
- **Carrying-task rule (pinned) — verification type never exempts an AC from forward coverage.** The
  `coverage-forward` check holds **every defined `AC-N`, reviewer-checked and test-backed alike**, to
  being reached by ≥1 task (a task's `*Advances:*` field ∪ a Task-to-criterion coverage-map row). A
  coverage-map row links only the id each comma-separated cell entry LEADS with; a parenthetical
  annotates and does not link (the plan skill's grammar owns the full rule). A
  **reviewer-checked** AC is not auto-traced by being reviewer-checked; its **carrying task is the one
  that produces the artifact the reviewer checks** — name that AC in that task's `*Advances:*`. Pin
  this because it is counter-intuitive (a reviewer-checked criterion still needs a build task).
- **Verification-type parsing + the reviewer-checked hint (checker behavior, kept in lockstep).** The
  checker reads each AC's verification type from its own `*(Verification type: **X** …)*` declaration
  in this section (declaration-first; it falls back to a loose `reviewer-checked` / `test-backed`
  keyword scan of the AC's block **only** when no such declaration is present). When forward coverage
  fails for a **reviewer-checked** AC, the `coverage-forward` finding **appends a carrying-task hint**
  ("— this criterion is reviewer-checked, which still needs a carrying task: name it in some task's
  `*Advances:*` …"); a test-backed / type-unknown unreached AC keeps the base message unchanged. The
  checker only **sharpens the message** — it does NOT auto-create the link: forward coverage
  still requires a real `*Advances:*` / coverage-map link.

## Conventions

- Lives as the `## Acceptance Criteria` section of `docs/specs/<feature>/<feature>.md`
  (root `specs/` in a repo that already uses it — the back-compat rule in getting-started), between `## Brief`
  and `## Design` — process record, apart from the repo's product documentation pages.
- Criterion IDs (`AC-N`) are stable handles the design, plan, tasks, and verify gate all
  reference. Do not renumber; deprecate instead.
- Reads the `## Brief` section of the same file; resolves terms against root `CONTEXT.md` (or the
  right context if a `CONTEXT-MAP.md` exists).
- Downstream consumers: the design stage (built against these criteria), the verify gate (checks
  every criterion maps to a task), the pr-review-stage terminal AC verification (test-backed -> a named
  test in the captured green-bar evidence, via the `verification-report.md` proof map + `sdlc-check
  --require verification-report`), and Review panel (reviewer-checked -> Spec Conformance).

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.