New advertisers: 50% off your first month with code FIRSTMONTHSee slots

Modern App Router guide for Next.js 16+ covering Server Components, Server Actions, caching, and routing conventions.

skills.sh installs
4.1K
GitHub stars
372
last updated
Aug 21, 2026
View on GitHub

What it does

  • Covers Server and Client Components, Server Actions for forms, Route Handlers, "use cache" caching, parallel and intercepting routes, and Next.js 16 async APIs
  • Includes code patterns for route.ts handlers, useActionState form wiring, cacheLife and cacheTag configuration, and @slot parallel layouts
  • Enforces a Server Component default, adding "use client" only for hooks, browser APIs, or event handlers
  • Designed for building or migrating Next.js 16 projects, including moving from middleware.ts to proxy.ts

Install

$ npx -y skills add giuseppe-trisciuoglio/developer-kit --skill nextjs-app-router -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

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

Details

Repository
github.com/giuseppe-trisciuoglio/developer-kit
Categories
Frontend & UI Code, Backend & APIs
First seen
May 16, 2026

More from giuseppe-trisciuoglio/developer-kit

All 95

Similar to Nextjs App Router

More Frontend & UI Code