🎯

nextjs-app-router-fundamentals

🎯Skill

from wsimmonds/claude-nextjs-skills

VibeIndex|
What it does
|

A comprehensive Next.js App Router skill covering migration from Pages Router, file-based routing, layouts, metadata handling, and TypeScript patterns for Next.js 13+.

Overview

A Claude Code skill that provides comprehensive guidance for working with the Next.js App Router (Next.js 13+), covering migration from Pages Router, file-based routing conventions, layouts, metadata handling, and modern Next.js patterns. It enforces strict TypeScript practices, prohibiting the use of any type to prevent build failures.

Key Features

  • Pages Router to App Router Migration - Detailed guidance for converting from the legacy pages/ directory structure to the modern app/ directory with layouts and nested routing
  • File Convention Reference - Complete coverage of special files including layout.tsx, page.tsx, loading.tsx, and their roles in the App Router architecture
  • Strict TypeScript Enforcement - Built-in rules against any type usage with correct type patterns for page props, form events, and server actions
  • Metadata and SEO Optimization - Guidance on implementing metadata handling in the App Router for search engine optimization
  • Advanced Routing Patterns - Support for route groups, parallel routes, intercepting routes, and dynamic route segments

Who is this for?

This skill is designed for developers building Next.js 13+ applications who need reliable guidance on App Router conventions and patterns. It is especially valuable for teams migrating existing Pages Router applications to the App Router architecture and those who want to enforce strict TypeScript standards in their Next.js projects.

📦

Same repository

wsimmonds/claude-nextjs-skills(9 items)

nextjs-app-router-fundamentals

Installation

Vibe Index InstallInstalls to .claude/skills/ - auto-recognized by Claude Code
npx vibeindex add wsimmonds/claude-nextjs-skills --skill nextjs-app-router-fundamentals
skills.sh Install⚠ Installs to .agents/skills/ - may not be auto-recognized by Claude Code
npx skills add wsimmonds/claude-nextjs-skills --skill nextjs-app-router-fundamentals
Manual InstallCopy SKILL.md content and save to the path below
~/.claude/skills/nextjs-app-router-fundamentals/SKILL.md

SKILL.md

1,961Installs
63
-
Last UpdatedOct 24, 2025

More from this repository8

🎯
nextjs-server-client-components🎯Skill

Guides developers in choosing between Next.js Server and Client Components, handling routing, searchParams, and component rendering strategies effectively.

🎯
nextjs-advanced-routing🎯Skill

Guides advanced Next.js App Router patterns including Route Handlers, Parallel Routes, Intercepting Routes, Server Actions with 'use server' directive, error boundaries, draft mode, streaming with Suspense, and cookie handling from client components.

🎯
vercel-ai-sdk🎯Skill

Vercel AI SDK v5 implementation skill for building AI chat interfaces with useChat hook, streaming responses, tool calling, embeddings, and MCP integration

🎯
nextjs-client-cookie-pattern🎯Skill

Provides a two-file pattern for Next.js client components calling server actions to set cookies, covering the separation of client-side interaction (onClick, form submission) from server-side cookie operations for authentication, preferences, or session management.

🎯
nextjs-use-search-params-suspense🎯Skill

Explains the required pattern for using Next.js useSearchParams hook with a Suspense boundary, covering single-file and inline patterns for building search interfaces, filters, and pagination that read URL query parameters client-side.

🎯
nextjs-server-navigation🎯Skill

Guides implementing navigation in Next.js Server Components using the Link component and redirect() function, covering the distinction between server and client navigation methods to avoid unnecessary 'use client' conversions.

🎯
nextjs-dynamic-routes-params🎯Skill

Guides creating Next.js App Router dynamic routes and working with pathname parameters, covering dynamic segments ([id], [slug]), catch-all routes, the params prop, and strategies to avoid over-nesting by defaulting to the simplest route structure.

🎯
nextjs-pathname-id-fetch🎯Skill

Provides a focused pattern for fetching data using URL parameters in Next.js dynamic routes ([id], [slug]), demonstrating how to access route parameters in server components to load individual items like product pages, blog posts, or user profiles.