/product-engineer:accessibility-auditfrom product-engineer
Audits and fixes UI code against WCAG 2.2 AA — contrast, semantics, keyboard/focus, screen-reader names, forms, motion, target size. Combines automated checks (axe, lint rules) with manual review for what tools miss.
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.
Accessibility failures are product failures: a form a keyboard user can't submit converts at 0 % for that user. Automated tools catch only part of the problems; the rest takes reading the code and walking the flow. This skill does both, then fixes what it finds.
Audit what was asked: a flow (use the steps from flow-audit.md in the feature folder if there is one), a set of components, a PR diff, or an area of the product. Read the components involved and the design system's base components — an accessibility bug fixed in a shared Button is fixed everywhere.
Target WCAG 2.2 level AA unless the user says otherwise.
@axe-core/playwright, cypress-axe) on each screen of the flow, including its states: open dialog, error state, empty state.eslint-plugin-jsx-a11y, eslint-plugin-vuejs-accessibility or Angular's template accessibility rules, when configured.Don't add a dependency without asking. When the project has none, do the manual review and recommend one tool in the summary.
If you can run subagents, run these four passes in parallel on the same files; otherwise run them one after another and finish all four before fixing. Every pass reports every issue — including uncertain and minor ones — with a severity and a confidence. Filtering happens in Phase 4.
Pass 1 — Contrast and color
Pass 2 — Structure and semantics
<button> for actions, <a href> for navigation, real form controls. Flag click handlers on div and span and the ARIA patches around them.header, nav, main), one h1 per page, no skipped heading levels.aria-label; images have meaningful alt, or alt="" when decorative; link text makes sense out of context ("View invoice #1042", not "Click here").Pass 3 — Keyboard and focus
tabindex.:focus-visible), never removed without a replacement, and not hidden under sticky headers or banners.<body>.Pass 4 — Forms, input and motion
aria-describedby and say what to fix.autocomplete, type and inputmode set on personal-data fields; users aren't asked again for information they already gave in the same flow.prefers-reduced-motion respected for non-essential animation; nothing flashes more than three times per second.Merge duplicates and group:
Fix blockers and serious issues in code, in shared components where possible, then re-run the automated checks. Note false positives (third-party embeds, decorative content) and skip them with the reason.
Summarize: scope, tools run, issues by severity and category, fixes with their files, what remains and why, and one way to prevent regressions (an axe check inside the flow tests, a lint rule). Passing automated checks doesn't make a product accessible, so say which parts you reviewed by hand.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
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./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./feature-briefFrame a feature before it is built — the user problem, a job story, one success metric with baseline and target, the adoption hypothesis, a click budget for the happy path, scope cuts, and kill criteria. Use when starting a new feature, epic or ticket, when someone says "we should build X", or when a spec has no measurable goal.Other plugins' skills for the same job