nextjs-app-router-patterns

Codify Next.js 14 App Router patterns for server components, streaming, and parallel routes.

70|42|Updated Mar 27, 2026
One-click install
npx skills add https://github.com/tranhieutt/software_development_department --skill nextjs-app-router-patterns-tranhieutt
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: nextjs-app-router-patterns
Source: https://github.com/tranhieutt/software_development_department/tree/main/.claude/skills/nextjs-app-router-patterns
Command: npx skills add https://github.com/tranhieutt/software_development_department --skill nextjs-app-router-patterns-tranhieutt

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill condenses sprawling Next.js App Router guidance into a single reference so teams can avoid inconsistent server/client splits, data fetching mistakes, and streaming/parallel route misconfigurations when shipping modern React apps.

Core Features & Use Cases

  • Pattern Library: Details rendering modes, file conventions, streaming, parallel and intercepting routes, Server Actions, and caching strategies.
  • Guided Scenarios: Shows how to build Server Component pages with Suspense boundaries, Client Component interactions, route handlers, and metadata generation.
  • Use Case: When launching a Next.js 14 storefront, follow these patterns to compose layouts, API routes, and streaming experiences without misusing suspense or hooks.

Quick Start

Use the skill to plan a Next.js 14 App Router project with Server Components, streaming sections, and route handlers before writing any code.

Frequently Asked Questions about nextjs-app-router-patterns

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I structure Next.js App Router projects with Server Components and streaming?

Next.js App Router parallel routes allow simultaneous rendering of multiple page sections within a single layout. Apply codified pattern libraries to compose layouts and route handlers without misusing suspense or hooks.

How do I migrate to Next.js App Router without breaking data fetching?

Next.js App Router parallel routes allow simultaneous rendering of multiple page sections within a single layout. Apply codified pattern libraries to compose layouts and route handlers without misusing suspense or hooks.

What is the best way to handle server and client component splits in Next.js 14?

Next.js App Router parallel routes allow simultaneous rendering of multiple page sections within a single layout. Apply codified pattern libraries to compose layouts and route handlers without misusing suspense or hooks.

Can I use parallel routes and intercepting routes for a Next.js storefront?

Next.js App Router parallel routes allow simultaneous rendering of multiple page sections within a single layout. Apply codified pattern libraries to compose layouts and route handlers without misusing suspense or hooks.

How do Server Actions and caching strategies work in the Next.js App Router?

Next.js App Router parallel routes allow simultaneous rendering of multiple page sections within a single layout. Apply codified pattern libraries to compose layouts and route handlers without misusing suspense or hooks.

Why does my Next.js App Router layout misuse Suspense boundaries?

Next.js App Router parallel routes allow simultaneous rendering of multiple page sections within a single layout. Apply codified pattern libraries to compose layouts and route handlers without misusing suspense or hooks.