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-code

Installs 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
1giuseppe-trisciuoglio avatarnextjs-data-fetchinggiuseppe-trisciuoglio/developer-kitProvides Next.js App Router data fetching patterns including SWR and React Query integration, parallel data fetching, Incremental Static Regeneration (ISR), rev3.9Kskills.sh installs
2majidmanzarpour avatarthreejs-game-ui-designermajidmanzarpour/threejs-game-skillsDesign premium Three.js game UI. Use for HUDs, menus, overlays, pause/win/lose screens, settings, icon controls, touch UI, typography, responsive layout, safe a3.9Kskills.sh installs
3dotnet avatarplan-ui-changedotnet/skillsPlan complex Blazor UI features by decomposing them into focused components. USE FOR: building a complex Blazor page with multiple sections, planning component 3.7Kskills.sh installs
4bytedance avatarfrontend-designbytedance/deer-flowCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, artifacts, 3.7Kskills.sh installs
5langgenius avatarcomponent-refactoringlanggenius/difyRefactor high-complexity React components in Dify frontend. Use when `pnpm analyze-component --json` shows complexity > 50 or lineCount > 300, when the user ask3.7Kskills.sh installs
6dimillian avatarswiftui-ui-patternsdimillian/skillsBest practices and example-driven guidance for building SwiftUI views and components, including navigation hierarchies, custom view modifiers, and responsive la3.7Kskills.sh installs