Skill Wiki v0.1.0
rule @community/rule-navigation-flat-when-shallow

Navigation Flat When Shallow

When a product or section has ≤ 7 primary destinations, use flat top-level navigation (all items visible at once in a horizontal nav bar, tab bar, or sidebar list) rather than grouping them behind nested menus or accordi…

Skill
@community
Domain
frontend-design
Version
1.0.0
Quality
4.0
Edges
7 out · 8 in
Tokens
93/198/472
$ prime install @community/rule-navigation-flat-when-shallow

Projection

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

NavigationFlatWhenShallow [rule] v1.0.0

When a product or section has ≤ 7 primary destinations, use flat top-level navigation (all items visible at once in a horizontal nav bar, tab bar, or sidebar list) rather than grouping them behind nested menus or accordions. Nesting structure that does not exist adds navigation overhead without benefit.

Source

prime-system/examples/frontend-design/primes/compiled/@community/rule-navigation-flat-when-shallow/atom.yaml

Compiled at 2026-05-07