/superpowers-plus:writing-acceptance-criteriafrom superpowers-plus
Converts approved spec requirements into a structured acceptance criteria document with deterministic pass/fail checks. Use before writing implementation plans.
Ships in superpowers-plus. 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.
None: SKILL.md is the whole skill.
Announce at start: "I'm using the writing-acceptance-criteria skill to convert the approved spec into a testable acceptance criteria document."
Core principle: Every requirement in the spec must become a criterion with a deterministic pass/fail check. If you cannot write such a check, the requirement is not yet specified well enough.
Save to: docs/superpowers/acceptance/YYYY-MM-DD-<feature>.md
Present the document, commit it, then wait for explicit user approval before invoking writing-plans. (Skip in autonomous mode — see below.)
docs/superpowers/specs/YYYY-MM-DD-<topic>-design.mdFor each requirement, write one or more rows in the acceptance criteria table.
Every criterion must include:
| Field | Meaning |
|---|---|
| ID | Sequential identifier: AC-001, AC-002, ... |
| Description | One sentence stating the observable behavior being verified |
| Test type | One of: UI interaction / API / Logic |
| Preconditions | System state, data, or setup required before the test runs |
| Expected result | The specific, measurable outcome that constitutes a pass |
Test type definitions:
UI interaction — requires a running browser; executed with superpowers:playwright-cliAPI — HTTP request/response or CLI invocation; executed with curl, httpie, or the project's test runnerLogic — pure function, data transformation, or unit behavior; executed by running the project's test suite directlySave to docs/superpowers/acceptance/YYYY-MM-DD-<feature>.md with this exact header:
# Acceptance Criteria: [Feature Name]
**Spec:** `docs/superpowers/specs/YYYY-MM-DD-<topic>-design.md`
**Date:** YYYY-MM-DD
**Status:** Draft
---
## Criteria
| ID | Description | Test Type | Preconditions | Expected Result |
|----|-------------|-----------|---------------|-----------------|
| AC-001 | ... | UI interaction | ... | ... |
| AC-002 | ... | API | ... | ... |
| AC-003 | ... | Logic | ... | ... |
Fix inline. No need to re-review after fixing.
git add docs/superpowers/acceptance/YYYY-MM-DD-<feature>.md
git commit -m "docs: add acceptance criteria for <feature>"
Announce:
"Acceptance criteria written and committed to
docs/superpowers/acceptance/<filename>.md. Please review and let me know if any criteria need adjustment before we proceed to writing the implementation plan."
Wait for explicit user approval. If changes are requested, update the document, re-run self-review, and re-commit. Update Status: from Draft to Approved once the user approves.
If the user previously granted autonomous mode:
Status: to Approved directlysuperpowers:writing-plans immediatelyThese are failures — never write them:
If a requirement cannot be made testable, stop. Return to the spec and clarify with the user before writing the criterion.
UI interaction when the behavior is purely server-sidewriting-plans before user approval (outside autonomous mode)acceptance-testingCalled after:
superpowers:brainstorming — invoke this skill after the spec is approved and committedReferenced by:
superpowers:writing-plans — plan tasks should note which AC IDs they satisfysuperpowers:executing-plans — subagents receive relevant AC IDs in their task-local contextsuperpowers:acceptance-testing — reads this document to drive the final verification passProceeds to:
superpowers:writing-plans — invoke after user approval (or immediately in autonomous mode)What SKILL.md sets; muted values are Claude Code's defaults
19 skills in this plugin
/acceptance-testingUse when requesting-code-review is complete and all Critical/Important issues are resolved, before finishing-a-development-branch - dispatches an acceptance-tester subagent to verify every acceptance criterion/bootstrapping-repository-memoryUse when a repository or subsystem lacks usable canonical memory and needs an initial memory baseline/brainstormingYou MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirements and design before implementation.npx claudepluginhub xhyqaq/superpowers-plus --plugin superpowers-plusOther plugins' skills for the same job