Implements client-side routing with React Router, Vue Router, and Angular Router. Covers lazy loading, protected routes, query parameters, and route transitions.
Ships in aj-geddes-useful-ai-prompts-4. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Implement client-side routing with navigation, lazy loading, protected routes, and state management for multi-page single-page applications.
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'));
// Protected route wrapper
const ProtectedRoute: React.FC<{ children: React.ReactNode }> = ({ children }) => {
const { isAuthenticated } = useAuth();
if (!isAuthenticated) {
return <Navigate to="/login" replace />;
}
return <>{children}</>;
};
export const App: React.FC = () => {
// ... (see reference guides for full implementation)
Detailed implementations in the references/ directory:
| Guide | Contents |
|---|---|
| React Router v6 | React Router v6 |
| Vue Router 4 | Vue Router 4 |
| Angular Routing | Angular Routing |
| Query Parameter Handling | Query Parameter Handling |
| Route Transition Effects | Route Transition Effects |
references/angular-routing.md (opens in a new tab)references/query-parameter-handling.md (opens in a new tab)references/react-router-v6.md (opens in a new tab)references/route-transition-effects.md (opens in a new tab)references/vue-router-4.md (opens in a new tab)templates/component-template.tsx (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
/aj-geddes-useful-ai-prompts-4:frontend-routingfrom aj-geddes-useful-ai-prompts-4
aj-geddes-useful-ai-prompts-4@cascade-code-languages-misc-1 is listed by joshuarweaver/cascade-code-languages-misc-1 — review the source before installing
npx claudepluginhub joshuarweaver/cascade-code-languages-misc-1 --plugin aj-geddes-useful-ai-prompts-4259 skills in this plugin
/ab-test-analysisA/B Test AnalysisDesign and analyze A/B tests, calculate statistical significance, and determine sample sizes for conversion optimization and experiment validation/access-control-rbacImplement Role-Based Access Control (RBAC), permissions management, and authorization policies. Use when building secure access control systems with fine-grained permissions.
/accessibility-complianceImplement WCAG 2.1/2.2 accessibility standards, screen reader compatibility, keyboard navigation, and a11y testing. Use when building inclusive web applications, ensuring regulatory compliance, or improving user experience for people with disabilities.
2 plugins ship this exact skill · first indexed Jul 8, 2026
Other plugins' skills for the same job