Design

cognitedata/builder-skills/skills/design

作者 cognitedata7758093d8656無授權條款6 個星標收錄於 2026年10月8日更新於 2026年10月8日儲存庫2 天前更新

Simplified Aura guidance for selecting primitives, keeping token usage consistent, and applying reliable layout/copy/state patterns in Flows and Fusion apps.

僅含說明Design & Creative
AI 產生的概覽

指導使用 Aura 設計系統,在 Flows 與 Fusion 應用程式中打造一致且無障礙的介面。

功能
提供套用 Aura UI 系統的決策層級指引:挑選合適的原語元件、使用語意化設計權杖而非原始數值,並維持版面、文案與互動狀態的一致性。內容涵蓋互動介面、表單、表格、導覽、資料呈現、樣式、排版、響應式版面、無障礙以及面向使用者的文字。它指向已安裝的 Aura 套件、其設計指南文件、Storybook 與公開文件網站作為參考。
適用情境
適用於在 Flows 或 React 應用程式中建立或移轉互動介面、表單、表格、導覽或資料呈現時。也適用於撰寫或修改樣式、顏色、間距、排版、版面模式或面向使用者的文案,以及實作鍵盤支援、焦點、標題與 ARIA 等無障礙功能時。
執行需求
需要專案已安裝 Aura 套件(@cognite/aura),最好是最新版本,因為指引內容是從 node_modules 讀取。所引用的 Storybook 與文件網站意味著需要網路存取。此技能不含指令碼,僅為說明性內容。

Role

Use Aura as the default UI system for customer-facing product work. Prefer decision-level guidance over exhaustive rules:

  • choose the right primitive first,
  • apply semantic tokens (no raw values),
  • keep layouts and UX states consistent,
  • write concise, action-oriented copy.

Note: Make sure the project is using the latest version of Aura (@cognite/aura) to access the most up-to-date guidance and components.

Everything you need to know is:

<when-to-reference>

Consult this skill whenever you are:

  • Creating or migrating interactive UI, forms, tables, navigation, or data display
  • Writing or modifying styles, colors, spacing, or typography
  • Choosing components, tokens, or layout patterns
  • Creating or restructuring pages and responsive layouts
  • Writing or editing any user-facing text
  • Building forms, handling API responses, async actions, confirmations, or dynamic content
  • Implementing accessibility (keyboard, focus, headings, ARIA, alt text)
  • Applying Aura correctly in a Flows or React app

</when-to-reference>

Operating principles

  1. Use Aura primitives before custom UI.
  2. Follow foundations through semantic tokens and Aura defaults; do not hardcode raw values.
  3. If a primitive almost fits, do not override visuals to force it; check variants/props first, then document the gap.
  4. Keep behavior predictable and accessible: keyboard support, visible focus, and clear feedback for loading/success/error.
  5. Use publicly reachable links — Aura design system docs, Storybook, and Figma.

來源與署名

來源:cognitedata/builder-skills位於skills/design提交7758093

授權條款: 無授權條款

內容歸原作者所有。SourceWeft 從公開儲存庫中收錄這些內容。

檢舉或申請下架