Skill Wiki v0.1.0
rule @community/rule-visual-design-safe-rules

Visual Design Safe Rules

Apply these 12 mathematically-verifiable visual design rules: (1) near-black not pure black (oklch 12–15% lightness); (2) near-white not pure white (oklch 96–98%); (3) saturate neutrals with brand hue at chroma < 0.…

Skill
@community
Domain
frontend-design
Version
1.0.0
Quality
4.0
Edges
3 out · 5 in
Tokens
169/615/1125
$ prime install @community/rule-visual-design-safe-rules

Projection

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

VisualDesignSafeRules [rule] v1.0.0

Apply these 12 mathematically-verifiable visual design rules: (1) near-black not pure black (oklch 12–15% lightness); (2) near-white not pure white (oklch 96–98%); (3) saturate neutrals with brand hue at chroma < 0.01; (4) 60-30-10 color ratio; (5) spacing values must come from an 8px base scale (4/8/12/16/24/32/48/64/96px); (6) outer padding ≥ inner padding; (7) button horizontal padding = 2× vertical; (8) body text minimum 16px; (9) line length 60–80ch; (10) shadow blur = 2× offset distance; (11) nested corner radius = outer − padding; (12) high contrast for CTAs, low contrast for structural borders.

Source

prime-system/examples/frontend-design/primes/compiled/@community/rule-visual-design-safe-rules/atom.yaml

Compiled at 2026-05-07