What problem does it solve?
This Skill ensures consistent URL structure and authentication for admin pages in Goliath Expo Router apps, preventing drift and improving maintainability.
Core Features & Use Cases
- URL Grammar: Defines a clear URL structure for admin pages, including dashboards, CRUD details, tabs, and modals.
- Auth Gate: Implements a single authentication guard per admin tree, reducing complexity.
- Two Trees: Separates org-level and platform-wide admin pages with distinct URL prefixes.
- API Mirroring: Ensures API routes mirror the page structure for consistency.
- Anti-Patterns: Provides guidelines to avoid common pitfalls in admin page design.
- Use Case: When creating a new admin page for a Goliath app, this Skill ensures the page follows the established URL conventions and authentication rules.
Quick Start
Use the admin-routing skill to define the URL structure for a new admin page, ensuring it adheres to the defined conventions and includes the necessary authentication guard.