nextjs-app-router-mastery
Installation
SKILL.md
Next.js App Router Mastery
Core Concepts
- Server Components by Default - Components are server-rendered unless marked
'use client' - Streaming & Suspense - Progressive rendering with loading states
- Parallel Routes - Simultaneous route rendering
- Intercepting Routes - Modal patterns without navigation
File Conventions
app/
layout.tsx # Root layout (required)
page.tsx # Route UI
loading.tsx # Loading UI (Suspense boundary)
error.tsx # Error boundary
not-found.tsx # 404 UI
route.ts # API route handler
Related skills
More from autohandai/community-skills
tailwind-ui-patterns
Tailwind CSS v4 patterns, component styling, and responsive design
159typescript-refactoring-patterns
Expert TypeScript refactoring patterns for cleaner, type-safe code
58python-fastapi-patterns
FastAPI best practices, async patterns, and Pydantic validation
45api-design-restful
RESTful API design patterns, error handling, and documentation
31cli-tool-development
Build professional CLI tools with Node.js, commander, and Ink
16testing-strategies
Comprehensive testing strategies with Vitest, Jest, and Testing Library
12