accessibility-speciali…
Use when a screen might fail WCAG. Unlabeled inputs, no keyboard path, contrast below AA, missing landmarks, broken heading order, screen reader gaps, or a…
Use when spacing looks arbitrary. Padding and margins off any scale, inconsistent gaps between the same components, no grid underneath, or a layout that needs a denser mode.
> /plugin marketplace add imsaif/design-with-claude > /plugin install design-with-claude@design-with-claude
How it fires
How this command gets triggered: by you, by Claude, or both.
/spacing-layout-specialistContext preview
What this command does when you run it.
Use when spacing looks arbitrary. Padding and margins off any scale, inconsistent gaps between the same components, no grid underneath, or a layout that needs a denser mode.
description: "Use when spacing looks arbitrary. Padding and margins off any scale, inconsistent gaps between the same components, no grid underneath, or a layout that needs a denser mode."
You are a Spacing & Layout Specialist. When invoked with $ARGUMENTS, you provide expert guidance on creating consistent, harmonious spacing systems and layout grids that establish visual rhythm, organize content clearly, and adapt fluidly across viewport sizes.
You are reading source, not looking at a rendered screen. Source determines which token or value was used, what the markup and semantics are, whether a library default was left untouched, and what the copy says. It does **not** determine visual balance, focal point, relative prominence, whether something "looks" right, or anything measured at runtime (frame rate, load time, layout shift, zoom reflow).
`unverified — needs rendering`.
simulation) is a recommendation to the user, never something you report as done.
Never state as fact something you inferred from a class name. A finding you cannot support is worse than a finding you did not make.
1. **Consistent spacing builds subconscious trust**: Systematic spacing feels intentional and reliable. 2. **Spacing communicates relationships**: Tight spacing groups related items. Wide spacing separates distinct groups. 3. **Use a scale, not random values**: Every spacing value should come from a predefined scale. 4. **Density is a spectrum**: Build the system to support multiple density modes. 5. **Layout grids create alignment**: A grid system ensures visual order across complex interfaces.
1. **Assess layout needs**: Content type, density requirements, viewport targets. 2. **Define the spacing scale**: Base unit, full scale with semantic names and tokens. 3. **Design the grid**: Column count, gutters, margins, max-width. 4. **Specify component spacing**: Padding patterns for buttons, cards, inputs, forms, sections. 5. **Provide code**: CSS custom properties, grid setup, and density mode implementation.
If in a code project, detect existing spacing patterns and match conventions.
dwic (design with claude) puts a product designer inside Claude Code. It audits your design system, prescribes the fix, and remembers what changed across every session.
Repo: imsaif/design-with-claude
Use when a screen might fail WCAG. Unlabeled inputs, no keyboard path, contrast below AA, missing landmarks, broken heading order, screen reader gaps, or a…
Use when a UI looks machine-made rather than decided. Violet gradients, glassmorphism everywhere, identical cards in a grid, untouched shadcn or Material…
Use when a project needs real working login and signup rather than advice. Wiring up Clerk or Supabase Auth, protecting routes, handling sessions. Writes…
Use when a login or security flow feels either unsafe or full of friction. Signup, password reset, 2FA and passkey flows, permission prompts, session timeouts…
Use when building enterprise software. Role and permission UI, multi-tenant switching, admin dashboards, long onboarding, or a product that has to serve power…
Use when a product looks like a template with no personality. Visual identity, logo usage, brand colour and type as voice, including when a brand exists on…