Skill Wiki v0.1.0
rule @community/rule-z-index-stacking-system

Z Index Stacking System

All z-index values must be drawn from a named token scale (base: 0, raised: 10, dropdown: 100, sticky: 200, overlay-backdrop: 300, overlay: 400, toast/notification: 500, tooltip: 600) — never hard-coded arbitrary integer…

Skill
@community
Domain
frontend-design
Version
1.0.0
Quality
4.0
Edges
3 out · 0 in
Tokens
86/483/961
$ prime install @community/rule-z-index-stacking-system

Projection

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

ZIndexStackingSystem [rule] v1.0.0

All z-index values must be drawn from a named token scale (base: 0, raised: 10, dropdown: 100, sticky: 200, overlay-backdrop: 300, overlay: 400, toast/notification: 500, tooltip: 600) — never hard-coded arbitrary integers. Magic z-index values like z-index: 9999 are prohibited.

Source

prime-system/examples/frontend-design/primes/compiled/@community/rule-z-index-stacking-system/atom.yaml

Compiled at 2026-05-07