AGENT SKILL

design-system-freezer

Freeze approved mobile design tokens, component rules, screen specifications, states, and platform adaptations after visual and accessibility review. Use only when the prototype is eligible for design freeze and before production Flutter implementation.

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

01 前言 Front Matter

name
design-system-freezer
description
Freeze approved mobile design tokens, component rules, screen specifications, states, and platform adaptations after visual and accessibility review. Use only when the prototype is eligible for design freeze and before production Flutter implementation.

03 SKILL.md 正文

Design System Freezer

Purpose

Convert an approved direction and prototype into an unambiguous, reviewable implementation contract.

When to use

Use after completed visual/accessibility review, resolved hard failures, human approval, and a score of at least 85.

When not to use

Do not freeze an exploratory direction, incomplete state set, visually drifting prototype, or design below the freeze threshold.

Required inputs

  • Human-approved direction and rationale.
  • Representative-screen decision record.
  • Complete prototype evidence and available canonical screenshots.
  • Visual and accessibility review findings.
  • Approved component and token decisions.

Permitted evidence sources

Expected outputs

Ordered workflow

  1. Confirm score, hard gates, human approval, and evidence completeness.
  2. Inventory visual decisions actually used in approved screens.
  3. Normalize semantic colors, typography, spacing, radius, borders, elevation, motion, icon sizes, and component aliases.
  4. Record every exception with scope and rationale; do not hide one-off values.
  5. Specify each screen's layout, content, states, interactions, navigation, scrolling, safe areas, keyboard, accessibility, responsiveness, and platform adaptation.
  6. Cross-check tokens, component rules, screen specs, state matrix, and canonical screenshots for consistency.
  7. Mark the freeze version and obtain human approval.

Tools allowed

  • Local inspection of approved artifacts and screenshots.
  • Local Markdown/JSON editing in approved design-artifact paths.
  • Local JSON parsing and schema validation when available.

Tools forbidden

  • Production Flutter code, dependency installation, unapproved asset acquisition, design changes hidden as documentation, and automatic approval.

File boundaries

Write only frozen design artifacts in the repository-approved design/specification boundary. Do not edit production UI.

Non-negotiable rules

  • Freeze only what is evidenced in approved screens and decisions.
  • Preserve platform exceptions rather than forcing false sameness.
  • Record unresolved risks; do not convert them to implied approval.
  • A score of 85 permits freeze eligibility, not Flutter implementation eligibility.

Stop conditions

Stop if score is below 85, hard failures remain, key states are missing, token use is inconsistent, canonical screenshots are unavailable where required, or human freeze approval is absent.

Failure conditions

  • Specifications contradict screenshots or prototype behavior.
  • Token exceptions lack rationale.
  • Component rules are incomplete or directionally inconsistent.
  • The freeze record implies production readiness below the relevant threshold.

Acceptance criteria

  • Tokens and screen specs conform to their schemas.
  • Component variants, states, platform differences, and unresolved risks are explicit.
  • Human reviewers can implement without guessing major visual behavior.

Handoff to the next skill

Hand off to flutter-ui-handoff. Production Flutter work remains blocked until score is at least 90 and the handoff is accepted.

Required human-review points

  • Freeze approval, token semantics, component boundaries, canonical screenshots, platform exceptions, and unresolved risks.

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