Skill Wiki v0.1.0
rule @community/rule-explicit-ratio-not-magic-number

Explicit Ratio Not Magic Number

Spacing, sizing, and typographic scale values must derive from an explicit ratio (1.25, 1.333, 1.5, or a defined 4px/8px base grid) — not from magic numbers chosen ad-hoc. Every value must have a traceable derivation.

Skill
@community
Domain
frontend-design
Version
1.0.0
Quality
4.0
Edges
3 out · 0 in
Tokens
72/261/449
$ prime install @community/rule-explicit-ratio-not-magic-number

Projection

Always in _index.xml · the agent never has to ask for this.

ExplicitRatioNotMagicNumber [rule] v1.0.0

Spacing, sizing, and typographic scale values must derive from an explicit ratio (1.25, 1.333, 1.5, or a defined 4px/8px base grid) — not from magic numbers chosen ad-hoc. Every value must have a traceable derivation.

Source

prime-system/examples/frontend-design/primes/compiled/@community/rule-explicit-ratio-not-magic-number/atom.yaml

Compiled at 2026-05-07