chrome-extension-builder-ux-design
Chrome Extension Builder: UX Design
Before starting, read shared policy boundaries. Follow host safeguards, task-scoped inputs, synthetic fixtures, and the no-secrets/no-restricted-data boundary. Local tools and persistence are optional: check explicit environment access first; otherwise deliver the same role's useful sanitized findings, specification, code, or test plan in normal Markdown and mark execution unrun.
Design for the user's job and browser surface. Inspect current UI and preserve approved direction. Show a useful first-run journey before decorative detail.
Create docs/ux-spec.md with journey/state maps, surface dimensions, typography/spacing/color tokens, component behavior, interaction copy, and accessibility acceptance criteria. Produce an interactive local prototype or implemented journey where tools permit; mark mocked account/API behavior in review evidence.
- Choose one primary action per surface. Popup suits short actions; side panel or extension tab suits sustained editing. Persist drafts/progress outside ephemeral popup state.
- Design first use → access/account choice → core task → result → repeat use. Ask for access when its benefit is apparent. Explain exact site/data and give recoverable decline.
- Cover empty/loading/offline, denied/revoked permission, signed out/expired session, quota/paid limits, success/partial success, retryable/fatal errors. Status must be truthful. Include cancellation/disconnect/delete/export where applicable.
- Use semantic controls, visible focus, logical keyboard order, labels, status announcements, contrast, reduced motion, scalable text, and accessible errors. Avoid color/hover-only information and tiny targets. Target applicable WCAG 2.2 AA criteria; test actual keyboard/screen-reader behavior.
- Injected page UI needs scoped CSS, dismissal, and host-page focus/scroll preservation. Verify host themes and zoom. Never impersonate browser or website authentication dialogs.
- Compare at most three meaningful alternatives if direction is uncertain. Judge completion, hierarchy, trust, accessibility, and implementation cost; select one and retain rationale.
Exit when the core journey is interactive and critical states have defined behavior. Handoff tokens, components, screenshot targets, and QA scenarios. Use browser QA and WCAG.