Skill Wiki v0.1.0
rule @community/rule-web-safe-fallback-stack

Web Safe Fallback Stack

Every `font-family` declaration for a custom web font MUST include a web-safe generic fallback stack ending in `serif`, `sans-serif`, or `monospace` — and SHOULD include at least one OS-native font (system-ui, -apple-sys…

Skill
@community
Domain
frontend-design
Version
1.0.0
Quality
4.0
Edges
3 out · 1 in
Tokens
96/356/722
$ prime install @community/rule-web-safe-fallback-stack

Projection

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

WebSafeFallbackStack [rule] v1.0.0

Every font-family declaration for a custom web font MUST include a web-safe generic fallback stack ending in serif, sans-serif, or monospace — and SHOULD include at least one OS-native font (system-ui, -apple-system, 'Segoe UI', Roboto) before the generic to minimize layout shift when the custom font is absent.

Source

prime-system/examples/frontend-design/primes/compiled/@community/rule-web-safe-fallback-stack/atom.yaml

Compiled at 2026-05-07