| name | ux-mockup-explorer |
| description | Generate UX exploration artifacts as raw HTML option packs for product decision-making before Flutter implementation. Use when an issue has significant UX impact (onboarding, paywall, dashboard/navigation changes, new multi-step flows, high-risk interaction changes) and stakeholders need comparable options before coding. |
Ux Mockup Explorer
Overview
Create a decision-ready UX option pack with standardized storage and selection artifacts.
Optimize for fast choice-making, not pixel-perfect Flutter parity.
Workflow
- Read issue context, user goals, constraints, and target device assumptions.
- Define key UX decision dimensions (information hierarchy, navigation, input flow, feedback model).
- Generate five artifacts:
- Option A: concept 1 (divergent)
- Option B: concept 2 (divergent)
- Option C: concept 3 (divergent)
- Option D: selected-direction candidate
- Option E: refined selected-direction version
- Keep all options in raw HTML/CSS with shared semantic token file.
- Create a one-page review surface at
index.html that shows all options in one place (via embeds or direct links), includes recommendation context, and makes owner approval easy.
- Build
decision.md with option summaries, tradeoffs, recommendation, and selection status.
- Mark implementation as blocked until
selected.txt exists with chosen option id.
Storage Contract
Store artifacts here:
docs/ux-mockups/<issue-id>-<slug>/tokens.css
docs/ux-mockups/<issue-id>-<slug>/option-a/index.html
docs/ux-mockups/<issue-id>-<slug>/option-b/index.html
docs/ux-mockups/<issue-id>-<slug>/option-c/index.html
docs/ux-mockups/<issue-id>-<slug>/option-d/index.html
docs/ux-mockups/<issue-id>-<slug>/option-e/index.html
docs/ux-mockups/<issue-id>-<slug>/index.html (single-page reviewer)
docs/ux-mockups/<issue-id>-<slug>/decision.md
docs/ux-mockups/<issue-id>-<slug>/selected.txt (created only after decision)
Quality Rules
- Make options structurally different, not only visual variants.
- Keep copy realistic and tied to issue context.
- Keep token names semantic and aligned with Flutter theme roles.
- Keep options lightweight and inspectable in browser without build tooling.
- Explicitly state recommendation and tradeoffs in
decision.md.
- Ensure
index.html is fast to scan and clearly presents all options for approval.
Flutter Parity Rules
- Match hierarchy, spacing rhythm, and control types expected in Flutter.
- Do not claim pixel-perfect parity with Flutter rendering.
- Include responsive behavior for compact and expanded widths.
- Use states for loading, empty, and error where relevant.
Retention Rules
- Keep all options until a decision is made.
- After selection, keep:
tokens.css
index.html
decision.md
- selected option folder
selected.txt
- Move non-selected options to:
docs/ux-mockups/_archive/<issue-id>-<slug>/
Reference Files
- Decision pack template:
references/ux-mockup-decision-template.md