flutter-ui-handoff
Prepare precise Flutter implementation guidance from an approved design freeze, including token mapping, screen behavior, component variants, states, platform adaptation, assets, semantics, and risks. Use after freeze; do not generate production Flutter UI in this skill.
- License 许可
- Apache-2.0
- 最近更新
- 2026-08-12
- Stars
- ★ 1
- Forks
- 0
01 前言 Front Matter
- name
- flutter-ui-handoff
- description
- Prepare precise Flutter implementation guidance from an approved design freeze, including token mapping, screen behavior, component variants, states, platform adaptation, assets, semantics, and risks. Use after freeze; do not generate production Flutter UI in this skill.
03 SKILL.md 正文
Flutter UI Handoff
Purpose
Translate frozen design evidence into an implementation contract that reduces ambiguity without writing production Flutter code.
When to use
Use after a human-approved design freeze. Prepare the handoff at freeze eligibility; permit production implementation only after score is at least 90 and the handoff is accepted.
When not to use
Do not use during exploration, with unresolved freeze failures, or to substitute generated code for specifications.
Required inputs
- Approved freeze record, design tokens, component rules, screen specs, state matrix, and canonical screenshots.
- Accessibility and visual-review findings.
- Platform constraints and unresolved implementation risks.
- Platform Guidance.
Permitted evidence sources
- Frozen local design artifacts and owner decisions.
- Existing product implementation constraints that do not expose secrets.
- Approved asset/license records when available.
Expected outputs
- Flutter handoff.
- Token-to-Flutter mapping guidance.
- Screen/component/state/adaptive behavior notes.
- Accessibility, asset, typography, motion, and platform requirements.
- Explicit browser-to-Flutter deviations and implementation risks.
Ordered workflow
- Verify freeze approval and artifact consistency.
- Map semantic tokens and component variants to Flutter concepts without producing full code.
- Describe layout, scrolling, safe areas, keyboard behavior, navigation/back behavior, motion, and state handling per screen.
- Record iOS/Android adaptations without splitting the product into unrelated design systems.
- Specify fonts, icons, images, licensing needs, semantics, text scaling, and reduced motion.
- Identify risky or ambiguous implementation areas and required validation evidence.
- Obtain handoff acceptance and record whether the score permits production implementation.
Tools allowed
- Read-only product-repository inspection.
- Local editing of the handoff artifact.
- Local structured-data validation for referenced tokens/specs.
Tools forbidden
- Production Flutter source generation or editing, dependency installation, Flutter build execution, golden-test creation, network access, and asset acquisition.
File boundaries
Write only the approved handoff artifact. Protect lib/, native platform projects, dependencies, tests, and build configuration.
Non-negotiable rules
- Canonical screenshots and frozen specs remain the visual reference after freeze.
- Browser behavior is not assumed to map pixel-for-pixel to Flutter.
- Production implementation remains blocked below 90 or without accepted handoff.
- Unresolved risks remain visible.
Stop conditions
Stop if freeze artifacts conflict, canonical screenshots are missing where required, score eligibility is unclear, or implementation decisions need owner authority.
Failure conditions
- Handoff guidance invents design decisions.
- Platform adaptation is omitted or over-splits the design system.
- Accessibility and state behavior are incomplete.
- Production code is generated.
Acceptance criteria
- A Flutter implementer can identify tokens, component variants, screen behavior, states, assets, semantics, adaptations, and risks without guessing major decisions.
- The handoff explicitly states whether implementation eligibility is met.
Handoff to the next skill
Hand the accepted package to visual-release-gate. A separate, explicitly authorized implementation task is required before any production Flutter work.
Required human-review points
- Design-owner acceptance, Flutter implementer feasibility, platform exceptions, accessibility implementation, asset/licensing needs, and remaining risk.
04 同仓库更多 Skills
valid-skill
Validate a small local skill fixture with one declared reference and one local schema.
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.
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.
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.
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.
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.