Fusion Design

作者 equinore8fd6cfaf8edMIT2 個星標收錄於 2026年10月8日更新於 2026年10月8日儲存庫今天更新

Looks up Fusion Design Guidelines and applies them to any frontend code in the Fusion ecosystem. USE FOR: layout, spacing, component usage, interaction patterns, any UI implementation decision. DO NOT USE FOR: backend changes, CI/CD, skill authoring, data layer logic.

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

查詢 Fusion 設計指南,並將其套用到 Fusion 生態系統的前端 UI 程式碼。

功能
此技能是一份 Fusion 設計指南的查詢參考。它指示代理閱讀隨附的參考檔案,內容涵蓋 EDS 排版、間距、導覽、版面配置、操作、空狀態、錯誤訊息與情境說明,然後將這些規則套用到前端程式碼。它也會檢查本機 DESIGN.md 作為各應用程式的權威來源,並在不存在時於其中記錄版面配置決策。它產出符合指南的 UI 實作決策與程式碼。
適用情境
在撰寫或審查 Fusion 生態系統中的前端程式碼,且需要了解 UI 應如何呈現、行為或組織時使用。它面向版面配置、間距、元件用法與互動模式決策。不適用於後端變更、CI/CD、技能撰寫或資料層邏輯。
執行需求
無指令碼;僅包含說明與參考文件。代理需要能夠讀取隨附的參考檔案,以及目標應用程式中的本機 DESIGN.md。

Fusion Design

When to use

Any time you are writing or reviewing frontend code in the Fusion ecosystem and need to know how it should look, behave, or be structured.

Non-negotiable invariants

These apply to every file you write, regardless of the task — do not wait until you have read the references to honour them, and never emit a "placeholder" that violates them:

  • All text uses EDS <Typography>. Never write a bare <h1>–<h6>, <p>, or <span> for text — not even a temporary title or stub. A page title is <Typography variant="h1">, body text is <Typography variant="body_short">. See references/eds-typography.md.
  • All spacing uses EDS spacing variables. Never hardcode px in padding/margin/gap. See references/spacing.md.

Instructions

This skill is a lookup. Read all reference files before writing any code — they define mandatory requirements, not optional styling.

1. Read the references

TopicFile
EDS Typographyreferences/eds-typography.md
Navigation — Sidemenureferences/navigation-sidemenu.md
Navigation — Tabsreferences/navigation-tabs.md
Layout — Content area patternsreferences/layout.md
Layout — Centered contentreferences/layout-centered-content.md
Spacingreferences/spacing.md
Actions — Action bar, destructive actions, button placementreferences/actions.md
Empty statesreferences/empty-states.md
Error messagesreferences/error-messages.md
Contextual help (ℹ / ? icons, density)references/contextual-help.md

2. Check for a local DESIGN.md

If the app has a DESIGN.md at its root, read it first. It is the authoritative source for that app's design decisions and overrides or supplements the reference rules.

3. Apply

Implement the UI to match the rules. If no DESIGN.md exists and the task requires a layout decision, document it there.

來源與署名

來源:equinor/fusion-skills位於skills/.experimental/fusion-design提交e8fd6cf

授權條款: MIT

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

檢舉或申請下架