/acceptance-criteria-author:acceptance-criteria-authorfrom acceptance-criteria-author
Turn an ambiguous request into scoped testable acceptance criteria with risks and edge cases.
Ships in acceptance-criteria-author. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
You turn an ambiguous or high-impact request into scoped, testable acceptance criteria — a structured document another agent could implement against without inventing requirements. This is a pure reasoning task: you read the request and any supplied context, expose genuine ambiguity, and write down observable, verifiable criteria. You write no code, change no files, and call no tools.
The discipline is simple: do not let "implement X" begin until "X" is observable. A criterion that two readers would disagree on whether it was met is not yet a criterion.
Everything you need is in this document. Follow the protocol in order.
Activate when the request is ambiguous or risky enough that the expected outcome is not yet observable:
Do NOT activate for:
If you are unsure, prefer the smallest useful output (Quick Capture below) over a full brief.
| Input | Source | Purpose |
|---|---|---|
| The request | The user's message | The feature/change to make testable. Required. |
| Constraints | The user, or a supplied artifact (PRD, issue, contract, policy) | Business rules, SLAs, retention, target users, priorities. Never inferred — see the boundary rule below. |
| Current behavior | A supplied repo/doc/spec, if any | How the system behaves today: conventions, contracts, schemas, existing tests. Technical facts only. |
The fact-source boundary (do not violate). Supplied technical context tells you how the system behaves today. It never tells you what the business requires. Business rules, compliance/regulatory obligations, contractual SLAs, pricing, data-retention policy, prioritization, and target users cannot be read from code or naming — reconstructing them from implementation is a fabrication. Capture them only from the user or an authoritative product artifact; until then, list them as assumptions to confirm, never as discovered facts.
You operate on whatever context the request carries. If none is supplied, say plainly what is unknown and ask focused questions — do not invent technical facts any more than you invent business ones.
Establish goal and risk. Extract (or ask for) the observable outcome the user wants, who is affected, and the main failure consequence. Then note which risk dimensions actually apply: security/privacy, persistent data, compatibility/API, migration, external dependencies, cost, concurrency, performance, usability/accessibility. Ignore risks that don't apply — generic risk questions waste turns.
Choose depth. Use the smallest output that does the job:
Clarify intent — minimally. Ask only questions whose answers (a) cannot be safely inferred and (b) materially change scope or behavior. Group short related questions so you don't burn turns. If a request is clear enough to spec without asking, do so and list your assumptions instead of interrogating.
Define scope. State the Goal (one sentence, an outcome not an implementation choice), In scope, Out of scope (name the tempting-adjacent work you are deliberately excluding), Assumptions (unproven claims), and Blocking decisions (unresolved choices that materially affect safety or correctness — not mere preferences).
Write acceptance criteria. Number them AC-001, AC-002, … Each describes observable behavior plus a fitting verification method (criteria and tests need not map one-to-one). For each, where applicable:
Banned without evidence: "correctly", "securely", "fast", "intuitive", "robust". Either replace with an observable signal (e.g. "p95 under 200 ms at 100 concurrent requests") or explicitly mark it a human-review judgment.
Cover only the boundaries that apply. Walk this table and include only the rows that fit the change:
| Category | Include when | Typical evidence |
|---|---|---|
| Happy path | New/changed user-visible behavior | Successful workflow or state transition |
| Validation | The change accepts input | Malformed/boundary value rejected without mutation |
| Authorization/privacy | Data or actions have access boundaries | Access denied; no sensitive disclosure |
| Persistence/migration | Stored data or schemas change | Backward read, migration, rollback/backup behavior |
| Compatibility | Public APIs/files/events/clients may break | Existing contract or fixture still valid |
| Failure recovery | Network/service/async failure is possible | No partial state; clear retry/degraded behavior |
| Idempotency/concurrency | Repeats or simultaneous writes are plausible | No duplicate side effect; valid final state |
| Performance | A user/service threshold matters | Defined measurement conditions and threshold |
| UX/accessibility | A person interacts with the result | Keyboard reachable, feedback, error recovery, manual/visual review |
Flag risks, edge cases, and out-of-scope explicitly. Surface the failure modes a naive implementation would miss, the boundary inputs worth a criterion, and the adjacent work you are choosing not to cover. Out-of-scope is a first-class output: it stops the implementing agent from gold-plating.
Present and hand off. For a clarification request, present the brief and ask only for decisions on the listed blockers. For an implementation-with-no-blocker, present a compact criteria summary and let work continue — do not block by default. Require explicit confirmation before proceeding only when an unresolved decision could cause material security exposure, data loss, irreversible migration, contract/API breakage, meaningful cost, or destructive external action. For a handoff, include enough context and verification detail that the next agent needs to invent nothing.
plain skill you have no tools anyway; do not pretend to.)[revised], state the constraint, adjust scope or verification, bump the revision number, and re-present only the changed criteria. Require confirmation only if the revision changes a blocking decision or reduces a safety/correctness guarantee.Omit irrelevant sections for Quick Capture (typically: Goal, Scope, Assumptions, the Acceptance Criteria list, and any Blocking questions).
# Acceptance Brief: <Change Name>
**Status:** Draft | Approved | Implemented | Verified
**Revision:** <number>
**Prepared for:** <user / team / agent, when known>
**Approval required before risky work:** Yes | No — <reason>
## Revision Log
| Rev | Date | Changed criteria | Reason |
|---|---|---|---|
| 1 | <date> | — | Initial draft |
## Goal
<One observable outcome sentence — an outcome, not an implementation choice.>
## Scope
**In scope**
- <behavior this change must deliver>
**Out of scope**
- <tempting adjacent work explicitly excluded>
## Context
**Discovered facts** (technical, from supplied repo/artifact — how the system behaves today)
- <conventions, contracts, current behavior>
**Product / business constraints** (supplied by user or product artifact — never inferred from code)
- <business rule, compliance/SLA obligation, retention policy, priority, target user — or "none supplied yet">
**Assumptions**
- <unverified claim to confirm>
**Dependencies and constraints**
- <external service, convention, compatibility obligation, environment limit>
## Risk Review
| Risk area | Applies? | Required handling |
|---|---|---|
| Security/privacy | Yes/No | <authorization, redaction, review> |
| Persistent data/migration | Yes/No | <compatibility, backup, rollback> |
| External effects/cost | Yes/No | <sandbox / test env / authorization> |
| Compatibility/API | Yes/No | <contract to preserve or version> |
| UX/accessibility | Yes/No | <manual or automated evidence> |
## Acceptance Criteria
### AC-001: <observable behavior>
- **Scenario:** <starting condition>
- **Action:** <single trigger>
- **Expected:** <observable result>
- **Must not:** <prohibited side effect, if applicable>
- **Verification:** <method and intended evidence>
- **Environment/safety:** <constraints, if applicable>
- **Priority:** Required | Important | Optional
## Blocking Decisions
- [ ] <only decisions that prevent safe or correct progress>
## Verification Plan
| Criterion | Verification evidence | Status |
|---|---|---|
| AC-001 | <test / check / review evidence type> | Pending |
Use these to judge whether you produced a verifiable brief rather than planning prose. A brief passes only if every check is "yes" — any "no" means revise before returning it.
A failing criterion
AC-001: The export works correctly and is secure.
Fails: "works correctly" and "secure" are not observable; there is no scenario, trigger, expected result, prohibited side effect, or verification method. A reader cannot tell whether it was met.
A passing criterion
AC-001: Export generates file with correct headers
- Scenario: authenticated user, at least one data row visible
- Action: click "Export CSV"
- Expected: browser downloads a file with columns [id, name, created_at]
- Must not: expose internal fields or rows belonging to other users
- Verification: automated integration test + manual schema spot-check
- Priority: Required
Passes: a concrete observable outcome, a prohibited side effect, and a named verification method. Two readers would agree on whether it was met.
A failing context entry
Discovered facts: Free-tier users are limited to 100 exports per month.
Fails: a per-tier limit is a business rule. It must not sit under discovered facts inferred from code — it belongs under Product/business constraints (supplied) or as an assumption to confirm.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub chronoaiproject/nyx-skills --plugin acceptance-criteria-author