Skills for Claude Code CLI such as full stack dev Cloudflare, React, Tailwind v4, and AI integrations.
Python aianthropicautomationclaude-codeclaude-skillscloudflaredevtoolsproductivityreactskillstailwindvite
feat(ux-audit): add workflow comprehension layer
Jeremy Dawes0e050753b84c
diff --git a/plugins/dev-tools/skills/ux-audit/SKILL.md b/plugins/dev-tools/skills/ux-audit/SKILL.mdindex 0301d5cb..3367d1af 100644--- a/plugins/dev-tools/skills/ux-audit/SKILL.md+++ b/plugins/dev-tools/skills/ux-audit/SKILL.md@@ -34,25 +34,35 @@ Control how thorough the audit is. Pass as an argument: `/ux-audit quick`, `/ux-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. **Create a task list** — track progress so work survives context limits-3. **Visual & layout sweep** (every page):+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 so work survives context limits+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. **UX Walkthrough x3 personas**:+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)-5. **Full QA sweep** — every page, all CRUD, all states (empty, error, loading, populated)-6. **Resilience testing** — every form: bad data, mid-navigation, back button, refresh, double-submit-7. **Accessibility basics** — heading hierarchy, alt text, focus order, colour contrast-8. **Console error sweep** — check browser console on every page for JS errors, failed network requests, deprecation warnings-9. **Screenshot everything** — save to `.jez/screenshots/ux-audit/` (numbered chronologically)-10. **Comprehensive report** — `docs/ux-audit-thorough-YYYY-MM-DD.md` with issue counts by severity-11. **Summary** — top 5 critical issues, overall health score, "one thing to fix first"+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. **Screenshot everything** — save to `.jez/screenshots/ux-audit/` (numbered chronologically)+12. **Comprehensive report** — `docs/ux-audit-thorough-YYYY-MM-DD.md` with issue counts by severity+13. **Summary** — top 5 critical issues, workflow gaps, overall health score, "one thing to fix first"#### Automated Layout Detection (JS Injection)@@ -156,12 +166,13 @@ Navigate to the app's entry point. From here, attempt the task with **no prior kAt each screen, evaluate against the walkthrough checklist (see [references/walkthrough-checklist.md](references/walkthrough-checklist.md)). Key questions to hold in mind:-**Layout**: Is all text fully visible? Nothing clipped by sidebar or container? Spacing consistent?-**Clarity**: Is the next step obvious without thinking?+**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?-**Delight vs frustration**: Would I sigh, smile, or swear at this moment?#### Step 4: Count the Cost@@ -275,6 +286,7 @@ Default rules (standard depth). See "Autonomy by Depth" table above for quick/th| 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) || 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) |diff --git a/plugins/dev-tools/skills/ux-audit/references/report-template.md b/plugins/dev-tools/skills/ux-audit/references/report-template.mdindex 206b68ed..1198f442 100644--- a/plugins/dev-tools/skills/ux-audit/references/report-template.md+++ b/plugins/dev-tools/skills/ux-audit/references/report-template.md@@ -53,6 +53,26 @@ Use this template when writing audit reports to `docs/`.- **[Short title]**: [description]+## Workflow Comprehension++How well the app supports the user's real work:++### 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]++### 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]++### 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]+## Emotional FrictionMoments where the user felt uncertain, anxious, or frustrated:diff --git a/plugins/dev-tools/skills/ux-audit/references/workflow-comprehension.md b/plugins/dev-tools/skills/ux-audit/references/workflow-comprehension.mdnew file mode 100644index 00000000..58cb8106--- /dev/null+++ b/plugins/dev-tools/skills/ux-audit/references/workflow-comprehension.md@@ -0,0 +1,152 @@+# Workflow Comprehension++Evaluate whether users can understand the system, follow their work through it, and build a mental model that makes them productive. This goes beyond individual screens to assess the **connective tissue** between pages, sections, and actions.++## The Core Question++> If someone sat down with this app on their first day at work, could they figure out how to do their job? Not just "click the right buttons" but actually understand what the system is for, how their work flows through it, and what they should do next at every point.++## Workflow Threads++A "thread" is a sequence of actions that makes up a real task in the user's day. Before evaluating, identify the main threads:++**Examples for an insurance app:**+- Thread 1: Client calls about a renewal → find their policy → review details → draft renewal email → send+- Thread 2: New enquiry comes in → create client record → add policy details → set follow-up+- Thread 3: Morning routine → check what needs attention today → work through the list++**Examples for a project management app:**+- Thread 1: Start the day → see what's assigned to me → pick a task → update progress → mark done+- Thread 2: Client asks for a status update → find the project → see overall progress → send summary+- Thread 3: New project comes in → create it → break into tasks → assign team → set deadlines++### How to Identify Threads++1. Look at the app's navigation structure — each top-level section usually maps to a thread+2. Think about the user's actual day, not the developer's route structure+3. Ask: "What would someone do first thing in the morning? What's the most common task? What's the most important task?"++### How to Test a Thread++Follow each thread end to end. At every step, evaluate:++| Question | What you're checking |+|----------|---------------------|+| **Do I know where to start?** | Is the entry point for this thread obvious from the dashboard or nav? |+| **Does the next step suggest itself?** | After each action, is the logical next step visible or do I have to hunt? |+| **Can I see my progress?** | Is there any indication of how far through the workflow I am? |+| **Can I leave and come back?** | If I get interrupted, can I find my place again tomorrow? |+| **Does it end clearly?** | When the thread is complete, do I know it's done? Is there a confirmation or just... nothing? |++## Wayfinding++Can the user orient themselves at any moment?++| Signal | What to check |+|--------|--------------|+| **Current location** | Does the nav/sidebar highlight where I am? Is there a breadcrumb? |+| **Context from URL** | Does the URL tell me where I am? (e.g. `/clients/jenny-obrien/policies` vs `/app/page/3`) |+| **Page title/heading** | Does the heading tell me what I can do here, not just what the page is called? |+| **Back navigation** | Can I always get back to where I came from? Is there a clear "up" direction? |+| **Section grouping** | Are related pages grouped together in the nav? Does the grouping match how I think about my work? |++### Wayfinding Red Flags++- Same page title on multiple different pages+- Nav doesn't highlight current page+- No way to get back to a parent page except the browser back button+- Breadcrumbs that show route structure instead of logical hierarchy+- Sidebar sections that don't match the user's mental model of their work++## Visual Cues and Nudges++The app should guide users through visual design, not just labels.++| Cue type | What to look for |+|----------|-----------------|+| **Primary action prominence** | Is the main thing I should do on this page visually dominant? (Size, colour, position) |+| **Status indicators** | Can I tell at a glance which items need attention? (Colour coding, badges, icons) |+| **Empty state guidance** | When a section has no data, does it tell me what to do? ("No policies yet — create one") |+| **Progressive disclosure** | Does the app show me what I need now and hide complexity until I need it? |+| **Affordances** | Do clickable things look clickable? Do input fields look like input fields? |+| **Grouping and proximity** | Are related actions near each other? Is there visual separation between unrelated things? |+| **Notification/attention magnets** | Are there badges, counts, or indicators that pull me toward things that need action? |++### Nudge Quality Check++For each page, ask:+1. If I squint at this page, what draws my eye first? Is that the right thing?+2. Are there visual "dead zones" where important actions are hidden?+3. Does the colour/weight hierarchy match the importance hierarchy?+4. Could someone who doesn't read English still roughly understand the page structure from visual cues alone?++## Page-to-Page Continuity++The transitions between pages are where comprehension breaks down most often.++| Transition | What to check |+|-----------|--------------|+| **After creating something** | Am I taken to the thing I just created? Or dumped back at a list? |+| **After saving/updating** | Is there confirmation? Can I see what changed? |+| **After deleting** | Where do I end up? Does the list update? Is the deleted item gone? |+| **Navigating from a list to a detail** | Does the detail page have context about where I came from? Can I get back to the filtered list? |+| **Moving between sections** | If I'm working on a client and switch to emails, does the email section know which client I was looking at? |+| **Deep linking** | If someone sends me a link to a specific record, do I have enough context when I land there? |++### Continuity Red Flags++- Creating a record and being sent to a different section entirely+- Losing filter/sort state when navigating back to a list+- Detail pages with no "back to list" or parent navigation+- Sections that feel disconnected — no cross-references between related data+- Having to re-enter context (re-select a client, re-apply a filter) when switching between related pages++## Mental Model Alignment++Does the app's structure match how the user thinks about their work?++### How to Test++1. **Name the sections**: Read the nav labels out loud. Would the user use these words to describe their work? Or are they developer terms?+2. **Draw the relationships**: If a client has policies, and policies have documents, and documents have versions — does the app's navigation reflect these relationships?+3. **Find the mismatch**: Where does the app organise by technical entity (Users, Records, Settings) instead of by task (Manage Clients, Handle Claims, Run Reports)?+4. **Check the verbs**: Are the action buttons labelled with what the user wants to achieve ("Send Renewal") or with what the system does ("Create Email")?++### Common Model Mismatches++| App says | User thinks |+|----------|------------|+| "Create Record" | "Add a new client" |+| "Entities" | "People" or "Companies" |+| "Workflow" | "What I need to do today" |+| "Submit" | "Save" or "Send" or "Done" — submit to where? |+| "Dashboard" | "My overview" or "What needs attention" |++## Productivity Assessment++After following all threads, ask:++1. **Time to value**: How long before a new user can do something useful? Minutes? Hours? Days?+2. **Repeat efficiency**: Does the second time doing a task feel faster than the first? Are there shortcuts for power users?+3. **Error recovery cost**: When something goes wrong, how many steps to get back on track?+4. **Context switching cost**: When the user moves between threads, how much re-orientation is needed?+5. **Completeness**: Can the user finish their real-world task entirely in this app, or do they need to jump to email/spreadsheets/another tool for some steps?++## Reporting Workflow Issues++Workflow comprehension issues are often **High** severity even though they're not bugs. A user who can't figure out how to use the app won't file a bug report — they'll just stop using it.++When reporting, frame the issue as what the user experiences:++```+BAD: "Nav labels don't match domain terminology"+GOOD: "A new insurance broker wouldn't recognise 'Entities' as the place to manage their clients.+ They'd look for 'Clients' or 'Contacts'. The current label requires insider knowledge."+```++```+BAD: "No post-create redirect"+GOOD: "After creating a new policy, the user is sent back to the policy list instead of the+ policy they just created. They have to hunt through the list to find it and continue+ adding details. This breaks the natural workflow of 'create → configure → review'."+```