/product-engineer:ux-reviewfrom product-engineer
Reviews PRs/branches for UX regressions before merge: flow cost, states, accessibility, design-system drift, analytics, and copy. Reports blockers with file:line fixes.
Ships in product-engineer. 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.
None: SKILL.md is the whole skill.
Code review catches bugs in the code. Nobody checks whether the PR added a step to checkout, a dead end, or a sixth button style. This skill does: it compares the user-facing behavior before and after the change and reports regressions with concrete fixes.
Get the diff: the pull request (gh pr diff <number> on GitHub, or your platform's equivalent) or the current branch against its base (git diff <base>...HEAD). List the user-facing changes: routes, components, copy, styles, form logic, API responses shown to users. If nothing is user-facing, say so in one line and stop.
For each change, identify the flows it affects, and read their feature folder (docs/product/<feature-slug>/) for the brief, budget and tracking plan when they exist.
If you can run subagents, run these passes in parallel, each with the diff and the affected files; otherwise run them one after another and finish all six before aggregating. Each pass reports every finding with file:line, severity and confidence. Filtering happens in Phase 3.
happy-path-audit definitions. If flow tests with UX budgets exist, run them or read their CI results. Any increase must be intentional and justified in the PR description.unhappy-paths matrix, limited to the diff).accessibility-audit passes, limited to the diff).tracking-plan.md, or at least the value moment) and, when risky, a feature flag that defaults to the current behavior. Removed code leaves no orphan events.Remove duplicates and group:
Each finding states the file:line, what the user experiences, and the concrete fix. Drop findings you verified as false positives; keep uncertain ones with their confidence.
## UX review — <PR title>
**Verdict:** Ready / Ready once blockers are fixed / Needs rework
| Flow | Clicks | Fields | Screens |
|---|---|---|---|
| <flow> | 6 → 8 (+2) | 4 → 4 | 3 → 4 |
### Blockers
- `path/to/File.tsx:42` — <what the user experiences> → <fix>
### Should fix
- …
### Nits
- …
Show the report in the conversation. Post it on the PR, or apply fixes, only when the user asks; when fixing, start with blockers.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
ux-review, pr-review, accessibility, design-system, analytics
npx claudepluginhub trystan-sa/product-engineer-skills --plugin product-engineer15 skills in this plugin
/ab-test-designDesign an A/B test that can answer its question — hypothesis, one primary metric, guardrails, randomization unit, minimum detectable effect, sample size and duration with a bundled calculator — decide whether a test is worth running at all, and implement the variant behind the project's feature-flag tool (GrowthBook, LaunchDarkly, Statsig, PostHog, Optimizely, Unleash or in-house flags). Use when asked to A/B test, experiment, split test, or validate a change with data before rolling it out./accessibility-auditAudit and fix accessibility in the product's real UI code against WCAG 2.2 AA — contrast, semantics, keyboard and focus, screen-reader names and announcements, forms and errors, motion, target size — combining the automated checks the project supports (axe, lint rules) with a manual review of what tools can't catch. Use when accessibility is questioned, before shipping user-facing UI, for a compliance review, or when ux-review flags accessibility issues./adoption-planPlan how users will discover, try, activate and keep using a feature — map entry points against the moments users need it, define the adoption funnel and the value moment, design empty states and onboarding, plan launch communication, and diagnose low adoption after launch. Use when launching or relaunching a feature, when a shipped feature is under-used, or when asked about discoverability, onboarding, activation or feature adoption./design-system-adoptionMeasure how much of a codebase actually uses its design system — token coverage versus hardcoded colors, spacing and font sizes, design-system components versus local re-implementations and forks — find the hotspots and the repeated patterns that should become components, and plan a ratcheted migration with lint rules and safe codemods. Use when asked whether the design system is used, why the UI is inconsistent, to inventory components, or to plan a design-system migration./design-system-extractExtract design tokens — color, typography, spacing, radii, shadows, motion, breakpoints — from a codebase, brand guide or screenshots into a tokens file in the project's own format (CSS variables, Tailwind theme, TypeScript or DTCG JSON), and report where the product disagrees with itself. Use when a project has no tokens yet, when asked to "extract tokens" or "build a design system from the code", or before measuring design-system adoption./experiment-readoutAnalyze a finished A/B test and recommend a decision — validity checks first (sample ratio mismatch, duration, exposure), then lift, confidence intervals and p-values from a bundled script, guardrails and pre-registered segments, and a ship / iterate / roll back call with a stakeholder summary and flag cleanup. Use when an experiment has ended, or when someone asks "did the test win?", "is this significant?", or to read A/B results.Other plugins' skills for the same job