PluginBench
Skill
Pass
Audit score 90

design

cognitedata/builder-skills

Aura-first UI guidance for Flows and Fusion apps: choose the right primitives, use semantic tokens, and apply consistent patterns.

What is design?

This skill provides decision-level guidance for building customer-facing UIs with Aura, Cognite's design system. Use it when creating or modifying interactive components, forms, layouts, and user-facing text to ensure consistent token usage, accessible patterns, and reliable state handling.

  • Select appropriate Aura primitives for forms, tables, navigation, and data display
  • Apply semantic tokens and Aura defaults instead of raw CSS values
  • Structure pages and responsive layouts using proven patterns
  • Write concise, action-oriented user-facing copy
  • Handle forms, loading states, errors, and confirmations accessibly
  • Implement keyboard navigation, focus management, and ARIA attributes

How to install design

npx skills add https://github.com/cognitedata/builder-skills --skill design
Prerequisites
  • Aura design system installed via npm (@cognite/aura)
  • Access to Aura Storybook for component APIs and props
  • Familiarity with React or Flows framework
Claude Code
Cursor
Windsurf
Cline

How to use design

  1. 1.Identify the UI task (component selection, layout, copy, or state handling)
  2. 2.Consult the appropriate routing file: primitive-usage.md, picking-components.md, building-pages.md, or handling-states.md
  3. 3.Review the Aura Design Guidelines in ./node_modules/@cognite/aura/DESIGN.md for foundations and content standards
  4. 4.Check Storybook links in storybook-links.md for canonical component documentation
  5. 5.Apply the recommended primitive, semantic tokens, and patterns to your code

Use cases

Good for
  • Creating or migrating interactive UI components in a Flows or React app
  • Choosing between Aura primitives when multiple options could work
  • Structuring a new page layout with consistent spacing and typography
  • Writing error messages, confirmations, and dynamic content labels
  • Implementing accessible forms with proper state feedback and validation
Who it's for
  • Frontend developers building with Aura in Flows or Fusion apps
  • UI engineers migrating existing interfaces to Aura
  • Product teams writing user-facing text and copy
  • Developers implementing forms and handling async actions

design FAQ

When should I use this skill vs. Storybook?

Use this skill for 'what to choose and when'—decision-level guidance on primitives, patterns, and layout. Use Storybook for exact component APIs, props, and visual specifications.

Can I override Aura styles or use raw CSS values?

No. Follow foundations through semantic tokens and Aura defaults. If a primitive almost fits but needs visual changes, check variants and props first, then document the gap rather than overriding.

What if no Aura primitive fits my use case?

Consult primitive-usage.md and picking-components.md to confirm. If a gap exists, document it and escalate; do not force a primitive to fit by overriding its visuals.

Where do I find content guidelines for user-facing text?

Content guidelines are in ./node_modules/@cognite/aura/DESIGN.md. Use this skill's routing to navigate to the right section for forms, errors, confirmations, or general copy.

How do I ensure accessibility in my UI?

Refer to handling-states.md for forms, loading, errors, and confirmations. Implement keyboard support, visible focus states, and clear ARIA labels following Aura defaults.

Full instructions (SKILL.md)

Source of truth, from cognitedata/builder-skills.


name: design description: Simplified Aura guidance for selecting primitives, keeping token usage consistent, and applying reliable layout/copy/state patterns in Flows and Fusion apps. allowed-tools: Read, Glob, Grep, Edit, Write

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.

Use Storybook for component APIs and exact props. Use this skill for "what to choose and when."

Aura Design Guidlines can be found at: ./node_modules/@cognite/aura/DESIGN.md

<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> <file-routing>
If you are…Open
Choosing primitives and deciding what to use whenprimitive-usage.md
Where to look for Storybook, docs, and Figma (router)picking-components.md
Structuring a page or choosing a layout patternbuilding-pages.md
Writing any user-facing textContent guidelines in ./node_modules/@cognite/aura/DESIGN.md
Forms, loading, errors, confirmations, or page-level accessibilityhandling-states.md
Looking up Storybook URLs for foundations or componentsstorybook-links.md
</file-routing>

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 storybook-links.md for canonical component/foundation URLs.
  6. Use publicly reachable links — Aura design system docs (Mintlify), Fusion preview Storybook, and Figma as documented in primitive-usage.md and picking-components.md.