navigation-patterns
Installation
SKILL.md
Navigation Patterns
Core Principles
Use useNavigationHeader for all header configuration. It automatically applies Zest theme styling (colors, fonts, spacing) and uses useLayoutEffect internally to prevent header flicker.
Define routes as enums for type safety. Enums prevent typos, enable IDE autocomplete, and make route refactoring safer.
Why: Consistent navigation patterns improve UX, ensure design system compliance, and provide compile-time type safety.
When to Use This Skill
Use these patterns when: