/bee:design-fundamentalsfrom bee
Guides UI/UX decisions with a two-path design flow (existing system vs greenfield discovery), accessibility rules, typography pairing, color palette guidance, spatial composition, and visual quality checklist.
Ships in bee. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Reference principles for any Bee agent producing, evaluating, or documenting UI work. These apply universally — the target project's design system provides specific values on top of these.
Before applying any design principle, determine which path you're on:
Path A — Existing Design System: The project has design tokens, Tailwind config, CSS custom properties, or a component library. Follow what exists. Never override. Never suggest alternatives. Extract, document, and ensure new work is consistent with the established system.
Path B — Greenfield (No Design System): No design system detected. Run a design discovery with the developer using AskUserQuestion before making any visual decisions. See the Design Discovery section below.
When design concerns conflict, resolve by priority:
| Priority | Category | Severity |
|---|---|---|
| 1 | Accessibility | CRITICAL |
| 2 | Performance | HIGH |
| 3 | Layout & Responsive | HIGH |
| 4 | Typography & Color | MEDIUM |
| 5 | Animation & Transitions | MEDIUM |
| 6 | Style & Visual Polish | LOW |
Accessibility always wins. A beautiful animation that breaks keyboard navigation is a defect, not a feature.
Non-negotiable minimums:
nav, main, aside, footer) before reaching for ARIA rolesalt=""prefers-reduced-motion — disable or reduce animations when setWhen no existing design system is found, discover the developer's intent before proposing anything. Use AskUserQuestion for each decision.
Ask: "What visual feel are you going for?" Options should be contextual to the app, but examples: "Clean & Minimal" / "Bold & Vibrant" / "Warm & Approachable" / "Editorial & Refined"
Search online for color combinations from Sanzo Wada's Dictionary of Color Combinations that match the mood and the app's domain. Sanzo Wada was a Japanese artist who cataloged harmonious color combinations — these palettes are distinctive, curated, and avoid generic AI defaults.
Ask about font character, not specific font names. The tone informs the pairing:
Present 2-3 specific pairings via AskUserQuestion based on the chosen tone. Avoid generic defaults — see Anti-Generic Rules below.
Ask: "What shape language fits your product?" Options: "Rounded & soft" / "Sharp & geometric" / "Mixed (rounded buttons, sharp cards)"
This informs border-radius, shadow usage, and border style across all components.
The chosen mood maps to concrete CSS patterns. Present this as part of the design brief — it gives the programmer agent specific techniques, not just adjectives.
box-shadow (0 1px 3px rgba(0,0,0,0.08)), thin borders (1px solid), muted backgrounds, no gradients, precision spacingbackground-image: url(noise.svg)), geometric patterns, strong borders, high-contrast typeUse a structural grid for layout consistency:
max-width: 1200px; margin: 0 auto) to prevent lines from stretching on wide screensManage cognitive load by showing less and revealing more on demand. This applies to any UI with moderate-to-high information density.
prefers-reduced-motion: disable or simplify all animations when set.Avoid these common AI defaults that make every project look the same:
| Breakpoint | Width | Target |
|---|---|---|
| Mobile | 375px | Phones (portrait) |
| Tablet | 768px | Tablets, large phones (landscape) |
| Desktop | 1024px | Small laptops, tablets (landscape) |
| Wide | 1440px | Desktop monitors |
Quick checks before shipping UI work:
cursor-pointer on all clickable non-link elementsprefers-reduced-motion respectedWhen running design discovery (design-agent, greenfield path):
When documenting an existing design system (design-agent, existing path):
When writing specs (spec-builder):
When coding UI (programmer):
When reviewing (verifier, reviewer):
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
ui-ux, design-system, accessibility, typography, color-palette, visual-design
npx claudepluginhub incubyte/ai-plugins --plugin bee21 skills in this plugin
/ai-ergonomicsThis skill should be used when evaluating how well code supports LLM-assisted development. Contains context window friendliness, explicitness, module boundaries, test-as-spec, and naming criteria./ai-workflowThis skill should be used when explaining why Bee follows spec-first TDD workflows, or when teaching mode is on. Contains the reasoning behind spec → plan → test → code ordering./architecture-patternsThis skill should be used when evaluating architecture options, checking dependency direction, or deciding between onion, MVC, and simple patterns. Contains YAGNI-based decision criteria./bee-stateThis skill should be used when updating workflow state in bee-state.local.md. Contains the full command reference for update-bee-state.sh including init, set, get, clear, all flags, and multi-line field syntax./boundary-generationThis skill should be used after discovery completes on a greenfield project when the discovery document contains a Module Structure section. Contains the full procedure for parsing module boundaries, generating BOUNDARIES.md, and optionally linking it from CLAUDE.md./brainstormingThis skill should be used when the user wants to brainstorm, explore ideas, think through options, says 'let's brainstorm', 'what are our options', 'how might we', 'what if we', 'help me think through', 'explore approaches', or presents an open-ended problem without a clear solution. Covers cross-domain thinking where changing one dimension (product, tech, UX) can simplify another.Other plugins' skills for the same job