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
0.0
Edges
0 out · 0 in
Tokens
72/283/517
$ aoe 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

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