From ux-toolkit
Generates exhaustive user journey stories and realistic UX paths (short features, long e2e flows) by analyzing codebases with parallel sub-agents. Use for app mapping, test scenarios, user flows.
npx claudepluginhub dennisonbertram/ux-toolkitThis skill uses the workspace's default tool permissions.
Generate an exhaustive, realistic catalog of user journeys through any application by analyzing its codebase. Produces short stories (exercise one feature) and long stories (complete multi-step workflows) that reflect how real users would actually use the app.
Documents user journeys mapping flows, UX validation steps, friction points, error recovery paths, and metrics with E2E test links.
Walks UX story catalogs through a real browser, testing user journeys for functional correctness, visual quality, and UX excellence. Auto-fixes small issues and files GitHub issues for larger ones.
Audits repositories for UX quality via user journey mapping, heuristic evaluations, pain-point detection, and framework-aware route analysis.
Share bugs, ideas, or general feedback.
Generate an exhaustive, realistic catalog of user journeys through any application by analyzing its codebase. Produces short stories (exercise one feature) and long stories (complete multi-step workflows) that reflect how real users would actually use the app.
User invokes /ux-paths [optional focus area]
└── Top-level agent (you — orchestrator only)
├── Phase 1: Discovery Agent (Explore)
│ └── Deep codebase scan → topic list + app map
├── Phase 2: Story Swarm (8-12 Explore agents in parallel)
│ ├── Agent: Authentication & Onboarding paths
│ ├── Agent: Core Feature A paths
│ ├── Agent: Core Feature B paths
│ ├── Agent: Settings & Configuration paths
│ ├── Agent: Error & Edge Case paths
│ ├── Agent: Data Management paths
│ ├── Agent: Navigation & Discovery paths
│ ├── Agent: Integration & External Service paths
│ ├── Agent: Multi-step Workflow paths
│ ├── Agent: Power User & Advanced paths
│ ├── Agent: First-time User / Onboarding paths
│ └── Agent: Destructive & Cleanup paths
└── Phase 3: Consolidation Agent (general-purpose)
└── Merge, deduplicate, organize → final catalog
| Parameter | Default | Notes |
|---|---|---|
| Focus area | Entire app | Optional $ARGUMENTS to scope (e.g., "authentication", "checkout flow") |
| Output directory | docs/ux-paths/ | Where the final catalog and per-topic files land |
| Depth | deep | quick = fewer agents, shorter paths. deep = full swarm |
Spawn a single Explore sub-agent (read-only, no worktree) to produce an application map.
The discovery agent must:
The agent should search broadly across whatever framework/stack the project uses:
references/path-categories.md from this skill's directory for the full taxonomy of categories to look forThe agent writes to docs/ux-paths/discovery.md:
# App Discovery: {App Name}
## Application Type
{web app / desktop app / mobile app / CLI / API}
## Tech Stack
{framework, router, state management, auth system}
## User Roles
- {role 1}: {what they can do}
- {role 2}: {what they can do}
## Feature Map
### {Feature Area 1}
- {capability 1}
- {capability 2}
### {Feature Area 2}
- ...
## Navigation Structure
{how users move between features}
## Data Entities
- {entity}: create / read / update / delete
- ...
## Integrations
- {service}: {what it does}
## Recommended Story Topics
1. {Topic 1} — {brief rationale}
2. {Topic 2} — {brief rationale}
...
(aim for 8-12 topics that collectively cover the entire app)
The Recommended Story Topics list is critical — it becomes the assignment list for Phase 2.
After the discovery agent completes, spawn one Explore sub-agent per topic — all in parallel.
Each story agent receives:
docs/ux-paths/discovery.md) for contextEach agent must:
Each story follows this structure:
## STORY-{NNN}: {Descriptive Title}
**Type**: short | medium | long
**Topic**: {assigned topic}
**Persona**: {who is doing this — new user, power user, admin, etc.}
**Goal**: {what the user is trying to accomplish}
**Preconditions**: {what state must exist before this story starts}
### Steps
1. {User action} → {Expected result}
2. {User action} → {Expected result}
3. ...
### Variations
- {Variation A}: {what changes and why}
- {Variation B}: {what changes and why}
### Edge Cases
- {Edge case}: {what happens}
Short stories (2-5 steps): Exercise a single feature in isolation.
Medium stories (5-15 steps): Complete a meaningful workflow.
Long stories (15-40 steps): Full end-to-end user journeys.
Realism rules:
Each agent should produce 5-15 stories for their topic, mixing short/medium/long.
Each agent writes to docs/ux-paths/topics/{topic-slug}.md.
After all story agents complete, spawn a general-purpose sub-agent (no worktree needed) to:
docs/ux-paths/topics/Write to docs/ux-paths/catalog.md:
# UX Path Catalog: {App Name}
Generated: {date}
Total Stories: {count}
Coverage: {features covered} / {total features} ({percentage})
## Summary
| Type | Count |
|------|-------|
| Short | {n} |
| Medium | {n} |
| Long | {n} |
## Coverage Matrix
| Feature Area | Stories | Gaps |
|-------------|---------|------|
| {area} | STORY-001, STORY-005, STORY-012 | {any uncovered aspects} |
| ... | ... | ... |
## Story Dependency Graph
```text
STORY-001 (Create Account)
├── STORY-005 (Configure Settings)
│ └── STORY-012 (Advanced Configuration)
├── STORY-008 (Create First Project)
│ ├── STORY-015 (Collaborate on Project)
│ └── STORY-020 (Export Project)
└── STORY-003 (Browse as New User)
{stories from this topic}
{stories from this topic}
...
---
## Execution Checklist
When invoked, follow these steps exactly:
### Step 0: Setup
```bash
mkdir -p docs/ux-paths/topics
If $ARGUMENTS contains a focus area, note it — the discovery agent should prioritize that area but still map the full app for context.
Spawn one Explore sub-agent with the Phase 1 prompt above. Wait for it to complete. Read the output summary — you need the topic list for Phase 2.
Read the recommended topics from docs/ux-paths/discovery.md. For each topic, spawn an Explore sub-agent — all in parallel in a single message. Each agent gets:
docs/ux-paths/topics/{topic-slug}.mdAll agents must finish before consolidation. As each completes, note the summary.
Spawn one general-purpose sub-agent with the Phase 3 prompt. Wait for completion.
Print a summary:
docs/ux-paths/catalog.md