admin-routing

Define URL structures and auth guards for Goliath Expo Router admin pages.

Updated May 13, 2026
One-click install
npx skills add https://github.com/dloschiavo/orca --skill admin-routing
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: admin-routing
Source: https://github.com/dloschiavo/orca/tree/main/recipe/admin-routing
Command: npx skills add https://github.com/dloschiavo/orca --skill admin-routing

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires expo-router, auth-middleware, and includes scripts (resource) and references (resource) components.

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.

Frequently Asked Questions about admin-routing

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I structure admin routing URLs in Expo Router?

To structure admin routing in Expo Router, define a clear URL grammar for dashboards, CRUD details, tabs, and modals. This ensures consistent URL structures across admin pages and mirrors API routes for maintainability.

How do I secure admin pages with a single authentication guard?

To secure admin pages with a single authentication guard, implement an auth gate per admin tree using authentication middleware. This protects org-level and platform-wide admin routes uniformly with one layout-level check.

Can I separate org-level and platform-wide admin pages in a multi-tenant Expo Router app?

Yes, you can separate org-level and platform-wide admin pages in a multi-tenant Expo Router app. Admin routing uses distinct URL prefixes to isolate these two admin trees and their specific access controls.

Does the admin routing Skill require authentication middleware?

Yes, the admin routing Skill requires authentication middleware and Expo Router as dependencies. These are necessary to establish the URL structure and implement the layout-level auth gate for admin pages.

What are common admin routing anti-patterns to avoid?

Common admin routing anti-patterns include inconsistent URL structures and scattered authentication checks. Following defined URL conventions and using a single auth gate per admin tree prevents these maintainability pitfalls.