← ClaudeAtlas

design-spacing-rhythmlisted

The most complete spacing & alignment skill for AI-generated UI and written documents. Reads the layout, sets three dials (SPACING_STEP / DENSITY / ALIGNMENT_RIGOR), derives ONE scale, and lets proximity carry meaning — establishing a spacing scale, vertical rhythm, optical alignment, whitespace hierarchy, responsive/fluid density, accessibility floors, component recipes, document & long-form (Word / Docs / PDF / Markdown) spacing, and an anti-slop checklist. Every rule is CONTEXTUAL: read the situation, then pull only what fits. Not a blanket "add more padding" pass.
buidangminh23/spacing-skill · ★ 5 · Web & Frontend · score 74
Install: claude install-skill buidangminh23/spacing-skill
# spacingskill: The Spacing & Rhythm Skill > For any UI **or written document** an agent generates or edits — landing > pages, dashboards, forms, data tables, mobile screens, editorial, and > Word / Google Docs / PDF / Markdown documents (§14). > Spacing is the single fastest tell of AI-generated UI: off-scale magic > numbers, everything equally cramped, no proximity hierarchy, optical > misalignment. > Every rule below is **contextual**. Nothing fires automatically. First read > the layout, set the dials, then pull only what fits. Spacing is a *system*, > not decoration applied at the end. --- ## 0. SPACE INFERENCE — Read the Layout Before a Single Pixel Spacing is a decision made BEFORE the first `<div>` exists. Infer it; do not default to it. State the dials, emit one "Space Read" line, then generate. ### 0.A Signals to read (priority order — higher overrides lower) | # | Signal | Where it comes from | What it sets | |---|--------|---------------------|--------------| | 1 | **Existing scale / tokens** | Tailwind config, `--space-*` / `--spacing` vars, a component lib (MUI/Carbon/Radix/Chakra), repeated literals | SPACING_STEP + the whole scale. Conform, do not invent. | | 2 | **Brand / explicit constraint** | Brand guide, "match our app", a referenced screenshot, a stated number | Overrides aesthetic preference. Lock it, build around it. | | 3 | **Surface kind** | table vs hero vs form vs dashboard | DENSITY + SPACING_STEP start | | 4 | **Density the CONTENT demands*