algorithmic-color-pale…
Derive a full UI palette from one or two brand colours — state variants, brand-tinted greys, semantic colours. Use when building…
Show where the user is and what their actions affect — breadcrumbs, regions, scope labels. Use when designing deep navigation or multi-section layouts.
Claude Code
$ npx -y skills add dembrandt/dembrandt-skills --skill ui-context-and-scope --agent claude-code
Codex
$ npx skills add dembrandt/dembrandt-skills --skill ui-context-and-scope -a codex -y
Cursor
$ npx skills add dembrandt/dembrandt-skills --skill ui-context-and-scope -a cursor -y
Gemini CLI
$ npx skills add dembrandt/dembrandt-skills --skill ui-context-and-scope -a gemini-cli -y
GitHub Copilot
$ npx skills add dembrandt/dembrandt-skills --skill ui-context-and-scope -a github-copilot -y
OpenCode
$ npx skills add dembrandt/dembrandt-skills --skill ui-context-and-scope -a opencode -y
Windsurf
$ npx skills add dembrandt/dembrandt-skills --skill ui-context-and-scope -a windsurf -y
name: ui-context-and-scope
description: Show where the user is and what their actions affect — breadcrumbs, regions, scope labels. Use when designing deep navigation or multi-section layouts.
metadata:
priority: 7
pathPatterns:
- "components/**"
- "src/components/**"
- "**/*.tsx"
- "**/*.jsx"
- "design-system/**"
- "ui/**"
promptSignals:
phrases:
- "breadcrumb"
- "navigation hierarchy"
- "context"
- "scope"
- "where am I"
- "information architecture"
- "user orientation"
- "login"
- "sign in"
- "authentication"
- "auth screen"
- "act on behalf"
- "impersonation"
- "view as"
- "internal tool"
retrieval:
aliases:
- context clarity
- navigation hierarchy
- breadcrumbs
- scope communication
- user orientation
- information architecture
- login screen
- authentication UI
- acting on behalf
- impersonation banner
- internal vs external tool
intents:
- show where the user is
- communicate scope of changes
- design deep navigation
- make hierarchy clear
- orient the user
- design a login or auth screen
- indicate acting on behalf of another account
- distinguish an internal tool from the customer app
examples:
- make it clear which section the user is editing
- add breadcrumbs to this deep navigation
- show the user what their changes will affect
- design a login page for this product
- show that an admin is acting as a customer
- make this internal tool distinct from the public appUsers need to know three things at all times: 1. **Where am I?** — current location in the product hierarchy 2. **What context am I in?** — which section, record, or workspace is active 3. **What will my actions affect?** — scope of changes before committing them
When these are unclear, users make mistakes, feel lost, and lose trust in the product.
Horizontal rules and borders signal the boundary between sections. Use them to separate content areas that belong to different contexts — not just for decoration.
Background colour is one of the strongest signals for "you are now in a different area."
Every major region should be able to answer "what am I?" without the user having to read surrounding content.
Use breadcrumbs when the product has three or more levels of hierarchy, or when users can arrive at a page from multiple paths.
Home > Projects > Website Redesign > Tasks > #142 Fix header
In products with large or dynamic content trees, search reduces the cognitive cost of navigating depth.
When a change, setting, or action affects a specific scope, that scope must be communicated before the user commits — not discovered afterward.
When a setting decides which data the whole application shows (tenant, site, environment), the control may live in a settings dialog. The state may not. Put a persistent read-only indicator in the chrome. Rarely changed is an argument about the control, never about the state. Without the indicator every screen looks correct in the wrong dataset.
Switching scope discards everything derived from the previous scope: searches, staged rows, selections.
Whenever the user is viewing or changing data **as another user, customer, or account** — impersonation, admin "view as", support acting on a customer's behalf — the interface must make that unmistakably obvious the entire time, not just at the moment they enter the mode.
Enterprise UX secrets, now built into your AI agent. Your agent writes the component in seconds. It does not know the modal should be a drawer, or that the grey it picked fails contrast. These skills carry that judgment: what to do, and what breaks otherwise.
Derive a full UI palette from one or two brand colours — state variants, brand-tinted greys, semantic colours. Use when building…
Top bar, sidebar rail, app launcher, tenant and environment cue, status bar. Use when designing the persistent shell, a…
Product visuals must show the real product with real data. Use when building landing pages, hero sections, screenshots or demo…
Shape language across type, radius and icons carries brand personality. Use when starting a design system, picking icons or…
Rest, hover, active, focus, disabled and loading states, derived from the base colour. Use when designing buttons, links, inputs…
Rebuild a live web page 1:1 from measurement into Figma, Penpot or code, then verify it. Use when reproducing a page or checking…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.