Creates an atrezzo scenario from an intent (\"12 rows, 3 with an issue\"). Use it when the user describes a screen state they want to see or test (empty, with errors, paginated, lots of data) and it has to become a versioned world + assertions.
3 stars
0 votes
0 copies
1 view
Added November 17, 2026
developmentgonode
Works with
cli
Security analysis
A100/100
Scanned November 21, 2026
$npx -y skills add zeta92/atrezzo --skill scene --agent claude-code
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Scene?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/zeta92-scene)
---
name: scene
description: "Creates an atrezzo scenario from an intent (\"12 rows, 3 with an issue\"). Use it when the user describes a screen state they want to see or test (empty, with errors, paginated, lots of data) and it has to become a versioned world + assertions."
---
# /atrezzo:scene
Turn the intent into `world` + `endpoints` + `path` + `expect`. Format: `${CLAUDE_PLUGIN_ROOT}/references/scenario.md`.
1. Pull the numbers out of the intent and turn them into exact counts and distributions: "40 orders, 3 with an issue" ⇒ `orders: { total: 40, distribution: { paid: 34, pending: 3, issue: 3 } }`. The sums must match `total`.
2. Decide what the screen sees (projection): does it paginate? filter? sort? That goes in `endpoints`, not in the data. If "12 rows" is the first page, the assertion is about `?limit=12`.
3. Set `seed` (any integer) and `now` (ISO date). Changing the seed changes the data, never the counts.
4. Write `expect` with `selector` + `count` (or `min`/`max`) and `data: { request, where }` so `verify --driver http` can check it without a browser.
5. To test client assumptions, use `nulls: { field: n }`, `empty:` on a string field (`description: { type: string, empty: 0.4 }`, rows with `""`) or a separate scenario (see `${CLAUDE_PLUGIN_ROOT}/references/assumptions.md`).
6. Save to `atrezzo/scenarios/<name>.yaml` and generate: `node ${CLAUDE_PLUGIN_ROOT}/scripts/cli.mjs world atrezzo/scenarios/<name>.yaml`. Check the printed summary (counts, endpoints) and commit the YAML + `.generated/`.
**Forbidden**: hand-writing the data JSON, editing `.generated/` or pasting ids into the YAML. If you need a different data shape, change the distribution, `values:`, `nulls:`, `empty:` (a share of `""` in a string field), `seed_first:` (every row at the first enum value / `false`) `derive:` (a foreign key copied through another reference, so nested rows agree) or `values_order: cycle` (lists of values in the written order, the same on every seed; `values_order: { cycle: { by: team_id } }` restarts the order for every value of that field, one sequence per parent) and regenerate. An error state of the screen is `error: { status, body }` on its endpoint, not hand-written JSON.