界面已本地化;技能介绍与说明文档按所选语言由 AI 自动翻译,代码、命令、路径和专业术语保留原文,以原作者文档为准。
探索技能
设计与创意 · SKILL.md

direction-picker

direction-picker

【设计与创意】Resolves the visual direction at the plan stage from the brief and design system, without asking the user.

独立 GitHub 快照 · 自动分类 · 以原作者文档为准

Nnexu-io / open-designApache-2.0

技能说明

GitHub

name: direction-picker description: Resolves the visual direction at the plan stage from the brief and design system, without asking the user. od: scenario: general mode: planning

Direction picker

Converging work needs one committed visual direction before the build starts. This atom owns that moment in the plan stage: decide the direction, state it in one line, and lock onto it.

Resolve the direction from what you already have, in this order:

  1. An active design system — its DESIGN.md palette, typography, spacing, and component rules are the direction. Bind its tokens and stop here.
  2. A brand spec, reference URL, or screenshot the user supplied — parse that source directly.
  3. Otherwise, infer the best-matching direction yourself from the brief's domain, audience, and tone, then bind its visual tokens. If the runtime provides only an index of direction ids and names, run "$OD_NODE_BIN" "$OD_BIN" tools directions --id <id> to retrieve the full specification — never infer colors or fonts from the name alone.

Do not ask the user to choose a visual direction. Not as a question-form, not as a markdown list of options, not as a "which of these feels right?" follow-up. The direction is yours to resolve; asking spends the user's turn on a decision they hired the agent to make.

Convergence

The atom completes when the plan states the chosen direction. The agent's next turn must build against that direction — backtracking forces a fresh devloop iteration of the plan stage.

Anti-patterns the prompt fragment forbids

  • Asking the user to pick, compare, or confirm a visual direction.
  • Locking the user into a single direction with cosmetic alternates (a stated direction must be a defensible standalone bet).
  • Inferring palette or typography from a direction's name instead of resolving its specification.
我的收藏