/speckit-xref:acceptfrom Spec Kit X-Ref
Play a finished Spec Kit feature through as a person would - start the app and run each acceptance scenario (USn-ASm) with a driver that leaves a JUnit report (Playwright for the web, Maestro for iOS and Android), commit one test or flow per scenario under e2e/acceptance/, turn failures into fix tasks, and list in acceptance.md what only a person can check. Use when the speckit-xref autopilot hands over an accept step, or to accept a feature before calling it done.
Ships in Spec Kit X-Ref. 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.
Unit tests prove the parts; nobody has used the app yet. Here you use it: start it, and play each acceptance scenario of the spec the way a person would, with a driver that leaves evidence. The person sees the result scenario by scenario, and every scenario you play stays as a test in the repository, so it can be played again.
The acceptance scenarios of specs/<feature>/spec.md (US1-AS1 …), in order; the quickstart rows that name them show the steps. A project from a PRD cites the PRD's acceptance criteria in its scenarios (PRD AC04): keep those ids in the test's name too.
.specify/memory/runbook.md first: what earlier steps learned about this environment. Add a line for each new thing you learn.npx expo start --web (or npx expo export -p web and a static server); other stacks: the dev server the quickstart names.host.exp.exponent on Android, host.exp.Exponent on iOS), opened on the app's exp:// link with openLink. Building a development build (npx expo run:android, npx expo run:ios) downloads native dependencies: never in this step. When neither is on the device, append a task for the development build under ## Phase N: Acceptance setup, and the mobile scenarios are the person's part until it is built.page.route; Maestro cannot. Play on mobile now what holds without the live data (onboarding, navigation, what the device stores, an empty or offline state). For the scenarios that need the data, append a task under ## Phase N: Acceptance setup for a fixture mode: an environment flag (e.g. EXPO_PUBLIC_ACCEPTANCE=1) that makes the app's service adapters return the same fixtures the web tests use, never active in a release build. It is built and verified like any task, and the next acceptance run plays those scenarios on mobile too. Never leave out the mobile platform as a whole while Maestro and a device are there.Known traps (Expo, iOS Simulator, Android emulator):
MAESTRO_DRIVER_STARTUP_TIMEOUT=240000.launchApp.permissions are inuse and never, not allow and deny.exp://localhost:8081, not 127.0.0.1; wait for the "Open in …?" dialog and confirm it.repeat: while: visible: loop.Playwright (web), e2e/acceptance/<id>.spec.ts:
import { test, expect } from '@playwright/test'
test('US1-AS1 Given a registered email, when the user requests a link, then …', async ({ page }) => {
await page.goto('http://localhost:8081')
await page.getByRole('button', { name: 'Inspirier mich' }).click()
await expect(page.getByText('Das passt heute')).toBeVisible()
await page.screenshot({ path: 'e2e/acceptance/shots/US1-AS1.png' })
})
Run: PLAYWRIGHT_JUNIT_OUTPUT_NAME=reports/acceptance-web.xml npx playwright test e2e/acceptance --reporter=junit, with use: { channel: 'chrome' } in playwright.config.ts: the installed Google Chrome. Never download a browser in this step. Without Chrome on the machine, the web scenarios go under Your part. Without @playwright/test in the project, play nothing on the web: append a task under ## Phase N: Acceptance setup (the devDependency, the config with channel: 'chrome', an npm script test:acceptance), so it is built, verified and then played in the next acceptance run; changing package.json here would change what was just verified.
Maestro (iOS, Android), e2e/acceptance/<id>.yaml:
appId: com.example.app
name: "US1-AS1 Given …, when …, then …"
properties:
scenario: US1-AS1
---
- launchApp
- tapOn: "Inspirier mich"
- assertVisible: "Das passt heute"
- takeScreenshot: e2e/acceptance/shots/US1-AS1
Run: maestro test --format junit --output reports/acceptance-mobile.xml e2e/acceptance.
Select by role, label or testID, never by screen coordinates: a tap on a point breaks on the next screen size and proves nothing. An element with nothing to select it by gets a task under ## Phase N: Acceptance setup (a testID or an accessibility label), and its scenario waits for it. Assert what the scenario's Then says, not just that a screen opened. A browser permission (location, notifications) is set on the Playwright context (permissions, geolocation), not answered in a dialog that never comes. Run the scenarios twice before you report: one that fails once and passes once is flaky, so make its waits explicit; flaky evidence is no evidence.
A scenario that fails because of the app is a finding, not something to fix here: append a task to specs/<feature>/tasks.md under ## Phase N: Acceptance fixes (the next free T### id, the files it will touch in backticks, the scenario id), and the autopilot builds it before the next acceptance run. A scenario that fails because of the test itself (a wrong selector, a timing) is yours to fix now.
specs/<feature>/acceptance.md# Acceptance: <feature>
| Scenario | Driver | Flow | Result | Evidence |
|---|---|---|---|---|
| US1-AS1 | playwright | e2e/acceptance/US1-AS1.spec.ts | pass | e2e/acceptance/shots/US1-AS1.png |
| US2-AS3 | maestro | e2e/acceptance/US2-AS3.yaml | fail → T070 | e2e/acceptance/shots/US2-AS3.png |
## Your part
- US3-AS2 on a real iPhone: open the app with location off, tap "Ort wählen", expect the place search (no simulator shows the real permission sheet).
- SC-001 with five real testers: time from first open to the first suggestion; target under 60 s.
The Result column is your word; the mod counts only the driver's JUnit report. Your part lists what no driver here can check: a real device, real users, a paid or external service, a store review; each with the steps to do it.
End the turn with one sentence: how many scenarios passed, how many became fix tasks, and how many are the person's part.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
9 skills in this plugin
/designSettle the look of a Spec Kit feature that has a user interface, after its plan and before its tasks - DESIGN.md at the project root (Google Stitch's format - YAML tokens plus the reasons in prose) and one static HTML mock per screen in specs/<feature>/design/, with screens.md saying which screen serves which user story. Use when the speckit-xref autopilot hands over a design step, or before /speckit-tasks for a feature people look at./polishLift the look and feel of a working Spec Kit app to the level of the best apps on its platform (current iOS design language, Material 3, the web) without changing what it does - a design direction with sample screens for the person to approve, a design pass over the other screens, and reviews of fresh screenshots. Use when the speckit-xref autopilot hands over a polish step, or when the person asks to make a finished app beautiful./prdReview a product requirements document (PRD) the person wrote before building, and cut it into Spec Kit features - .specify/memory/prd-review.md (contradictions, untestable criteria, gaps, the open decisions that block the first feature) and .specify/memory/roadmap.md (features in build order with phase, scope as the PRD's own ids, PRD sections, the gate before each, the spec text). Use when the speckit-xref autopilot hands over a prd step, or when someone starts a project from a long PRD./shapeSettle with the person what the first version of a new product is - the MVP cut, platforms, language and internationalisation, design direction, data and accounts - before the Spec Kit spec is written, and record it in .specify/memory/product-brief.md. Use when the speckit-xref autopilot hands over a shape step, or before specifying the first feature of a new project./shipCheck that a finished Spec Kit app is ready to release and plan the release - version and store fields, OS permission texts, privacy, accessibility, secrets, the production build - and write .specify/memory/release.md with the checks, the exact release commands per platform (web hosting, Expo EAS for iOS and Android) and what only the person can do. Nothing goes out in the check; the release commands run only after the person's yes. Use when the speckit-xref autopilot hands over a ship or release step, or before releasing a feature built with Spec Kit./speckitSet up and run GitHub Spec Kit in this repository with speckit-xref, step by step or on autopilot. Covers checking whether Spec Kit and its CLI are there, initialising Spec Kit for Claude Code, writing the constitution, starting or switching a feature, naming the next Spec Kit step, resolving drift between the user's intent, the spec and the code, choosing how strictly edits are held to the spec, and adding the speckit-xref Spec Kit extension and its CI drift check. Use when the user wants spec-driven development here, asks what comes next in a Spec Kit project, or asks how to handle Spec Kit.npx claudepluginhub moinsen-dev/speckit-xref --plugin speckit-xref