Design
Design guides visual composition around real content and user tasks. It combines responsive layouts and accessibility with deliberate choices, preserving project identity and existing working interactions. Writing owns prose; the separately selected Interaction rule owns reusable control behavior and feedback.
Flow
What it asks the agent to do
Choose the structure that helps the person use the product. A familiar component can be appropriate, but it should earn its place. Repeating a centered hero, card grid, nested surfaces and decorative badges by habit can obscure what makes the content useful.
The same applies to typography, color and motion. Automatically switching to cream-and-serif or dark-and-neon creates another default rather than a considered design. Invented testimonials, dashboard numbers and decorative charts should not stand in for actual product information.
For example, a short reference page may need a clear reading column and section links. Turning every paragraph into a card can add borders and spacing without making the explanation easier to absorb.
Positive structure matters too. Use alignment and spacing to show which information belongs together, and use typography and hierarchy to communicate importance. The primary task and real content determine the composition. A repeated card or accent treatment only helps when it expresses a useful relationship; changing its color or border shape cannot give unrelated filler a purpose.
Comparable elements should reuse established visual treatments. Similar dialog errors can share placement and styling, while separators at the same level can use consistent spacing. A field error and a dialog-wide failure may need different treatment, just as a major section break may need more space than an internal divider. Preserve those intentional differences. Where no pattern exists, choose a coherent treatment for the requested surface; exact colors, icons and measurements belong to the project’s components and design guidance. Interaction governs when feedback appears, changes and clears.
Theme appearance
A working Light/Dark control does not establish that both appearances look good throughout a product. Theme design keeps the same roles meaningful across pages: primary text, secondary text, backgrounds, surfaces, borders and status cues. Reuse the project’s existing palette and token or theme mechanism, as illustrated by Carbon’s role-based color guidance. No new framework or project-wide migration follows merely from selecting this rule.
Each appearance needs a coherent hierarchy. A card or dialog should remain distinguishable from the page behind it, and secondary text should remain readable. Check affected page types and shared components in their relevant states, rather than judging the theme from the homepage alone. A readable body can still contain an unreadable tooltip, selected item or error message.
WCAG text contrast normally requires 4.5:1, or 3:1 for qualifying large text. Essential control cues and meaningful graphics need 3:1 non-text contrast. Each criterion retains its conditions and exceptions, including those for inactive controls. Inspect relevant logos, icons, diagrams, charts and code blocks too. Reuse assets that work in both modes; adapt or supply alternatives where needed, preserving meaning and branding instead of blanket-inverting photographs or logos. Exact palettes remain project choices. Interaction governs which appearance is selected, how it is applied and how the choice is remembered.
Responsive interfaces and links
Layouts should preserve access to content and actions as the viewport narrows, text grows or navigation changes. Stacking columns or moving a panel must preserve meaningful reading and keyboard-navigation order; a sensible visual arrangement alone does not establish either. Consider contrast and reduced motion as part of normal interface work. WCAG 2.2 Level AA is the default accessibility reference, including its stated exceptions.
Use representative content when checking a layout. A short sample label may fit where a real translated label or long URL does not. Content and actions must also survive the WCAG text-spacing overrides; those are tolerance checks, not required default typography. Preserve access to genuinely two-dimensional content, such as tables and maps, without clipping it to force a narrow layout.
Flexible media should retain its proportions. Reserve appropriate space from known dimensions or aspect ratios so a late-loading image does not unexpectedly move the text or controls around it. Google’s responsive-image guidance explains how this works without requiring a particular framework.
Visual work keeps labels, hints, errors and links readable across the supported layouts and themes. The separately selected Interaction rule explains control behavior: theme selection and persistence, other saved preferences, input feedback, cursors and navigation. Design preserves existing working controls even when Interaction is not selected; meaningful editorial references remain with Writing.
Preserve project choices
Targeted work keeps the surrounding design system, branding, tokens, content and working accessibility. A new rule is not a mandate to redesign the whole application or replace an appropriate font, card or gradient.
Record project-specific decisions in existing local guidance or the design system. That separates stable product identity from the reusable rule, so reviewing a Helm update does not require recreating every customization.
Basis and review
Accessibility standards inform the rule. Visual-pattern guidance is an editorial preference, not proof that a design was produced by AI. Interaction owns Helm’s detailed control and link conventions.
A useful review points to concrete issues, explains their effect and proposes bounded improvements. Verify the affected viewport sizes, zoom, reading order and visual accessibility with available tools, preserving working keyboard and touch interaction. Interaction supplies its detailed control-state checks when separately selected. A static screenshot cannot establish every interaction, and unavailable checks remain explicit.
Loading Design alone starts no redesign or scan. The requested task and the project’s users determine what should change.
Background reading
Apple’s layout and Dark Mode guidance explain hierarchy, legibility and adaptation. Google’s responsive design guide provides more detail on flexible layouts. Apply relevant principles within the project’s platform and conventions; these sources do not prescribe a palette or native-app control policy for every project.
Anthropic’s frontend-design guidance and article on recurring defaults provide background for the pattern examples. They are practitioner observations and editorial preferences, not universal usability findings. This reading is optional; applying Design does not require loading another skill or adding a research phase.
Explore the source
For implementation details, read rules/design.md.