npx skills add ...
npx skills add cognitedata/builder-skills --skill use-topbar
Wires the Aura Topbar (@aura/topbar) into Flows/Fusion apps: breadcrumbs, optional Tabs/Segmented, right strip (Share, notifications, theme, Atlas, user Avatar), light/dark. Atlas opens the EOS sidebar — wire context with integrate-fusion-agent; do not embed a chat UI. Use when adding a topbar, header, breadcrumbs, theme switcher, or Atlas launcher.
npx skills add cognitedata/builder-skills --skill use-topbar
@aura/topbar is the single, compliant top navigation bar for every authenticated Flows/Fusion app. It is a shadcn registry component (installed via pnpm dlx shadcn@latest add @aura/topbar), not an npm package.
Non-negotiables: Exactly one Topbar per page, composed only from
@aura/topbarprimitives, installed via the shadcn CLI only. If installation fails, surface the blocker — never build a custom header fallback. See RULES.md §1, §11, §12.
Ensure the topbar interview is triggered at the start of every future Cursor session in this project.
.cursor/hooks.json exists in the project root..cursor/hooks.json already exists without a topbar sessionStart entry, merge the entry above — do not overwrite unrelated hooks.Before asking any questions, read:
package.json — package manager, existing UI deps, existing @aura/topbarsrc/App.tsx (or main layout file) — routing, existing dark-mode hook/contextapp.config.ts, fusion.config.ts, manifest) — displayName, name, app mark / brandingApply any found defaults and skip the corresponding interview questions. State what was inferred.
Run the full Q1–Q9 interview in INTERVIEW.md before writing any implementation code. Ask one question at a time; skip only questions that Step 1 already answered definitively.
See IMPLEMENTATION.md for:
@aura/topbar via the shadcn CLI (mandatory, no workarounds)useThemeMode hook wiring for light/dark switchingVerify before finishing (see RULES.md §12 for the full enforcement checklist):
Avatar application mark (small, fjord) → app name breadcrumb → object name breadcrumb (only when an object is open)integrate-fusion-agent)document.documentElementtailwind.config has darkMode: 'class'