/nonoise:atrfrom nonoise
Acceptance Test Runner — reads acceptance criteria from a sprint manifest and/or requirements files, generates a machine-readable testbook, executes it via Playwright against the running app, produces markdown reports with screenshots, and maintains a backlog of failures. Optionally pushes failures to an external tracker (Paseo integration planned as future work). Use this skill when the user mentions acceptance testing, testbook, running tests against the app, producing a stakeholder-friendly test plan, verifying the app against the sprint manifest, or pushing test failures to a tracker. Triggers — `/atr generate`, `/atr run`, `/atr doc`, `/atr push`, "run acceptance tests", "generate testbook for sprint N", "check the app against the manifest", "create a readable test plan for stakeholders". Language — reports and testbook descriptions follow the project's working language (inferred from the sprint manifest / requirements content, or from `nonoise.config.json` `language` if set; defaults to English).
Ships in nonoise. 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.
AI-driven acceptance testing. Reads acceptance criteria (from the sprint manifest and, optionally, from requirements files), generates structured test cases, executes them via Playwright (through the playwright-cli sibling skill), and produces markdown reports with screenshots plus a backlog of failures.
Everything stays under docs/sprints/Sprint-N/acceptance/ — one folder per sprint, alongside the sprint manifest and promoted PRDs.
/atr generateReads a sprint manifest (docs/sprints/Sprint-N/sprint-manifest.md) — and optionally related requirements from docs/requirements/ — and generates a testbook YAML covering the acceptance criteria of every task / user story in the sprint.
Usage:
/atr generate — uses the most recent sprint folder under docs/sprints//atr generate docs/sprints/Sprint-5/sprint-manifest.md — specific sprint/atr runExecutes a testbook and produces markdown reports with screenshots.
Usage:
/atr run — uses the latest testbook, runs against app_url declared in the testbook (or http://localhost:3000 as a neutral default)/atr run docs/sprints/Sprint-5/acceptance/testbook.yml — specific testbook/atr run --url https://staging.example.com — run against a remote environment/atr run docs/sprints/Sprint-5/acceptance/testbook.yml --url https://staging.example.com — both/atr docGenerates a stakeholder-friendly markdown document from a testbook YAML — for product owners, business analysts, project managers, customers — describing what will be tested in natural language without technical artifacts.
Usage:
/atr doc — uses the latest testbook, writes next to it/atr doc docs/sprints/Sprint-5/acceptance/testbook.yml — specific testbook/atr pushReads backlog.md and creates issues on an external tracker for each failure.
Supported integrations (current + planned):
references/paseo.md./atr push to produce a structured backlog that their own export skill or CI job can consume.Usage: /atr push (uses the latest backlog) or /atr push docs/sprints/Sprint-5/acceptance/backlog.md
/atr generate)docs/sprints/Sprint-N/sprint-manifest.md — user stories + macro tasks with acceptance criteria, areas_covereddocs/requirements/<domain>/<feature>.md if referenced from the manifest — for additional business context and edge cases not explicit in the manifestdocs/sprints/Sprint-N/<area>/NN-<study>.md — may contain specific acceptance-test hints in §N-2 "Testing strategy"If no input path is provided, scan docs/sprints/ for the most recent sprint folder.
areas_covered in the manifest frontmatter). One report file per area.## 4. Macro functional tasks — each task's "Acceptance test" becomes a test case)## 3. User stories — each US becomes a test suite grouping its related tasks)## 7. Risks and mitigations — may become edge-case tests)§N-2 Testing strategy > Acceptance section for more detailgoto, click on sidebar/tab linksfill, click, select for forms and filterssnapshot (read accessibility tree), screenshot (capture PNG), eval (DOM queries)wait for async content to appeardocs/sprints/Sprint-N/acceptance/testbook.ymlTest IDs derive from the area slug of the sprint manifest — take the uppercase initials of the area slug's words, joined with -, plus a 3-digit sequential suffix:
| Area slug | Prefix |
|---|---|
user-signup | US- |
pdf-export | PE- |
payment-reconciliation | PR- |
notifications-push | NP- |
settings | SET- (if single word, take first 2-3 letters) |
Number sequentially within each prefix: US-001, US-002, etc.
If the user wants to override the prefix (e.g. collision with another area), they can set it in the testbook frontmatter manually.
meta:
sprint: 5
sprint_manifest: "docs/sprints/Sprint-5/sprint-manifest.md"
generated: "YYYY-MM-DDTHH:MM:SSZ"
app_url: "http://localhost:3000"
auth:
# the skill DOES NOT hardcode auth mechanism.
# Fill this based on your project's auth flow — examples:
# type: "none"
# type: "basic" ; credentials_env: "ATR_BASIC_CREDS"
# type: "oidc" ; provider: "auth0" ; test_user_env: "ATR_USER"
# type: "custom" ; see references/auth-flows.md for how to wire your own
type: "none"
language: "en" # report language, inferred from project (en/it/es/...)
sections:
- id: <area-slug>
title: "Area title (from manifest)"
manifest_ref: "§4 task T1, T2"
report_file: "report-<area-slug>.md"
tests:
- id: US-001
title: "Test title (derived from task acceptance test)"
manifest_ref: "§4 T1"
preconditions:
- "User authenticated as test user"
- "Application open at /signup"
steps:
- action: goto
target: "/signup"
- action: wait
duration: 2
- action: screenshot
filename: "US-001-signup-form.png"
caption: "Signup form rendered"
- action: snapshot
verify:
- "Email input visible"
- "'Start signup' button visible"
- action: eval
script: "document.querySelectorAll('input').length"
expected: ">= 1"
- action: click
description: "Submit the signup form"
target_hint: "'Start signup' button"
- action: fill
description: "Enter email"
target_hint: "Email input in signup form"
value: "[email protected]"
- action: note
text: "Manual verification recommended for accessibility labels"
expected:
- "Signup session created"
- "OTP email delivered to configured test inbox"
skip: false
skip_reason: ""
| Action | Fields | Maps to |
|---|---|---|
goto | target (relative or absolute URL) | playwright-cli goto {app_url}{target} |
wait | duration (seconds) | sleep {duration} |
screenshot | filename, caption | playwright-cli screenshot --filename=screenshots/{filename} |
snapshot | verify (list of strings) | playwright-cli snapshot, then AI checks verify items |
eval | script, expected | playwright-cli eval "{script}", then AI compares the result |
click | description, target_hint | playwright-cli snapshot then playwright-cli click {ref} |
fill | description, target_hint, value | playwright-cli fill {ref} "{value}" |
select | description, target_hint, value | playwright-cli snapshot + select option |
note | text | No browser action — the AI records a manual note |
IMPORTANT for click, fill, select: these use target_hint (a human description), not a Playwright ref. At execution time, the AI must:
playwright-cli snapshottarget_hint in the snapshotRefs change between sessions — never cache them.
Set skip: true with an appropriate skip_reason when:
After generating the testbook:
docs/sprints/Sprint-N/acceptance/screenshots/ subdirectory (empty)testbook.yml/atr run)playwright-cli skill available (it is — bundled by NONoise)app_url (or reachable at the --url override)meta.auth in testbook)Invoke the playwright-cli skill for browser commands. Do NOT hardcode any project-specific auth pattern — the testbook's meta.auth declares how auth is performed; follow it, or ask the user if unclear.
.temp/)During execution, save intermediate files (accessibility snapshots, auth state) to .temp/ at the project root. This directory must be git-ignored.
.temp/auth.json — Playwright browser auth state (cookies, localStorage). Reused across runs to skip login..temp/snapshots/ — accessibility tree dumps for debugging. Named {test-id}-{step}.yml. Ephemeral.Never save temporary files inside docs/sprints/….
--url is provided, use it as base URL for all navigation (overrides meta.app_url). Record the actual URL used in each report header.playwright-cli open {target_url}.temp/auth.json exists, restore it: playwright-cli state-load .temp/auth.json.temp/auth.json is missing or the restored session is invalid, perform the auth flow described in meta.auth of the testbook.playwright-cli state-save .temp/auth.jsonplaywright-cli resize 1920 1080filename defined in the testbook YAML step — that is the single source of truth for names. Do NOT invent alternative names (no -pass.png / -fail.png suffixes by default). When saving, always pass --filename=screenshots/{filename} using the exact value from the testbook step.
screenshot step, that one counts. If not, take one at the end and name it {test-id}.png (e.g. US-001.png).{test-id}-fail.png capturing the failure state.docs/sprints/Sprint-N/acceptance/screenshots/ — these are final deliverables committed to git.skip: true: record as SKIP with reasonskip: false: execute steps one by one
screenshot: save PNG, record pathsnapshot with verify: read snapshot text, check each verify item, mark pass/faileval with expected: compare result, mark pass/failAgent tool with run_in_background: truebacklog.md (create the file with header on first failure)Writing the report after each test in the main agent blocks execution — the AI spends time formatting markdown instead of running the next test. Delegating keeps the main agent focused on browser interaction (the bottleneck), and the report is updated concurrently.
This is NOT optional. If you are executing tests and writing reports in the same sequential flow, you are doing it wrong.
Read references/templates.md → "Delegated Agent Prompt" for the full prompt template.
The backlog (backlog.md) is also written incrementally. On the first FAIL, the delegated agent creates the file with header. On subsequent FAILs, it appends entries. After all tests complete, the main agent reads the backlog and updates the total-failures count in the header.
Before marking acceptance or a sprint complete, read .nonoise/ecc/index.md and request evidence-reviewer for proven defects against the intent, pr-test-analyzer for behavioral coverage, security-reviewer for security findings, and silent-failure-hunter for error propagation and fallbacks. Add csharp-reviewer for .NET changes, typescript-reviewer for TypeScript/Angular changes, or the language reviewer listed there for another stack, when installed. Scope every reviewer to the actual diff and acceptance criteria; collect all findings, resolve blockers and rerun the affected tests. Record reviewer name, scope, findings and validation evidence in the report. If delegation is unavailable, disclose that the review was performed inline.
Run module-regression for affected downstream consumers and verification-loop for the final build/typecheck/test/security/diff evidence; use superpowers:verification-before-completion before asserting completion. Missing review or failing checks must remain visible in the acceptance result. At sprint closure, also run docs-steward and attach its audit.
The AI evaluates each verification using:
playwright-cli snapshot, check if expected elements/labels/values are presentplaywright-cli eval for concrete checks (element count, CSS properties, computed styles)A test is FAIL only with concrete evidence of mismatch. When unsure, mark PASS with a note.
See references/templates.md for:
Before each test, navigate to the base URL and then follow the test's navigation steps. This ensures test independence — a failure in one test does not affect the next.
/atr push)Reads backlog.md and creates one issue per failure on an external tracker.
Paseo via MCP — planned future integration. The reference for the MCP workflow lives in references/paseo.md. When the Paseo MCP is wired into the NONoise bundle, this phase will be fully automated.
For v1: without a configured MCP, /atr push prints a report of what would be pushed (dry run) and lists the backlog entries, so the user can manually copy them to their tracker or hook their own export flow.
See references/paseo.md for the (future) MCP setup, severity-to-priority mapping, issue description template, and idempotency rules.
/atr doc)Generates a stakeholder-friendly test plan document from a testbook YAML. The output is a polished markdown file that non-technical readers (product owners, business analysts, customers) can read to understand test coverage without technical knowledge.
A testbook YAML file. If no path is given, scan docs/sprints/Sprint-N/acceptance/ for the most recent testbook.
A markdown file named {testbook-basename}-plan.md next to the testbook. Example:
testbook.yml → testbook-plan.mdtestbook-smoke.yml → testbook-smoke-plan.mdmeta.sprint_manifest — provides the business context that enriches the document beyond the testbook alonereferences/templates.md → "Stakeholder Test Plan Document"Use meta.language from the testbook to choose the document language. If not set, fall back to the sprint manifest language (inferable from content), then to nonoise.config.json language if present, then English as the final default.
Translating technical test definitions into natural-language stakeholder text. Apply these rules:
What to include (from testbook):
meta → document header (sprint, date)title and manifest_ref → section heading with traceabilityid, title, manifest_ref → test-case identificationpreconditions → "Initial conditions" in plain languageexpected → "Expected results" — already business-readable, use as isskip / skip_reason → mark as "Not verifiable" with explanationdescription fields (from click, fill, select) → human-readable action sequencescreenshot.caption → describe what visual evidence will be capturedsnapshot.verify items → rephrase as "The system verifies that..."note.text → include as operational notesWhat to exclude (technical artifacts):
action types (goto, wait, eval, snapshot internals)target, target_hint, script, expected (eval-level)app_url, auth — replace with "the application"report_file, internal IDs like section-slugHow to rephrase steps:
goto /signup → "The user navigates to the Signup area"click with description → use description directlyfill with description + value → "The value '{value}' is entered in the '{description}' field"select with description + value → "'{value}' is selected in the '{description}' field"screenshot → "Visual evidence is captured: {caption}"snapshot with verify → "The system verifies: {verify items as bullets}"eval → omit entirely unless the purpose is clear from context; if so, summarize the intentnote → include the text as iswait → omit entirelyLanguage and tone:
meta.language — first-person-free, professionalSee references/templates.md → "Stakeholder Test Plan Document" for the full template.
Every artifact lives under the sprint folder:
docs/sprints/Sprint-N/
├── sprint-manifest.md ← input (read by /atr generate)
├── <area-slug>/ ← promoted PRDs
└── acceptance/ ← ATR workspace
├── testbook.yml ← generated (/atr generate)
├── testbook-plan.md ← generated (/atr doc, optional)
├── report-<area-slug>.md ← generated (/atr run) — one per area
├── backlog.md ← generated (/atr run) — failures
└── screenshots/
└── *.png ← evidence — committed to git
report-<area>-<YYYYMMDD>.md)..gitignore for .temp/ only./atr run. Sequential report writing blocks execution.meta.auth declares it; without it, ask the user.meta.auth.-pass.png; use the testbook-declared name./atr push without a tracker — will print a dry-run until Paseo MCP (or another tracker integration) is wired.sprint-manifest firstvitest, pytest, etc.)references/templates.md — Report / backlog / stakeholder-plan formats + transformation examplesreferences/paseo.md — Planned Paseo MCP integration (future)playwright-cli — browser automation backendsprint-manifest — source of acceptance criteriaWhat SKILL.md sets; muted values are Claude Code's defaults
27 skills in this plugin
/arch-brainstormDialogic architectural brainstorming skill. Helps an architect study how to implement something starting from just an area name, exploring the existing codebase, reading the project's source of truth at `docs/architecture/` plus `docs/requirements/` and `docs/calls/`, and producing a narrative PRD (story of the decision, inline Mermaid diagrams, explicit anti-scope) under `docs/prd/<area>/`. USE AS STEP 1 of the end-to-end architectural workflow — brainstorm → arch-decision (Haft FPF validation via `quint-fpf`) → sprint-manifest (promotion to sprint). Triggers — "I want to study how to implement X", "how should we handle Y", "brainstorm on area Z", "open a PRD for W", "arch-brainstorm area <slug>". Also triggers without explicit mention when the user is defining a new architectural work area from scratch and wants to think it through together./arch-decisionValidate an existing draft PRD through Haft ProblemCard, solution variants and parity comparison, then route the operator's explicit Phase 5.5 choice through h-decide and project the result into PRD frontmatter. Use for architectural PRD validation when the FPF gate fires; otherwise records a lightweight decision in the PRD with no Haft run. Creates no duplicate FPF audit register.Other plugins' skills for the same job
npx claudepluginhub russosalv/nonoise --plugin nonoise