AGENT SKILL
flutter-design-token-map
暂无简介
- License 许可
- MIT
- 最近更新
- 2026-05-26
- Stars
- ★ 0
- Forks
- 0
03 SKILL.md 正文
flutter-design-token-map
Purpose
Map design system tokens to Flutter theme targets without applying unrelated UI changes.
Use when
- The source design tokens changed
- You need a mapping from tokens to Flutter theme values
- Another skill will apply the concrete theme file updates
Do NOT use when
- You only need a local widget color tweak
- The task is about state, routing, or release work
- There is no design token source of truth
Inputs required
- Token source
- Target theme targets
- Naming rules
Constraints
- Output only the mapping
- Do not rewrite widgets
- Do not add runtime behavior
Step-by-step workflow
- Read the token source.
- Match tokens to Flutter theme targets.
- Record any gaps or naming conflicts.
- Return the mapping table and follow-up note.
Output contract
- Token-to-theme mapping table
- Gap list
- Next-step note for theme application
Validation checklist
- Every mapped token has a target
- Gaps are explicit
- No widget files changed
Related skills
flutter-feature-contract-scaffoldflutter-performance-audit
References
Real example
brand.primary maps to ColorScheme.primary.
Real file output sample
docs/design/token-map.md
lib/app/theme/app_theme_tokens.dart
04 同仓库更多 Skills
toolkit-i18n-operator
Use the toolkit-i18n CLI for repeated Flutter localization workflows with compact outputs, CSV validation, key coverage reporting, generated JSON exports, and safe non-mutating behavior.
★ 0
toolkit-design-operator
Use the toolkit-design CLI for repeated repository workflows.
★ 0
toolkit-ci-operator
Use the toolkit-ci CLI for repeated repository workflows.
★ 0
toolkit-arch-operator
Use the toolkit-arch CLI for repeated repository workflows, including Flutter i18n usage scans, layer checks, and localization coverage.
★ 0
web-testing
暂无简介
★ 0
web-state
暂无简介
★ 0