/developer-skill-pack:ux-walkerfrom developer-skill-pack
Walks UX story catalogs through a real browser, testing user journeys for correctness, visual quality, and UX excellence. Inspects screenshots, measures geometry defects, logs flow friction, auto-fixes small issues, and files GitHub issues for larger ones.
Ships in developer-skill-pack. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Walk the UX story catalog through a real browser, testing each user journey for functional correctness, visual quality, and UX excellence. Automatically fixes small issues on the spot and files GitHub issues for larger ones.
"walk the stories", "test the ux paths", "ux walker", "verify user journeys", "run ux tests", "browser test the stories", "qa the user flows"
/ux-walker [url] [--full] [--focus topic] [--session name]
| Parameter | Default | Notes |
|---|---|---|
| url | Auto-detect from dev server or package.json | Target URL to walk |
| --full | Off | Force re-walk of all stories, ignoring run history |
| --focus topic | All topics | Only walk stories matching this topic |
| --session name | ux-walker-{domain} | Reuse an existing agent-browser session (preserves login state) |
If the user says something like "walk the stories" with no arguments, auto-detect the URL and start immediately. Do not ask clarifying questions unless authentication is mentioned but credentials are missing.
Always use agent-browser directly -- never npx agent-browser. The direct binary uses the fast Rust client. npx routes through Node.js and is significantly slower.
User invokes /ux-walker [url] [flags]
└── Top-level agent (you — orchestrator only)
├── Phase 0: Preflight (orchestrator directly)
│ └── URL check, catalog check, output dirs, run history, session
├── Phase 1: Story Planning (1 Explore agent)
│ └── Parse catalog → cross-ref run history → walk-plan.json
├── Phase 2: Walk Loop (sequential walkers + parallel fixers)
│ ├── Step 2a: Walker agent per story (general-purpose)
│ │ └── Browser walk + UX audit → findings.json
│ ├── Step 2b: Triage findings (orchestrator)
│ ├── Step 2c: Fix agents (parallel, worktree-isolated, up to 3)
│ │ └── Minimal fix → commit → report
│ └── Step 2d: File GitHub issues (orchestrator)
├── Phase 3: Fix Merge & Verification
│ └── Merge branches → rebuild → re-walk fixed stories → update history
└── Phase 4: Report (1 general-purpose agent)
└── latest-report.md
docs/ux-walker/
├── run-history.json # Persistent state across runs
├── latest-report.md # Human-readable report from last run
├── walk-plan.json # Plan for current/last run
├── issues-filed.md # Log of all GitHub issues created
├── stories/
│ └── STORY-{NNN}/
│ ├── walk-report.md # Narrative of what happened at each step
│ ├── findings.json # Array of finding objects
│ ├── screenshots/ # Step screenshots + finding screenshots
│ ├── snapshots/ # DOM snapshots at key points
│ └── videos/ # Video reproductions of interactive issues
├── fixes/
│ └── {FINDING_ID}.md # Fix report for each quick-fix applied
└── walk-plan.json # Current walk plan
The orchestrator (top-level agent) performs these checks directly. Do not delegate preflight to a sub-agent.
# If URL provided, check it responds
curl -s -o /dev/null -w "%{http_code}" {URL}
If not 200 (or no URL provided), detect the dev server:
# Check what's already running
lsof -i :{port} 2>/dev/null
# If nothing running, detect from package.json and start
# Read package.json scripts.dev or scripts.start to find the port
# Use a different port if the default is occupied
Check if the app has version fingerprinting installed:
# Try the endpoint first (faster than browser)
curl -s "{URL}/__version" 2>/dev/null || curl -s "{URL}/version.json" 2>/dev/null
If the endpoint returns version JSON, compare git_sha against git rev-parse --short HEAD:
Deploy check: SHA {sha} verified ✓ and continue.Deploy check: deployed SHA {deployed} ≠ HEAD {head} — testing may reflect an older build but continue (the user may be testing an older deploy intentionally).No version fingerprint found — run /deploy-check --install to add one and continue. This is advisory, not blocking.If the endpoint is missing, fall back to the meta tag via agent-browser:
agent-browser js "document.querySelector('meta[name=\"build-version\"]')?.content"
Verify docs/ux-paths/catalog.md exists. If it does not:
The UX story catalog does not exist yet. Run /ux-paths first to generate
the story catalog, then re-run /ux-walker.
Stop execution. Do not proceed without a catalog.
mkdir -p docs/ux-walker/stories docs/ux-walker/fixes
Load docs/ux-walker/run-history.json or initialize it:
{
"runs": [],
"stories": {}
}
Each story entry in stories tracks:
{
"STORY-001": {
"last_walked": "2026-03-20T14:30:00Z",
"status": "pass",
"findings_count": 0,
"source_files_hash": "abc123",
"fixes_merged_since": false
}
}
If --session provided, verify the agent-browser session exists:
agent-browser --session {SESSION} snapshot
If it fails, create a new session. Otherwise, reuse it.
If no --session flag, create a session named ux-walker-{domain}:
agent-browser --session ux-walker-{domain} open {URL}
agent-browser --session ux-walker-{domain} wait --load networkidle
Spawn 1 Explore sub-agent (read-only, no worktree needed).
Parse docs/ux-paths/catalog.md, cross-reference with docs/ux-walker/run-history.json, and determine the walk order.
--full: mark all stories as walk--focus topic: filter to stories matching that topic onlywalkpass status and no source file changes since last run --> skippass status but source files changed --> re-verifyfail status and fixes merged since --> re-verifyfail status and no fixes --> walk (retry)Write docs/ux-walker/walk-plan.json:
{
"timestamp": "2026-03-20T14:30:00Z",
"total_stories": 42,
"walking": 15,
"skipping": 20,
"re_verifying": 7,
"order": [
{
"id": "STORY-001",
"action": "walk",
"reason": "never walked",
"dependencies": []
},
{
"id": "STORY-005",
"action": "re-verify",
"reason": "source changed",
"dependencies": ["STORY-001"]
}
]
}
Return to orchestrator: Path to walk-plan.json + summary sentence (e.g., "15 stories to walk, 7 to re-verify, 20 skipped").
Process stories sequentially (browser state is shared across stories). Fix agents run in parallel (worktree-isolated).
For each story in walk-plan.order:
Spawn 1 general-purpose sub-agent per story.
allowed-tools: Bash(agent-browser:*), Write, Read, Glob, Grep
Prompt template (fill in variables from the walk plan and catalog; {SKILL_DIR} is this skill's base directory):
You are a UX walker testing STORY-{ID}: "{TITLE}"
## Story
{FULL_STORY_TEXT from catalog — include Type, Topic, Persona, Goal, Preconditions, Steps, Variations, Edge Cases}
## Session
Use agent-browser session: {SESSION_NAME}
## Skill resources
Skill directory: {SKILL_DIR}
Before starting, read {SKILL_DIR}/references/ux-audit-rubric.md and
{SKILL_DIR}/references/visual-inspection.md. The geometry audit script is at
{SKILL_DIR}/references/geometry-audit.js.
## Instructions
1. For each step in the story:
a. Take a snapshot: `agent-browser --session {SESSION} snapshot`
b. Read the snapshot to find the target element (by text, role, or selector)
c. Execute the action: click, type, navigate, etc.
d. Take a screenshot: `agent-browser --session {SESSION} screenshot {OUTPUT_DIR}/stories/STORY-{ID}/screenshots/step-{N}.png`
e. **Open that screenshot with the Read tool and look at it.** The accessibility
snapshot cannot show misalignment, uneven cards, broken text wrapping, or
spacing problems — only the screenshot can. A step where you did not view
the screenshot is a step you did not audit.
f. Verify the expected result from the story step
g. Run the UX audit checklist (see below) on the current page state
2. Visual inspection — what to look FOR in each screenshot (full protocol:
references/visual-inspection.md):
- Do sibling cards/tiles/list items have the same shape — height, width, radius, padding?
- Do edges line up — left edges of stacked sections, tops of side-by-side items,
label/input pairs, indentation of nested content?
- Is spacing even — equal gaps between siblings, consistent section padding?
- Does any text wrap badly — wrapped button/tab labels, mid-word breaks, long
values pushing the layout apart?
- Does anything overflow, clip, or spill out of its container?
- Is there ONE clearly primary action, with size/weight/color matching importance?
- Is the same piece of information shown more than once on this screen?
3. Geometry audit — at each DISTINCT page state (a new page or a major layout change,
not every micro-step):
```bash
agent-browser --session {SESSION} eval "$(cat {SKILL_DIR}/references/geometry-audit.js)"
The script returns JSON: uneven sibling rows (heights/widths/gaps/top drift),
overflow spills, wrapped controls, page horizontal overflow. Confirm each reported
violation in the screenshot, then log it as a finding (category consistency or
layout). Trust the script for measurements and your eyes for whether it matters.
Responsive spot-check — once per story, at the story's primary screen (skip for non-responsive desktop apps):
agent-browser --session {SESSION} set viewport 390 844
agent-browser --session {SESSION} screenshot {OUTPUT_DIR}/stories/STORY-{ID}/screenshots/mobile-check.png
# Read the screenshot: look for wrap/overflow/stacking breakage
agent-browser --session {SESSION} set viewport 1280 800
UX Audit at each page state (reference: references/ux-audit-rubric.md):
Flow log — track while walking; write as a final section of walk-report.md:
flow finding naming the
friction points.flow finding.For each finding:
If a step fails (element not found, unexpected state):
failFor interactive/behavioral issues, record video:
agent-browser --session {SESSION} record start {OUTPUT_DIR}/stories/STORY-{ID}/videos/finding-{N}.webm
# Reproduce at human pace with sleep 1-2 between actions
agent-browser --session {SESSION} record stop
For static/visual issues, a single annotated screenshot is sufficient:
agent-browser --session {SESSION} screenshot --annotate {OUTPUT_DIR}/stories/STORY-{ID}/screenshots/finding-{N}.png
Write to {OUTPUT_DIR}/stories/STORY-{ID}/:
[ { "id": "F-{STORY_ID}-{SEQ}", "story_id": "STORY-{ID}", "severity": "critical|high|medium|low|suggestion", "category": "simplicity|disclosure|layout|visual|consistency|hierarchy|flow|happy-path|a11y|error-handling", "criterion": "Which specific check failed", "score": "warn|fail", "description": "...", "expected": "...", "actual": "...", "screenshot": "screenshots/finding-{N}.png", "suggested_fix": "... or null", "files_likely_involved": ["src/components/Foo.tsx"] } ]
Return: path to walk-report.md + 1-2 sentence summary + count of findings by severity
### Step 2b: Triage Findings
After each walker sub-agent completes, the orchestrator reads `findings.json` and triages each finding into one of two buckets.
**Quick fix** (fix on the spot) -- ALL of these must be true:
- Touches 2 or fewer files
- Obvious fix (typo, CSS tweak, missing label, wrong color, spacing, padding)
- Low regression risk
- Severity: medium or lower
**Filed issue** (create GitHub issue) -- ANY of these is true:
- Touches 3+ files
- Requires design thought or rethinking a workflow
- Could break other features
- Severity: critical or high
- Involves component restructuring or state changes
**Severity overrides** (these take precedence over the rules above):
- **Critical findings** are always filed as GitHub issues, even if they touch only 1 file and appear easy to fix.
- **Suggestion findings** are never quick-fixed or filed as issues. They are logged in the report only.
**Quick fix limit**: A maximum of 10 quick fixes may be applied per run. Any findings beyond the 10-fix cap are filed as GitHub issues instead.
Reference: `references/triage-rubric.md` for the full triage decision tree.
### Step 2c: Spawn Fix Sub-agents (parallel, up to 3)
For each quick-fix finding, spawn a **general-purpose sub-agent** with `isolation: "worktree"`.
No two fix agents should touch the same file. If two findings involve the same file, batch them into a single fix agent.
**Prompt template**:
Fix UX finding {FINDING_ID} from STORY-{STORY_ID}.
{FINDING_DESCRIPTION} Expected: {EXPECTED} Actual: {ACTUAL} Screenshot: {SCREENSHOT_PATH} Suggested fix: {SUGGESTED_FIX} Files likely involved: {FILES_LIST}
npm run build or cargo buildgit add -A):
git add {specific files}
git commit -m "fix(ux): {FINDING_ID} — {short description}"
Write fix report to docs/ux-walker/fixes/{FINDING_ID}.md:
Return: worktree branch name + 1-2 sentence summary
### Step 2d: File GitHub Issues
For each filed-issue finding, the orchestrator creates a GitHub issue:
```bash
gh issue create \
--title "UX: {short description}" \
--body "$(cat <<'EOF'
## Context
Found by ux-walker during STORY-{STORY_ID}: "{STORY_TITLE}"
## Finding
**Severity**: {severity}
**Category**: {category}
{description}
**Expected**: {expected}
**Actual**: {actual}
## Screenshot

## Suggested Approach
{suggested_fix or "Needs design discussion"}
---
Auto-filed by `/ux-walker`
EOF
)" \
--label "ux-walker,auto-filed,{severity}"
Log each issue to docs/ux-walker/issues-filed.md:
| Issue | Story | Severity | Title | URL |
|-------|-------|----------|-------|-----|
| #123 | STORY-005 | high | Button overflow on mobile | https://github.com/.../issues/123 |
After all stories in the walk loop are completed and fix agents have finished:
Gather branch names from all completed fix sub-agents.
Merge each fix branch one at a time (to catch conflicts early):
git checkout main
git merge --no-ff {branch} -m "fix(ux-walker): {FINDING_ID} — {description}"
If a merge conflict occurs:
After each successful merge, clean up:
git worktree remove {worktree-path} 2>/dev/null
git branch -d {branch} 2>/dev/null
npm run build
# or the detected build command for this project
If the build fails, report the failure to the user and stop. Do not attempt to auto-fix build failures from merges.
Spawn walker sub-agents for stories that had fixes applied. Verify the findings are resolved.
Use the same walker prompt from Step 2a, but scope the walk to only the steps that had findings. If all findings are resolved, mark the story as pass. If any persist, mark as fail and note the unresolved findings.
Update docs/ux-walker/run-history.json:
{
"runs": [
{
"timestamp": "2026-03-20T14:30:00Z",
"url": "http://localhost:3000",
"stories_walked": 15,
"stories_skipped": 20,
"stories_re_verified": 7,
"findings_total": 23,
"quick_fixes_applied": 8,
"issues_filed": 5,
"stories_passed": 12,
"stories_failed": 3
}
],
"stories": {
"STORY-001": {
"last_walked": "2026-03-20T14:30:00Z",
"status": "pass",
"findings_count": 0,
"source_files_hash": "abc123",
"fixes_merged_since": false
}
}
}
Spawn 1 general-purpose sub-agent to generate docs/ux-walker/latest-report.md.
Template reference: templates/latest-report-template.md
The report must include:
/ux-flow for the deep simplification pass.Return to orchestrator: Path to latest-report.md + summary.
The orchestrator follows this checklist, updating it as phases complete:
[ ] Phase 0: Preflight passed
[ ] URL responds (or dev server started)
[ ] Catalog exists at docs/ux-paths/catalog.md
[ ] Output directories created
[ ] Run history loaded/initialized
[ ] Browser session established
[ ] Phase 1: Walk plan created ({N} stories to walk, {M} to re-verify, {K} skipped)
[ ] Phase 2: Stories walked
[ ] Walker agents completed ({passed}/{total})
[ ] Findings triaged ({quick_fixes} fixes, {issues} issues to file)
[ ] Fix agents completed ({merged}/{total} fixes)
[ ] GitHub issues filed ({count})
[ ] Phase 3: Fixes merged and verified
[ ] All branches merged without conflicts
[ ] Build passes
[ ] Re-walk confirms fixes resolved
[ ] Run history updated
[ ] Phase 4: Report generated at docs/ux-walker/latest-report.md
[ ] Summary delivered to user
| Situation | Action |
|---|---|
| agent-browser fails to connect | Retry once. If still fails, ask user to verify Chrome is running with the agent-browser extension. |
| Story step fails (element not found, unexpected state) | Screenshot current state. Attempt recovery (go back, refresh). Continue remaining steps. Mark story as fail. |
| Fix agent fails (build broken, can't find file) | Log the error. Skip the fix. File a GitHub issue for the finding instead. |
| Merge conflict | Stop all merges. Report the conflict to the user. Do not force-resolve. |
| Build fails after merge | Report the failure to the user. Do not attempt auto-fix of merge-induced build failures. |
| Catalog not found | Stop execution. Instruct user to run /ux-paths first. |
| No stories to walk (all skipped) | Report that all stories are passing and no changes detected. Suggest --full to force a complete re-walk. |
| When | Format |
|---|---|
| Fix agent commits (in worktree) | fix(ux): {FINDING_ID} — {short description} |
| Merge fix to main | fix(ux-walker): {FINDING_ID} — {description} |
| Wave commit (if batching) | fix(ux-walker): wave {N} — {description} |
Never commit directly to main from a fix agent. Never use git add -A. Always stage specific files.
Fix agent branches follow this pattern:
ux-walker/{FINDING_ID}-{slug}
Example: ux-walker/F-005-003-sidebar-overflow
references/ux-audit-rubric.md for audit criteria.)sleep 1 between actions and sleep 2 before the final result. Videos should be watchable at 1x speed.type instead of fill for character-by-character input. Use fill outside of video recording when speed matters.agent-browser commands in a single shell call (e.g., agent-browser ... screenshot ... && agent-browser ... console). Use agent-browser --session {SESSION} scroll down 300 for scrolling.agent-browser --session {SESSION} errors and agent-browser --session {SESSION} console.rm screenshots, videos, or reports mid-session. Work forward, not backward.| Reference | When to Read |
|---|---|
| references/ux-audit-rubric.md | Before walking -- calibrate what to look for in the UX audit |
| references/visual-inspection.md | Before walking -- how to actually LOOK at screenshots + geometry audit protocol |
| references/geometry-audit.js | During walks -- paste into agent-browser eval at each distinct page state |
| references/triage-rubric.md | During triage -- decision tree for quick-fix vs. file-issue |
| references/action-patterns.md | During walks -- translate story steps to agent-browser commands |
| references/issue-template.md | When filing issues -- detailed GitHub issue template with all fields |
| Template | Purpose |
|---|---|
| templates/latest-report-template.md | Copy into output directory and fill in for the final report |
references/action-patterns.md (opens in a new tab)references/geometry-audit.js (opens in a new tab)references/issue-template.md (opens in a new tab)references/triage-rubric.md (opens in a new tab)references/ux-audit-rubric.md (opens in a new tab)references/visual-inspection.md (opens in a new tab)templates/latest-report-template.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub dennisonbertram/developer-skill-pack --plugin developer-skill-pack18 skills in this plugin
/chiefTurn this session into the chief: it coordinates your OTHER Claude Code sessions on this machine. It shows what each session is doing, surfaces the questions they are blocked on, relays your answers, delegates big work to other sessions, and sends a notification when something needs you. Use when asked to 'be chief', 'run chief', 'coordinate my sessions', 'what are my sessions waiting on', 'what is blocked', or 'delegate this to another session'./coordinatorLaunch the coordinator — a pure-delegation control plane that plans, delegates, reviews, and learns. Use when asked to 'coordinate', 'plan and delegate', 'run the coordinator', 'use the state machine', 'start a structured session', or 'plan this work'./debugDeterministic 7-phase debugging workflow — symptom capture, git archaeology, reproduce with a targeted test, log inspection, hypothesis, fix + green confirmation, regression test + commit. Use when asked to 'debug', 'fix a bug', 'investigate a failure', 'diagnose', 'root cause', or 'why is this broken'./deploy-checkInstrument a frontend with version fingerprinting (meta tag + /__version endpoint) so LLM-based testing can verify the correct build is deployed before walking. Use when asked to 'add version check', 'deploy verification', 'instrument version', 'add build fingerprint', 'deploy-check', or before running ux-walker on a deploy./free-web-searchFree web search for AI agents over MCP, with no sign-in and no API key. Use when you need current information from the web and have no web search tool of your own, or when the user asks for free web search./mine-transcriptsSweep sub-agent JSONL transcripts for novel learnings and promote the strongest to durable docs. Use when asked to 'mine transcripts', 'sweep for learnings', 'extract learnings from transcripts', 'what did agents learn', 'harvest session insights', or at the end of any multi-agent session.Other plugins' skills for the same job