/experience-architecture:diagnose [what feels wrong] [structure|urls|navigation|continuity] [app path] [running URL]from Experience Architecture
Work out why a web app's experience feels wrong and what is causing it. Starts from a plain-language complaint ("the navigation feels broken", "users get lost", "Back does something weird", "my filter resets", "shared links open the wrong thing", "do we have too many pages", "are our URLs right") and investigates whichever layers it needs - page structure, URLs and routing, navigation chrome (sidebars, tabs, breadcrumbs, mobile menu) and state continuity (Back, refresh, deep links, switching records). Proves findings in a real browser when the app runs, traces symptoms to a few root causes, judges whether the structure itself is the problem, and explains it in plain English. Read-only.
Ships in Experience Architecture. 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.
Request: $ARGUMENTS
${CLAUDE_PLUGIN_ROOT} means this plugin's folder. Claude Code fills it in. In Codex or Cursor it is the folder two levels above this file (skills/diagnose/SKILL.md), unless the installer has already written the full path. Where the ea command is not found, run node <plugin folder>/scripts/ea.mjs in its place. If the request line above shows $ARGUMENTS, the request is the user's message.
Read ${CLAUDE_PLUGIN_ROOT}/references/evidence.md before reporting. It holds the finding classes, the record format, where output goes, the boundaries, and how to talk to the owner.
!ea brief .
If the line above shows a command instead of a route summary, run it yourself now and read the output before going further.
package.json, or ask once). Without one, work from code and say so. If the user gave a URL or told you how to run the app, that is permission to start it and use it in the browser; stop anything you started. Otherwise ask once before starting a dev server.judgment.md).ea map <app-root> --out <output-dir>/map. Its artifacts folder is your output folder.Match the depth to the question. A focused investigation stays light.
| Layer | Playbook | Look here when |
|---|---|---|
| Page structure | ${CLAUDE_PLUGIN_ROOT}/references/layers/structure.md | too many pages, duplicates, things hard to find, "where should X live" |
| URLs and routing | ${CLAUDE_PLUGIN_ROOT}/references/layers/urls.md | deep links, shared links, redirects, sign-in, 404s, URL shape |
| Navigation chrome | ${CLAUDE_PLUGIN_ROOT}/references/layers/navigation.md | sidebars, tabs, breadcrumbs, switchers, mobile menu disagreeing or missing |
| Continuity and state | ${CLAUDE_PLUGIN_ROOT}/references/layers/continuity.md | Back, refresh, filters resetting, panels, input lost or carried to the wrong record |
On a large app (the brief lists many routes or is truncated), start from the core loops (find, open, act, return) and the routes the complaint names. Read cited lines before trusting a signal: static signals are leads.
With a running app, prove each candidate defect with the Verify procedure (${CLAUDE_PLUGIN_ROOT}/skills/verify/SKILL.md): one journey spec, run with ea journey. For any broad diagnosis include a cold open of a shared link signed out and as the same user, a new-tab check on the main list rows, and the core loop at phone width. Use ea journey and ea crawl for navigation checks rather than hand-written browser scripts: the runner records history operations and state after every step, which its checks depend on. A journey that stopped at a failed action proved nothing past that step.
Merge everything into one ledger. Drop refuted signals with a one-line reason. Classify survivors with the evidence classes. Group symptoms under the two to five causes that produce them; a fix to a cause should make several symptoms disappear. Where the right behaviour is a product choice rather than a bug, decide from what users expect (${CLAUDE_PLUGIN_ROOT}/references/state-ownership.md) and say why.
Read ${CLAUDE_PLUGIN_ROOT}/references/judgment.md and give an explicit verdict, even for a narrow question:
For "part" or "main", name the end state (what replaces today's structure and which pages go), not only the first step.
Name pages that should not exist, or should merge, when the evidence is strong, even if nobody asked. If an ADR or team rule is what produces the symptom, judge it on the merits of what users now experience and say whether to keep, amend or overturn it; do not keep it by default because the question was narrow. When the verdict is not "sound", offer Rethink to develop options.
Write <output-dir>/report.md:
Before presenting it, run ea refs <output-dir>/report.md --root . and fix every reference it marks wrong, and check the counting claims (see "Check the report before sharing it" in evidence.md). Label findings verified or discovered.
In chat, follow "Talking to the owner" in evidence.md: what is happening to users, the causes, what you recommend, the one decision you need, and the report path. Do not paste the report.
.gitignore changes, unless the owner explicitly asks for implementation after reading the recommendation.What SKILL.md sets; muted values are Claude Code's defaults
The default starting point for any complaint or question about how an app's pages, navigation, URLs or state behave, broad or narrow, including a quick question about one screen (a panel that Back does not close, a filter that resets, a link that opens the wrong thing); narrow questions stay light. A focus word in the request (structure, urls, navigation, continuity) limits it to one layer.
Other plugins' skills for the same job
npx claudepluginhub atlasscope/experience-architecture --plugin experience-architecture3 skills in this plugin
/rethinkDecide whether a web app's structure should change and what it should become - which pages should exist, merge or go, how navigation should be organised, and whether a fundamentally different product structure would serve users better. Produces two or three genuinely different options (one ambitious when the evidence supports it) as a clickable prototype, explains each as what using the product would feel like, recommends one, and plans a migration that keeps existing links working. Changes the app only after the owner picks an option and says go./verifyProve how a web app actually behaves in a real browser. Reproduces navigation and state bugs, checks that shared links open the right thing in a fresh browser signed out, as the same user and as a different account, that links open in new tabs, that Back, Forward and refresh keep the user's place, and that layouts work at desktop, phone and narrow side-panel widths. Records every step, fails loudly when an action cannot run, blocks data-changing requests by default, and keeps the journeys as a regression suite for after a change.