Guides UI design decisions, CSS architecture, responsive patterns, and visual anti-patterns. Helps build intentional, minimal interfaces with proper separation of concerns.
Ships in talents. 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.
Read when SKILL.md points to them.
Start with what the surface accomplishes for the User, the tone, the space and existing patterns it must respect, and the one choice that makes it intentional instead of generic.
Minimal mode starts from the key functionality and removes until the User loses clarity. Bold mode commits to one memorable direction; use bold.md when the surface needs that.
Never: add intensity to make a utility surface feel designed.
Reject gaudy or rainbow gradients, purposeless purple-blue-pink palettes, excessive rounded corners, motion that does not serve function, one-sided colored accent borders, divider lines between content sections, and lines used where hierarchy should work.
Example: separate sections with spacing, size, weight, and background.
Never: rely on border-left: 3px solid or <hr> to make hierarchy legible.
React changes data, state, and attributes. CSS owns visual state whenever CSS and data attributes can express it.
Disabled, hover, focus, active, loading, visibility, size, spacing, transitions, and animation belong in CSS. React owns data fetching, data-changing event handlers, conditional rendering of different components, and form submission logic.
Example: <aside data-collapsed={isCollapsed}> plus .sidebar[data-collapsed="true"] { width: var(--sidebar-width-icon); }.
Never: conditional className strings for visual states CSS can read from attributes.
Markup gets semantic classes. Tailwind supplies values inside CSS. Keep block element modifier depth to two levels; start a new block instead of writing a grandchild selector.
Example: .sidebar, .sidebar__header, .sidebar--collapsed.
Never: block__element__sub-element, w-[--x], or Tailwind version 4 &--modifier nesting.
Design-system variables live in theme.css; app timing and easing live in lean global.css; component variables live in the component CSS file; page overrides live in the page CSS file. A variable used by one component lives with that component.
Never: move a one-component variable into theme.css.
When a structural slot contains a UI component, put both classes on the same element: the parent layout class owns grid area, placement, z-index, and position; the child component class owns background, padding, display, and gap.
Example: <div class="frame__dock toolbar"> with .frame__dock { grid-area: footer; } and .toolbar { display: flex; gap: 0.5rem; }.
Never: grandchild selectors that make the parent know the child's internals.
Every block uses layout primitives and scalable units so the surface adapts to its Context.
Every block uses grid or flex, includes at least one dynamic-width column, and uses gap for spacing. Margins are only for sub-em optical corrections, auto alignment, or negative gap removal.
Example: grid-template-columns: 1fr auto 1fr; gap: 1rem;.
Never: margins as the primary layout spacing system.
Container queries ask how much room the component has; media queries ask about the device. Use container queries for cards, grids, forms, galleries, tables, headers, navigation, and any component that appears in multiple Contexts.
Example: auto-declare the parent with :has(> &) { container-type: inline-size; } and use container units such as cqi or cqb.
Never: media queries for component adaptation. Media queries are for modals, off-canvas menus, fixed-position surfaces, print, and reduced motion.
Priority is design tokens, then grid or flex with ch or %, then typography units such as em, lh, and rlh, then container units, then sub-em corrections. Use rem so browser font scaling works.
Never: pixels except for borders and box-shadow.
Use the 4px grid in rem: gap-1 through gap-16. Start generous around 2.5rem, move related elements closer until they group, then snap to the scale. Use ch for horizontal text widths.
Never: invent component spacing variables unless the value is component-specific.
Use 0.75rem for captions, 0.875rem for body and user interface text, and 1.125rem for headings. Create hierarchy with weight and color, not more sizes.
Example: primary text at 90-100 percent lightness, secondary at 60-70 percent, disabled at 40-50 percent.
Never: add a fourth size to solve emphasis.
Use text-wrap: balance for headings and short text, text-wrap: pretty for body copy, neither for code. Apply antialiased at the root, use tabular-nums for dynamic numbers, keep paragraphs at 55ch maximum, and let line height carry vertical rhythm.
Visual values come from the design system unless the codebase already owns a narrower component token.
Use tokens such as var(--primary), color-mix(in oklch, ...), and oklch(from var(--primary) l c h / 50%). Generate palettes with 60 degree hue shifts; for dark and light pairs, light L = 100 - dark L.
Never: hardcoded colors in product CSS.
Gradients keep a surface from feeling flat; they must not become the content. Tailwind version 4 interpolates in oklab, which avoids muddy midpoints. A noise overlay at about 0.03 opacity can break digital smoothness.
Never: gaudy or high-saturation gradients.
Use the surface tiers from surfaces.md: none, subtle, elevated, floating, and extruded. Every elevated tier includes a 0 0 0 1px ring, an ambient shadow, and a contact shadow. The ring replaces the border.
Never: z-index without a shadow tier, invented box-shadow values, border: 1px solid surface boundaries, or Tailwind default shadow sizes.
Use --radius: 0.675rem; small elements use calc(var(--radius) - 0.125rem), large containers use calc(var(--radius) + 0.25rem). For nested rounded elements, outer radius equals inner radius plus padding, unless padding exceeds 24px.
Never: round every element by habit.
Icon-and-text buttons need less padding on the icon side. Play triangles shift right. Large headings can use letter-spacing: -0.02em.
Example: padding-inline-start: 0.75em; padding-inline-end: 1em;.
Normal text needs at least 4.5:1 contrast. Large text and user interface elements need at least 3:1. In OKLCH, about 0.4 lightness difference usually passes.
Motion helps the User see the change, not just the result.
Use reactive motion for hover, press, and focus at 100-200ms; state-change motion for open, close, and swap at 200-400ms; and the View Transitions API for route or page changes. Skipping state-change motion requires a reason such as reduced motion or an interaction seen 100 or more times per day. Never: let a modal pop in with no transition by default.
CSS transitions are interruptible and should handle hover, dropdowns, toggles, reveals, and ordinary state changes. Use keyframes for one-shot sequences. Use JavaScript only for physics-driven drag, gestures, or the small reflow contracts in transitions.md.
Never: JavaScript animation libraries when CSS class toggles and intrinsic transitions can do the work.
For resizing surfaces, animate width and height, not transform: scale(), because scale distorts text, borders, and padding.
Never: transform: scale() for resize.
The build does not catch design regressions.
Buttons, forms, navigation, feedback, empty states, confirmation, accessibility, and modals use the contracts in interactable.md.
Example: destructive actions require confirmation with the safe action as primary; non-destructive actions get undo instead of confirmation.
Use checklist.md after all design work and answer every item yes or no across CSS Architecture, sizing and layout, visual design, interactions, responsive behavior, accessibility, user experience patterns, and anti-patterns.
Never: report done before the checklist catches what build and lint miss.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
css-architecture, ui-design, responsive-design, visual-design
33 skills in this plugin
/architectureTRIGGER when presenting Architectural options, Architecting systems, or discussing tradeoffs. Append to any Prompt./buildThe build mode's contract — the Agent does every edit and run itself, with no Subagents, deep full-file reads, and research before acting. TRIGGER when the session enters build mode, on the /build command, and when build mode is re-injected after compaction. DO NOT TRIGGER for orchestrate mode, where Subagents do the work (that is /orchestrate)./ccWrite and fix Claude Code Prompts — skills, agents, commands, hooks, rules files, Claude.md, and plugin distribution. TRIGGER when the task says "cc"/"claude code"/"claude-code", or asks to build, edit, test, or share a skill/agent/hook/command, tune a description's triggering, write or prune a Claude.md, or cut prompt bloat. DO NOT TRIGGER to name a Claude.md's identifiers (that is /naming) or to record domain vocabulary (that is /domain-design)./commitMandatory contract for every commit. The Architect authorizes a commit by typing /commit, for that turn only, and the classifier then injects "Skills to execute: /commit". Holds the whole commit job: commit your own changes, write the message, commit, and verify, plus the commit-message format (type prefix, Capability subject, Problem and Solution body, file tree). TRIGGER on every turn where the Architect typed /commit, or when the Architect asks to write or revise a commit message. DO NOT TRIGGER on any other turn: "commit this", applying changes, deploying, shipping, and replacing files authorize nothing.
/critical-pathProcess for changes with a large blast radius: files many others import or with critical complexity, and actions that are destructive, hard to reverse, or visible outside the repo. TRIGGER before editing a file whose facts show `imported_by` of 20 or more or a `complexity_rank` of `critical`, and before any delete, force-push, schema drop, process kill, push, pull-request operation, shared-infrastructure change, or third-party upload./debugUse when encountering any bug, test failure, or unexpected behavior, before proposing fixes/talents:designfrom talents
npx claudepluginhub heyjordanparker/dotfiles --plugin talentsOther plugins' skills for the same job