/hatch3r:hatch3r-ui-ux-verifyfrom hatch3r
UI/UX verification gate with 9 gates: axe-core a11y scan, keyboard trace, accessibility-tree snapshot, four-state coverage, visual-regression baseline, and human screen-reader pass per release.
Ships in hatch3r. 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.
This skill defines what "done" means for any feature shipping UI. Run before declaring a feature complete. The 9 gates below mix automated checks (machine-checkable on every PR) with one manual gate (one human screen-reader pass per release). Skipping any gate = the feature is not done. Browser tests and screenshots from hatch3r-qa-validation alone do not satisfy this bar.
Before any work, scan the invocation for unresolved questions in scope, intent, acceptance criteria, target environment, or irreversibility. If any are found, ask the user via the platform-native question tool per agents/shared/user-question-protocol.md. Do not proceed under silent assumption. Default path, not an exception. Triggers for THIS skill: routes in scope (single vs all interactive), WCAG target (2.1 AA vs 2.2 AA), visual-regression baseline policy (regenerate vs keep), AI-UX gate applicability, and whether Gate 9 (manual SR pass) is required this run.
Fan-out scales with task size; token cost never justifies serializing independent work (rules/hatch3r-fan-out-discipline.md P8 B2; agents/shared/efficiency-patterns.md). Emit sub_agents_spawned: { count, rationale, task_structure } in your output.
This skill is the verification HARNESS — it declares HOW each UI/UX gate is checked. The DISPATCHERS that decide WHEN to run it are the CQ specialist agents:
agents/hatch3r-ui.md — invokes this skill as the axe-core + keyboard-trace + four-state + visual-regression + Core Web Vitals gate (CQ1). The agent contributes trigger conditions and Phase-4 dispatch; this skill contributes the 9-gate procedure.agents/hatch3r-ux.md — invokes this skill when keyboard-trace, microcopy-lint, or human-screen-reader-pass gates flag a UX-pillar delta (CQ2).No duplication: the agent decides WHEN, this skill defines HOW. The agent bodies cite this skill in their Phase-4 output contract; this subsection is the symmetric upstream citation per rules/hatch3r-agent-orchestration.md (Phase-4 dispatch).
npx playwright test --grep @a11y with @axe-core/playwright integration on every interactive route.import AxeBuilder from '@axe-core/playwright'; call new AxeBuilder({ page }).analyze() inside each route test and assert results.violations.length === 0 after filtering for impact in ['serious', 'critical'].page.locator('a, button, input, select, textarea, [tabindex]:not([tabindex="-1"])'); iterate Tab presses up to count + 5 and record the activeElement chain. Diff against the enumeration; any unreached element fails the gate.await expect(page.locator('body')).toMatchAriaSnapshot() (Playwright 1.49+). The committed ariaSnapshot YAML is the baseline; the legacy page.accessibility.snapshot() API was removed — its docs page returns HTTP 404. Regenerate baselines with --update-snapshots (-u) and review the emitted diff before committing (--update-source-method patch writes a git apply-able patch).getByRole queries alongside the committed aria snapshot:
<h1> — await expect(page.getByRole('heading', { level: 1 })).toHaveCount(1).banner, main, navigation, contentinfo roles present — e.g. await expect(page.getByRole('main')).toBeVisible(), one assertion per landmark.getByRole for its role (textbox, combobox, checkbox, radio, spinbutton) plus { name }; a field with no accessible name is unresolvable and fails the gate.alt attribute or role="presentation".Promise.allSettled with a forced rejection) in rules/hatch3r-ux-states-and-flows.md -> Partial-state fixture recipe.src/__tests__/states/<feature>.<state>.spec.ts.rg -l 'useQuery|useSWR|\bfetch\(|axios' — and list the surfaces that read remote data. Each listed surface must have all four state files under the convention path above. The reviewer flags any surface missing a state file as a Gate-4 failure. Projects that want this enforced pre-test author their own discovery check wired into CI; hatch3r ships the pattern, not the script (the framework does not own the project's data-fetch taxonomy).playwright.toHaveScreenshot() for component-library projects; Chromatic or Percy for Storybook-heavy projects.maxDiffPixels: 0 for layout-critical screens (header, nav, primary CTA); maxDiffPixelRatio: 0.001 for content-heavy screens. Tighter thresholds catch silent regressions; looser thresholds tolerate font-rendering noise on content text.autocomplete attribute on every input matching email, password, name, or address. axe-core covers part of this; add a custom rule for the rest.web-vitals library in a synthetic environment.web-vitals posting to an analytics endpoint, compare p75 field values to synthetic budgets weekly. A 25% gap between synthetic and field is a finding — re-tune the synthetic environment.Applies only when the feature ships LLM-driven UI. These 7 checks mirror the Verification Gate in rules/hatch3r-ai-ux-patterns.md one-for-one — running Gate 8 means executing all 7, not just the streaming/tool-call subset:
useChat, useCompletion, streamUI, or the framework equivalent.pending, in-progress, complete, failed).write, send, or post tool calls.AbortController — cancellation produces a transcript marker, not a silent terminate.Cross-reference: rules/hatch3r-ai-ux-patterns.md — the "Verification Gate" section is the canonical 7-item list this gate executes; the "Cancel / Abort / Undo", "Citations and Grounding", and "Failure Modes and Degradation" sections define the expected behavior each check asserts.
All 9 gates pass = the feature is "done". Anything less = not done.
The orchestrator running this skill emits a single-line verdict per gate (GATE_N: PASS|FAIL <evidence-path>) and aggregates them. One FAIL on a required gate blocks the merge regardless of QA validation status.
hatch3r-implementer finishes feature code and before hatch3r-qa-validation runs.src/components/, src/pages/, src/routes/, or any file matched by the design-system glob.rules/hatch3r-accessibility-standards.mdrules/hatch3r-ux-states-and-flows.mdrules/hatch3r-ai-ux-patterns.mdrules/hatch3r-design-system-detection.mdrules/hatch3r-performance-budgets.mdplaywright.dev/docs/accessibility-testinggithub.com/dequelabs/axe-coreweb.dev/articles/vitalsai-sdk.dev/docs/ai-sdk-uiwww.w3.org/TR/WCAG22/What SKILL.md sets; muted values are Claude Code's defaults
Claude Code refuses to install this plugin
.claude-plugin/plugin.json: commands: Invalid input, agents: Invalid string: must start with "./", agents: Invalid string: must end with ".md", skills: Invalid string: must start with "./", mcpServers: Invalid string: must start with "./"
.claude-plugin/plugin.json: commands: Invalid input, agents: Invalid string: must start with "./", agents: Invalid string: must end with ".md", skills: Invalid string: must start with "./", mcpServers: Invalid string: must start with "./"
Checked against Claude Code 2.1.332's install rules. The listing below is what the repository ships; Claude Code cannot install it as published.
55 skills in this plugin
/hatch3r-a11y-auditRuns a WCAG AA accessibility audit with findings and fixes across 7 scan categories (keyboard, contrast, ARIA, reduced motion, screen reader, high contrast, automated axe). Use when auditing and remediating accessibility./hatch3r-adhoc-orchestrateScaffolds the ad-hoc Tier >= 2 orchestration protocol -- Per-Turn Pipeline-State Header, implementer delegation plan, End-of-Turn Delegation Attestation. Use for a multi-phase task with no registered command to avoid inline-implementation bypass mode./hatch3r-ai-featureEval-driven development workflow for shipping AI features — write eval before prompt, measure, iterate, ship with caching + cost telemetry + model fallback + hallucination SLIOther plugins' skills for the same job