epic-routing

Route Epic Stack applications using file-based routing with react-router-auto-routes.

Updated Jan 29, 2026
One-click install
npx skills add https://github.com/walbuc/iac-sorteios --skill epic-routing-walbuc
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: epic-routing
Source: https://github.com/walbuc/iac-sorteios/tree/main/docs/skills/epic-routing
Command: npx skills add https://github.com/walbuc/iac-sorteios --skill epic-routing-walbuc

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Routing complexity in Epic Stack applications is reduced by providing a clear, convention-based approach to map URLs to components using file-based routing, layouts, and route groups.

Core Features & Use Cases

  • File-based routing with automatic route generation using react-router-auto-routes
  • Nested layouts and Route Groups to organize related pages without impacting URLs
  • Resource routes for API-like endpoints (loaders/actions) without UI

Quick Start

Create a basic route and attach a shared layout to observe nested routing behavior.

Frequently Asked Questions about epic-routing

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

FAQPage Schema
How do I configure file-based routing in an Epic Stack application?

File-based routing in an Epic Stack application is configured using react-router-auto-routes to automatically map URLs to components. This skill applies conventions for nested layouts and route groups, ensuring YAML frontmatter defines route name and description metadata.

What are resource routes in React Router and when should I use them?

Resource routes in React Router are API-like endpoints created using loaders and actions without rendering a UI component. You should use them when you need to handle data fetching or form submissions server-side while keeping the routing logic within your file-based route structure.

How do I organize related pages with nested layouts without changing the URL?

You organize related pages without changing the URL by using Route Groups within your file-based routing structure. This approach applies shared nested layouts to specific component groups while maintaining a clean browser path for the end user.

Does Epic Stack routing require YAML frontmatter for route configuration?

Yes, Epic Stack routing enforces YAML frontmatter for defining route name and description. This metadata convention is required alongside the file-based routing setup to properly identify and document the purpose of each route within the application architecture.

How do I add loaders and actions to nested routes in React Router?

Loaders and actions are added to nested routes by defining them within the route module using React Router conventions. This skill demonstrates routing patterns that integrate data fetching and mutations directly into the file-based route components for seamless nested layout rendering.