/peak-workflow:mockup [scenario title or blank for all scenarios]from peak-workflow
Generates low-fidelity UX prototypes from operational scenarios: screen inventory, screen flows, and grayscale HTML wireframes for web/desktop/hybrid apps.
Ships in peak-workflow. 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.
You are producing low-fidelity UX mockups for the project's operational scenarios: a screen
inventory (ux/screens.md), one screen flow per scenario, and one grayscale wireframe per
screen. You then rewrite the ConOps scenario steps so each names the screen and the exact control
it uses. Mockups are planning artifacts approved by the docs/ branch merge — they are not
requirements and not code. Low fidelity is deliberate: no colors, no typefaces, no brand, no
imagery. Aesthetic choices happen later, in the walking-skeleton epic that /peak-workflow:plan-project
forms. Do not invoke the frontend-design skill from this skill.
The user's request (scenario title, or blank for all scenarios): $ARGUMENTS
Before any other action: run sh "${CLAUDE_PLUGIN_ROOT}/scripts/tor-lifecycle" format.
On exit 0 (verdict: current, or new for a project with no peak-workflow files yet), continue.
On any other exit, print its output and stop — it names the fix (/peak-workflow:upgrade, a
plugin update, or a Python install). After this guard, read the project's files only in the
current format.
Right after the Format Guard (read-only): read CLAUDE.md at the repo root (do not re-read if
already in context) and take the Project type from its Tool Hygiene & Operability
section. If it is CLI tool, Library, Service or API, or a Hybrid whose description names
no UI, print and stop — before the branch guard, so a non-UI project never sees a branch question:
mockupdoes not apply to<type>projects — there are no screens to prototype. Continue with/peak-workflow:capture-requirements.
If the section is missing, ask via AskUserQuestion:
"CLAUDE.md has no Tool Hygiene & Operability section, so the project type is unknown. Is this a Web app, a Desktop app, or something without a UI?"["Web app", "Desktop app", "No UI — stop"]On "No UI — stop", end here. Otherwise carry the project type into Step 1.
After the project type guard:
Run git branch --show-current. Capture the result as <current-branch>.
If <current-branch> is develop, main, or master — stop immediately:
mockupwrites planning artifacts (screen inventory, flows, wireframes) and rewrites ConOps scenario steps. These changes must travel through adocs/{task-short-name}branch so the merge event serves as the approval gate. Run/peak-workflow:discoverfirst — it will create thedocs/branch and produce the ConOps this skill needs. Or create the branch manually:git checkout -b docs/{task-short-name}
If <current-branch> does not start with docs/ (and is not develop/main/master) —
warn the user but allow continuation:
Current branch (
<current-branch>) is not adocs/branch. Proceeding will mix mockup and ConOps changes with other work on this branch.
Use AskUserQuestion:
"Current branch is not a docs/ branch. Continue anyway, or stop to create one?"["Continue on this branch", "Stop — I'll create a docs/ branch first"]If the user chooses Stop, end here.
If <current-branch> starts with docs/ — continue. No action needed.
Follow these steps exactly:
CLAUDE.md (already read by the Project Type Guard), capture:
/peak-workflow:setup.is_desktop = true when the project type is Desktop app or a Hybrid that names a
desktop UI.docs/product-vision-planning/product-vision.md — Sections 6 (MVP Scope Summary),
8 (Key Business Scenarios), and 9 (Design Direction). If missing or skeleton (no substantive
## 2. Problem Statement content), stop:
Run
/peak-workflow:discoverfirst to produce the product vision and ConOps documents.
docs/product-vision-planning/concept-of-operations.md — Sections 4 (User Roles &
Profiles), 5 (Operational Scenarios), and 7 (Functional Summary). If missing, skeleton, or
Section 5 has no numbered steps, stop with the same message. Capture the ConOps
Document Version and each scenario's title and numbered steps. Refer to steps as
S{scenario}.{step} (e.g., S3.4 = Scenario 3, step 4).ls docs/product-vision-planning/ux/ docs/product-vision-planning/ux/wireframes/ 2>/dev/null
If docs/product-vision-planning/ux/screens.md exists, read it in full and capture every
S-NN ID, name, and the highest existing number.Report the loaded state:
Mockup context:
- Project type: [Web app / Desktop app / Hybrid (UI)] Desktop conventions: [yes / no]
- Design system: [from UX Baseline, or "not declared — assuming shadcn/ui"]
- Layout floor: [e.g., 320 px / 800×600 window / "not declared"]
- ConOps v[N.N]: [N] scenarios, [N] steps total
- Existing screens.md: [none / N screens, highest S-NN]
- Scope: [all scenarios / "Scenario N: {title}" from $ARGUMENTS]
If $ARGUMENTS names a scenario that does not match any ConOps Section 5 title (case-insensitive
substring match), list the available titles and ask the user to pick one via AskUserQuestion.
First, in either mode, list the unprocessed discovery changelogs:
ls docs/product-vision-planning/changelogs/discovery-changelog-*.md 2>/dev/null | grep -v '\.processed$'
If two or more are listed, stop before drafting anything — Step 7 could write the UX delta to
neither. Print the same message /peak-workflow:capture-requirements 3B.1 uses:
Found {N} unprocessed discovery changelogs: {list filenames}
Please reconcile — delete superseded ones or merge their "New Capabilities" sections into a single file, then re-run.
Greenfield = ux/screens.md does not exist or has zero screen rows. All scenarios in scope
are processed from scratch (or only the scenario named in $ARGUMENTS).
Brownfield = ux/screens.md exists with at least one screen row. Existing screens are the
baseline; this run only adds, changes, or removes screens for the scenarios named in $ARGUMENTS or
in the unprocessed discovery changelog listed above. Read the changelog read-only — do not
archive or rename it; /peak-workflow:capture-requirements does that. Its "What Changed" rows
for concept-of-operations.md Section 5 identify the scenarios in scope. A Pending row does not put
its scenario in scope — the documents still describe today's behavior. A changelog whose
**Mode:** line reads Brownfield (UX concretization) is this skill's own output from an earlier
run on this branch — it names no changed scenarios, so for scoping it counts as no discovery
changelog: fall through to $ARGUMENTS or the git-diff fallback below. It still counts toward
the two-or-more stop above and still receives the Step 7 item 5 in-place replace. If $ARGUMENTS
is empty and no discovery changelog scopes the run, diff the ConOps against the last commit that
touched ux/screens.md:
git diff $(git log -1 --format=%H -- docs/product-vision-planning/ux/screens.md) -- docs/product-vision-planning/concept-of-operations.md
Scenarios whose steps changed are in scope. If nothing is in scope, say so and stop.
Set feature_files_exist = true when docs/requirements/*.feature.md matches at least one file
— Step 7 uses it.
Report detection:
Mode: [Greenfield / Brownfield]
Scenarios in scope: [list of "Scenario N: {title}"]
Unprocessed discovery changelog: [filename / filename (UX concretization — not used for scoping) / "none found"]
Derive the inventory from the ConOps Section 5 steps of every scenario in scope. Walk each step and ask: which screen is the actor looking at, and which control do they use? A screen is a distinct place in the app the user can name ("the Orders list", "the Edit Supplier dialog") — not a component and not a state.
Draft this autonomously — hold no inline interview. The inventory table and the mermaid flows
are machine-readable artifacts bound for screens.md: a nine-column table wraps into mush in a
terminal and a mermaid block is just source code there, so presenting either for approval asks
the user to review a format they cannot read. The wireframes are what a person can actually
judge. This skill therefore drafts the inventory, the states, and the flows in one pass, writes
screens.md, generates the wireframes, and gates once — on the wireframes, at Step 6. A
wrong inventory is cheap to correct there: the rows change and the affected wireframes are
rewritten.
One row per screen, with these columns (the table format is in
${CLAUDE_PLUGIN_ROOT}/skills/mockup/SCREENS_TEMPLATE.md):
| Column | Rule |
|---|---|
| Screen ID | S-NN, 2-digit zero-padded, sequential from S-01. Brownfield: continue from the highest existing number; never renumber. |
| Name | Title-case noun phrase the user would say — "Orders List", "Order Detail", "Sign In". |
| Wireframe | wireframes/S-NN-<kebab-name>.html, relative to ux/ — the file Step 5.1 writes. The Application menu and Window rows write —. Downstream skills copy this path verbatim into epic ## Screens tables. |
| Purpose | One sentence: what the actor accomplishes here. |
| Entry points | How the user arrives: a nav item, a control on another screen (S-02 "Open" button), a deep link, app launch. |
| Primary actions | Each action names its control and its visible text — "Save button", "Delete… menu item", "Status filter select". No bare verbs. |
| Data shown | The fields, lists, and counts the screen renders. |
| States | loading / empty / error / populated — every data-bearing screen has all four. A screen with no data (e.g., a pure form, an About dialog) says n/a — not data-bearing. |
| Serves | The ConOps steps this screen serves, S3.4 style, comma-separated. |
Rules:
n/a — no screen
in Step 9; do not invent a screen for them."Delete…" action, with its
confirmation dialog in the populated state (as WIREFRAME_TEMPLATE.md shows) — this is what
the Destructive actions baseline TOR in /peak-workflow:capture-requirements anchors on.WIREFRAME_TEMPLATE.md's App Shell Conventions (site
header / sidebar shell / auth block) and write a ## App Shell section into ux/screens.md
naming which one, why, and how it behaves at the declared layout floor. The site header is the
default; the sidebar shell needs 4+ top-level destinations to be justified — a nav rail holding
one link and a sign-out action is a defect, not a style choice. Overlays follow the same
section's table: Dialog for focused forms, Sheet for drawers and long mobile-first forms,
AlertDialog for destructive confirmations.Card list for phone-first items
carrying one primary action each; a Table for desk-side scanning across several columns; Tabs
only when one screen genuinely holds parallel sections. State the choice in the screen's
Data shown column so the walking skeleton does not re-decide it.## App Shell section; do not draw a second
shell.is_desktop = true) also get two rows that share the ID space but are not
screens: an Application menu row (Primary actions = every menu and its items with
accelerators, following the platform order the UX Baseline Desktop conventions line names)
and a Window row (Data shown = minimum size, remembered bounds and maximized state, title
format including the unsaved marker). Both use States: n/a — not data-bearing.For every data-bearing screen, draft the four states as one short line each:
Do not print the inventory table or the states list to the terminal. Print one compact line per screen so the user knows what is being drawn and can interrupt if a screen is obviously wrong, then continue straight to Step 4:
Drafting {N} screens, then writing wireframes:
- S-01 {Screen Name} — {purpose, trimmed to ~8 words}
- S-02 {Screen Name} — {purpose, trimmed to ~8 words}
For each scenario in scope, draw a mermaid flowchart LR:
S01["S-01 Orders List"].-->|"Click New order button"|.Launch(["App launch"]) for desktop apps); end at the
screen where the Outcome is visible.S02 -->|"Save fails"| S02err["S-02 error state"]) and the empty branch where a list may
have no items. A flow with only a happy path is incomplete.Example:
flowchart LR
S01["S-01 Orders List"] -->|"Click New order button"| S02["S-02 Order Form"]
S02 -->|"Click Save button"| S03["S-03 Order Detail"]
S02 -->|"Save fails — Retry button"| S02err["S-02 error state"]
S02err -->|"Click Retry button"| S02
S01 -->|"No orders — Create first order button"| S02
Do not print the flows to the terminal — mermaid does not render there. They go straight into
screens.md, where the user reads them rendered on the docs/ branch.
Write docs/product-vision-planning/ux/screens.md following
${CLAUDE_PLUGIN_ROOT}/skills/mockup/SCREENS_TEMPLATE.md (mkdir -p docs/product-vision-planning/ux/wireframes
first). Greenfield: create it at version 1.0. Brownfield: append new rows, ## States
subsections, and ## Flows blocks per the template's append note; replace a changed screen's
row and states in place, keeping the existing state copy verbatim unless this change alters
what the state shows; bump the document version (minor) and date.
Removed screens (brownfield). A screen is removed when no ConOps step in scope uses it
any more — its steps were withdrawn by /peak-workflow:discover (a Removed changelog row) or
now land on another screen. Keep its row, so the ID is never reused: set Purpose to
retired {date} — {reason} (add — superseded by {S-NN} when another screen took over its
steps), Wireframe and Serves to —. Delete its ## States block, its flow nodes, and
its wireframe file. A screen only some steps left is modified, not removed.
For every screen in scope — greenfield: every screen; brownfield: every screen Added or Modified
this run (not the Application menu and Window rows) — write the file its
Wireframe column in ux/screens.md names —
docs/product-vision-planning/ux/wireframes/S-NN-<kebab-name>.html — following
${CLAUDE_PLUGIN_ROOT}/skills/mockup/WIREFRAME_TEMPLATE.md. Each file is self-contained:
Write these files in parallel. Every screen's wireframe is independent of every other
screen's — none reads or depends on another's output — so issue one Write tool call per screen
and send them together in a single message/turn instead of one after another. This holds
regardless of screen count (2 screens or 20): batch every Write call for this step into one
turn.
section.state blocks with plain JS. The Populated state is active on load. A screen marked
n/a — not data-bearing keeps only the Populated section and drops the switcher..chrome / .app-header / .app-footer) rather than as dashed
regions. Plus a data-component="PageHeader" row in every state: h1 left, primary actions
right, count or subtitle beneath.@media block is required, set from the UX Baseline Layout
floor line. It must actually work: nav and account control collapse behind the ≡ trigger,
page actions stack full-width, and any table reflows to labelled stacked blocks. Asserting the
floor in prose without a media query does not satisfy it.div.region per layout area, each carrying a data-component value from the
table in WIREFRAME_TEMPLATE.md's data-component values section (PageHeader, Button,
Dialog, AlertDialog, Sheet, DropdownMenu, Table, Form, Input, Select,
Checkbox, Card, Tabs, Breadcrumb, Toast, Sidebar). This is what the walking skeleton
and later slices compose from. A missing primitive is added to that table in the same change,
never invented in one wireframe..placeholder blocks,
not lorem ipsum.data-component="AlertDialog" region whose safe option (Cancel) is listed first, with a line
noting that Escape closes without acting and the safe option is the default.:focus-visible outline in the template stays — the wireframe itself models keyboard
focus. Every control must be a real button, a, input, or select so Tab reaches it.Write docs/product-vision-planning/ux/README.md — one paragraph: these are low-fidelity
planning wireframes produced by /peak-workflow:mockup; open wireframes/index.html in a browser
(no server needed) to get a clickable list of every screen, then use the state buttons on each to
switch loading / empty / error / populated; they are grayscale on purpose — visual design happens
in the walking-skeleton epic; screens.md is the inventory and the ConOps references screens by
their S-NN IDs. Create it only if it does not exist.
Write docs/product-vision-planning/ux/wireframes/index.html following the Index Template in
${CLAUDE_PLUGIN_ROOT}/skills/mockup/WIREFRAME_TEMPLATE.md — one linked row per screen in
ux/screens.md, in S-NN order. A removed screen's row has no link: its Screen cell is plain
text followed by its retired … purpose. This is the file Step 6 opens in the browser, so it is written
on every run, greenfield or brownfield, and regenerated in full whenever the screen set changes
(including after a Step 6 adjustment round that adds, merges, or drops a screen).
It is a review aid, not a screen: it gets no S-NN ID, no row in ux/screens.md, and no entry in
the Step 9 trace table.
This is the only human gate in the skill — Steps 3 and 4 drafted without one, because the wireframes are the first artifact the user can actually see. Everything upstream (screen rows, states, flows) is in scope for the feedback given here.
Open the index in the user's default browser. Do not rely on the user clicking a path —
several terminals (Ghostty among them) do not linkify bare paths, and a file:// directory URL
opens Finder on macOS and renders not at all in Safari. Open the index.html file itself, with
the platform's own opener so the user's default browser is honored:
index="$(git rev-parse --show-toplevel)/docs/product-vision-planning/ux/wireframes/index.html"
case "$(uname -s)" in
Darwin*) open "$index" ;;
Linux*) if command -v wslview >/dev/null 2>&1; then wslview "$index"
else xdg-open "$index"; fi ;;
MINGW*|MSYS*|CYGWIN*) start "" "$index" ;;
*) echo "No opener for $(uname -s) — open manually: $index" ;;
esac
The command may fail on a headless, SSH, or container session with no browser — that is not an error worth retrying. Either way, print the absolute paths as the fallback so the user can copy one into a browser or their file manager:
- /abs/path/to/repo/docs/product-vision-planning/ux/wireframes/index.html ← opened for you
- /abs/path/to/repo/docs/product-vision-planning/ux/wireframes/S-01-orders-list.html
- /abs/path/to/repo/docs/product-vision-planning/ux/wireframes/S-02-order-form.html
Then tell the user:
The wireframe index is open in your browser — click a screen, then use its state buttons to switch loading / empty / error / populated.
Use AskUserQuestion — a single call, carrying the second question only when a design-canvas
skill (e.g., one named design) is available in this session:
"Approve these wireframes, or tell me what to adjust?"
Options: ["Approve", "Adjust — I'll describe the changes"]"Also publish these wireframes to the design canvas for hand-tweaking? The HTML files under ux/wireframes/ remain the committed artifact either way."
Options: ["No — HTML files only", "Yes — publish to the canvas too"]If no design-canvas skill is available, ask Question 1 alone and never mention a canvas. Ask Question 2 on the first round only — carry its answer across any adjustment rounds rather than re-asking.
If Adjust, apply the changes to the affected wireframe files and to the matching rows,
states, or flows in ux/screens.md (they must not drift), then ask again. Maximum 3 adjustment
rounds — if still adjusting after round 3, apply the most recent changes and proceed.
Feedback here may be structural, not just cosmetic — a screen is missing, two screens should
be one, a screen was invented that no ConOps step needs. Handle those by re-running Step 3.1 and
Step 4.1 for the affected rows only, then rewriting each affected wireframe (in parallel, per
Step 5.1). Never renumber an S-NN that survives the change; a screen dropped before any commit
frees its ID for reuse in this same run only.
Design-canvas publish. If the user answered Yes to Question 2, hand the wireframes to that
skill once they are final — after the last adjustment round, so the canvas receives the
approved artboards — as grayscale artboards, one per screen, instructed to add no colors,
typefaces, or imagery. Do not wait on the canvas before continuing to Step 7. Do not invoke
frontend-design under any circumstances.
Rewrite the ConOps Section 5 steps of every scenario in scope so the requirements capture can cite named screens and controls. Never change scenario intent — only make each step concrete.
Rewrite each step to name the screen (by name, with the ID in parentheses) and the exact control text it uses. Split a step that touches two screens into two numbered steps.
Before:
3. User creates a new order and saves it.
After:
3. On the Orders List (S-01), user clicks the "New order" button; the Order Form (S-02) opens.
4. User fills the Customer and Quantity fields and clicks the "Save" button; the Order Detail (S-03) shows the new order.
State-dependent steps name the state: …the Orders List (S-01) shows its empty state with the "Create first order" button.
Brownfield: never split or renumber a step a tracing sidecar cites (grep -l '"S<N>"' docs/requirements/*.tracing.json
finds the scenario; check its step values) — name both screens in the one step instead.
A step withdrawn by /peak-workflow:discover stays withdrawn; do not reintroduce it.
Add a Screens cross-reference line directly under each rewritten scenario's **Outcome:**
line:
**Screens:** S-01 Orders List, S-02 Order Form, S-03 Order Detail
Update the header: bump the ConOps Document Version by a minor increment (1.0 → 1.1)
and set Date to today. Also set the **Companion:** line in ux/screens.md to the bumped
ConOps version — Step 4.2 wrote it before the bump.
Do not touch Sections 1–4 or 6–9, and do not rewrite scenarios out of scope.
Discovery changelog — write one only when feature_files_exist = true (Step 2), in
either mode. Otherwise the coming /peak-workflow:capture-requirements run is greenfield and
would never consume it, and the stale file would later trip the two-unprocessed-changelogs
stop — write no changelog. When it applies:
## UX Changes section
(a second run on the same docs/ branch), replace that section in place rather than
appending a second one:
## UX Changes
| Screen | Change Type | Summary | Citing TORs |
|--------|-------------|---------|-------------|
| S-NN {Name} | [Added / Modified / Removed] | [1-line summary — which steps it now serves, or why it is gone] | [Modified / Removed only: the TOR IDs citing S-NN, or `none`] |
docs/product-vision-planning/changelogs/discovery-changelog-{TIMESTAMP}.md
with {TIMESTAMP} from:
date -u +%Y-%m-%d-%H%M%S
containing:
# Discovery Changelog
**Date:** [today's date]
**Mode:** Brownfield (UX concretization)
**Previous Version:** ConOps [version before this run]
## UX Changes
| Screen | Change Type | Summary | Citing TORs |
|--------|-------------|---------|-------------|
| S-NN {Name} | [Added / Modified / Removed] | [1-line summary] | [Modified / Removed only: TOR IDs, or `none`] |
## New Capabilities Identified
None — UX concretization only.
Modified or Removed row: for Removed, every TOR whose Scenario
block in docs/requirements/*.feature.md names that S-NN (grep -n 'S-NN' docs/requirements/*.feature.md, then read each hit's Scenario: line for its ID). For
Modified, only those whose Given/When/Then names a control, option, text, or state this
change adds, removes, or renames; add the others as (unaffected: TOR-…, …) so the reader
sees they were checked. Do not edit the feature files —
/peak-workflow:capture-requirements runs its decision test on the Modified rows' TORs and
treats the Removed rows' TORs as retire candidates. Leaving a citing TOR out of the row
leaves that requirement silently stale.Before the self-check, verify:
n/a — no screen).ux/screens.md appears in at least one flow (rows marked retired … are
exempt).ux/screens.md and its wireframe
has all four section.state blocks with matching copy.Wireframe column of ux/screens.md exists under
docs/product-vision-planning/ux/ (wireframes/S-NN-<kebab-name>.html), and every file in
wireframes/ except index.html appears in that column. Only the Application menu and
Window rows, and rows marked retired …, carry —.wireframes/index.html exists and links to every S-NN wireframe file, with no dead links
and no link to a screen that was dropped during a Step 6 adjustment round.div.region carries a data-component value from the table in
WIREFRAME_TEMPLATE.md's data-component values section.ux/screens.md has an ## App Shell section naming the chosen shell and its layout-floor
behavior, and no wireframe carries data-component="Sidebar" unless that section justifies it
with 4+ top-level destinations:
grep -q '^## App Shell' docs/product-vision-planning/ux/screens.md || echo "MISSING App Shell section"
grep -rl 'data-component="Sidebar"' docs/product-vision-planning/ux/wireframes/
@media block at the declared layout floor, and
the app header and footer strip are byte-identical across the signed-in screens:
for f in docs/product-vision-planning/ux/wireframes/S-*.html; do # brownfield: only files written this run
grep -q '@media' "$f" || echo "$f: no layout-floor media query"
done
data-component="AlertDialog" with its safe option first.ux/screens.md has the Application menu and Window rows; every wireframe
has the menu-bar strip.font-family other than the system stack,
images, or external URLs anywhere in ux/. Run the hex test against each file's <style>
block only — dialog copy such as Delete order #0412? would otherwise match — and the other
checks file-wide:
for f in docs/product-vision-planning/ux/wireframes/*.html; do
sed -n '/<style>/,/<\/style>/p' "$f" | grep -oiE '#[0-9a-f]{3,6}\b' | grep -viE '^#(fff|f2f2f2|e5e5e5|999|777|222)$' | sed "s|^|$f: |"
done
grep -rnoiE 'font-family:[^;]*|url\(|<img|<link|https?://' docs/product-vision-planning/ux/wireframes/ | grep -viE 'system-ui'
Any output is a violation — fix it.ux/screens.md mermaid blocks parse (node handles have no hyphens; every edge has a label).ux/screens.md's **Companion:** line cites
the bumped version, and every rewritten step names a screen ID.S-NN ID was renumbered or reassigned; a removed screen keeps its
row (retired … Purpose) and lost its wireframe, States block, and flow nodes.Modified and Removed UX Changes row lists its citing TORs (or none).Fix every failure in place before continuing.
Build an explicit trace table. Print it verbatim — it is part of the Step 10 summary, not internal scratch.
## Self-Check: ConOps Step → Screen Trace
| # | Input (source:reference) | Captured as (screen + control) | Wireframe | Explicit? (Y/N) | Ambiguous? (Y/N) |
|---|--------------------------|--------------------------------|-----------|-----------------|-------------------|
| 1 | ConOps S1.1: "user opens the orders list" | S-01 Orders List (populated) | S-01-orders-list.html | Y | N |
| 2 | ConOps S1.2: "user creates a new order" | S-01 "New order" button → S-02 Order Form | S-02-order-form.html | Y | N |
| 3 | ConOps S1.5: "nightly job reconciles totals" | n/a — no screen | — | Y | N |
| 4 | ConOps S2.3: "user reviews the summary" | (not captured) | — | N | Y |
Input sources to enumerate (one row per step; a step that says "X and Y" is two rows):
Rules:
Explicit? N → gap. Ambiguous? Y → gap (the step names no control, or the control text
differs between screens.md, the wireframe, and the ConOps).n/a — no screen with Explicit? Y, Ambiguous? N.withdrawn — S-NN retired with
Explicit? Y, Ambiguous? N.N/A — not in scope in the Ambiguous
column.Product Vision §9 Design Direction is the only statement of what the screens are for — what must be legible at a glance, which action dominates, how a failure should read. Step 8's other checks prove the wireframes are complete; this one proves they are right. Build it as a second table and print it verbatim.
## Self-Check: Design Direction → Wireframe Trace
| # | PV §9 bullet (trimmed) | Honored by | Addressed? (Y/N) |
|---|------------------------|------------|------------------|
| 1 | "Status is the design — legible at a glance, never by color alone" | S-03 `.status` badge: bordered uppercase text on every card, plus the Yours fill | Y |
| 2 | "One primary action per item" | S-03 shift cards: exactly one of "Claim this shift" / "Release this shift" / no action | Y |
| 3 | "Typography sets a calm tone" | Deferred — the walking skeleton owns type; wireframes are system-font by rule | Deferred |
Rules:
Honored by names a specific wireframe and the region, control, or state copy that satisfies
it. "The board is clear" is not an answer; S-03 .status badge on every card is.Deferred — say so, and name what owns them (normally the walking-skeleton epic). Deferring a
structural bullet — hierarchy, primary action, what a failure reads like — is a gap, not a
deferral.Addressed? N → gap. Fix the wireframe and the matching ux/screens.md row, then re-run the
row. Never resolve a gap by editing §9.CLAUDE.md declares a UX Baseline, §9 was drafted inside it, so a bullet that merely restates
a baseline TOR (keyboard, contrast, layout floor) traces to that TOR's own Step 8 check — cite it
and move on.## Mockup — Complete
### Documents Written
- `docs/product-vision-planning/ux/screens.md` — [Created v1.0 / Updated to v{N.N}]
- `docs/product-vision-planning/ux/wireframes/S-NN-<name>.html` — [one line per file written]
- `docs/product-vision-planning/ux/wireframes/index.html` — [Created / Regenerated], {N} screens linked
- `docs/product-vision-planning/ux/README.md` — [Created / unchanged]
- `docs/product-vision-planning/concept-of-operations.md` — Section 5 steps concretized, v{N.N}
[Only when `feature_files_exist = true`:] - `docs/product-vision-planning/changelogs/discovery-changelog-{TIMESTAMP}.md` — [UX Changes appended / replaced / created]
### By the Numbers
- Screens: {N} ({M} new, {K} modified, {R} removed) [desktop: + Application menu and Window rows]
- Flows: {N} (one per scenario in scope)
- Wireframes: {N} files, {N} data-bearing screens × 4 states
- ConOps steps concretized: {X} of {Y} in scope ({Z} split)
- Trace gaps resolved: {M}
### Self-Check (final passing tables)
[Paste the full trace table from Step 9 — every row Explicit=Y and Ambiguous=N, or an explicit
n/a / N/A entry]
[Paste the Design Direction trace table from Step 9.5 — every row Y or an explicit Deferred with
its owner named]
[If the UX Baseline section was absent in Step 1:]
### Advisory
`CLAUDE.md` has no **UX Baseline** section. Run `/peak-workflow:setup` before
`/peak-workflow:capture-requirements` so the baseline UX TORs (screen states, keyboard and focus,
forms, destructive actions, progress feedback, layout floor[, desktop conventions]) are derived
against these screens.
### Next Step
Run `/peak-workflow:capture-requirements` next on this same `docs/` branch. It reads
`ux/screens.md` and the concretized ConOps, and cites screens and states (`S-NN`) in its
Given/When/Then and trace table. After that, `/peak-workflow:plan-project` forms the
walking-skeleton epic that installs the design system, builds the app shell, and ships the
reference screen these wireframes assume.
Do NOT commit. The full planning sequence (discover → mockup → capture-requirements →
plan-project → optional add) runs on the docs/ branch before the user merges. Committing
happens only at the plan-project Commit Gate, with the user's confirmation, and the merge
(solo or team PR) is the approval gate for the mockups, requirements, and plan as a unit.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
15 skills in this plugin
/addAdds new epic(s) to the implementation plan from a natural language description.
Epics reference TOR requirement IDs from docs/requirements/*.feature.md as their Requirements
Anchors — the TOR ID is the acceptance criterion and the Given/When/Then is the verification.
Use when the user wants to add a single epic or small batch without re-running full planning.
Triggers on: "add epic", "new epic", "create epic", "I need to add more work",
"there's a new feature we need", "can we squeeze in", "add a feature",
"another thing we need to build".
/capture-requirementsDerives formal Gherkin-style TOR requirements (.feature.md files) from product-vision.md and
concept-of-operations.md. Main agent adopts a seasoned-PM persona to author feature files
autonomously; Haiku sub-agent verifies traceability and writes .feature.tracing.json sidecars.
Changes to merged requirements (reword, supersede, retire, record as pending, uphold) each leave a
Change Record in docs/requirements/changes/. With a TOR ID argument it amends that one
requirement (e.g. one that changed since it was verified, or one known to be wrong).
User reviews via the docs/ branch and merge — there is no inline interview.
Run after /peak-workflow:discover and before /peak-workflow:plan-project.
Triggers on: "capture requirements", "derive requirements", "write feature files",
"create TOR requirements", "formalize requirements", "establish requirements baseline",
"generate TOR IDs", "requirements capture", "amend requirement", "retire requirement",
"supersede requirement".
npx claudepluginhub peakflames/claude-plugins-peakflames --plugin peak-workflowOther plugins' skills for the same job