Hatch3r ui ux verify

From hatch3r/hatch3r · View interactive version

Hatch3r ui ux verify is an AI agent skill from the GitHub repository hatch3r/hatch3r. UI/UX verification gate before declaring a feature done — axe-core, scripted keyboard trace, accessibility-tree snapshot, four-state coverage, visual-regression baseline, one human screen-reader pass per release

How to use this skill

Skill file

UI/UX Verification Gate

Quick Start

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.

Step 0 — Detect Ambiguity (P8 B1)

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 Discipline (P8 B2)

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.

Invoked by

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:

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).

Gate 1: Automated a11y scan (axe-core via Playwright)

Gate 2: Scripted keyboard trace

Gate 3: Accessibility-tree snapshot

Gate 4: Four-state coverage check

Gate 5: Visual regression baseline

Gate 6: Microcopy lint

Gate 7: Core Web Vitals (2026 thresholds)

Gate 8: AI-UX checks (when applicable)

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:

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.

Gate 9: Manual screen-reader pass (per release, not per PR)

Verdict

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.

When this skill runs

Cross-References

References

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.