Skip to content

Skills for Claude Code CLI such as full stack dev Cloudflare, React, Tailwind v4, and AI integrations.

feat(dev-tools): rewrite ux-audit, add ux-extract and ux-compare

Jeremy Dawes608fdd4300ef
diff --git a/plugins/dev-tools/commands/ux-audit.md b/plugins/dev-tools/commands/ux-audit.md
index 38652f31..e427e576 100644
--- a/plugins/dev-tools/commands/ux-audit.md
+++ b/plugins/dev-tools/commands/ux-audit.md
@@ -1,17 +1,16 @@
---
-description: Run a UX walkthrough and QA sweep on a live web app
-argument-hint: "[quick: spot check | standard: walkthrough | thorough: overnight | exhaustive: every element]"
+description: Exhaustively audit a web app — threads, elements, 8 scenarios, fix-and-verify loop
+argument-hint: "[optional: persona or scope, e.g. 'as a busy broker' or 'the dashboard only']"
allowed-tools: "*"
---
Load the `ux-audit` skill and run the audit.
-Parse $ARGUMENTS for depth:
-- `quick` — 5-10 min spot check, one user flow
-- `standard` — 20-40 min walkthrough + QA sweep (default)
-- `thorough` — 1-3 hours, multiple personas, all pages, scenario tests, overnight mode
-- `exhaustive` — 4-8+ hours, every interactive element on every page clicked/tested/screenshotted
+Single exhaustive mode. If $ARGUMENTS describes a persona ("as a busy broker", "first-time user"), adopt it. If $ARGUMENTS scopes the audit ("the dashboard", "just the settings flow"), scope to that area — still exhaustive within the scope.
URL is auto-detected from wrangler.jsonc or running dev server.
-Examples: `/ux-audit exhaustive`, `/ux-audit thorough`, `/ux-audit quick`
+Examples:
+- `/ux-audit`
+- `/ux-audit as a time-poor client logging in for the first time`
+- `/ux-audit the billing flow`
diff --git a/plugins/dev-tools/commands/ux-compare.md b/plugins/dev-tools/commands/ux-compare.md
new file mode 100644
index 00000000..a231f894
--- /dev/null
+++ b/plugins/dev-tools/commands/ux-compare.md
@@ -0,0 +1,18 @@
+---
+description: Compare UX patterns across pattern libraries produced by ux-extract
+argument-hint: "[topic or 'whole library'] [optional: 'across [app-1], [app-2], [app-3]']"
+allowed-tools: "*"
+---
+
+Load the `ux-compare` skill and run the comparison.
+
+$ARGUMENTS should identify the scope (what to compare) and optionally the libraries to include:
+
+- `/ux-compare empty states` — across every available library
+- `/ux-compare keyboard shortcuts across claude.ai, linear, superhuman` — specific subset
+- `/ux-compare destructive actions` — across every available library
+- `/ux-compare whole library across claude.ai and linear` — wide scope, two apps
+
+If fewer than 2 pattern libraries exist under `docs/ux-extracts/` or `.jez/artifacts/ux-extracts/`, the skill will stop and suggest running `ux-extract` first. Comparison with one library is just the library.
+
+Output goes to `docs/ux-comparisons/<topic>-YYYY-MM-DD.md` (or `.jez/artifacts/ux-comparisons/` if that path exists).
diff --git a/plugins/dev-tools/commands/ux-extract.md b/plugins/dev-tools/commands/ux-extract.md
new file mode 100644
index 00000000..a61facfa
--- /dev/null
+++ b/plugins/dev-tools/commands/ux-extract.md
@@ -0,0 +1,16 @@
+---
+description: Exhaustively extract UX patterns from a reference web app into a reusable pattern library
+argument-hint: "[URL or app name] [optional: 'focus on X' for a narrower scope]"
+allowed-tools: "*"
+---
+
+Load the `ux-extract` skill and run the extraction.
+
+$ARGUMENTS should identify the reference app (URL or well-known name) and optionally a scope or focus lens:
+- `/ux-extract claude.ai` — extract the whole app
+- `/ux-extract claude.ai focus on empty states` — narrower scope
+- `/ux-extract https://linear.app the onboarding flow` — specific feature area
+
+Output goes to `docs/ux-extracts/<app-name>/pattern-library.md` (or `.jez/artifacts/ux-extracts/<app-name>/` if that directory exists).
+
+The pattern library can be consumed by `ux-audit` as a comparison bar.
diff --git a/plugins/dev-tools/skills/ux-audit/SKILL.md b/plugins/dev-tools/skills/ux-audit/SKILL.md
index bfde449e..2becc7ca 100644
--- a/plugins/dev-tools/skills/ux-audit/SKILL.md
+++ b/plugins/dev-tools/skills/ux-audit/SKILL.md
@@ -1,405 +1,284 @@
---
name: ux-audit
-description: "Dogfood web apps — browse as a real user, notice friction, document findings. Adopts a user persona, tracks emotional friction (trust, anxiety, confusion), counts click efficiency, tests resilience (mid-form navigation, back button, refresh), and asks 'would I come back?'. Produces ranked audit reports. Trigger with 'ux audit', 'dogfood this', 'ux walkthrough', 'qa test', 'test the app', or 'check all pages'."
+description: "Exhaustive UX audit of a web app. Walks every thread a real user would follow, tests every interactive element, runs scenario battery (keyboard-only, heavy data, destructive actions, second user, interrupted workflow, wrong turn, returning user, first contact), produces ranked findings with screenshots, then offers a fix-and-verify loop. Requires a persona. Trigger with 'ux audit', 'dogfood this', 'audit the app', 'qa sweep', 'exhaustive test', 'check all pages'."
compatibility: claude-code-only
---
# UX Audit
-Dogfood web apps by browsing them as a real user would — with their goals, their patience, and their context. Goes beyond "does it work?" to "is it good?" by tracking emotional friction (trust, anxiety, confusion), counting click efficiency, testing resilience, and asking the ultimate question: "would I come back?" Uses Chrome MCP (for authenticated apps with your session) or Playwright for browser automation. Produces structured audit reports with findings ranked by impact.
+Exhaustively audit a web app from the perspective of a real user. Two lenses, combined:
-## Browser Tool Detection
+- **Flow lens** — walk the 3–5 real tasks a user would do ("threads"). Count clicks, mark dead ends, screenshot every state change.
+- **Element lens** — after threads, sweep every interactive element not already hit. Forms, menus, toggles, edge data volumes.
-Before starting any mode, detect available browser tools:
+Then run an eight-scenario battery (first contact, interrupted workflow, wrong turn recovery, returning user, keyboard only, heavy data, destructive confidence, second user) and close with a fix-and-verify loop for critical findings.
-1. **Chrome MCP** (`mcp__claude-in-chrome__*`) — preferred for authenticated apps. Uses the user's logged-in Chrome session, so OAuth/cookies just work.
-2. **Playwright MCP** (`mcp__plugin_playwright_playwright__*`) — for public apps or parallel sessions.
-3. **playwright-cli** — for scripted flows and sub-agent browser tasks.
+This is the thorough one. There is no quick mode. If the user wants a targeted check ("audit the dashboard"), scope the audit to that area — but within that area, still go exhaustive. Runtime is unbounded: assume a long-running session, write findings to the report incrementally, don't batch.
-If none are available, inform the user and suggest installing Chrome MCP or Playwright.
+## Setup
-See [references/browser-tools.md](references/browser-tools.md) for tool-specific commands.
+Four things before any browsing. Stop if any fail.
-## URL Resolution
+### 1. Browser tool
-If the user didn't provide a URL, find one automatically. **Prefer the deployed/live version** — that's what real users see.
+| Target | Tool | Why |
+|--------|------|-----|
+| **Authenticated app** (internal tools, client apps) | Chrome MCP | Uses your real logged-in Chrome session — OAuth, cookies, RBAC just work |
+| **Public site** (marketing, competitor, unauthed) | Playwright MCP | No login needed |
+| **Neither available** | **Stop** | Ask the user to connect Chrome MCP or install Playwright |
-1. **Check wrangler.jsonc** for custom domains or `routes`:
- ```bash
- grep -E '"pattern"|"custom_domain"' wrangler.jsonc 2>/dev/null
- ```
- If found, use the production URL (e.g. `https://app.example.com`).
+Do **not** silently fall back to a fresh Playwright session for an authenticated app — the audit is worthless if you can't log in. If Chrome MCP isn't connected, stop and say: *"Open Chrome, click Connect in the Claude extension, then rerun."*
-2. **Check for deployed URL** in CLAUDE.md, README, or package.json `homepage` field.
+See [references/browser-tools.md](references/browser-tools.md) for commands.
-3. **Fall back to local dev server** — check if one is already running:
- ```bash
- lsof -i :5173 -i :3000 -i :8787 -t 2>/dev/null
- ```
- If running, use `http://localhost:{port}`.
+### 2. URL
-4. **Ask the user** as a last resort.
+Prefer the deployed/live version — that's what real users see.
-**Why live over local**: The live site has real data, real auth, real network latency, real CDN behaviour, and real CORS/CSP policies. Testing locally misses deployment-specific issues (missing env vars, broken asset paths, CORS errors, slow API responses). The UX audit should test what the user actually experiences.
+1. Check `wrangler.jsonc` for `pattern` or `custom_domain`
+2. Check CLAUDE.md, README, `package.json` `homepage` field
+3. Fall back to `lsof -i :5173 -i :3000 -i :8787 -t` for a running dev server
+4. Ask the user
-**When local is better**: The user explicitly says "test localhost", or the feature isn't deployed yet.
+Live site has real auth, real latency, real CDN and CORS behaviour. Local misses deployment-specific bugs (missing env vars, broken asset paths, CORS, slow APIs). Only use local if the user asks or the feature isn't deployed.
-## Depth Levels
+### 3. Viewport
-Control how thorough the audit is. Pass as an argument: `/ux-audit quick`, `/ux-audit thorough`, or default to standard.
+Pin the window at the start:
-| Depth | Duration | Autonomy | What it covers |
-|-------|----------|----------|---------------|
-| **quick** | 5-10 min | Interactive | One user flow, happy path only. Spot check after a change. |
-| **standard** | 20-40 min | Semi-autonomous | Full walkthrough + QA sweep of main pages. Default. |
-| **thorough** | 1-3 hours | Fully autonomous | Multiple personas, all pages, all modes combined. Overnight mode. |
-| **exhaustive** | 4-8+ hours | Fully autonomous | Every interactive element on every page. Every button clicked, every dialog opened, every form filled, every state triggered. Leave nothing untested. |
+```
+width: 1440, height: 900
+```
-### Exhaustive Mode
+This is the standard MacBook resolution and the audit's baseline. Responsive sweep (below) also tests 1280, 1024, 768, 375. **Do not go above 2000px wide** — it breaks the harness.
-The exhaustive mode goes beyond thorough. Thorough tests workflows and pages. Exhaustive tests **every single interactive element** in the application.
+### 4. Persona
-For each page discovered:
-1. **Inventory all interactive elements** — buttons, links, inputs, selects, checkboxes, toggles, tabs, accordions, modals triggers, dropdowns, context menus, drag handles, sliders
-2. **Click/interact with every one** — open every dialog, expand every accordion, select every tab, toggle every switch, trigger every dropdown
-3. **Screenshot each state** — default, hover, active, open, closed, expanded, collapsed, selected, error
-4. **Test every form** — fill with valid data, submit. Fill with invalid data, submit. Leave empty, submit. Test every field individually.
-5. **Test every combination** — if there are filters, test each filter value. If there are tabs, test each tab. If there are sort options, test each sort.
-6. **Dark mode + light mode** — every page, every dialog, every state in both modes
-7. **Three viewport widths** — 1280px, 768px, 375px for every page and dialog
-8. **Keyboard navigation** — tab through every page, verify focus order, test Enter/Space/Escape on every interactive element
-9. **Right-click/context menus** — if the app has custom context menus, test every option in every context
-10. **Edge states** — what happens with 0 items, 1 item, 100 items, 1000 items? What happens with very long text in every field?
-11. **Concurrent tabs** — open the same page in two tabs, interact in both, check for conflicts
-12. **Every error path** — trigger every validation error, every 404, every permission denied, every timeout
+The audit needs a persona. Without one, findings drift toward generic "looks fine". Source in order:
-**Progress tracking**: This mode generates a LOT of findings. Write findings to the report incrementally — don't hold everything in memory. Update `docs/ux-audit-exhaustive-YYYY-MM-DD.md` after each page is complete.
+1. **Argument** — if the user provided one ("ux audit as a busy insurance broker")
+2. **Project personas** — read `.jez/personas/default.md` and `.jez/personas/<app-name>.md` if they exist
+3. **Ask** — if neither, ask one question: *"Who uses this app and what are they trying to get done?"*
-**Element inventory format** (per page):
-```
-/clients — 47 interactive elements
- [x] "Add Client" button — opens modal ✓, form submits ✓, validation ✓
- [x] Search input — filters correctly ✓, clear button works ✓, empty search ✓
- [x] Sort dropdown — all 4 options work ✓, persists on navigation ✗ (BUG)
- [x] Client row click — navigates to detail ✓
- [x] Star button — toggles ✓, persists on refresh ✓
- [ ] Pagination — next ✓, prev ✓, page numbers ✓, items per page ✗ (not tested - no data)
- ...
-```
+Capture: role, tech comfort, time pressure, emotional state, device context. A good persona predicts what they'd miss ("A receptionist between phone calls won't scroll below the fold").
-### Thorough Mode: Overnight Workflow
-
-The thorough mode is designed to run unattended. Kick it off at end of day, review the report in the morning. The user should NOT need to find issues themselves — this mode catches everything.
-
-**Mindset**: Don't run through a checklist. Think about the real person who will use this app every day. What are the threads of their workday? How will they move through the system? Will they understand what they're looking at? Will the app teach them how to use it through its design, or will they be guessing? Read [references/workflow-comprehension.md](references/workflow-comprehension.md) before starting.
-
-1. **Discover all routes** — read router config, crawl navigation, build complete page inventory
-2. **Identify workflow threads** — what are the 3-5 real tasks a user does in a day? Map them before testing individual pages. See [references/workflow-comprehension.md](references/workflow-comprehension.md).
-3. **Create a task list** — track progress across the audit
-4. **Visual & layout sweep** (every page):
- - Screenshot at 1280px, 1024px, 768px, 375px widths
- - Screenshot in light mode and dark mode
- - Run JS overflow detection on each page (see below)
- - Check for clipped text, overlapping elements, broken grids
- - Compare sidebar + content alignment across all pages
-4. **Workflow thread testing** — follow each identified thread end to end:
- - Does the next step suggest itself at every point?
- - Can the user leave and come back without losing their place?
- - Do transitions between pages preserve context (filters, selections)?
- - Do nav labels match how a user would describe their work?
- - After creating/saving/deleting, does the app take them somewhere logical?
-5. **UX Walkthrough x3 personas**:
- - First-time user (non-technical, time-poor, first visit)
- - Power user (daily user, knows the app, looking for efficiency)
- - Mobile user (phone, touch targets, small viewport)
-6. **Full QA sweep** — every page, all CRUD, all states (empty, error, loading, populated)
-7. **Resilience testing** — every form: bad data, mid-navigation, back button, refresh, double-submit
-8. **Accessibility basics** — heading hierarchy, alt text, focus order, colour contrast
-9. **Console error sweep** — check browser console on every page for JS errors, failed network requests, deprecation warnings
-10. **Wayfinding & comprehension check** — on each page: do I know where I am? Can I get back? Does the heading tell me what I can do here? Are visual cues guiding me to the right action?
-11. **Scenario tests** — run all six from [references/scenario-tests.md](references/scenario-tests.md):
- - New hire onboarding (can you figure out the app with zero guidance?)
- - Interrupted workflow (start a task, close the tab, come back — what survived?)
- - Wrong turn recovery (go to the wrong page, how many clicks to get back on track?)
- - Day two (repeat the same tasks — is it faster? are there shortcuts?)
- - Explain it to a colleague (write a 2-min guide for each workflow — gaps = UX failures)
- - What changed? (log in after creating data — can you tell what needs attention?)
-12. **Screenshot everything** — save to `.jez/screenshots/ux-audit/` (numbered chronologically)
-13. **Comprehensive report** — `docs/ux-audit-thorough-YYYY-MM-DD.md` with issue counts by severity
-14. **Summary** — top 5 critical issues, workflow gaps, scenario test results, "one thing to fix first"
-
-#### Automated Layout Detection (JS Injection)
-
-On each page, inject JavaScript via the browser tool to programmatically detect layout issues:
-
-```javascript
-// Detect elements overflowing their parent
-document.querySelectorAll('*').forEach(el => {
- const r = el.getBoundingClientRect();
- const p = el.parentElement?.getBoundingClientRect();
- if (p && (r.left < p.left - 1 || r.right > p.right + 1)) {
- console.warn('OVERFLOW:', el.tagName, el.className, 'extends beyond parent');
- }
-});
-
-// Detect text clipped by containers
-document.querySelectorAll('h1,h2,h3,h4,p,span,a,button,label').forEach(el => {
- if (el.scrollWidth > el.clientWidth + 2 || el.scrollHeight > el.clientHeight + 2) {
- console.warn('CLIPPED:', el.tagName, el.textContent?.slice(0,50));
- }
-});
-
-// Detect elements with zero or negative visibility
-document.querySelectorAll('*').forEach(el => {
- const s = getComputedStyle(el);
- const r = el.getBoundingClientRect();
- if (r.width > 0 && r.height > 0 && r.left + r.width < 0) {
- console.warn('OFF-SCREEN LEFT:', el.tagName, el.className);
- }
-});
-
-// Detect low contrast text (rough check)
-document.querySelectorAll('h1,h2,h3,p,span,a,li,td,th,label,button').forEach(el => {
- const s = getComputedStyle(el);
- if (s.color === s.backgroundColor || s.opacity === '0') {
- console.warn('INVISIBLE TEXT:', el.tagName, el.textContent?.slice(0,30));
- }
-});
-```
+## Discovery
+
+### Sitemap crawl
-Read console output after injection. Each warning is a potential finding to screenshot and investigate.
+Build the complete page inventory before auditing any page.
-#### Responsive Breakpoint Sweep
+1. **Router config** — read the app's route definitions (React Router, TanStack Router, Next.js app dir)
+2. **Nav crawl** — click through every section and sub-section of the sidebar/menu
+3. **Deep links** — URLs in CLAUDE.md, docs, or a prior audit report
-For each page, resize the viewport through standard breakpoints and screenshot:
+One line per route, with purpose: `/app/clients — list of clients, search, add new`.
-| Width | What it represents | Check for |
-|-------|-------------------|-----------|
-| 1280px | Desktop (standard) | Baseline layout, sidebar + content |
-| 1024px | Small desktop / tablet landscape | Nav collapse point, grid reflow |
-| 768px | Tablet portrait | Sidebar behaviour, stacked layout |
-| 375px | Mobile | Everything stacked, touch targets, no horizontal scroll |
+### Thread inventory
-If the layout changes between breakpoints (sidebar collapses, grid reduces columns), screenshot the transition point too.
+Identify 3–5 real tasks that make up a user's day. These are the spines of the audit.
-#### Console Error Sweep
+Examples:
+- **Insurance broker app**: renew a policy, create a new client, work through today's queue
+- **Project management**: morning triage, update a task, send a client summary
+- **SEO tool**: check latest crawl, diagnose a regression, export a report
-On each page, read the browser console for:
-- **JS errors** (TypeError, ReferenceError, etc.) — severity: High
-- **Failed network requests** (404, 500, CORS) — severity: High
-- **React/framework warnings** (key props, deprecated APIs) — severity: Medium
-- **CSP violations** — severity: Medium
-- **Deprecation warnings** — severity: Low
+How to find them:
+- Ask the user if they know the app's use cases
+- Read CLAUDE.md / README for "what this app does"
+- Infer from top-level nav — each major section usually maps to a thread
-#### Network Error Detection (thorough + exhaustive)
+Write them down. They structure the traversal phase.
-**Critical**: Visual browsing misses API failures that the UI hides. Data-fetching libraries (TanStack Query, SWR) swallow HTTP errors and show empty/loading states instead of error messages. A component showing "No results found" might actually be getting a 403 — but the UI looks normal.
+### Element inventory
-Monitor network responses throughout the entire audit session. If using Playwright, attach a response listener before browsing starts:
+For each route as you reach it, list every interactive element:
-```javascript
-// Inject into page or use Playwright's page.on('response')
-// Collect all non-2xx API responses
-const networkErrors = [];
-// After each page navigation, check for failed fetch/XHR requests
-// by reading the browser's network log or console output
+```
+/app/clients — 31 elements
+ Buttons: Add Client, Import, Export, Filter, Sort (5)
+ Inputs: Search
+ Table: row-click ×N, star toggle ×N, action menu ×N
+ Pagination: Next, Prev, page numbers, items-per-page
```
-If using Chrome MCP, use `read_network_requests` to check for failed API calls after each page visit.
+This inventory powers the coverage metric. After the audit you can say *"tested 29 of 31 elements on /app/clients; 2 pagination controls not reached due to data volume"*. Coverage becomes arithmetic, not a vibe.
-**What to collect**: URL, HTTP status, method, the page you were on when it happened.
+Build inventories lazily — per-page as you traverse, not all up-front.
-**Severity mapping**:
-| Status | Severity | What it usually means |
-|--------|----------|----------------------|
-| 500+ | Critical | Server error — something is broken |
-| 403 | High | Permission error OR route collision (static route shadowed by `/:param`) |
-| 404 | Medium | Missing endpoint — may be a renamed/removed API route |
-| 401 | Low | Expected for unauthenticated probes, but flag if it happens on authenticated pages |
-| CORS error | High | API endpoint missing CORS headers — feature broken in production |
+## Thread Traversal (primary phase)
-**What this catches that visual browsing misses**:
-- Route collisions (e.g. `GET /api/boards/users` shadowed by `GET /api/boards/:boardId`)
-- Endpoints that fail silently (TanStack Query shows empty data instead of error)
-- CORS issues only visible in production
-- Auth middleware rejecting valid sessions
-- Missing endpoints after refactoring
+For each thread:
-**Report format**: Group by status code in a "Network Errors" section:
-```markdown
-## Network Errors (detected during browsing)
+1. **Start from the app entry point** — not mid-thread. Real users land at `/` or `/dashboard`.
+2. **Walk as the persona** — if they'd skim, skim. If they'd misread a label, misread it. Note the hesitations.
+3. **Screenshot every state change** — default → hover/focus → active → after click → after load → confirmation. Meaningful transitions, not every pixel movement. With modern context windows and sub-agent review, don't scrimp — the filmstrip is the evidence.
+4. **Track the cost**:
+ - Click count from entry to completion
+ - Decision points (moments you stopped to think)
+ - Dead ends (wrong paths and backtracks)
+ - Interrupt recovery (close the tab at step 3, return at step 4 — did state survive?)
+5. **Hand screenshots to a sub-agent for review** — at the end of each thread, dispatch: *"Here are 42 screenshots from Thread 2 (Create Client). Flag every moment of: unclear next action, broken visual hierarchy, lost context, confusing copy, missing feedback, anxiety, or 'did that work?'. Return structured findings."* The sub-agent returns a list; you stay focused on driving the browser.
-### 403 Forbidden (2 endpoints)
-- `GET /api/boards/users` on /app/boards/123 — likely route collision with /:boardId
-- `POST /api/settings/theme` on /app/settings — permission check failing
+At the end of each thread, answer three questions (as the persona):
+- **Did it end clearly?** Did I know the task was done?
+- **Would I come back?** Confidence, trust, momentum.
+- **One thing to make this twice as easy?** Often the most actionable insight in the report.
-### 500 Internal Server Error (1 endpoint)
-- `GET /api/reports/summary` on /app/dashboard — server error
-```
+See [references/walkthrough-checklist.md](references/walkthrough-checklist.md) for per-screen evaluation prompts and [references/workflow-comprehension.md](references/workflow-comprehension.md) for wayfinding, mental model, and page-to-page continuity.
-### Autonomy by Depth
+## Element Exhaustion (completeness phase)
-| Action | quick | standard | thorough |
-|--------|-------|----------|----------|
-| Navigate pages | Just do it | Just do it | Just do it |
-| Take screenshots | Key moments | Friction points | Every page + every issue |
-| Fill forms with test data | Ask first | Ask first | Just do it (obviously fake data) |
-| Click delete/destructive | Ask first | Ask first | Ask first (only exception) |
-| Submit forms | Ask first | Brief confirmation | Just do it (test data only) |
-| Write report file | Just do it | Brief confirmation | Just do it |
+For each route, work the inventory. Skip elements already exercised by thread traversal.
-## Operating Modes
+| Element type | Test |
+|--------------|------|
+| Button | Click, screenshot result. If it opens a modal → test the modal. If it triggers an action → verify feedback. |
+| Link | Follow it. Destination matches the label? |
+| Input | Valid, invalid, empty, very long, special characters (`O'Brien`, `café`, emoji, `<script>`). |
+| Select / dropdown | Every option. Verify behaviour per option. |
+| Toggle / checkbox | On, off. Persistence on refresh? |
+| Tab | Every tab. URL updates? Back button works? |
+| Accordion | Expand, collapse. State saves? |
+| Menu / context menu | Every item. Right-click for context menus. |
+| Drag handle | Drag to new position. Drag to invalid target. |
+| Pagination | Next, prev, jump, items-per-page. |
-### Mode 1: UX Walkthrough (Dogfooding)
+For **every form**:
+- Valid data → verify creation/update/confirmation
+- Invalid data → field-level error, form state preserved
+- Empty submit → required-field marking
+- Tab through fields → focus order logical
-**When**: "ux walkthrough", "walk through the app", "is the app intuitive?", "ux audit", "dogfood this"
+For **every list/table**, test at these volumes if data permits:
+- 0 items (empty state)
+- 1 item (pluralisation edge case)
+- 100 items (pagination)
+- 1000+ items (virtualisation, search, filter performance)
-This is the highest-value mode. You are **dogfooding** the app — using it as a real user would, with their goals, their constraints, and their patience level. Not a mechanical checklist pass, but genuinely trying to get a job done.
+Write findings to the report as you go. Don't hold them in memory.
-#### Step 1: Adopt a User Persona
+## Responsive Sweep
-Ask the user two questions:
-- **Task scenario**: What does the user need to accomplish? (e.g., "Create a new patient and book them for surgery")
-- **Who is the user?**: What's their context? (e.g., "A busy receptionist between phone calls, on a desktop, moderate tech comfort")
+For each route:
-If the user doesn't specify a persona, adopt a reasonable default: a non-technical person who is time-poor, mildly distracted, and using this app for the first time today.
+| Width | Mode | Why |
+|-------|------|-----|
+| 1440px | light | Baseline (matches audit viewport) |
+| 1280px | light | Standard desktop |
+| 1024px | light | Tablet landscape / nav collapse point |
+| 768px | light | Tablet portrait / stacked layout |
+| 375px | light | Mobile / touch targets |
+| 1440px | dark | Dark mode baseline |
+| 375px | dark | Dark mode mobile |
-#### Step 2: Approach with Fresh Eyes
+On any page that breaks at an intermediate width, screenshot the transition point.
-Navigate to the app's entry point. From here, attempt the task with **no prior knowledge of the UI**. Adopt the persona's mindset:
-- Don't use browser dev tools or read source code to figure out where things are
-- Don't assume labels mean what a developer intended — read them literally
-- If something is confusing, don't power through — note it as friction
-- If you feel uncertain about what a button will do, that's a finding
+Run the automated layout-detection JS (overflow, clipping, invisible text) at each width — snippets in [references/walkthrough-checklist.md](references/walkthrough-checklist.md). Read console output after injection; every warning is a potential finding.
-#### Step 3: Evaluate Each Screen
+## Scenario Battery
-At each screen, evaluate against the walkthrough checklist (see [references/walkthrough-checklist.md](references/walkthrough-checklist.md)). Key questions to hold in mind:
+Eight scenarios. All eight, always. They catch what screen-by-screen testing misses. Full protocols in [references/scenario-tests.md](references/scenario-tests.md).
-**Layout**: Is all text fully visible? Nothing clipped or overlapping? Spacing consistent?
-**Comprehension**: Do I understand what this page is for and what I can do here? Do the labels make sense to a non-developer?
-**Wayfinding**: Do I know where I am in the app? Can I get back to where I came from? Does the nav show my location?
-**Flow**: Does this page connect naturally to the last one? Is the next step obvious without thinking?
-**Trust**: Do I feel confident this will do what I expect? Am I afraid I'll break something?
-**Efficiency**: How many clicks/steps is this taking? Is there a shorter path?
-**Recovery**: If I make a mistake right now, can I get back?
+1. **First Contact** — figure out the app with zero prior knowledge, then write a 2-minute plain-English guide to each thread. Gaps in the guide are UX gaps.
+2. **Interrupted Workflow** — start a task, close the tab, refresh, navigate away mid-form. Does state survive?
+3. **Wrong Turn Recovery** — deliberately click the wrong thing. How many clicks to get back on track? What context is lost?
+4. **Returning User** — repeat a thread already done. Faster the second time? Shortcuts available? On the dashboard, can you tell what changed since last visit?
+5. **Keyboard Only** — unplug the mouse. Can every thread complete keyboard-only? Focus visible? Tab order logical? Escape closes?
+6. **Heavy Data** — seed with 500+ records. Lists virtualise? Search returns the right thing? Filters narrow meaningfully?
+7. **Destructive Confidence** — for every delete, send, publish, pay, share: is consent clear? Does confirm copy tell you what's about to happen? Undo available?
+8. **Second User** — log in as a restricted role (viewer not editor, client not staff). Read-only views coherent? Permissions errors make sense?
-#### Step 4: Count the Cost
+## Passive Error Sweeps
-Track the effort required to complete the task:
-- **Click count**: How many clicks from start to finish?
-- **Decision points**: How many times did I have to stop and think?
-- **Dead ends**: Did I go down a wrong path and have to backtrack?
-- **Time impression**: Does this feel fast or tedious?
+Run these throughout, not as a dedicated phase.
-#### Step 5: Test Resilience
+### Console errors
-After completing the main task, test what happens when things go wrong:
-- Navigate away mid-form — is data preserved?
-- Submit with missing/bad data — are error messages helpful and specific?
-- Use the back button — does the app handle it gracefully?
-- Refresh the page — does state survive?
+On every page load, check the browser console:
+- JS errors (TypeError, ReferenceError) — **High**
+- Framework warnings (key props, deprecated APIs) — **Medium**
+- CSP violations — **Medium**
+- Deprecation warnings — **Low**
-#### Step 6: Ask the Big Questions
+### Network errors
-After completing (or failing) the task, reflect as the persona:
-- **Would I come back?** Or would I look for an alternative?
-- **Could I teach a colleague to use this?** In under 2 minutes?
-- **What's the one thing that would make this twice as easy?**
+Monitor network responses across the entire session. Visual browsing misses API failures — TanStack Query and SWR swallow errors and show empty/loading states instead. A "No results found" might actually be a 403.
-#### Step 7: Document and Report
+| Status | Severity | Usual cause |
+|--------|----------|-------------|
+| 500+ | **Critical** | Server error |
+| 403 | **High** | Permissions or route collision (static shadowed by `/:param`) |
+| 404 | **Medium** | Missing endpoint |
+| 401 | **Low** | Expected unauthenticated; flag on authenticated pages |
+| CORS | **High** | Missing headers — production-only failure |
-Take screenshots at friction points. Compile findings into a UX audit report.
-Write report to `docs/ux-audit-YYYY-MM-DD.md` using the template from [references/report-template.md](references/report-template.md)
+Chrome MCP: use `read_network_requests` after each page. Playwright: attach `page.on('response')` before browsing starts.
-**Severity levels**:
-- **Critical** — blocks the user from completing their task
-- **High** — causes confusion or significant friction
-- **Medium** — suboptimal but the user can work around it
-- **Low** — polish and minor improvements
+## Report
-### Mode 2: QA Sweep
+Write to `docs/ux-audit-YYYY-MM-DD.md` as you go. If `.jez/artifacts/` exists, use `.jez/artifacts/ux-audit-YYYY-MM-DD.md` instead.
-**When**: "qa test", "test all pages", "check everything works", "qa sweep"
+Structure in [references/report-template.md](references/report-template.md):
+- Summary
+- Coverage metrics (threads walked, elements tested, inventoried coverage %)
+- Findings by severity (Critical → Low) with screenshot refs
+- Per-thread results
+- Scenario battery results
+- Network + console error inventory
+- What works well
+- Priority recommendations
-Systematic mechanical testing of all pages and features.
+**Severity:**
+- **Critical** — user cannot complete the task
+- **High** — confusion, friction, trust damage
+- **Medium** — suboptimal, workable
+- **Low** — polish
-1. **Discover pages**: Read the app's router config, sitemap, or manually navigate the sidebar/menu to find all routes
-2. **Create a task list** of areas to test (group by feature area)
-3. **For each page/feature**:
- - Page renders without errors
- - Data displays correctly (tables, lists, details)
- - Forms submit successfully (create)
- - Records can be edited (update)
- - Delete operations work with confirmation
- - Validation fires on bad input
- - Empty states display correctly
- - Error states are handled
-4. **Cross-cutting concerns**:
- - Dark mode: all elements visible, no contrast issues
- - Mobile viewport (375px): layout doesn't break, touch targets adequate
- - Search and filters: return correct results
- - Notifications: display and can be dismissed
-5. Produce a **QA sweep summary table**:
+## Fix-and-Verify Loop
- | Page | Status | Issues |
- |------|--------|--------|
- | /patients | Pass | — |
- | /patients/new | Fail | Form validation missing on email |
+After writing the report, offer the loop:
-6. Write report to `docs/qa-sweep-YYYY-MM-DD.md`
+*"Found N critical and M high issues. Fix them now and re-verify?"*
-### Mode 3: Targeted Check
+If yes:
+1. Group findings by file/area
+2. Patch each one
+3. Re-walk just the affected slice (not the whole app)
+4. Update the report: mark finding `✓ fixed`, `✗ still present`, or `⚠ new issue found`
+5. Close with a "fixed in this session" summary
-**When**: "check [feature]", "test [page]", "verify [component] works"
+Closes the loop inside one session instead of waiting for a second audit pass tomorrow.
-Focused testing of a specific area.
+## Cross-reference with ux-extract
-1. Navigate to the specific page or feature
-2. Test thoroughly — all states, edge cases, error paths
-3. Report findings inline (no separate file unless user requests)
+If a pattern library exists at `.jez/artifacts/ux-extracts/<ref>.md` or `docs/ux-extracts/<ref>.md`, read it before starting and use it as the bar. Findings can then say:
-## When to Use
+> *"Empty state on /app/clients shows no CTA. Reference (claude.ai) shows 3 keyboard shortcuts + 'New chat' button in the same position."*
-| Scenario | Mode | Depth |
-|----------|------|-------|
-| Just changed a page, quick sanity check | Targeted Check | quick |
-| After building a feature, before showing users | UX Walkthrough | standard |
-| Before a release, verify nothing is broken | QA Sweep | standard |
-| Quick check on a specific page after changes | Targeted Check | quick |
-| Periodic UX health check | UX Walkthrough | standard |
-| Client demo prep | QA Sweep + UX Walkthrough | standard |
-| End-of-day comprehensive test, review in morning | All modes combined | thorough |
-| Pre-launch full audit with evidence | All modes combined | thorough |
-| Test literally everything before a client demo | Every element on every page | exhaustive |
-| Weekend-long complete app certification | Every element, state, viewport, mode | exhaustive |
+Graceful if absent — the audit still works without a reference.
-**Skip this skill for**: API-only services, CLI tools, unit/integration tests (use test frameworks), performance testing.
+## Autonomy
-## Autonomy Rules
+- **Just do it**: Navigate, screenshot, read pages, inject layout-detection JS, submit forms with obviously-fake test data, write the report file, dispatch screenshot-review sub-agents
+- **Ask first**: Destructive actions (delete, send, publish, pay). For Destructive Confidence testing, ask once before running that scenario
+- **Stop and confirm**: Anything that emails/notifies external people
-Default rules (standard depth). See "Autonomy by Depth" table above for quick/thorough overrides.
+## Reference files
-- **Just do it**: Navigate pages, take screenshots, read page content, evaluate usability
-- **Brief confirmation**: Before starting a full QA sweep (can be lengthy), before writing report files
-- **Ask first**: Before submitting forms with real data, before clicking delete/destructive actions
+| When | Read |
+|------|------|
+| Per-screen evaluation questions | [references/walkthrough-checklist.md](references/walkthrough-checklist.md) |
+| Workflow threads, wayfinding, mental model alignment, page-to-page continuity | [references/workflow-comprehension.md](references/workflow-comprehension.md) |
+| Full protocol for each of the 8 scenarios | [references/scenario-tests.md](references/scenario-tests.md) |
+| Report format and severity rubrics | [references/report-template.md](references/report-template.md) |
+| Browser tool commands and viewport notes | [references/browser-tools.md](references/browser-tools.md) |
## Tips
-- Chrome MCP is ideal for authenticated apps — it uses your real session
-- For long QA sweeps, use the task list to track progress across pages
-- Take screenshots at key friction points — they make the report actionable
-- Run UX walkthrough before QA sweep — finding "buttons work but users are confused" is more valuable than "all buttons work"
-- Stay in persona throughout — if you catch yourself thinking "a developer would know to..." stop. The user isn't a developer.
-- Every hesitation is a finding. If you paused to figure out what to click, that's friction worth reporting.
-- The "one thing to make it twice as easy" is often the most actionable insight in the whole report
-
-## Reference Files
-
-| When | Read |
-|------|------|
-| Before starting thorough mode — understand the user's world | [references/workflow-comprehension.md](references/workflow-comprehension.md) |
-| Evaluating each screen during walkthrough | [references/walkthrough-checklist.md](references/walkthrough-checklist.md) |
-| Running the six scenario tests | [references/scenario-tests.md](references/scenario-tests.md) |
-| Writing the audit report | [references/report-template.md](references/report-template.md) |
-| Browser tool commands and selection | [references/browser-tools.md](references/browser-tools.md) |
+- **Thread first, elements second.** If time is short, threads tell you more.
+- **Sub-agents for screenshot review.** Don't drive the browser and analyse 200 screenshots in one loop.
+- **Write findings incrementally.** The report file is cheaper memory than your context.
+- **Stay in persona.** If you catch yourself thinking "a developer would know…" stop. Your persona doesn't.
+- **Every hesitation is a finding.** If you paused to figure out what to click, that's friction worth reporting.
+- **Coverage is arithmetic.** Inventoried ÷ tested. Publish the ratio in the report.
diff --git a/plugins/dev-tools/skills/ux-audit/references/browser-tools.md b/plugins/dev-tools/skills/ux-audit/references/browser-tools.md
index 977256cf..23ea829c 100644
--- a/plugins/dev-tools/skills/ux-audit/references/browser-tools.md
+++ b/plugins/dev-tools/skills/ux-audit/references/browser-tools.md
@@ -2,13 +2,27 @@
## Tool Selection
-| Tool | Best For | Auth Support | Setup |
-|------|----------|-------------|-------|
-| **Chrome MCP** | Authenticated apps | Full — uses your logged-in Chrome session | Claude Code extension in Chrome |
-| **Playwright MCP** | Public apps, parallel sessions | Manual login required | MCP plugin |
+| Tool | Use for | Auth | Setup |
+|------|---------|------|-------|
+| **Chrome MCP** | Authenticated apps — **required** for anything requiring login | Full — uses your logged-in Chrome session | Claude Code extension in Chrome |
+| **Playwright MCP** | Public / unauthenticated sites | None | MCP plugin |
| **playwright-cli** | Scripted flows, sub-agent tasks | Persistent session state | npm package |
-**Default**: Use Chrome MCP when available. It uses your real browser session — OAuth, cookies, and all auth state just work. For unauthenticated or public apps, Playwright is fine.
+**Rule**: For authenticated apps, Chrome MCP is the only viable tool — Playwright opens a fresh unauthed browser and the audit becomes meaningless. If Chrome MCP isn't connected, **stop and ask the user to open Chrome and click Connect in the Claude extension**. Do not silently fall back.
+
+For public sites with no login, Playwright MCP is fine (and can run in parallel sessions if needed).
+
+## Viewport
+
+Pin the window at the start of every audit:
+
+```
+width: 1440, height: 900
+```
+
+This is the baseline (standard MacBook resolution). Responsive sweeps then test 1280, 1024, 768, 375.
+
+**Do not resize above 2000px wide** — it breaks the harness. If the user asks to test ultra-wide layouts, screenshot at 1920 max.
## Chrome MCP Commands
diff --git a/plugins/dev-tools/skills/ux-audit/references/report-template.md b/plugins/dev-tools/skills/ux-audit/references/report-template.md
index 97506166..c8e60196 100644
--- a/plugins/dev-tools/skills/ux-audit/references/report-template.md
+++ b/plugins/dev-tools/skills/ux-audit/references/report-template.md
@@ -1,50 +1,54 @@
# UX Audit Report Template
-Use this template when writing audit reports to `docs/`.
+Write the report to `docs/ux-audit-YYYY-MM-DD.md`. If `.jez/artifacts/` exists in the project, write to `.jez/artifacts/ux-audit-YYYY-MM-DD.md` instead.
-## UX Walkthrough Report
+Write incrementally — open the file at the start of the audit, append as you go. Don't batch at the end.
```markdown
# UX Audit: [App Name]
**Date**: YYYY-MM-DD
-**Scenario**: "[realistic task the user walked through]"
-**Persona**: "[who the user is — role, context, tech comfort, time pressure]"
-**Browser**: Chrome MCP / Playwright
-**Viewport**: Desktop (1280px) + Mobile (375px)
+**URL**: https://app.example.com
+**Persona**: "[role, context, tech comfort, time pressure, device]"
+**Browser**: Chrome MCP / Playwright MCP
+**Viewport**: 1440×900 (baseline) + responsive sweep + dark mode
+**Reference extract used**: [path or "none"]
## Summary
-[2-3 sentences: overall impression, biggest concerns, what works well]
+[2–3 sentences: overall impression, biggest concerns, what works well]
-## Flow Score
+## Coverage
-| Metric | Value |
-|--------|-------|
-| Task completed? | Yes / No / Partially |
-| Click count | [number] |
-| Decision points (had to stop and think) | [number] |
-| Dead ends (wrong path, had to backtrack) | [number] |
-| Would come back? | Yes / Maybe / No |
-| Could teach someone in 2 minutes? | Yes / No |
-| One thing to make it twice as easy | [description] |
+| Dimension | Tested | Total | % |
+|-----------|--------|-------|---|
+| Routes | 14 | 14 | 100% |
+| Interactive elements | 187 | 203 | 92% |
+| Threads walked | 4 | 4 | 100% |
+| Scenarios completed | 7 | 8 | 88% (Destructive Confidence skipped — no test account) |
+
+**Elements not tested** (and why):
+- /app/billing — 16 elements — requires paid plan, not available on test account
+- Pagination on /app/clients — insufficient test data
## Findings
### Critical (blocks user task)
-- **[Short title]**: [What happened, what was expected]
+- **[Short title]**: [What happened vs expected]
- *Where*: [page/component]
- - *Screenshot*: [filename if captured]
+ - *Screenshot*: [filename]
+ - *Thread/scenario*: [which discovered it]
- *Fix*: [concrete recommendation]
-### High (causes confusion or friction)
+### High (confusion, friction, trust damage)
- **[Short title]**: [description]
- *Where*: [page/component]
+ - *Screenshot*: [filename]
- *Fix*: [recommendation]
-### Medium (suboptimal but workable)
+### Medium (suboptimal, workable)
- **[Short title]**: [description]
- *Fix*: [recommendation]
@@ -53,134 +57,152 @@ Use this template when writing audit reports to `docs/`.
- **[Short title]**: [description]
-## Workflow Comprehension
+## Thread Results
-How well the app supports the user's real work:
+### Thread 1: [e.g. "Create a new client and add their first policy"]
-### Threads Tested
-- **[Thread name]**: [e.g. "Client calls about renewal → find policy → send renewal email"]
- - Completable end-to-end? [Yes/No/Partially — detail]
- - Steps where the user would get lost: [list]
- - Missing connections between pages: [list]
+- **Completable end-to-end**: Yes / No / Partially — [detail]
+- **Click count**: [N] (estimated optimal: [N])
+- **Decision points**: [N] — [list the moments]
+- **Dead ends**: [N] — [list]
+- **Interrupt recovery**: [closed tab at step 3 — state preserved? ✓ / ✗]
+- **Did it end clearly?**: [Yes/No — detail]
+- **Would I come back?**: [Yes/Maybe/No — why]
+- **One thing to make it twice as easy**: [single highest-impact suggestion]
+- **Screenshots**: [folder path or numbered list]
-### Wayfinding
-- Can the user always tell where they are? [Yes/No — specifics]
-- Do nav labels match user language? [Yes/No — mismatches]
-- Post-action destinations logical? [Yes/No — worst offenders]
+### Thread 2: [...]
-### Visual Cues
-- Does the page guide the eye to the right action? [assessment]
-- Status indicators clear? (What needs attention, what's done, what's pending)
-- Empty states helpful? [Yes/No — which pages]
+[repeat]
-## Scenario Test Results
+## Scenario Results
-### New Hire Onboarding
+### First Contact
- Time to first value: [clicks/pages]
-- Self-explanatory score: [1-5]
+- Self-explanatory score: [1–5]
- Terminology barriers: [list]
+- Threads easy to explain: [list]
+- Threads requiring caveats: [list + the caveats]
+- Threads unexplainable: [list]
+- **2-minute guides written**:
+ - *Thread 1*: "[actual guide written during the test]"
+ - *Thread 2*: "[...]"
### Interrupted Workflow
-| Interruption | Data preserved? | Could resume? |
-|-------------|----------------|---------------|
-| Navigate away mid-form | | |
-| Close tab + reopen | | |
-| Page refresh | | |
+
+| Interruption | Data preserved? | Could resume? | Notes |
+|-------------|----------------|---------------|-------|
+| Navigate away mid-form | Y/N | Y/N | |
+| Close tab + reopen | Y/N | Y/N | |
+| Page refresh | Y/N | Y/N | |
+| Back button | Y/N | Y/N | |
### Wrong Turn Recovery
-| Wrong turn | Steps to recover | Context lost? |
-|-----------|-----------------|---------------|
-| Wrong nav section | | |
-| Wrong record | | |
-### Day Two Efficiency
-| Thread | First time | Second time | Shortcuts found |
-|--------|-----------|-------------|-----------------|
-| | | | |
+| Wrong turn | Recovery method | Steps | Context lost? |
+|-----------|----------------|-------|---------------|
+| Wrong nav section | [method] | [N] | [what] |
+| Wrong record | [method] | [N] | [what] |
+| Wrong filter | [method] | [N] | [what] |
-### Explain It (2-minute guides)
-[Include the actual plain-English explanations — they double as documentation]
+### Returning User
-### What Changed?
-- Awareness score: [1-5]
+| Thread | First time | Second time | Improvement | Shortcuts found |
+|--------|-----------|-------------|-------------|-----------------|
+| Thread 1 | [N clicks] | [N clicks] | [faster/same/slower] | [list] |
+
+- Awareness score (what changed): [1–5]
- Notification quality: [assessment]
-- Missing signals: [list]
+- Missing "what's new" signals: [list]
-## Emotional Friction
+### Keyboard Only
-Moments where the user felt uncertain, anxious, or frustrated:
+| Thread | Completable keyboard-only? | Blockers |
+|--------|---------------------------|----------|
+| Thread 1 | Y/N/Partially | [what stopped you] |
-- **[Moment]**: [What happened, why it felt bad, what would feel better]
+- Focus visibility: [always visible / sometimes / missing]
+- Tab order: [logical / jumps around]
+- Focus traps: [work correctly / broken on modal X]
+- Documented shortcuts: [list or "none"]
-## Resilience
+### Heavy Data
-| Test | Result |
-|------|--------|
-| Navigate away mid-form | [Pass/Fail — detail] |
-| Bad input on forms | [Pass/Fail — detail] |
-| Back button behaviour | [Pass/Fail — detail] |
-| Page refresh | [Pass/Fail — detail] |
+| Area | At 500 records | At 1000+ |
+|------|----------------|----------|
+| List load time | [sec] | [sec] |
+| Scroll smoothness | Smooth/Janky | |
+| Search | Instant/Slow/Broken | |
+| Filter | Useful/Overwhelming | |
+| Pagination | Works/Slow/Broken | |
-## Network Errors (detected during browsing)
+### Destructive Confidence
-| Endpoint | Status | Page | Severity | Notes |
-|----------|--------|------|----------|-------|
-| [URL] | [status] | [page you were on] | [Critical/High/Medium/Low] | [likely cause] |
+| Action | Confirmation | Destructive styling | Undo | Severity |
+|--------|-------------|---------------------|------|----------|
+| Delete client | [copy quality] | Y/N | Y/N | |
+| Send invoice | [copy] | Y/N | Y/N | |
-## What Works Well
+### Second User ([role tested])
+
+| Thread | Completable as [role] | Broken pages | Leaked data | Error quality |
+|--------|----------------------|--------------|-------------|--------------|
+| Thread 1 | Y/N | [list] | [list] | [assessment] |
-- [Positive findings — patterns to preserve and replicate]
+## Network Errors (detected during browsing)
-## Recommendations (priority order)
+| Endpoint | Status | Page | Severity | Notes |
+|----------|--------|------|----------|-------|
+| `GET /api/boards/users` | 403 | /app/boards/123 | High | Likely route collision with /:boardId |
+| `POST /api/settings/theme` | 403 | /app/settings | High | Permission check failing |
+| `GET /api/reports/summary` | 500 | /app/dashboard | Critical | Server error |
-1. [Highest impact fix — addresses critical/high findings]
-2. [Second priority]
-3. [Third priority]
-```
+## Console Errors
-## QA Sweep Report
+| Error | Page | Severity | Notes |
+|-------|------|----------|-------|
+| TypeError: Cannot read property 'id' of undefined | /app/clients/123 | High | on edit modal open |
-```markdown
-# QA Sweep: [App Name]
+## Responsive / Dark Mode
-**Date**: YYYY-MM-DD
-**Browser**: Chrome MCP / Playwright
-**Areas Tested**: [count]
+| Route | 1280 | 1024 | 768 | 375 | Dark (1440) | Dark (375) | Notes |
+|-------|------|------|-----|-----|------------|-----------|-------|
+| / | ✓ | ✓ | ✓ | ✓ | ✓ | ✗ (text invisible) | |
+| /app/clients | ✓ | ✓ | ✗ (overflow) | ✗ | ✓ | ✓ | |
-## Summary
+## What Works Well
-[passed] / [total] areas passed. [brief overview of failures]
+Positive findings — patterns to preserve and replicate:
-## Results
+- [e.g. "Empty state on /app/clients has a clear CTA and explanation"]
+- [e.g. "Create flow lands on the new record, not back at the list"]
+- [e.g. "Keyboard shortcut palette (Cmd+K) works from every page"]
-| Area | Status | Issues |
-|------|--------|--------|
-| [Page/Feature] | Pass / Fail | [brief note or "—"] |
+## Priority Recommendations
-## Failed Areas — Detail
+Ranked by impact:
-### [Area Name]
+1. **[Highest-impact fix]** — addresses [Critical finding]. Est. effort: [S/M/L].
+2. **[Second priority]** — [...].
+3. **[Third]** — [...].
-- **Issue**: [what failed]
-- **Steps**: [how to reproduce]
-- **Expected**: [what should happen]
-- **Actual**: [what happened]
+## Fix-and-Verify (if run)
-## Cross-Cutting
+| Finding | Severity | Fix applied | Verified |
+|---------|----------|------------|----------|
+| Submit button doesn't respond on /signup | Critical | [commit/branch] | ✓ |
+| Cascading delete has no warning | High | [commit] | ✓ |
+| Pagination resets selection | Medium | — | ⏳ deferred |
-| Check | Status | Notes |
-|-------|--------|-------|
-| Dark mode | Pass/Fail | |
-| Mobile (375px) | Pass/Fail | |
-| Search & filters | Pass/Fail | |
-| Notifications | Pass/Fail | |
-| Empty states | Pass/Fail | |
+**Summary of this session's fixes**: [N critical + M high fixed and verified. K deferred.]
```
## Guidelines
-- Keep findings concrete — "Submit button doesn't respond" not "form is broken"
-- Include page/route for every finding so developers can locate it
-- Screenshots are optional but make critical/high findings much more actionable
-- "What Works Well" section prevents the report from being only negative
-- Priority recommendations should be actionable in one sprint
+- **Keep findings concrete** — "Submit button doesn't respond on /signup" not "form is broken"
+- **Include location** — page + component for every finding, so developers can locate it
+- **Include screenshot refs** for every critical/high finding — they make the report actionable
+- **"What Works Well" matters** — prevents the report reading as pure criticism, preserves good patterns
+- **Priority recommendations** should be actionable in one sprint — not a wish list
+- **Coverage arithmetic** goes at the top so readers see the denominator — a report that found 5 bugs across 200 elements reads very differently from 5 bugs across 20 elements
+- **Append as you go** — the file is cheaper memory than your context; don't try to remember findings for the end
diff --git a/plugins/dev-tools/skills/ux-audit/references/scenario-tests.md b/plugins/dev-tools/skills/ux-audit/references/scenario-tests.md
index fe7b519b..3c120112 100644
--- a/plugins/dev-tools/skills/ux-audit/references/scenario-tests.md
+++ b/plugins/dev-tools/skills/ux-audit/references/scenario-tests.md
@@ -1,201 +1,336 @@
# Scenario Tests
-Six structured tests that go beyond page-by-page evaluation. Each simulates a real-world situation that exposes problems traditional QA misses. Run all six during thorough mode.
+Eight structured tests that go beyond page-by-page evaluation. Each simulates a real-world situation that exposes problems traditional QA misses. Run all eight during an exhaustive audit.
---
-## 1. New Hire Onboarding Test
+## 1. First Contact
-**Premise**: You just started this job. Nobody has shown you the app. Figure it out.
+**Premise**: You just started this job. Nobody has shown you the app. Figure it out — then prove you understand it by writing a 2-minute plain-English guide a colleague could follow.
**How to run**:
-1. Navigate to the app's entry point (login page or dashboard)
+
+1. Navigate to the app's entry point (login page or dashboard).
2. Do NOT read any CLAUDE.md, README, or source code. No insider knowledge.
3. Try to answer these questions purely from using the app:
- What is this app for?
- What are the main things I can do?
- Where do I start?
- How do I do the most common task?
-4. Time yourself (count clicks/pages visited). How many screens before you can do something useful?
-5. Note every moment of confusion — that's a real onboarding failure
+4. For each of the main threads, write a short plain-English guide:
+ ```
+ "To [accomplish task], go to [section], click [button], fill in [fields],
+ then click [action]. You'll see [confirmation]. The [thing] will appear
+ in [location]."
+ ```
+5. Evaluate what you just wrote.
**What to report**:
- **Time to first value**: How many clicks/pages before you accomplished something real?
-- **Self-explanatory score**: Could you figure out the app without help? (1-5 scale)
+- **Self-explanatory score**: Could you figure out the app without help? (1–5 scale)
- **Missing onboarding**: Is there a welcome screen, guided tour, or empty-state guidance? Or just a blank dashboard?
- **Terminology barriers**: Any labels or section names you didn't understand?
- **Dead ends**: Places where you got stuck with no indication of what to do next?
+- **Threads that were easy to explain**: These are well-designed workflows — preserve them.
+- **Threads that required caveats**: "But first you need to..." or "Make sure you don't..." signals friction.
+- **Threads you couldn't explain**: Where you had to say "then you kind of need to figure out..." — that's a comprehension failure.
+- **Jargon you had to translate**: Words in the app that you replaced with plain language in your explanation.
+- **Steps you had to invent**: Things the app doesn't guide you through.
+
+**Output**: Include the actual written explanations in the report. They double as draft user documentation — and the gaps map directly to UX improvements.
-**Severity guide**: If a new user can't figure out the primary task within 5 minutes of clicking around, that's a **High** finding.
+**Severity guide**: If a new user can't figure out the primary task within 5 minutes of clicking around, that's **High**. If a thread can't be explained in under 5 steps without caveats, that's **Medium**. If a thread can't be explained at all, **High**.
---
-## 2. Interrupted Workflow Test
+## 2. Interrupted Workflow
**Premise**: Real users don't work in uninterrupted sessions. They start something, get a phone call, close the laptop, come back hours later.
**How to run**:
-1. Start a multi-step task (creating a record, filling a long form, configuring settings)
-2. Get halfway through — don't finish
+1. Start a multi-step task (creating a record, filling a long form, configuring settings).
+2. Get halfway through — don't finish.
3. Simulate interruption:
- Navigate away to a completely different section
- Close the tab and reopen the app from the URL bar
- Refresh the page mid-form
- Open a different page in the same tab, then hit back
-4. Try to resume the task
+4. Try to resume the task.
**What to report**:
| Interruption | Data preserved? | Could resume? | Notes |
|-------------|----------------|---------------|-------|
-| Navigate away mid-form | Yes/No | Yes/No | |
-| Close tab + reopen | Yes/No | Yes/No | |
-| Page refresh | Yes/No | Yes/No | |
-| Back button | Yes/No | Yes/No | |
+| Navigate away mid-form | Y/N | Y/N | |
+| Close tab + reopen | Y/N | Y/N | |
+| Page refresh | Y/N | Y/N | |
+| Back button | Y/N | Y/N | |
Also check:
- **Draft/autosave**: Does the app save partial work? Is there a "drafts" or "recent" section?
- **Return navigation**: Is there a "continue where you left off" or "recently viewed" feature?
-- **Warning on abandon**: Does it warn you before losing unsaved work?
+- **Warning on abandon**: Does it warn before losing unsaved work?
- **Session persistence**: After reopening, are you still logged in? Does the app remember your last location?
-**Severity guide**: Losing form data silently is **Critical**. No way to find where you left off is **High**.
-
----
-
-## 3. Explain It to a Colleague Test
-
-**Premise**: After using the app, write a 2-minute guide for a colleague. If you can't explain it simply, the app is too complicated.
-
-**How to run**:
-1. Complete the main workflow threads (from the workflow comprehension step)
-2. Now write a brief, plain-English explanation for each thread:
- ```
- "To [accomplish task], go to [section], click [button], fill in [fields],
- then click [action]. You'll see [confirmation]. The [thing] will appear
- in [location]."
- ```
-3. Evaluate what you just wrote
-
-**What to report**:
-- **Threads that were easy to explain**: These are well-designed workflows
-- **Threads that required caveats**: "But first you need to..." or "Make sure you don't..." signals friction
-- **Threads you couldn't explain clearly**: Where you had to say "then you kind of need to figure out..." — that's a comprehension failure
-- **Jargon you had to translate**: Words in the app that you replaced with plain language in your explanation
-- **Steps you had to invent**: Things the app doesn't guide you through that you had to figure out
-
-**Output**: Include the actual written explanations in the report. They double as user documentation — and the gaps in them map directly to UX improvements needed.
-
-**Severity guide**: Any thread you can't explain in under 5 steps without caveats is a **Medium** finding. Any thread you can't explain at all is **High**.
+**Severity guide**: Losing form data silently is **Critical**. No way to find where you left off is **High**. No warning when abandoning work is **High**.
---
-## 4. Wrong Turn Recovery Test
+## 3. Wrong Turn Recovery
**Premise**: Users click the wrong thing constantly. How forgiving is the app?
**How to run**:
-1. For each main section of the app, deliberately go to the wrong place:
+1. For each main section, deliberately go to the wrong place:
- Click Policies when you meant Clients
- Open the wrong record from a list
- Start creating the wrong type of item
- Apply wrong filters to a list
-2. Now try to recover — get back to what you actually wanted to do
+2. Try to recover — get back to what you actually wanted to do.
**What to report**:
| Wrong turn | Recovery method | Steps to recover | Context lost? |
|-----------|----------------|-----------------|---------------|
-| Wrong nav section | [back button / nav click / breadcrumb] | [count] | [Yes/No — what was lost] |
-| Wrong record opened | [back to list / browser back] | [count] | [filters lost? scroll position?] |
-| Wrong form started | [cancel / back / close] | [count] | [any data lost from previous work?] |
-| Wrong filter applied | [clear / reset / undo] | [count] | [other filters preserved?] |
+| Wrong nav section | back/nav click/breadcrumb | [count] | Y/N — what was lost |
+| Wrong record opened | back to list/browser back | [count] | filters lost? scroll position? |
+| Wrong form started | cancel/back/close | [count] | any data lost from previous work? |
+| Wrong filter applied | clear/reset/undo | [count] | other filters preserved? |
Also evaluate:
- **Cancel safety**: Does cancelling a form always work without side effects?
- **Undo availability**: Can you undo any action? Which ones are irreversible?
-- **Navigation memory**: When you go back to a list, are your filters/sort/scroll position preserved?
+- **Navigation memory**: When you go back to a list, are filters/sort/scroll preserved?
- **Confirmation dialogs**: Do destructive actions have confirmations? Are they clear about what will happen?
**Severity guide**: Losing work because of a wrong turn is **Critical**. More than 3 clicks to recover from a wrong nav click is **High**. Lost filter state is **Medium**.
---
-## 5. Day Two Test
+## 4. Returning User
-**Premise**: Day one is about discovery. Day two is about efficiency. Does the app reward returning users?
+**Premise**: Day one is about discovery. Day two is about efficiency. The user is back — is the app faster this time? Can they see what needs attention?
**How to run**:
-1. After completing the full walkthrough (you've already used the app extensively)
-2. Repeat the main workflow threads from the beginning
-3. This time, measure the difference:
+
+*Part A — efficiency*
+
+1. After completing the full walkthrough (you've used the app extensively), repeat the main workflow threads from the beginning.
+2. Measure the difference:
- Is it faster the second time?
- Are there shortcuts you can now use?
- Does the app remember your preferences?
- Can you skip steps that were necessary the first time?
+*Part B — what changed*
+
+3. Now look at the dashboard or landing page after the walkthrough has created/modified data.
+4. Try to answer: what happened since the last time I was here?
+5. Check for these signals:
+
+| Signal | Present? | Useful? |
+|--------|----------|---------|
+| Activity feed / recent activity | Y/N | Helpful / Noise / Missing |
+| Notification badges/counts | Y/N | Accurate / Stale / Missing |
+| "New since last visit" indicators | Y/N | |
+| Modified/updated timestamps | Y/N | Visible or buried? |
+| Assigned-to-me / needs-attention view | Y/N | |
+
**What to report**:
| Thread | First time (clicks) | Second time (clicks) | Improvement | Shortcuts found |
|--------|-------------------|---------------------|-------------|-----------------|
-| [Thread 1] | [count] | [count] | [faster/same/slower] | [list] |
-| [Thread 2] | [count] | [count] | [faster/same/slower] | [list] |
+| [Thread 1] | [count] | [count] | faster/same/slower | [list] |
-Also check:
+Plus:
- **Recent items**: Does the app surface recently viewed/edited items?
-- **Defaults**: Does it remember your last choices (filters, sort order, selected view)?
+- **Defaults**: Does it remember last choices (filters, sort order, selected view)?
- **Keyboard shortcuts**: Are there any? Are they discoverable?
- **Bulk operations**: For repeat tasks, can you do them in batch?
-- **Search**: Can you jump directly to what you need instead of navigating?
+- **Search**: Can you jump directly instead of navigating?
- **Bookmarkable deep links**: Can you save links to specific records/views?
+- **Awareness score**: On a 1–5 scale, how quickly could a returning user understand what needs attention?
+- **Notification quality**: Do notifications tell you what to do, or just that something happened?
+- **Staleness risk**: Could a user miss something important because there's no alert or indicator?
+- **Team awareness**: In a multi-user app, can you see what colleagues did?
-**Power user friction**: Things that are fine on day one but maddening on day 100:
+**Power user friction** — things that are fine on day one but maddening on day 100:
- Confirmation dialogs you can't skip ("Are you sure?" for routine operations)
- Mandatory fields that are always the same value
- No way to duplicate a record (have to re-enter everything)
- Pagination that resets when you navigate back
-**Severity guide**: No improvement between first and second use is **High** — it means the app doesn't learn from the user or offer any efficiency gains. Missing search on a data-heavy app is **High**.
+**Severity guide**: No improvement between first and second use is **High** — the app doesn't learn from the user. Missing search on a data-heavy app is **High**. No way to tell what changed since last visit on a team app is **High**. Dashboard showing static content instead of actionable status is **Medium**.
---
-## 6. What Changed? Test
+## 5. Keyboard Only
-**Premise**: The user logs in after being away for a day/week. Can they tell what happened while they were gone?
+**Premise**: Unplug the mouse. A power user, an accessibility user, or anyone on a long flight with a dead trackpad — can they still use the app?
**How to run**:
-1. Look at the dashboard or landing page after the walkthrough has created/modified data
-2. Try to answer: what happened since the last time I was here?
-3. Check for these signals:
+1. Do not touch the mouse/trackpad. At all. Don't use it to scroll, don't hover. Pure keyboard.
+2. Attempt each main thread end to end using only:
+ - `Tab` / `Shift+Tab` — focus navigation
+ - `Enter` / `Space` — activate
+ - Arrow keys — menus, selects, lists
+ - `Escape` — close dialogs
+ - Any documented app-specific shortcuts
+3. For each thread, note whether it can be completed and what breaks.
-| Signal | Present? | Useful? |
-|--------|----------|---------|
-| Activity feed / recent activity | Yes/No | Helpful / Noise / Missing |
-| Notification badges/counts | Yes/No | Accurate / Stale / Missing |
-| "New since last visit" indicators | Yes/No | |
-| Modified/updated timestamps | Yes/No | Visible or buried? |
-| Assigned-to-me / needs-attention view | Yes/No | |
+**What to report**:
+
+| Thread | Completable? | Blockers |
+|--------|--------------|----------|
+| [Thread 1] | Y/N/Partially | [what stopped you] |
+
+Also evaluate:
+- **Focus visibility**: Is the focused element always clearly visible? Or is the focus ring invisible, or clipped, or missing entirely?
+- **Tab order**: Is it logical (top-to-bottom, left-to-right, or matches visual grouping)? Or does it jump around?
+- **Focus traps**: Do modals trap focus correctly? Does Escape close them?
+- **Skip links**: Is there a "skip to main content" for keyboard users bypassing nav?
+- **Click-only elements**: Are there buttons or controls that only respond to mouse click, not keyboard?
+- **Custom components**: Custom dropdowns, date pickers, drag-and-drop — do they have keyboard equivalents?
+- **Shortcut discovery**: Is there a `?` shortcut sheet? Or are shortcuts undocumented?
+- **Shortcut conflicts**: Do app shortcuts conflict with browser defaults (Cmd+K, Cmd+S, etc.)?
+
+**Severity guide**: Any thread that can't complete keyboard-only is **High** (higher if accessibility is a stated requirement). Missing focus indicators is **High**. Focus traps that don't release on Escape is **High**. No keyboard equivalent for a common action (drag-to-reorder, etc.) is **Medium**.
+
+---
+
+## 6. Heavy Data
+
+**Premise**: The app works fine with 5 demo records. Real users have hundreds or thousands. Does it still work?
+
+**How to run**:
+1. If you can seed the database with 500+ records, do it. If not, use the heaviest real account available.
+2. For each list/table view:
+ - Does it load in under 2 seconds?
+ - Does it virtualise or render all rows?
+ - Does scrolling stay smooth (60fps feel) or does it jank?
+ - Does the page memory balloon?
+3. Test search:
+ - Search for something that matches 1 result — found quickly?
+ - Search for something that matches 100 results — is the result set useful?
+ - Search for something that matches 0 results — is the empty state helpful?
+ - Search with typos — is there fuzzy matching or did it fail silently?
+4. Test filters:
+ - Apply a filter that matches many records — does the count update? Does the URL reflect the filter?
+ - Apply a filter that matches nothing — helpful empty state?
+ - Apply multiple filters — are they combined (AND) intuitively? Can you see which are active?
+5. Test pagination:
+ - Navigate to page 50 directly (if page-jumping is supported)
+ - Change items-per-page — does the selection persist?
+ - Deep link to page 50 — does it load directly, or redirect to page 1?
**What to report**:
-- **Awareness score**: On a 1-5 scale, how quickly could a returning user understand what needs attention?
-- **Notification quality**: Do notifications tell you what to do, or just that something happened?
-- **Staleness risk**: Could a user miss something important because there's no alert or indicator?
-- **Team awareness**: In a multi-user app, can you see what colleagues did?
-**Severity guide**: No way to tell what changed since last visit on a team app is **High**. Dashboard that shows static content instead of actionable status is **Medium**.
+| Area | At 500 records | At 1000+ records |
+|------|----------------|------------------|
+| List load time | [sec] | [sec] |
+| Scroll smoothness | Smooth / Janky | Smooth / Janky |
+| Search responsiveness | Instant / Slow / Broken | — |
+| Filter narrowing | Useful / Overwhelming | — |
+| Pagination | Works / Slow / Broken | — |
+
+Plus:
+- **Sort stability**: When sorting by a column, does the order survive navigation and refresh?
+- **Bulk selection**: Can you select all filtered records, or only the current page? Is that clear?
+- **Export**: Can you export the current filtered view? All records? Does it time out or fail silently?
+- **Infinite scroll**: If used, can you get back to where you were after clicking into a detail? Or does it reset?
+
+**Severity guide**: List that doesn't virtualise at 1000+ rows is **High** (performance degrades, memory issues). Search returning irrelevant top results on common terms is **High**. Pagination that resets selection/state on every page change is **Medium**. Filter UI that doesn't show which filters are active is **Medium**.
+
+---
+
+## 7. Destructive Confidence
+
+**Premise**: The high-stakes moments — delete, send, publish, pay, share. Does the app keep the user safe?
+
+**How to run**:
+1. Inventory every destructive or irreversible action in the app:
+ - Delete (record, file, comment, account)
+ - Send (email, invitation, notification)
+ - Publish / make public
+ - Pay / charge
+ - Share (external link, give access)
+ - Archive / deactivate
+ - Bulk operations on any of the above
+2. For each one:
+ - Is there a confirmation dialog? What does it say?
+ - Does the confirmation specify *what* will happen ("Delete Jenny O'Brien. 3 policies will also be removed. This cannot be undone.") or is it vague ("Are you sure?")?
+ - Is the destructive button visually distinguished (red, warning icon)?
+ - Is there an undo option after the action?
+ - If no undo, is there a time window ("Deleted. Restore within 30 days.")?
+3. For the bulk variants:
+ - Does the confirmation say how many items will be affected?
+ - Can you see which items you're about to act on?
+ - Is there a way to undo a bulk action?
+
+**Ask the user before running** this scenario — destructive testing on a real account can cause damage. Use a test account if possible.
+
+**What to report**:
+
+| Action | Confirmation quality | Destructive styling | Undo available | Severity |
+|--------|---------------------|---------------------|----------------|----------|
+| Delete client | [copy / specific? / count?] | Y/N | Y/N (time window) | |
+| Send invoice | [copy] | Y/N | Y/N | |
+| Publish page | [copy] | Y/N | Y/N | |
+| Bulk delete | [copy / count shown?] | Y/N | Y/N | |
+
+Plus:
+- **Side-effect disclosure**: Does the app warn about cascading deletes, linked records, revoked access?
+- **Fatigue risk**: If you trigger a destructive action 10 times in a row, do you stop reading the confirmation? Is the confirmation pattern the same every time, making it easy to click through mindlessly?
+- **Accidental trigger surface**: How easy is it to hit a destructive action by mistake? Is it next to a similar-looking safe action?
+
+**Severity guide**: Destructive action with no confirmation is **Critical**. Confirmation without specifics ("Are you sure?" with no context) is **High**. Destructive button styled identically to safe buttons is **High**. No undo and no time window for irreversible actions is **High**. Bulk delete without count/preview is **High**.
+
+---
+
+## 8. Second User
+
+**Premise**: Most apps have roles — admin vs viewer, staff vs client, owner vs guest. The primary user experience is tested exhaustively. What about the others?
+
+**How to run**:
+1. Identify every role/permission level the app supports.
+2. Log in as a non-primary role (viewer, client, read-only, restricted).
+3. Walk the main threads as that role.
+4. Specifically check:
+ - **Denied pages**: Are they gracefully blocked (meaningful error, redirect to a page you can access) or do you see a broken page, blank screen, or raw error?
+ - **Denied actions**: Are destructive/edit buttons hidden? Disabled with tooltip? Or visible-and-clickable but failing with a cryptic error?
+ - **Denied data**: Can you see records you shouldn't? Search results leaking internal records?
+ - **Error messages**: "You don't have permission to do that" — does it say *why* or *who to ask*?
+ - **Empty states**: Do they differ by role? A client sees "No invoices yet" but an admin sees "No invoices yet — add one"?
+
+**What to report**:
+
+| Role | Threads completable | Broken pages | Leaked data | Error message quality |
+|------|---------------------|--------------|-------------|----------------------|
+| [Viewer] | [list] | [list] | [list] | [assessment] |
+| [Client] | [list] | [list] | [list] | [assessment] |
+
+Plus:
+- **Wayfinding for restricted users**: Does the nav show items they can't access? Does it clearly mark them, hide them, or tease them?
+- **Permissions UX**: If a user has mixed permissions (can view some records but not others), does the UI communicate that cleanly?
+- **Request-access flows**: If a user hits a permission wall, is there a "request access from [owner]" option?
+- **Impersonation**: If staff can act on behalf of clients, is the switch visually obvious so they don't accidentally act as the wrong user?
+
+**Severity guide**: Broken page on permission denied (blank, raw stack trace, 500) is **Critical**. Leaked data visible to wrong role is **Critical**. Destructive button visible-and-clickable-but-failing for a restricted user is **High**. Confusing or absent error messages on denial is **High**. Nav showing items the user can't use without indication is **Medium**.
---
-## Running These in Thorough Mode
+## Running the Battery
-Run all six tests after the layout sweep and QA sweep (you need the app populated with test data). Recommended order:
+Recommended order:
-1. **New hire onboarding** — do this first while you still have fresh eyes from the layout sweep
-2. **Workflow thread testing** — follow the main threads (already in the workflow step)
-3. **Interrupted workflow** — test mid-workflow during the thread testing
-4. **Wrong turn recovery** — test after you know the right paths
-5. **Day two** — repeat the threads, measure improvement
-6. **Explain it** — write the explanations last, as a synthesis of everything observed
-7. **What changed?** — check the dashboard/notifications view after all the test data creation
+1. **First Contact** — do this first, while you still have fresh eyes.
+2. **Thread traversal** — follow the main threads (already in the main audit flow).
+3. **Interrupted Workflow** — test mid-workflow during thread traversal.
+4. **Wrong Turn Recovery** — test after you know the right paths.
+5. **Heavy Data** — seed volume, rerun list/search/filter tests.
+6. **Returning User** — repeat threads, measure improvement, check the dashboard.
+7. **Keyboard Only** — unplug the mouse, re-walk the threads.
+8. **Destructive Confidence** — ask the user before running. Use a test account if possible.
+9. **Second User** — log out, log in as a restricted role.
-The "explain it" test output goes directly into the report and doubles as user documentation draft.
+The First Contact output goes directly into the report and doubles as user documentation draft. The Destructive Confidence and Second User results often surface the highest-severity findings in the whole audit.
diff --git a/plugins/dev-tools/skills/ux-compare/SKILL.md b/plugins/dev-tools/skills/ux-compare/SKILL.md
new file mode 100644
index 00000000..605854fc
--- /dev/null
+++ b/plugins/dev-tools/skills/ux-compare/SKILL.md
@@ -0,0 +1,176 @@
+---
+name: ux-compare
+description: "Compare UX patterns across multiple reference apps using pattern libraries produced by ux-extract. Reads 2+ pattern-library.md files, walks them category by category, identifies where apps converge (strong signal), where they diverge (genuine design choice), what's unique to one app, and what's absent across the set. Produces an opinionated comparison document with recommendations for a new build. No browser needed — pure markdown analysis. Trigger with 'compare UX patterns', 'how do top apps handle X', 'ux comparison', 'pattern comparison across reference apps'."
+compatibility: claude-code-only
+---
+
+# UX Compare
+
+Read N pattern libraries produced by `ux-extract` and synthesise a comparison. Answers questions like:
+
+- *"Across claude.ai, Linear, Notion, Vercel, and Superhuman — how are empty states handled?"*
+- *"Which apps use keyboard shortcuts, and what's the shared vocabulary?"*
+- *"When we build our billing page, should we follow convention or deliberately break it?"*
+
+A single extract is a reference point. Multiple extracts are a design library. A comparison is a *decision aid* — it turns the library into "here's what to do and why".
+
+## When to use
+
+- **Before a build** — comparing 3–5 references for the feature class you're about to build reveals the convention and the tradeoffs
+- **During a design review** — "this pattern isn't in any of the 5 references we've extracted — is that deliberate?"
+- **For team alignment** — shared reference for a design decision
+- **To produce a design brief** — convergent patterns become the baseline; divergent patterns become the discussion
+
+## Inputs
+
+### Available libraries
+
+First, discover what's available. Pattern libraries live at:
+
+- `docs/ux-extracts/<app-name>/pattern-library.md`
+- `.jez/artifacts/ux-extracts/<app-name>/pattern-library.md`
+- `~/Documents/.jez/artifacts/ux-extracts/<app-name>/pattern-library.md`
+
+List everything you find. Show the user the inventory with the extraction date for each so they can spot stale ones:
+
+```
+Available pattern libraries:
+- claude.ai (extracted 2026-03-12)
+- linear.app (extracted 2026-02-28)
+- notion.so (extracted 2026-01-15) ← 3 months old
+- superhuman (extracted 2026-03-20)
+```
+
+If only one library exists, stop and suggest running `ux-extract` on more apps first. A one-library "comparison" is just the library.
+
+### Scope / focus
+
+Ask the user what to compare — or infer from their request:
+
+- **Whole library** — compare every category across every library (verbose but comprehensive)
+- **One category** — just empty states, just keyboard, just modals (tighter, more useful for specific decisions)
+- **A feature area** — "how do these apps handle settings", crosses multiple categories but stays focused
+- **A specific question** — "which apps support offline?" — searches Notable Absences sections too
+
+Narrower scope produces sharper recommendations. Default to asking: *"What feature or pattern do you want to compare?"*
+
+### Libraries to include
+
+By default, include every library the user mentions or all of them if they don't specify. Let them exclude: *"all except notion — their library is too stale"*.
+
+## Comparison Process
+
+### 1. Read every library
+
+For each library in scope, read the full `pattern-library.md`. Note:
+- Extraction date
+- Scope of the extract (whole app vs partial)
+- Any **Notable Absences** section — often the most interesting data for comparison
+
+### 2. Walk category by category
+
+For the scope requested, walk each pattern category that appears in any library. For each category:
+
+1. **List what each app does** — one bullet per app, concrete and verbatim where possible
+2. **Identify convergence** — what's the same across most or all? This is the low-risk default.
+3. **Identify divergence** — where do they genuinely differ? This is a design decision.
+4. **Flag unique approaches** — only one app does X. Either innovation or weirdness; call it out either way.
+5. **Flag coverage gaps** — if an app's library doesn't cover this category, say so (don't silently treat absent-from-library as absent-from-app).
+
+### 3. Cross-reference absences
+
+After walking categories, collect what's absent across the set. If 4 of 5 apps have no undo on destructive actions, that's a pattern. If 3 of 5 apps have no keyboard shortcut for new-record creation, that's a decision someone keeps making.
+
+### 4. Synthesise recommendations
+
+Close with opinionated guidance:
+- **Safe default** — the convergent pattern. Following it means users feel at home.
+- **Deliberate choices** — the divergent patterns, with the tradeoff of each so the user can pick.
+- **Avoid** — unique-to-one patterns unless there's a clear reason why that one app does it differently.
+- **Gaps worth filling** — absences that are surprising, or that your users would benefit from seeing addressed.
+
+The recommendations section is the reason to run the comparison. Without it, the doc is a pile of bullets. With it, it's a decision.
+
+## Output
+
+Write to `docs/ux-comparisons/<topic>-YYYY-MM-DD.md` (or `.jez/artifacts/ux-comparisons/<topic>-YYYY-MM-DD.md` if that path exists).
+
+Topic slug from the scope — e.g. `empty-states`, `keyboard-shortcuts`, `onboarding`, `destructive-actions`.
+
+See [references/comparison-template.md](references/comparison-template.md) for the full output shape.
+
+Short version:
+
+```
+# UX Comparison: Empty States
+
+Compared: claude.ai, linear.app, notion.so, superhuman
+Date: 2026-04-19
+Scope: How these apps handle empty states across list views, onboarding, and zero-data dashboards.
+
+## At a glance
+
+[2-3 sentences: what converges, what diverges, what's missing across the set]
+
+## Pattern-by-pattern
+
+### Empty list state
+
+- **claude.ai**: illustration + headline + description + primary CTA + 3 shortcut hints
+- **linear**: headline only, small text, no CTA
+- **notion**: template picker (unique — offers 12 templates)
+- **superhuman**: empty state not reached in extract (all-data demo account)
+
+Convergence: most show some form of guidance; none are fully blank.
+Divergence: claude.ai guides toward keyboard workflow; notion guides toward templates.
+Unique: notion's template-first empty state.
+Coverage gap: superhuman not assessed.
+
+### Empty search results
+[...]
+
+## Recommendations
+
+- **Safe default**: illustration + one-line description + primary CTA. All convergent apps do this.
+- **Consider**: shortcut hints (like claude.ai) if your power-user persona is strong. Tradeoff: adds visual noise that doesn't help first-time users.
+- **Skip**: notion's template picker unless you have a templates feature.
+- **Fill a gap**: none of the 4 apps explain *why* the list is empty. A one-liner ("No clients yet — add your first to get started") is convergent practice and worth preserving.
+
+## Source libraries
+
+- claude.ai — 2026-03-12
+- linear.app — 2026-02-28
+- notion.so — 2026-01-15 (stale, re-extract recommended)
+- superhuman — 2026-03-20
+```
+
+## Autonomy
+
+- **Just do it**: Discover available libraries, read them, write the comparison document, cite specific screenshots or copy from the source libraries
+- **Ask first**: If the user didn't specify scope — one focused question is cheaper than a sprawling comparison
+- **Stop and confirm**: If fewer than 2 usable libraries exist — comparing is impossible with 1 library, suggest `ux-extract` first
+
+## Reference files
+
+| When | Read |
+|------|------|
+| Writing the comparison document | [references/comparison-template.md](references/comparison-template.md) |
+
+## Tips
+
+- **Don't re-list everything from every library.** The comparison is value-add synthesis. If you're just copying bullets from 5 libraries, you're not comparing.
+- **Convergence is usually the safest choice**, but not always the most interesting one. Call out where convergence might be copy-paste rather than good design.
+- **Cite screenshots from the source libraries** — don't copy them. "See claude.ai pattern library § Empty States, screenshot 502" keeps extracts as the single source of truth.
+- **Stale libraries are still useful** — just note the date. A 12-month-old library is a snapshot of that moment, not nothing.
+- **Recommendations must be opinionated.** *"It depends"* is the weakest possible output. State a position. The user can disagree.
+- **Comparisons age too.** Re-run when underlying extracts get refreshed, or when a new reference enters the set.
+
+## Future: more than 5 apps
+
+Comparisons scale non-linearly. 3 apps is comfortable; 5 is the upper bound of readability; 10 becomes a matrix that's impossible to synthesise in prose. If comparing more than 5 libraries, bucket them:
+
+- Tier 1 (closest to your app) — detailed bullets
+- Tier 2 (reference-class) — summary bullets
+- Tier 3 (outliers, novel approaches) — mention by exception
+
+Or do several narrower comparisons rather than one mega-comparison.
diff --git a/plugins/dev-tools/skills/ux-compare/references/comparison-template.md b/plugins/dev-tools/skills/ux-compare/references/comparison-template.md
new file mode 100644
index 00000000..7c7b275b
--- /dev/null
+++ b/plugins/dev-tools/skills/ux-compare/references/comparison-template.md
@@ -0,0 +1,122 @@
+# Comparison Output Template
+
+Structure for the document produced by `ux-compare`. Write to `docs/ux-comparisons/<topic>-YYYY-MM-DD.md`.
+
+Topic slug matches the scope: `empty-states`, `onboarding`, `keyboard`, `destructive-actions`, `modals`, `whole-app`, etc.
+
+```markdown
+# UX Comparison: [Topic]
+
+**Date**: YYYY-MM-DD
+**Scope**: [What this comparison covers — specific feature, category, or whole-library]
+**Compared**:
+- [app-1] (extracted YYYY-MM-DD)
+- [app-2] (extracted YYYY-MM-DD)
+- [app-3] (extracted YYYY-MM-DD — ⚠ stale, re-extract recommended)
+**Source libraries**: `docs/ux-extracts/[app-1]/`, `docs/ux-extracts/[app-2]/`, etc.
+
+## At a glance
+
+[2–3 sentences: the headline findings. What converges? What diverges? What's surprisingly absent?]
+
+## Convergence (strong signal)
+
+Where most or all of the compared apps agree. These are defensible defaults — following them means users won't feel lost.
+
+- **[Pattern]**: [how it's handled across the set, one sentence]
+- **[Pattern]**: [...]
+
+## Divergence (design decisions)
+
+Where apps genuinely differ. Each divergence is a tradeoff — pick based on your context.
+
+### [Pattern with divergence]
+
+- **[App A]**: [what they do]
+- **[App B]**: [what they do]
+- **[App C]**: [what they do]
+
+**Tradeoff**: [one sentence explaining when you'd pick each approach]
+
+### [Another pattern]
+[...]
+
+## Unique approaches
+
+Patterns only one app in the set uses. Call them out — either innovation worth borrowing, or weirdness worth avoiding.
+
+- **[App]** — [pattern]. [Why they probably do it; whether it's borrowable]
+
+## Absent across the set
+
+What none or few of these apps do. Notable because it surfaces design *decisions by omission*.
+
+- **[Absence]**: [X of N apps skip this]. [Interpretation — deliberate, convention, or overlooked?]
+
+## Pattern-by-pattern detail
+
+For each pattern category in scope, one section. Use this structure:
+
+### [Pattern category, e.g. Empty list state]
+
+**What each app does:**
+
+- **[app-1]**: [concrete description — verbatim copy, layout, CTA behaviour]
+ - *Source*: [path or anchor to the library entry, e.g. `ux-extracts/claude-ai/pattern-library.md#empty-states`]
+- **[app-2]**: [...]
+- **[app-3]**: [not covered in the extract — coverage gap]
+
+**Convergent**: [what's shared across the set]
+
+**Divergent**: [where the apps split]
+
+**Unique**: [if any]
+
+**Missing**: [if any app's library doesn't cover this]
+
+### [Next pattern]
+[...]
+
+## Recommendations
+
+This is the reason to have run the comparison. State positions. If you hedge here, the document is just a pile of bullets.
+
+### For a new build in this space
+
+1. **Safe default**: [the convergent choice — use this unless you have reason not to]
+2. **Consider**: [divergent option A] — trades [benefit] for [cost]
+3. **Consider**: [divergent option B] — trades [benefit] for [cost]
+4. **Skip**: [unique approaches you'd avoid, with the reason]
+5. **Fill a gap**: [absences worth addressing because your users would benefit]
+
+### For an existing build in this space
+
+- **Convergence you're missing**: [patterns common across references but not in your app]
+- **Divergence worth reviewing**: [places your app does something unusual — is the reason still valid?]
+- **Unique strengths**: [if your app already does something no reference does well, note it]
+
+## Source library health
+
+| Library | Extracted | Coverage for this comparison | Staleness risk |
+|---------|-----------|----------------------------|----------------|
+| [app-1] | YYYY-MM-DD | Full / Partial / Missing | Fresh |
+| [app-2] | YYYY-MM-DD | Full | ⚠ 4 months — re-extract |
+
+## What this comparison doesn't tell you
+
+Be explicit about the limits:
+
+- [e.g. "Performance was not captured in any extract — if speed is a key criterion, test directly."]
+- [e.g. "Mobile patterns less thoroughly extracted for [app-3] — findings there may be partial."]
+- [e.g. "All extracts used paid-tier accounts; free-tier UX may differ."]
+```
+
+## Guidelines for writing the comparison
+
+- **Synthesise, don't list.** If you're just copying bullets from 5 libraries, you're not comparing — you're collating. The value is the *convergent / divergent / unique / absent* framing.
+- **Be opinionated in recommendations.** *"It depends"* is the weakest possible output. State a position.
+- **Cite sources.** Link to the specific section of the pattern library file. `ux-extracts/claude-ai/pattern-library.md#empty-states` is enough. Don't re-embed screenshots — the extract is the single source of truth.
+- **Flag coverage gaps honestly.** "Not covered in app-3's extract" is not the same as "app-3 doesn't do this". One is a library gap, one is an app decision.
+- **Date everything.** Both the comparison itself and each source library. Comparisons decay as fast as the libraries they're built on.
+- **When app extracts are stale**, note it prominently — don't just mention it in the source table. Recommendations based on 6-month-old extracts should come with a qualifier.
+- **Limit scope for sharpness.** A focused "empty states across 4 apps" is more useful than "whole-library comparison across 7 apps". Narrow wins.
diff --git a/plugins/dev-tools/skills/ux-extract/SKILL.md b/plugins/dev-tools/skills/ux-extract/SKILL.md
new file mode 100644
index 00000000..41f994b3
--- /dev/null
+++ b/plugins/dev-tools/skills/ux-extract/SKILL.md
@@ -0,0 +1,244 @@
+---
+name: ux-extract
+description: "Exhaustively extract UX patterns from a reference web app. Walks every screen, captures screenshots of every state, records interaction patterns, copy verbatim, keyboard shortcuts, responsive treatments, motion, and empty/error/loading states. Produces a reusable pattern library that other audits can compare against. The inverse of ux-audit — asks 'what is the bar?' rather than 'does this match the bar?'. Trigger with 'learn from X', 'extract patterns from X', 'study X's UX', 'reverse engineer the UX of X', 'build a pattern library from X'."
+compatibility: claude-code-only
+---
+
+# UX Extract
+
+Exhaustively study a reference web app and produce a reusable pattern library. Goes everywhere, captures everything, then organises it into a document another audit or build can reference.
+
+The inverse of `ux-audit`:
+- **Audit** asks: *does this match a bar?*
+- **Extract** asks: *what is the bar?*
+
+Audits without extracts implicitly compare to "my memory of other apps" — fragile and inconsistent. Extracts turn that memory into a concrete, navigable artifact. An audit can then say: *"Empty state on /app/clients shows no CTA. Reference (claude.ai) shows 3 keyboard shortcuts plus 'New chat' in the same position"* instead of *"feels a bit sparse"*.
+
+## When to use
+
+- **Before building a new feature** — study how best-in-class apps handle it
+- **Benchmarking a build** — extract the reference, then audit against it
+- **Onboarding designers or engineers** — here's what good looks like, concretely
+- **Competitor research** — document the competitor's UX so you can meaningfully differentiate
+- **Refreshing an old app** — extract patterns from modern equivalents to guide the update
+
+## Scope and ethics
+
+Before starting, confirm the target is fair game:
+
+1. **Use your own account** — don't scrape anything that requires credentials you don't legitimately hold
+2. **Respect `robots.txt`** for unauthenticated crawling
+3. **Rate-limit** — act like a human user, not a crawler. Pause between pages.
+4. **Check ToS** — most SaaS Terms of Service permit individual inspection but prohibit automated scraping
+5. **Don't redistribute** screenshots of a live competitor's app publicly — pattern libraries are internal references
+
+If the target is behind a paywall or requires a trial account, ask the user whether they have legitimate access before proceeding.
+
+## Setup
+
+### 1. Browser tool
+
+| Target | Tool | Notes |
+|--------|------|-------|
+| **Authenticated reference** (you have an account) | Chrome MCP | Uses your logged-in session |
+| **Public reference** (marketing pages, docs, public demos) | Playwright MCP | No login needed |
+
+See [../ux-audit/references/browser-tools.md](../ux-audit/references/browser-tools.md) for commands.
+
+### 2. Viewport
+
+Pin 1440×900 as baseline (MacBook standard). Also capture 768 and 375 for responsive patterns. Don't exceed 2000px wide.
+
+### 3. Scope
+
+Decide before starting:
+
+- **Whole app** — traverse everything reachable (can take hours, produces a comprehensive library)
+- **Feature area** — one section ("the settings flow", "the dashboard", "the billing flow")
+- **Pattern class** — just empty states, just error handling, just onboarding
+
+Narrower scope produces tighter, more useful libraries. "Whole app" is only worth it for apps you'll be building a direct analogue of.
+
+### 4. Focus lens (optional)
+
+Optional bias for capture. Examples:
+- *"Focus on patterns for data-heavy lists"* — prioritise table, filter, search, virtualisation screenshots
+- *"Focus on onboarding and empty states"* — prioritise first-run flows and zero-data views
+- *"Focus on permission boundaries"* — log in as multiple roles, document the differences
+
+If no focus is given, capture broadly.
+
+## Discovery
+
+### Sitemap crawl
+
+Build the full route inventory:
+
+1. **Public sitemap** — check `/sitemap.xml`, `/robots.txt` for discoverability
+2. **Nav crawl** — click through every section visible in the top nav, sidebar, footer
+3. **In-app discovery** — once inside, note every link that appears (breadcrumbs, tabs, contextual menus)
+4. **URL inspection** — some apps have useful patterns in `/settings`, `/preferences`, `/admin` that aren't in the main nav
+
+Record each route with its purpose: `/settings/billing — subscription plan, payment method, invoice history`.
+
+### Pattern inventory
+
+Before deep-capture, scan the app once and list pattern types you'll document. Typical categories:
+
+- Wayfinding (nav, breadcrumbs, current-location, back)
+- Lists & tables (row, hover, action reveal, selection, sort, filter, paginate, empty)
+- Forms (label, validation, error, required, inline help)
+- Modals & dialogs (trigger, focus, escape, scroll, confirm)
+- Feedback (toast, inline, progress, loading, saved)
+- Onboarding & empty states (first-run, zero-data CTA, guided tour)
+- Permissions & roles (restricted views, denied-access, role indicators)
+- Copy & microcopy (buttons, headings, errors, placeholders, tooltips)
+- Keyboard (shortcut sheet, focus, tab order, command palette)
+- Motion (transition, reveal, loading, gesture)
+- Responsive (breakpoints, mobile-specific: bottom sheet, tabs, swipe)
+
+Not every app uses every category. Mark which apply.
+
+## Capture Phase
+
+For each route, capture exhaustively. Screenshots are cheap — err toward more.
+
+### Screenshot all states
+
+Per meaningful element, capture:
+
+| State | Trigger |
+|-------|---------|
+| Default | page loaded, nothing interacted with |
+| Hover | mouse over a button, row, nav item |
+| Focus | keyboard-focused via Tab |
+| Active | button mid-click, input being typed into |
+| Open | dropdown open, menu expanded |
+| Closed | dropdown closed, menu collapsed |
+| Expanded | accordion open, detail panel expanded |
+| Collapsed | accordion closed |
+| Selected | checkbox ticked, row selected, tab active |
+| Loading | skeleton, spinner, pending state |
+| Empty | list with no items |
+| Populated | list with many items |
+| Error | inline, toast, or full-page error |
+| Success | post-action confirmation |
+
+See [references/capture-checklist.md](references/capture-checklist.md) for the full per-pattern checklist.
+
+### Capture copy verbatim
+
+Copy the text exactly, including punctuation, ellipses, and tone:
+
+- Button labels: `"Start chat"`, `"Upgrade plan"`, `"Delete forever"`
+- Empty states: *"No conversations yet. Start one to see it here."*
+- Error messages: *"We couldn't save that change. Try again, or contact support if it keeps happening."*
+- Confirmation dialogs: *"Delete this project? All 14 tasks and 3 members will be removed. This cannot be undone."*
+- Placeholder text: `"e.g. [email protected]"`
+- Tooltips: `"Pressing Cmd+K opens this from anywhere"`
+
+Raw copy is gold for writers and informs your app's voice.
+
+### Capture interactions
+
+For each interactive element, note:
+- **Trigger**: click / hover / keyboard / long-press / drag
+- **Target**: what it affects (opens modal, filters list, navigates)
+- **Feedback**: immediate visual response? delayed confirmation?
+- **Reversibility**: undoable? destructive?
+
+### Capture keyboard patterns
+
+- **Shortcut sheet**: is there a `?` or `Cmd+/` that reveals the shortcut list? Capture it.
+- **Command palette**: `Cmd+K` or similar? Capture the palette open, searching, a result selected, and an action executed.
+- **Focus indicators**: tab through the page, note the ring style, colour, thickness
+- **Tab order**: is it logical? Any unexpected jumps?
+
+### Capture responsive treatments
+
+For each route, screenshot at 1440, 768, 375. Note **what changes**, not just "it works":
+- Navigation moves from sidebar to hamburger at [breakpoint]
+- Table collapses to stacked cards at [breakpoint]
+- Modal becomes full-screen at [breakpoint]
+- Multi-column form becomes single-column at [breakpoint]
+
+### Capture motion
+
+Record a GIF (Chrome MCP's `gif_creator`) of any animation worth documenting:
+- Page transitions
+- Modal enter/exit
+- List item enter/exit
+- Loading → loaded
+- Success animations (confetti, checkmarks)
+- Drag-and-drop feedback
+
+One 3-second GIF is worth a paragraph of description.
+
+## Dedup Phase
+
+After capture, many patterns will appear on multiple pages. Deduplicate:
+
+- **Same row pattern on 5 list pages** → one "list row" entry with a note *"used on: /clients, /projects, /invoices, /reports, /team"*
+- **Same empty state layout with different copy** → one "empty state" entry with copy variants listed
+- **Same modal chrome** → one "modal" entry; specific modals listed as usages
+
+Keep two counts per pattern:
+- **Occurrences** — how many times this pattern appears
+- **Variants** — meaningful differences (icon vs no icon, small vs large, with CTA vs without)
+
+A pattern that appears once is rarely worth documenting unless it's unique and notable.
+
+## Output
+
+Write to `docs/ux-extracts/<app-name>/` (or `.jez/artifacts/ux-extracts/<app-name>/` if that directory exists):
+
+```
+docs/ux-extracts/claude-ai/
+├── pattern-library.md ← main document
+├── copy-corpus.md ← optional, raw copy by page (for writers)
+└── screenshots/
+ ├── 001-home-default.png
+ ├── 002-home-hover-cta.png
+ ├── 003-new-chat-empty.png
+ └── ...
+```
+
+See [references/pattern-library-template.md](references/pattern-library-template.md) for the output structure.
+
+The pattern library should be:
+- **Navigable** — table of contents at the top, jump links to every section
+- **Cross-referenced** — "see also: [Modal Chrome](#modal-chrome)"
+- **Screenshot-dense** — every claim backed by a referenced screenshot
+- **Copy-accurate** — verbatim text in code blocks or blockquotes, not paraphrased
+- **Honest** — note what's *missing* or *weak* as well as what's good. A reference library isn't gospel.
+
+## How ux-audit consumes this
+
+`ux-audit` checks for pattern libraries at `.jez/artifacts/ux-extracts/<ref>/pattern-library.md` or `docs/ux-extracts/<ref>/pattern-library.md`. If found, it uses them as the bar for comparison. Audit findings can then cite specific patterns:
+
+> *"Empty state on /app/clients has no explanatory copy and no CTA. Reference library [claude.ai § Empty States] shows CTA + 2 example prompts in the same position."*
+
+No integration is required beyond producing the library in the expected path.
+
+## Autonomy
+
+- **Just do it**: Navigate, screenshot, copy text, inject JavaScript to read computed styles, download static assets (logo, icons) for reference
+- **Ask first**: Any login that requires credentials the user hasn't authorised you to use, any scraping of a site where ToS or rate limiting is ambiguous
+- **Stop and confirm**: If the target has a login wall and you don't have clear authorisation, stop and confirm before proceeding
+
+## Reference files
+
+| When | Read |
+|------|------|
+| Building the pattern-library.md output | [references/pattern-library-template.md](references/pattern-library-template.md) |
+| Per-pattern capture checklist (what to screenshot, what to note) | [references/capture-checklist.md](references/capture-checklist.md) |
+| Browser tool commands | [../ux-audit/references/browser-tools.md](../ux-audit/references/browser-tools.md) |
+
+## Tips
+
+- **Screenshots are cheap** — capture generously. Easier to drop a screenshot from the library than to rerun the extract to get one.
+- **Capture copy the moment you see it** — don't plan to come back; come back and it'll be behind a different state.
+- **Note what's absent** — if an app has no keyboard shortcut sheet, that's a pattern decision worth documenting too.
+- **Separate observation from evaluation** — extract records what exists, not whether it's good. Opinions belong in an audit, not an extract.
+- **Extracts decay** — apps change. Timestamp the library, link to the date on archive.org if possible, plan to re-extract every 6–12 months for apps you compare against often.
+- **Build incrementally** — open the library file at the start, append as you go. Don't try to structure it all at the end.
diff --git a/plugins/dev-tools/skills/ux-extract/references/capture-checklist.md b/plugins/dev-tools/skills/ux-extract/references/capture-checklist.md
new file mode 100644
index 00000000..58a08d4a
--- /dev/null
+++ b/plugins/dev-tools/skills/ux-extract/references/capture-checklist.md
@@ -0,0 +1,183 @@
+# Capture Checklist
+
+Per-pattern checklist of what to screenshot and note during extraction. Use as a walking reference while browsing the target app.
+
+## Per-Route Baseline
+
+On arriving at every route, before interacting:
+
+- [ ] Screenshot at 1440×900 (baseline)
+- [ ] Read the `<h1>` and note the page title style
+- [ ] Note the URL pattern (semantic? slug? numeric ID?)
+- [ ] Check for breadcrumbs — screenshot if present
+- [ ] Check the browser console for errors (mentionable but not central to extract)
+- [ ] Note page load time impression (instant / skeleton shown / slow)
+
+## Lists & Tables
+
+- [ ] Empty state (0 items)
+- [ ] Populated state (many items)
+- [ ] Row hover (trigger hover on a non-first row to see non-edge styling)
+- [ ] Row selection (click checkbox, capture with action bar visible)
+- [ ] Multi-selection (select 5+ rows)
+- [ ] Sort: click a column header, capture the sorted state and the sort indicator
+- [ ] Filter: apply one filter, capture; apply two, capture; clear all
+- [ ] Search: type a query matching items, capture results; type garbage, capture no-results
+- [ ] Pagination: at page 1, page 2, last page; change items-per-page
+- [ ] Action menu on a row: hover or click the overflow menu, capture open
+- [ ] Row click: capture the detail or drawer that opens
+
+## Forms
+
+- [ ] Default state (empty form, no interactions)
+- [ ] Focused field (tab into one, note focus indicator)
+- [ ] Partially filled (some valid, some empty)
+- [ ] Validation error: submit with bad data or leave required field empty, screenshot the error
+- [ ] Inline help text visible (hover or focus a help icon if present)
+- [ ] Disabled state (fields that grey out based on other choices)
+- [ ] Success state (after submission, capture the confirmation)
+- [ ] Submit button: default, hover, active (mid-click), loading, disabled
+- [ ] Cancel behaviour: click cancel from a dirty form — does it warn?
+
+## Buttons
+
+- [ ] Default
+- [ ] Hover
+- [ ] Focus (via Tab)
+- [ ] Active (click and hold)
+- [ ] Loading (click a button that triggers an async action, capture mid-load)
+- [ ] Disabled
+- [ ] All variants: primary, secondary, destructive, ghost, icon-only
+
+## Modals & Dialogs
+
+- [ ] Trigger: screenshot the button/link that opens the modal (before click)
+- [ ] Open: modal fully visible with backdrop
+- [ ] Focused field inside modal
+- [ ] Filled and validated (if it has a form)
+- [ ] Error state (form error inside modal)
+- [ ] Success: post-submit confirmation (toast? modal replaces content?)
+- [ ] Close methods tested: X button, Escape key, backdrop click
+- [ ] Animation: record a GIF of open + close (`gif_creator`, 3 seconds)
+- [ ] Nested modals if they exist (confirmation inside an edit modal)
+
+## Confirmation Dialogs (destructive)
+
+- [ ] Trigger the destructive action
+- [ ] Capture the confirmation dialog with the exact copy visible
+- [ ] Note the button placement (destructive left vs right)
+- [ ] Note the destructive button style (red fill? outline? which variant?)
+- [ ] Note default keyboard focus (on Cancel or on Destroy?)
+- [ ] Cancel flow: click cancel, verify nothing destructive happened
+- [ ] Do NOT complete destructive actions without explicit user approval
+
+## Navigation
+
+- [ ] Primary nav: default state, hover on an item, focus via Tab
+- [ ] Current page indicator: how is the active item visually marked?
+- [ ] Sub-nav / tabs: default and active states
+- [ ] Collapsed/expanded nav (if it has a toggle)
+- [ ] Mobile hamburger: tap trigger, drawer open, drawer close
+- [ ] User menu: click user avatar, capture the menu open
+
+## Empty States
+
+For every route that can be empty:
+
+- [ ] Capture with zero data
+- [ ] Note: illustration? headline? description? CTA? secondary link?
+- [ ] Copy the text verbatim
+- [ ] If CTA is present, click it and capture what happens next
+
+## Error States
+
+- [ ] Inline form error (invalid input)
+- [ ] Field-level error message position and styling
+- [ ] Page-level error banner (e.g. after a failed save)
+- [ ] Toast error
+- [ ] 404 page: navigate to `/nonsense-route-12345`
+- [ ] 403 / permission denied page (if you can trigger one)
+- [ ] 500 / server error (rare — screenshot if you see one)
+- [ ] Network-offline behaviour if you can simulate it (DevTools throttle → offline)
+
+## Loading States
+
+- [ ] Skeleton: reload a data-heavy page and capture the skeleton before data arrives
+- [ ] Spinner: trigger a slow action and capture
+- [ ] Progress bar: if you can trigger a known-slow operation (file upload, bulk action)
+- [ ] Step indicator: multi-step flows, capture at steps 1, 2, 3
+
+## Feedback
+
+- [ ] Toast: trigger a save, screenshot the toast (and capture the copy verbatim)
+- [ ] Toast variants: success, info, warning, error — trigger each if possible
+- [ ] Inline confirmation (e.g. "Copied" next to a copy button)
+- [ ] Unsaved-changes warning: try to navigate away from a dirty form
+
+## Keyboard
+
+- [ ] Press `?` and `Cmd+/` — does a shortcut sheet appear? Screenshot it
+- [ ] Press `Cmd+K` — does a command palette open? Screenshot default state and with a query typed
+- [ ] Tab through the page, screenshot the focus indicator on different element types (button, input, link, card)
+- [ ] Try app-specific shortcuts from the sheet — verify they work
+- [ ] Escape key: does it close modals? Clear search? Do something unexpected?
+
+## Motion (record GIFs)
+
+- [ ] Page transition between two main routes
+- [ ] Modal open and close
+- [ ] Toast appearing
+- [ ] List item being added (submit a form that adds to a visible list)
+- [ ] List item being deleted
+- [ ] Skeleton → populated crossfade
+- [ ] Any celebratory moments (upgrade success, onboarding milestone)
+- [ ] Hover animations on cards or buttons if they have any (not just colour change)
+
+## Responsive (repeat key captures at each width)
+
+- [ ] 768px: nav behaviour, form layout, table-to-card transition
+- [ ] 375px: mobile nav, floating buttons, bottom sheets, full-screen modals
+- [ ] Note any width where the layout obviously breaks or transitions awkwardly — screenshot it
+
+## Dark Mode (repeat key captures)
+
+- [ ] Home / dashboard
+- [ ] A list view
+- [ ] A detail view
+- [ ] A modal
+- [ ] An empty state
+- [ ] An error state (often forgotten in dark mode design)
+
+## Permissions (if you can test multiple roles)
+
+- [ ] Log in as lowest-privilege role
+- [ ] Screenshot what's different in the nav
+- [ ] Try to access a denied page directly (paste URL)
+- [ ] Note what message/UX you get
+- [ ] Try to take an action you shouldn't be able to — what happens?
+- [ ] Log back in as admin; note items that were hidden
+
+## Copy Corpus
+
+Throughout the extraction, capture the exact text of:
+
+- [ ] Every button label
+- [ ] Every empty-state message
+- [ ] Every error message (inline, toast, page)
+- [ ] Every confirmation dialog
+- [ ] Every tooltip
+- [ ] Every placeholder
+- [ ] Headings on main pages
+- [ ] Onboarding copy (welcome messages, tour steps)
+- [ ] Success messages
+- [ ] Footer copy, legal text (quickly note but don't analyse)
+
+Save these in `copy-corpus.md`, grouped by page or by category.
+
+## Things to explicitly *not* do
+
+- Don't scrape content rapidly with automation — act like a human
+- Don't save or redistribute screenshots of copyrighted content (illustrations, logos) beyond internal reference
+- Don't attempt to access paid features without a paid account
+- Don't extract from apps that explicitly prohibit inspection in their ToS
+- Don't complete real destructive actions on a live reference account — use a test account or stop at the confirmation dialog
diff --git a/plugins/dev-tools/skills/ux-extract/references/pattern-library-template.md b/plugins/dev-tools/skills/ux-extract/references/pattern-library-template.md
new file mode 100644
index 00000000..1021a352
--- /dev/null
+++ b/plugins/dev-tools/skills/ux-extract/references/pattern-library-template.md
@@ -0,0 +1,363 @@
+# Pattern Library Output Template
+
+Structure for the pattern library produced by `ux-extract`. Write to `docs/ux-extracts/<app-name>/pattern-library.md`.
+
+```markdown
+# Pattern Library: [App Name]
+
+**Extracted**: YYYY-MM-DD
+**URL**: https://app.example.com
+**Scope**: [Whole app / Settings flow / Empty states only / etc.]
+**Focus lens**: [optional — e.g. "data-heavy lists"]
+**Viewport captured**: 1440×900 baseline + 768 + 375
+**Browser**: Chrome MCP / Playwright
+**Screenshots**: [N] in `./screenshots/`
+
+## Contents
+
+1. [Wayfinding](#wayfinding)
+2. [Lists & Tables](#lists--tables)
+3. [Forms](#forms)
+4. [Modals & Dialogs](#modals--dialogs)
+5. [Feedback](#feedback)
+6. [Onboarding & Empty States](#onboarding--empty-states)
+7. [Permissions & Roles](#permissions--roles)
+8. [Copy & Microcopy](#copy--microcopy)
+9. [Keyboard](#keyboard)
+10. [Motion](#motion)
+11. [Responsive](#responsive)
+12. [Notable Absences](#notable-absences)
+
+---
+
+## Wayfinding
+
+### Primary Navigation
+- **Layout**: [sidebar / top bar / hybrid]
+- **Width / height**: [specific values observed]
+- **Sections**: [list each section with its items]
+- **Current-location indicator**: [bold text / background fill / border / left-edge stripe]
+- **Collapse behaviour**: [at what breakpoint does it collapse? to what?]
+- **Screenshots**: `screenshots/010-nav-default.png`, `screenshots/011-nav-collapsed.png`, `screenshots/012-nav-mobile-drawer.png`
+- **Used on**: every page
+
+### Breadcrumbs
+- **Present**: Yes / No / Partial (only on N routes)
+- **Style**: [separator character, truncation behaviour, home icon present?]
+- **Example**: `Home › Clients › Jenny O'Brien › Policy #123`
+- **Screenshots**: `screenshots/020-breadcrumb.png`
+- **Used on**: detail pages
+
+### Back Navigation
+- **Explicit back button**: [present / absent / contextual]
+- **Browser back**: [preserves filters? / resets view?]
+- **Deep links**: [all routes linkable / some require navigation from parent]
+
+---
+
+## Lists & Tables
+
+### List Row (primary pattern)
+- **Height**: 56px
+- **Layout**: `[Avatar] [Name + subtitle stack] [Metadata columns] [Actions on hover]`
+- **Hover state**: background fill, action buttons fade in on right
+- **Selected state**: left-edge stripe in accent colour, subtle background tint
+- **Click target**: entire row → navigates to detail
+- **Screenshots**: `screenshots/100-list-row-default.png`, `screenshots/101-list-row-hover.png`, `screenshots/102-list-row-selected.png`
+- **Used on**: /clients, /projects, /invoices, /team (4 occurrences)
+- **Variants**:
+ - *Compact* (32px height) on /settings/integrations
+ - *Dense* with 2 lines of subtitle on /reports
+
+### Table (data-heavy)
+- **Used instead of list when**: [N+ columns, user needs to scan comparatively]
+- **Header**: sticky on scroll, sortable indicators on clickable columns
+- **Row**: [same as list row or different?]
+- **Selection**: checkbox column, select-all in header, count shown in action bar
+- **Action bar**: appears at top when rows selected, with [Actions] [Export] [Delete] buttons
+- **Screenshots**: `screenshots/110-table-default.png`, `screenshots/111-table-selection.png`, `screenshots/112-table-action-bar.png`
+
+### Filters
+- **Style**: [chip filters / sidebar / toolbar dropdown]
+- **Multi-select**: Y/N
+- **Active filter display**: [chips at top / text summary / counter badge]
+- **Clear all**: [present / absent]
+- **URL reflection**: [filters in query string? reload-safe?]
+- **Screenshots**: `screenshots/120-filters-default.png`, `screenshots/121-filters-active.png`
+
+### Pagination
+- **Style**: [page numbers / prev-next / infinite scroll / load more]
+- **Items per page**: [options: 25, 50, 100]
+- **Position**: bottom-right
+- **Deep link to page N**: [works / redirects to 1]
+
+### Empty State (list)
+- **Layout**: centred, with illustration, headline, description, CTA button
+- **Copy example**: *"No clients yet"* / *"Add your first client to see them here"*
+- **CTA**: `"Add Client"` (primary style)
+- **Screenshots**: `screenshots/130-empty-list.png`
+
+---
+
+## Forms
+
+### Field Layout
+- **Label position**: above input
+- **Required marker**: asterisk in accent colour, after label text
+- **Help text position**: below input, muted
+- **Error text position**: below input, replaces help text, red
+- **Inline validation**: on blur (not on keystroke)
+- **Screenshots**: `screenshots/200-form-default.png`, `screenshots/201-form-error.png`
+
+### Input Styles
+- **Height**: 40px standard, 48px large (for primary CTAs like search)
+- **Border**: 1px neutral, 2px accent on focus
+- **Rounded corners**: 8px
+- **Focus ring**: 2px accent offset by 2px
+
+### Buttons
+- **Primary**: accent fill, white text, 40px height, 12px h-padding
+- **Secondary**: neutral outline, dark text
+- **Destructive**: red fill on solid / red text on outline
+- **Disabled**: 40% opacity
+- **Loading state**: spinner replaces label, button remains same width
+- **Copy style**: verb-first, specific (`"Save Client"` not `"Save"`)
+- **Screenshots**: `screenshots/210-button-primary.png` through `215-button-disabled.png`
+
+### Form Feedback
+- **Save confirmation**: toast top-right, dismisses after 3s
+- **Unsaved changes warning**: browser beforeunload on form with dirty state
+- **Autosave**: [present / absent — where used]
+
+---
+
+## Modals & Dialogs
+
+### Modal Chrome
+- **Backdrop**: 60% black overlay, blur 4px
+- **Sizing**: 560px wide default, max-height 80vh with scroll
+- **Position**: centred horizontally, 10vh from top
+- **Close**: X top-right + Escape key + click backdrop
+- **Focus**: auto-focused on first input, trapped within modal
+- **Animation**: fade + slight scale-up on enter (150ms), fade on exit
+- **Screenshots**: `screenshots/300-modal-open.png`, `screenshots/301-modal-form.png`
+
+### Confirmation Dialog
+- **Used for**: destructive actions (delete, archive, revoke)
+- **Copy pattern**: *"[Verb] [specific thing]? [Consequence]. This [can / cannot] be undone."*
+ - Example: *"Delete Jenny O'Brien? 3 policies will also be removed. This cannot be undone."*
+- **Buttons**: destructive action on right in red, cancel on left in neutral
+- **Keyboard**: Escape cancels, Enter activates primary (which is cancel — safer default)
+- **Screenshots**: `screenshots/310-confirm-destructive.png`
+
+### Drawer (side panel)
+- **Used instead of modal when**: editing a record inline, showing detail alongside a list
+- **Position**: right side, 480px wide
+- **Overlay**: lighter (30% black)
+- **Close behaviour**: same as modal
+
+---
+
+## Feedback
+
+### Toast
+- **Position**: top-right
+- **Stack**: new toasts push old ones down, max 3 visible
+- **Duration**: 3s default, 5s for errors, sticky for critical
+- **Dismiss**: X button + auto-timeout
+- **Variants**: success (green), info (blue), warning (amber), error (red)
+- **Copy**: specific (*"Client Jenny O'Brien saved"*, not *"Saved"*)
+- **Screenshots**: `screenshots/400-toast-success.png`, `screenshots/401-toast-error.png`
+
+### Inline Confirmation
+- **Pattern**: next to the triggering button, short label appears for 2s
+- **Example**: *"✓ Copied"* next to a copy-link button
+
+### Loading States
+- **Skeleton**: used for list/table loads, matches final layout
+- **Spinner**: used for action feedback (button click → spinner in button)
+- **Full-page skeleton**: used on route change if data > 500ms
+- **Screenshots**: `screenshots/410-skeleton-list.png`, `screenshots/411-skeleton-detail.png`
+
+### Progress
+- **Determinate**: progress bar with % for file uploads, bulk operations
+- **Indeterminate**: looping bar at top of page for slow nav transitions
+- **Step indicator**: numbered pills across top for multi-step flows
+
+---
+
+## Onboarding & Empty States
+
+### First-Run Experience
+- **Welcome screen**: Y/N — [description]
+- **Tour**: Y/N — [steps, dismissable?]
+- **Sample data**: [seeded / placeholder / none]
+- **Screenshots**: `screenshots/500-first-run.png`
+
+### Empty State Anatomy
+| Element | Present? | Treatment |
+|---------|----------|-----------|
+| Illustration | Y | Abstract, brand-coloured, 120px square |
+| Headline | Y | Bold, sentence case, ends without period |
+| Description | Y | One sentence, explains *what this is* and *why it's empty* |
+| CTA | Y | Primary button, verb-first, specific |
+| Secondary link | Sometimes | "Learn more" link to docs |
+
+### Copy Patterns for Empty States
+- *"No [thing] yet. [One-line explanation]. [CTA]."*
+- Examples:
+ - *"No conversations yet. Start one below to see it here. [Start chat]"*
+ - *"No clients yet. Add your first to begin tracking policies. [Add Client]"*
+
+---
+
+## Permissions & Roles
+
+### Role Indicator
+- **Visible?**: [always visible in nav / only in settings / not shown]
+- **Placement**: near user avatar / in sidebar footer
+- **Example**: *"Jane · Admin"*
+
+### Denied Access
+- **Page-level**: redirect to dashboard with toast *"You don't have access to that page"*
+- **Action-level**: button hidden (not disabled with tooltip)
+- **Data-level**: records silently filtered out of lists
+
+### Role-Specific UX
+- **Admins see**: [what's added]
+- **Viewers see**: [what's removed]
+- **Clients see**: [totally different nav? same nav with subset?]
+
+---
+
+## Copy & Microcopy
+
+High-signal examples extracted verbatim. Full corpus in [copy-corpus.md](./copy-corpus.md).
+
+### Button labels
+- `Start chat` (not "New conversation" or "Create")
+- `Upgrade plan` (not "Upgrade")
+- `Delete forever` (used for hard-delete vs soft-delete "Archive")
+- `Try again` (error recovery, not "Retry")
+
+### Error messages
+- *"We couldn't save that change. Try again, or contact support if it keeps happening."* — apologetic, actionable
+- *"That email's already in use. Sign in instead?"* — redirect option
+- *"This link expired. Ask the sender for a new one."* — blame-free
+
+### Empty states
+- *"You're all caught up. Check back later or create a new [thing]."*
+- *"No results for '[query]'. Try a different search or browse all [things]."*
+
+### Confirmation dialogs
+- *"Delete project 'Launch Q2'? 14 tasks and 3 members will lose access. This cannot be undone."*
+
+### Tone notes
+- [first-person plural "we" used throughout / second-person "you" / neutral]
+- [apostrophes used / not used]
+- [emoji used / not used / only in celebratory moments]
+- [exclamation marks rare / common / only in errors]
+
+---
+
+## Keyboard
+
+### Shortcut Sheet
+- **Access**: `?` or `Cmd+/` opens a modal listing all shortcuts
+- **Organisation**: grouped by context (Global, Navigation, Editing)
+- **Screenshot**: `screenshots/700-shortcut-sheet.png`
+
+### Global Shortcuts
+- `Cmd+K` — command palette
+- `G then C` — go to Clients
+- `G then P` — go to Projects
+- `/` — focus search
+- `Esc` — close modal / clear search
+
+### Command Palette (`Cmd+K`)
+- **Style**: centred modal, single input with live results
+- **Categories**: Pages, Actions, Recent
+- **Fuzzy match**: Y
+- **Keyboard**: arrows navigate, Enter selects, Tab dismisses
+- **Screenshots**: `screenshots/710-palette-open.png`, `screenshots/711-palette-search.png`
+
+### Focus Indicators
+- **Style**: 2px solid accent ring, offset 2px from element
+- **Visibility**: high contrast in both light and dark mode
+- **Tab order**: top-to-bottom, left-to-right, matches visual grouping
+
+---
+
+## Motion
+
+### Page Transitions
+- **Style**: fade-through, 150ms
+- **Exception**: auth flows use slide left/right
+
+### Modal Enter / Exit
+- **Enter**: backdrop fade 150ms, modal fade + scale-up (98→100%) 200ms
+- **Exit**: reverse
+- **GIF**: `screenshots/800-modal-open.gif`
+
+### List Item Enter / Exit
+- **New item**: fade + slight slide-down, 200ms
+- **Removed item**: fade + slide-up, 150ms
+
+### Loading → Loaded
+- **Skeleton replacement**: crossfade 100ms
+- **No layout shift** on content arrival
+
+### Success Moments
+- *"Task complete" checkmark draws in 400ms*
+- *Confetti on plan upgrade*
+- *GIF: `screenshots/810-success.gif`*
+
+---
+
+## Responsive
+
+### Breakpoints Observed
+- **1440px**: baseline desktop
+- **1280px**: standard desktop (same layout)
+- **1024px**: sidebar collapses to icon-only, main content widens
+- **768px**: sidebar becomes hamburger drawer, content stacks
+- **375px**: mobile, bottom-tab nav replaces sidebar entirely
+
+### Mobile-Specific Patterns
+- **Bottom tab nav** with 5 icons on 375px
+- **Floating action button** replaces in-page CTAs on list views
+- **Full-screen modals** instead of centred modals
+- **Bottom sheet** for action menus instead of dropdown
+- **Screenshots**: `screenshots/900-mobile-nav.png`, `screenshots/901-mobile-fab.png`, `screenshots/902-bottom-sheet.png`
+
+### Touch Targets
+- Minimum 44×44px observed
+- Primary CTAs 56px tall on mobile
+
+---
+
+## Notable Absences
+
+Patterns that *aren't* present, worth documenting:
+
+- **No undo** on destructive actions — only confirmation, no time-window restore
+- **No bulk edit** — can select multiple but only delete in bulk, not update
+- **No keyboard shortcut** for new-record creation on any list page
+- **No offline mode** — blank screen if network fails
+- **No activity feed** on dashboard — can't tell what changed since last visit
+
+---
+
+## Re-extraction
+
+This library is a snapshot of [Date]. The app will change. Re-extract every 6–12 months for apps we reference often, sooner if a major redesign ships. Check `archive.org/wayback` for historical comparisons.
+```
+
+## Guidelines for writing the library
+
+- **Every claim needs a screenshot**. If you can't point to a screenshot, you don't actually know.
+- **Copy is verbatim**. Code blocks or blockquotes for exact text. Paraphrasing loses the voice.
+- **Notable Absences is as important as presence**. What an app doesn't do is a design decision.
+- **Cross-reference freely**. "See also [Modal Chrome](#modal-chrome)" prevents repetition.
+- **Timestamp everything**. Apps change. A library without a date decays into misinformation.
+- **Write opinions into an audit, not an extract**. Extracts describe what exists.