Acceptance testing

From xhyqaq/superpowers-plus · View interactive version

Acceptance testing is an AI agent skill from the GitHub repository xhyqaq/superpowers-plus. Use 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

How to use this skill

Skill file

Acceptance Testing

Announce at start: "I'm using the acceptance-testing skill to verify the branch against acceptance criteria."

Dispatch superpowers:acceptance-tester subagent to verify the completed branch satisfies every acceptance criterion before integration. The tester receives the AC document path and the current git HEAD SHA.

Core principle: Implementation is not done until every acceptance criterion has recorded evidence of a pass. A failing criterion is a blocker, not a review comment.


The Iron Law

NO BRANCH FINISHING UNTIL ACCEPTANCE TESTING REPORTS ALL CRITERIA PASSED
(OR EXPLICITLY DEFERRED WITH USER APPROVAL).

When to Use

Mandatory:

If no AC document exists:

Stop. Invoke superpowers:writing-acceptance-criteria to produce the document from the spec, get user approval, then return here.


How to Run

1. Identify inputs:

AC_DOC="docs/superpowers/acceptance/YYYY-MM-DD-<feature>.md"
HEAD_SHA=$(git rev-parse HEAD)
REPO_ROOT=$(git rev-parse --show-toplevel)

2. Dispatch acceptance-tester subagent:

Use Task tool with superpowers:acceptance-tester type, fill template at acceptance-tester.md

Placeholders:

3. Act on the report:

| Report outcome | Action |

|----------------|--------|

| All criteria PASS | Proceed to superpowers:finishing-a-development-branch |

| One or more criteria FAIL | Return to superpowers:executing-plans: create fix tasks for each FAIL criterion |

| Criteria Blocked due to failed dependency | Will unblock automatically once their dependency criteria pass; treat as FAIL for fix prioritization |

| Criteria Blocked due to missing infrastructure | Stop and report to user; get explicit deferral approval before proceeding |


On Failure: Fix Loop

When the acceptance-tester reports failures:

The fix loop is: executing-plans → requesting-code-review → acceptance-testing. Repeat until all criteria pass.


Red Flags


Integration

Called after:

Calls:

If AC document is missing:

Required external skill:

See subagent template at: acceptance-testing/acceptance-tester.md

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.