nextjs-app-router-patterns

Present reusable Next.js 14+ App Router patterns for server components, streaming, and routing.

Updated Feb 13, 2026
One-click install
npx skills add https://github.com/mwathiben/PropManager --skill nextjs-app-router-patterns-mwathiben
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: nextjs-app-router-patterns
Source: https://github.com/mwathiben/PropManager/tree/main/.claude/skills/nextjs-app-router-patterns
Command: npx skills add https://github.com/mwathiben/PropManager --skill nextjs-app-router-patterns-mwathiben

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Provides a curated set of patterns and best practices for building scalable Next.js 14+ apps using the App Router, including Server Components, streaming, parallel routes, and advanced data fetching.

Core Features & Use Cases

  • Patterns cover Server Components with data fetching
  • Client Components for interactivity
  • Streaming with Suspense and progressive loading
  • Parallel routes and route groups for independent loading states
  • Intercepting routes and modal patterns
  • Route Handlers (API routes) and server-driven endpoints
  • Metadata and SEO patterns for dynamic pages
  • Caching strategies and best practices for data freshness

Quick Start

Create a Next.js 14+ App Router project and implement the provided patterns to organize layouts, pages, and API routes as demonstrated.

Frequently Asked Questions about nextjs-app-router-patterns

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

FAQPage Schema
What are the best patterns for data fetching in Next.js 14 App Router server components?

Data fetching patterns in Next.js App Router server components use direct async requests within the component to leverage SSR and streaming. This approach accelerates enterprise-grade apps requiring robust data freshness and server-side rendering.

How do I implement streaming UI with Suspense in a Next.js App Router project?

Implement streaming UI in a Next.js App Router project by wrapping dynamic components in Suspense boundaries. This enables progressive loading, allowing independent page sections to stream and render as data becomes available.

When should I use parallel routes and route groups in Next.js App Router?

Use parallel routes and route groups in Next.js App Router when building complex layouts requiring independent loading states. They allow simultaneous rendering of multiple pages within a single layout, useful for dashboards and modals.

Does this Next.js App Router pattern set cover SEO metadata and caching strategies?

Yes, these Next.js App Router patterns cover SEO metadata generation for dynamic pages and caching strategies. They provide best practices for data freshness and route handlers to ensure robust server-driven endpoints.

How do I build intercepting routes and modal patterns in Next.js 14?

Build intercepting routes and modal patterns in Next.js 14 by using the App Router's interception feature. This captures the current route context to render modals over existing content while preserving the underlying page state.

What is the best way to structure API endpoints using Next.js App Router route handlers?

The best way to structure API endpoints in Next.js App Router is using route handlers. They provide server-driven endpoints within the app directory, conforming to best practices for scalable, enterprise-grade API architecture.