nextjs-app-router-fundamentals

Migrate Next.js 13+ apps from Pages Router to App Router.

Updated Apr 4, 2026
One-click install
npx skills add https://github.com/lucasnobree/cian-platform --skill nextjs-app-router-fundamentals-lucasnobree
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: nextjs-app-router-fundamentals
Source: https://github.com/lucasnobree/cian-platform/tree/main/.agents/skills/nextjs-app-router-fundamentals
Command: npx skills add https://github.com/lucasnobree/cian-platform --skill nextjs-app-router-fundamentals-lucasnobree

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill addresses the complexity of transitioning from the Pages Router to the Next.js 13+ App Router, helping developers create modern, efficient Next.js applications with improved routing and layout capabilities.

Core Features & Use Cases

  • App Router Migration: Guidance on migrating from Pages Router to App Router.
  • Layout Creation: Step-by-step instructions for building layouts in App Router.
  • Routing Patterns: Explanation of dynamic routes, catch-all routes, and route groups.
  • SEO and Metadata Handling: Best practices for implementing metadata and SEO with App Router.
  • Use Case: A developer seeking to build a Next.js 13+ application with complex routing and a need for advanced layout options.

Quick Start

Use the nextjs-app-router-fundamentals skill to create a new Next.js 13+ application with an App Router, including a root layout and a dynamic route.

Frequently Asked Questions about nextjs-app-router-fundamentals

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

FAQPage Schema
How do I migrate from Next.js Pages Router to App Router?

To migrate from Next.js Pages Router to App Router, you transition your routing logic into the new directory structure. This skill provides comprehensive guidance on updating your architecture to leverage Next.js 13+ layouts and dynamic routing patterns.

How do I create layouts and dynamic routes in Next.js 13+?

You create layouts and dynamic routes in Next.js 13+ by utilizing the App Router's file-based conventions. This skill offers step-by-step instructions for building nested layouts and implementing dynamic route patterns effectively.

What is the best way to handle metadata and SEO in the App Router?

The best way to handle metadata and SEO in the App Router is through the built-in metadata API. This skill covers best practices for implementing metadata directly within your layout and page files to improve search visibility.

Does the Next.js App Router support TypeScript and specific data fetching patterns?

Yes, the Next.js App Router supports TypeScript and specific data fetching patterns. This skill covers TypeScript best practices and explains how to implement data fetching within your App Router components.

When should I use catch-all routes and route groups in Next.js?

Catch-all routes and route groups in Next.js should be used when handling complex URL structures or organizing layouts without affecting the path. This skill explains these routing patterns to help structure your application.