nextjs-app-router-patterns

Provide structured patterns for Next.js 14+ App Router applications.

Updated Feb 8, 2026
One-click install
npx skills add https://github.com/alexisg24/claude-agrents-env-tests --skill nextjs-app-router-patterns-alexisg24
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: nextjs-app-router-patterns
Source: https://github.com/alexisg24/claude-agrents-env-tests/tree/main/environments/nextjs-nestjs-pg-redis-agents/.agents/skills/nextjs-app-router-patterns
Command: npx skills add https://github.com/alexisg24/claude-agrents-env-tests --skill nextjs-app-router-patterns-alexisg24

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Building modern Next.js apps with App Router can be complex; this skill consolidates patterns and best practices for SSR/SSG, Server Components, streaming, and parallel routes.

Core Features & Use Cases

  • Patterns for Server Components with data fetching
  • Client/Server components guidance, streaming, concurrent routes
  • Metadata, route handlers, and API integration examples

Quick Start

Set up a Next.js 14+ app using the App Router and implement Server Components, streaming, and parallel routes as shown.

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 Server Components?

Next.js Server Components data fetching patterns involve directly querying databases or APIs within the server component tree. This skill provides structured guidance for implementing these patterns alongside concurrent routes and streaming content.

How do I set up streaming and parallel routes in a Next.js App Router project?

Streaming and parallel routes in the Next.js App Router are set up using specific file conventions and React Suspense boundaries. This skill demonstrates how to configure these routing patterns to handle concurrent data loading.

Does this Next.js App Router skill cover Server Actions and API integration?

Yes, this Next.js App Router skill covers Server Actions and API integration. It includes metadata approaches, route handlers, and examples for integrating APIs within your Next.js 14+ application architecture.

When should I use SSG versus SSR in my Next.js App Router application?

Use SSG for static content generation at build time and SSR for dynamic server-rendered pages. This skill consolidates patterns and best practices for configuring both SSG and SSR setups within the Next.js App Router.

How do I manage metadata and route handlers in Next.js 14+?

Manage metadata and route handlers in Next.js 14+ by utilizing the framework's specific file conventions and API routing capabilities. This skill provides structured examples for implementing these metadata approaches effectively.