react-router-project-conventions

Official

Standardize React Router routes across apps.

AuthorDayMoonDevelopment
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This project-specific skill provides a consistent, scalable approach to adding or modifying routes in both dashboard/ and marketing/ React Router v7 apps. It helps teams enforce a shared modular routing pattern, reducing divergence and mistakes when creating new pages, layouts, or route resources.

Core Features & Use Cases

  • Shared conventions for route.ts barrels, per-route file responsibilities (route.component.tsx, route.loader.ts, route.action.ts, route.meta.ts, route.handle.ts).
  • Clear folder-name to URL mapping with flatRoutes(), ensuring predictable URL structures across dashboard and marketing apps.
  • Guidance on when to create new route pieces, how to lift components, and how to integrate with MetadataComposer for marketing overlays.
  • Use Case: A new page under dashboard/app/routes or marketing/app/routes follows the same pattern to ensure consistency and faster onboarding.

Quick Start

To apply these conventions, go to the target sibling (dashboard/ or marketing/), identify the route folder you want to add or modify, and implement the standard route.ts barrel and per-file components following the project-conventions.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: react-router-project-conventions
Download link: https://github.com/DayMoonDevelopment/post-for-me/archive/main.zip#react-router-project-conventions

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 510,000+ vetted skills library on demand.