nextjs-advanced-routing
CommunityMaster Next.js App Router advanced patterns.
System Documentation
What problem does it solve?
This Skill guides advanced Next.js App Router patterns, enabling robust architecture for route handlers, parallel routes, server actions, and streaming with Suspense. It emphasizes separating server actions from client components and using cookies securely with server actions.
Core Features & Use Cases
- Route Handlers & Server Actions: Implement API-like endpoints with server-side mutations and form handling.
- Parallel & Intercepting Routes: Build complex routing patterns for modals, drawers, and nested layouts.
- Streaming & Draft Mode: Set up streaming responses and CMS draft workflows with Suspense.
- Use Case: Use when you need server-only actions, cookies manipulation, and advanced routing scenarios in Next.js App Router.
Quick Start
Configure a Next.js App Router project to support Route Handlers, Parallel Routes, and Server Actions. Create app/[feature]/route.ts for API-style routes, implement action.ts or actions.ts with 'use server', and enable streaming with Suspense where appropriate.
Dependency Matrix
Required Modules
None requiredComponents
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: nextjs-advanced-routing Download link: https://github.com/mcclowes/puzzles/archive/main.zip#nextjs-advanced-routing Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.