spacing-system
Skill12 starsChanged 11 days agoMITView on GitHub
Use when layout rhythm, density, or gaps feel arbitrary or inconsistent, or when one product needs different reading pressures without splitting into unrelated spacing systems.
3 other projects use a version of this.
Adopted by
Most recently taken up by
- thrillmade/agent-skillstheir own version, first seen Nov 8, 2026
- miovrag/claude-skillstheir own version, first seen Jun 12, 2026
- launchapp-dev/animus-clitheir own version, first seen Mar 15, 2026
Other versions3 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 3
- launchapp-dev/animus-cli★ 39same name
- thrillmade/agent-skills★ 3same name
- miovrag/claude-skills★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository21 other files it gives its agents.
- AGENTS.mdAGENTS.md
- llms.txtllms.txt
- a11y-passSkill
- art-directionSkill
- cognitive-a11ySkill
- color-systemSkill
- component-statesSkill
- data-vizSkill
- design-system-interviewSkill
- deslop-uiSkill
- empty-statesSkill
- form-uxSkill
- humanize-copySkill
- i18n-readySkill
- improve-existing-websiteSkill
- micro-motionSkill
- responsive-layoutSkill
- tastecheck-passSkill
- tasterollSkill
- themingSkill
- web-typographySkill
The file
We split this skill into the rules it gives an agent
5 rules. 0 are common, 0 are distinctive, and 5 are very specific to this project.
0
Common
Most of the 3 edited versions we read keep these.
0
Distinctive
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 11
Every gap uses one --space-* scale.
- Very specific: line 15
Start with the 4px-base ladder 4/8/12/16/24/32/48/64/96px and --space-section: clamp(48px, 32px + 4vw, 96px) defaults.
- Very specific: line 21
Use gap and one-direction logical margins.
- Very specific: line 53
Use assets/spacing-starter.css as fixture/start.
- Very specific: line 95
Stop / handoff: Pause when content hierarchy is absent and spacing would be arbitrary (+1 in contract.json).
“Common” is measured: kept by at least 6 in 10 of the 3 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Spacing System (the scale nobody owns)
Every gap uses one --space-* scale; relationships create composition, not arbitrary margins.
The decision order
- Start with the 4px-base ladder
4/8/12/16/24/32/48/64/96pxand--space-section: clamp(48px, 32px + 4vw, 96px)defaults. An alternate bounded scale needs brief and observed-hierarchy evidence. - Map attachment, control, task, group, region, and chapter to visibly different steps (roughly ≥1.5× between levels), or document a content-pressure exception.
- Choose metronomic or intentional syncopated section rhythm from content pressure; explain it.
- Use
gapand one-direction logical margins; explain any arbitrary-margin exception.
Let content set the rhythm
Map operational tasks to compact predictability and editorial/narrative content to breathing room; retain one system and explain differing roles. Use the role map first:
| Relationship | Shared token | Compact operational rhythm | Long-form editorial rhythm |
| attachment | --space-1 (4px) | icon/state to its label | inline metadata pair |
| control | --space-2/3 (8/12px) | label-to-control / inside a control | claim-to-citation / tight evidence pair |
| task | --space-4 (16px) | repeated queue item | adjacent paragraph or evidence group |
| group | --space-5 (24px) | task-group break | discrete finding |
| region | --space-6/7/8 (32/48/64px) | console-region break | narrative subsection or causal pivot |
| chapter | --space-section (fluid) | major workflow view | major account transition |
The console may be metronomic; an account may widen at finding, subsection, and chapter boundaries. One vocabulary, different relationships—not two scales.
Invariants and defaults
Invariant craft: audit margin/padding/gap; make proximity truthful and whitespace intentional;
keep one explainable vocabulary. Ladder, clamp, separation, and rhythm are brief-dependent
defaults; rendered overrides record scale, map, and tradeoff.
Migration and honest audit boundary
Classify every literal by relationship. Starter disposition: 13px→12px (--space-3),
17px→16px (--space-4), bare 24px→var(--space-5); override only with observed
hierarchy evidence. Keep 19px unresolved; do not silently round it. Sole prose exception:
documented following-paragraph 1em spacing.
Use assets/spacing-starter.css as fixture/start. Without a target CSS fixture, mark audit
PENDING, name it and the next action; never claim residual off-scale values are gone. The
ladder, map, and migration rules remain required.
Evidence
Audit source before describing it; map each value to a role. Handoff one Markdown table with
status, reason, remediation, evidence, and provenance, covering scale, off-scale,
proximity, rhythm, and handoff. PENDING names missing source/next action; it blocks that
check, not placeholder proof.
Rhythm map
Name attachment, control, task, group, region, and chapter; show compact/editorial selection without parallel scales. Replace, justify as observed exception, or leave each arbitrary value PENDING with source and next action.
Authoritative self-check
Include exactly one labeled Authoritative self-check. It confirms ladder/clamp or evidence-backed override, all six relationships, context selection, migration, and honest fixture boundary. Judge reasoning/evidence, not literal starter values.
Deliver
Deliver base, token scale, role map, context rhythm, off-scale audit, and one authoritative
self-check. responsive-layout owns breakpoint reflow, not scale/proximity/reading pressure;
hand it --space-* and the evidence table. Send control/form relationships to component-states
or form-ux, not re-decide their behavior.
References
references/decision-records.md— novel-case ADR rules.assets/spacing-starter.css— ladder, layout primitives, migration helpers.
<!-- contract:v1:start -->Contract (generated)
Canonical detail: contract.json.
- Route: An interface needs a spacing scale, content-derived rhythm, or gap consistency (+1 in contract.json); avoid: The request is only responsive reflow or component state behavior (+1 in contract.json)
- Exclude: Do not impose one uniform cadence across dissimilar content (+1 in contract.json)
- Stop / handoff: Pause when content hierarchy is absent and spacing would be arbitrary (+1 in contract.json); receives [design-system-interview, improve-existing-website, tasteroll, web-typography] -> sends [responsive-layout, component-states, form-ux]
- Output: A tokenized spacing scale and stated section-rhythm strategy tied to content hierarchy
- Evidence:
table_with_evidencewithstatus,reason,remediation,evidence,provenance.
<!-- contract:v1:end -->Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

