ab-test-analysis
Design and analyze A/B tests, calculate statistical significance, and determine sample sizes for conversion optimization and…
Implement client-side routing using React Router, Vue Router, and Angular Router. Use when building multi-page applications with navigation and route protection.
Claude Code
$ npx -y skills add aj-geddes/useful-ai-prompts --skill frontend-routing --agent claude-code
Codex
$ npx skills add aj-geddes/useful-ai-prompts --skill frontend-routing -a codex -y
Cursor
$ npx skills add aj-geddes/useful-ai-prompts --skill frontend-routing -a cursor -y
Gemini CLI
$ npx skills add aj-geddes/useful-ai-prompts --skill frontend-routing -a gemini-cli -y
GitHub Copilot
$ npx skills add aj-geddes/useful-ai-prompts --skill frontend-routing -a github-copilot -y
OpenCode
$ npx skills add aj-geddes/useful-ai-prompts --skill frontend-routing -a opencode -y
Windsurf
$ npx skills add aj-geddes/useful-ai-prompts --skill frontend-routing -a windsurf -y
name: frontend-routing description: > Implement client-side routing using React Router, Vue Router, and Angular Router. Use when building multi-page applications with navigation and route protection.
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](references/react-router-v6.md) | React Router v6 | | [Vue Router 4](references/vue-router-4.md) | Vue Router 4 | | [Angular Routing](references/angular-routing.md) | Angular Routing | | [Query Parameter Handling](references/query-parameter-handling.md) | Query Parameter Handling | | [Route Transition Effects](references/route-transition-effects.md) | Route Transition Effects |
488 production-ready AI prompts, all following a standardized template with validated quality gates. Transform ChatGPT, Claude, and other AI assistants into expert consultants.
Design and analyze A/B tests, calculate statistical significance, and determine sample sizes for conversion optimization and…
Implement Role-Based Access Control (RBAC), permissions management, and authorization policies. Use when building secure access…
Implement WCAG 2.1/2.2 accessibility standards, screen reader compatibility, keyboard navigation, and a11y testing. Use when…
Test web applications for WCAG compliance and ensure usability for users with disabilities. Use for accessibility test, a11y,…
Plan and execute effective sprints using Agile methodologies. Define sprint goals, estimate user stories, manage sprint backlog,…
Implement comprehensive alert management with PagerDuty, escalation policies, and incident coordination. Use when setting up…
Behavioral guidelines to reduce common LLM coding mistakes. Use when writing, reviewing, or refactoring code to avoid…
Converts books and documents (PDF, EPUB, DOCX, HTML, Markdown, plain text, RTF, MOBI/AZW with Calibre) into structured agent…
Set up the owner profile so a personal agent knows who it works for (first-run setup, \"get to know me\"), or distill colleague,…