
Nextjs App Router
Solid reference for building with Next.js 16 and the App Router. Covers the essentials: Server Components by default, when to reach for "use client", Server Actions for form handling, the new "use cache" directive with cacheLife and cacheTag, and Route Handlers for API routes. The async params migration is handled clearly, which matters since Next.js 16 made everything Promise-based. Also includes parallel routes with the @slot convention and practical examples with Zod validation. Most useful when you're starting a new App Router project or migrating from Pages Router and need quick patterns for the file conventions and caching strategies. Skips Pages Router entirely, which is the right call at this point.
- skills.sh installs
- 4K
- GitHub stars
- 369
- last updated
- Aug 21, 2026
Install
$ npx -y skills add giuseppe-trisciuoglio/developer-kit --skill nextjs-app-router --agent claude-codeInstalls into .claude/skills of the current project.
Files
Next.js App Router (Next.js 16+)
Build modern React applications using Next.js 16+ with App Router architecture.
Overview
This skill provides patterns for Server Components (default) and Client Components ("use client"), Server Actions for mutations and form handling, Route Handlers for API endpoints, explicit caching with "use cache" directive, parallel and intercepting routes, and Next.js 16 async APIs and proxy.ts.
When to Use
Activate when user requests involve:
- "Create a Next.js 16 project", "Set up App Router"
- "Server Component", "Client Component", "use client"
- "Server Action", "form submission", "mutation"
- "Route Handler", "API endpoint", "route.ts"
- "use cache", "cacheLife", "cacheTag", "revalidation"
- "parallel routes", "
@slot", "intercepting routes" - "proxy.ts", "migrate from middleware.ts"
- "layout.tsx", "page.tsx", "loading.tsx", "error.tsx", "not-found.tsx"
- "generateMetadata", "next/image", "next/font"
Quick Reference
Sponsors
Details
- Repository
- github.com/giuseppe-trisciuoglio/developer-kit
- Categories
- Frontend Development, Backend & APIs, Code Review & Quality, Debugging, Automation & Workflows
- First seen
- May 16, 2026
More from giuseppe-trisciuoglio/developer-kit
All 102- Spring Boot Crud Patterns4K
- Chunking Strategy4K
- Spring Boot Event Driven Patterns4K
- Zod Validation Utilities4K
- Nestjs Best Practices4K
- Nestjs Code Review4K
- Spring Boot Cache4K
- Spring Boot Resilience4j3.9K
- Unit Test Service Layer3.9K
- Nextjs Code Review3.9K
- Spring Ai Mcp Server Patterns3.9K
- Unit Test Wiremock Rest Api3.9K
- Spring Boot Actuator3.9K
- Nextjs Authentication3.9K
- Spring Boot Dependency Injection3.9K
- Unit Test Controller Layer3.9K
- Unit Test Parameterized3.9K
- Unit Test Json Serialization3.9K
- Spring Boot Saga Pattern3.9K
- Spring Data Neo4j3.9K
- Unit Test Security Authorization3.9K
- Nextjs Data Fetching3.9K
- Langchain4j Tool Function Calling Patterns3.9K
- Nx Monorepo3.9K