Frontend Routing
Client-side routing for React, Vue, and Angular apps with lazy loading and route protection.
- CCM score
- 37 of 100
- skills.sh installs
- 457
- GitHub stars
- 396
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers navigation, URL-based state, guarded routes, lazy-loaded components, and query parameter handling across three frameworks
- Includes a React Router v6 quick start with a
ProtectedRoutewrapper and lazy-loaded pages, plus Vue Router 4 and Angular Routing guides - Adds reference guides for query parameter handling and route transition effects
- Designed for multi-page single-page applications that need navigation and access control
Install
$ npx -y skills add aj-geddes/useful-ai-prompts --skill frontend-routing -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Frontend Routing
Table of Contents
Overview
Implement client-side routing with navigation, lazy loading, protected routes, and state management for multi-page single-page applications.
When to Use
- Multi-page navigation
- URL-based state management
- Protected/guarded routes
- Lazy loading of components
- Query parameter handling
Quick Start
Minimal working example:
// App.tsx
import { BrowserRouter, Routes, Route, Navigate } from 'react-router-dom';
import { Layout } from './components/Layout';
import { Home } from './pages/Home';
import { NotFound } from './pages/NotFound';
import { useAuth } from './hooks/useAuth';
import React from 'react';
// Lazy loaded components
const Dashboard = React.lazy(() => import('./pages/Dashboard'));
const UserProfile = React.lazy(() => import('./pages/UserProfile'));
const Settings = React.lazy(() => import('./pages/Settings'));
Details
- Repository
- github.com/aj-geddes/useful-ai-prompts
- Category
- Frontend & UI Code
- First seen
- Jun 3, 2026
Questions
What does the frontend-routing skill do?
frontend-routing gives an agent the patterns for client-side routing with React Router, Vue Router, and Angular Router. It covers navigation, lazy loading of components, protected routes, and query parameter handling for multi-page applications.
When should I use the frontend-routing skill?
Use frontend-routing when building a multi-page single-page application that needs URL-based state, navigation between pages, or guarded routes. Its listing says it fits projects that need route protection and lazy-loaded components.
How do I install the frontend-routing skill?
Run npx -y skills add aj-geddes/useful-ai-prompts --skill frontend-routing -y in your project. After that, frontend-routing lets the agent write routing code for React Router, Vue Router, or Angular Router.
Where does frontend-routing stand in the Frontend and UI Code category?
frontend-routing sits in the Frontend and UI Code category, next to vercel-react-best-practices, web-design-guidelines, design-taste-frontend, vercel-composition-patterns, and lark-apps. Its own focus is routing across three frameworks, with reference guides for each router and for transitions between routes.
More from aj-geddes/useful-ai-prompts
All 258- Load Balancer Setup457
- Aws Rds Database456
- Log Aggregation456
- Documentation Site Setup455
- Recommendation System455
- Retrospective Facilitation455
- Survival Analysis454
- Git Hooks Setup453
- Monorepo Management453
- Secrets Management453
- Api Filtering Sorting452
- Cloud Migration Planning452
- Cloud Storage Optimization452
- Configuration Management452
- Correlation Analysis452
- Design Handoff452
- Performance Regression Debugging452
- Alert Management450
- Cloud Cost Management450
- Network Security Groups450
- Troubleshooting Guide450
- Vue Application Structure450
- Azure App Service449
- Capacity Planning449
Similar to Frontend Routing
More Frontend & UI Codevue-router-best-practicesantfu/skills18.8K installsVue Router 4 patterns covering navigation guards, route params, and component lifecycle interactions.
react-router-framework-moderemix-run/agent-skills3.8K installsSkill guide for React Router framework mode covering file-based routing, data loading, mutations, and rendering strategies.
react-router-declarative-moderemix-run/agent-skills720 installsClient-side routing guide for React Router's declarative mode using BrowserRouter, JSX routes, and URL hooks.
react-router-v7existential-birds/beagle581 installsPractical React Router v7 guidance covering data-driven routing, loaders, actions, and mutation choices.
nextjs-app-router-patternswshobson/agents35.2K installsComprehensive App Router patterns for Next.js 14+ covering Server Components, streaming, and data fetching.
nextjs-best-practicesdavila7/claude-code-templates635 installsNext.js App Router principles covering Server Components, data fetching, routing, caching, and server actions.