AGENT SKILL

codex-mobile-ui-design-os

Orchestrate evidence-based mobile UI design, prototype creation, visual and accessibility review, design freeze, Flutter handoff preparation, and strict release gating. Use when Codex must turn product-repository context into a distinctive mobile design without beginning production Flutter UI prematurely.

License 许可
Apache-2.0
最近更新
2026-08-12
Stars
★ 1
Forks
0

01 前言 Front Matter

name
codex-mobile-ui-design-os
description
Orchestrate evidence-based mobile UI design, prototype creation, visual and accessibility review, design freeze, Flutter handoff preparation, and strict release gating. Use when Codex must turn product-repository context into a distinctive mobile design without beginning production Flutter UI prematurely.

02 资源文件 384

03 SKILL.md 正文

Codex Mobile UI Design OS

Purpose

Orchestrate the Design OS as a sequence of focused skills. Keep product interpretation, visual exploration, prototype work, review, freeze, handoff, and gating separate so each stage loads only the context it needs.

Architecture boundary

  • Treat skills as workflow and design guidance.
  • Treat AGENTS.md as durable repository-scoped policy.
  • Treat plugins as optional packaging and distribution.
  • Treat MCP as optional live tools, authentication, and controlled external actions.
  • Treat prototype tooling, visual references, and QA tooling as separate capabilities with their own gates.
  • Do not make a plugin, MCP server, image generator, or code generator the design-intelligence source of truth.

Runtime dependency truth

The skills, knowledge, schemas, templates, and rubric have a local self-contained distribution and package validator. A prototype runtime, screenshot automation, reference library, and installer remain later-phase capabilities. Before invoking a step that needs an unavailable runtime capability, verify that the active product repository already provides an approved equivalent. If it does not, stop and report the unavailable dependency; do not claim that the step ran.

Non-negotiable rules

  1. Read product evidence before making visual decisions.
  2. Do not invent missing product facts; record assumptions and unresolved questions.
  3. Generate at least three materially different directions. Palette, icon, or illustration swaps do not qualify.
  4. Build and compare one representative screen per direction before expansion.
  5. Require human selection of the direction and record why the alternatives are weaker.
  6. Use realistic domain content and include relevant empty, loading, error, success, populated, destructive, offline, and permission states.
  7. Reject generic AI composition, uncontrolled direction mixing, competitor copying, and protected trade dress.
  8. Treat accessibility and anti-generic review as quality gates.
  9. Treat automated checks and numeric scores as evidence, never as substitutes for human visual judgment.
  10. Do not begin production Flutter UI before design freeze, complete handoff artifacts, a score of at least 90, and explicit owner acceptance.

Progressive workflow

  1. Invoke mobile-product-interpreter to produce an evidence-backed design brief.
  2. Invoke visual-direction-lab to produce at least three structurally distinct directions.
  3. Invoke prototype-builder in representative-screen mode for each direction.
  4. Pause for human direction selection and record the decision.
  5. Invoke prototype-builder in expansion mode for the chosen direction.
  6. Invoke accessibility-auditor and visual-fidelity-reviewer; revise or redesign when required.
  7. Invoke design-system-freezer only after the design-freeze gate is met.
  8. Invoke flutter-ui-handoff to prepare implementation guidance without production code.
  9. Invoke visual-release-gate for the final disposition allowed by the available evidence.

Progressive disclosure

  • Product interpretation: load repository product evidence and the design-brief schema only.
  • Direction generation: load the UI constitution, product-to-visual reasoning, visual directions, and relevant anti-generic rules.
  • Representative-screen work: load only the selected pattern, typography, spacing, color, motion, accessibility, and platform guidance needed for that screen.
  • Prototype expansion: load the approved direction, relevant pattern guidance, state matrix, and token/schema contracts.
  • Review and gating: load the rubric, review schema, anti-generic rules, accessibility guidance, and available screenshot evidence.

Do not load the complete knowledge base when a smaller subset is sufficient.

Gate thresholds

  • Below 70: redesign required.
  • 70-79: fail freeze.
  • 80-84: refinement required.
  • 85-89: eligible for design freeze.
  • 90-93: eligible for Flutter implementation.
  • 94+: eligible for release candidate only when implementation QA also passes.

Hard failures override numeric scores. Human review remains required for product fit, direction selection, premium character, trade-dress risk, monetization ethics, copy tone, emotional appropriateness, and final approval.

Output contract

Produce only outputs supported by completed stages and available tools. The complete workflow targets:

  • a validated project design brief;
  • at least three visual directions;
  • representative-screen comparison and human selection;
  • a state-complete interactive prototype;
  • visual and accessibility reviews;
  • frozen tokens, component rules, screen specifications, and state matrix;
  • Flutter handoff guidance;
  • a release-gate decision with evidence and unresolved debt.

Never report an unavailable later-stage output as complete.

04 同仓库更多 Skills

sonanh08t4
sonanh08t4/mobile-ui-design-os

valid-skill

Validate a small local skill fixture with one declared reference and one local schema.

★ 1
sonanh08t4
sonanh08t4/mobile-ui-design-os

visual-release-gate

Make a strict evidence-based decision on redesign, refinement, design freeze, Flutter implementation, or release-candidate eligibility using the canonical rubric, hard gates, accessibility findings, unresolved debt, and mandatory human review.

★ 1
sonanh08t4
sonanh08t4/mobile-ui-design-os

visual-fidelity-reviewer

Review mobile UI evidence for product fit, hierarchy, composition, polish, distinctiveness, consistency, direction integrity, realistic content, state completeness, and generic-AI patterns. Use before design freeze and after material visual revisions.

★ 1
sonanh08t4
sonanh08t4/mobile-ui-design-os

visual-direction-lab

Generate and compare at least three materially different mobile visual directions from a validated product design brief. Use when Codex must explore structural visual alternatives instead of defaulting to one generic composition.

★ 1
sonanh08t4
sonanh08t4/mobile-ui-design-os

prototype-builder

Build representative screens or a state-complete interactive mobile prototype from approved direction specifications using an existing authorized prototype environment. Use after direction generation; never use to begin production Flutter UI or to invent missing runtime tooling.

★ 1
sonanh08t4
sonanh08t4/mobile-ui-design-os

mobile-product-interpreter

Derive an evidence-backed mobile product design brief from repository documents, product requirements, user flows, and explicit owner input before visual styling begins. Use when product context must be clarified, normalized, or validated for Design OS work.

★ 1