aceternity-ui
100+ animated React components (Aceternity UI) for Next.js with Tailwind. Use for hero sections, parallax, 3D effects, or…
Next.js 16 with App Router, Server Components, Server Actions, Cache Components. Use for React 19.2 apps, SSR, or encountering async params, proxy.ts migration, use cache errors.
Claude Code
$ npx -y skills add secondsky/claude-skills --skill nextjs --agent claude-code
Codex
$ npx skills add secondsky/claude-skills --skill nextjs -a codex -y
Cursor
$ npx skills add secondsky/claude-skills --skill nextjs -a cursor -y
Gemini CLI
$ npx skills add secondsky/claude-skills --skill nextjs -a gemini-cli -y
GitHub Copilot
$ npx skills add secondsky/claude-skills --skill nextjs -a github-copilot -y
OpenCode
$ npx skills add secondsky/claude-skills --skill nextjs -a opencode -y
Windsurf
$ npx skills add secondsky/claude-skills --skill nextjs -a windsurf -y
name: nextjs
description: "Next.js 16 with App Router, Server Components, Server Actions, Cache Components. Use for React 19.2 apps, SSR, or encountering async params, proxy.ts migration, use cache errors."
license: MIT
metadata:
version: 1.0.0
last_verified: 2025-11-21
nextjs_version: 16.2.0
react_version: 19.2.0
node_version: 20.9+
author: Claude Skills Maintainers
repository: https://github.com/secondsky/claude-skills
production_tested: true
token_savings: 65-70%
errors_prevented: 18+
keywords:
- Next.js 16
- Next.js App Router
- Next.js Pages Router
- Server Components
- React Server Components
- Server Actions
- Cache Components
- use cache
- Next.js 16 breaking changes
- async params nextjs
- proxy.ts migration
- React 19.2
- Next.js metadata
- Next.js SEO
- generateMetadata
- static generation
- dynamic rendering
- streaming SSR
- Suspense
- parallel routes
- intercepting routes
- route groups
- Next.js middleware
- Next.js API routes
- Route Handlers
- revalidatePath
- revalidateTag
- next/navigation
- useSearchParams
- turbopack
- next.config
allowed-tools: ["Read", "Write", "Edit", "Bash", "Glob", "Grep"]**Version**: Next.js 16.2.0 **React Version**: 19.2.0 **Node.js**: 20.9+ **Last Verified**: 2025-11-21
1. [When to Use This Skill](#when-to-use-this-skill) 2. [When NOT to Use This Skill](#when-not-to-use-this-skill) 3. [Next.js 16 Breaking Changes](#nextjs-16-breaking-changes) 4. [Cache Components & Caching APIs](#cache-components--caching-apis) 5. [Server Components](#server-components) 6. [Server Actions](#server-actions) 7. [Route Handlers](#route-handlers) 8. [React 19.2 Features](#react-192-features) 9. [Metadata API](#metadata-api) 10. [Image & Font Optimization](#image--font-optimization) 11. [Top 5 Critical Errors](#top-5-critical-errors) 12. [Performance Patterns](#performance-patterns) 13. [TypeScript Configuration](#typescript-configuration)
---
Use this skill when you need:
Do NOT use this skill for:
---
**CRITICAL**: Next.js 16 has multiple breaking changes. For detailed migration steps, see `references/next-16-migration-guide.md`.
| Breaking Change | Before | After | |-----------------|--------|-------| | **Async params** | `params.slug` | `const { slug } = await params` | | **Async headers** | `cookies()` sync | `await cookies()` | | **Middleware** | `middleware.ts` | `proxy.ts` (renamed) | | **Parallel routes** | `default.js` optional | `default.js` **required** | | **Caching** | Auto-cached fetch | Opt-in with `"use cache"` | | **revalidateTag()** | 1 argument | 2 arguments (tag + cacheLife) | | **Node.js** | 18.x+ | **20.9+** required | | **React** | 18.x | **19.2+** required |
**Quick Fix for Async Params**:
// ✅ Next.js 16 pattern
export default async function Page({ params }: { params: Promise<{ id: string }> }) {
const { id } = await params
return <div>{id}</div>
}**Codemod**: `bunx @next/codemod@canary upgrade latest`
**See**: `references/next-16-migration-guide.md` for complete migration guide with examples.
---
'use cache'
export async function BlogPosts() {
const posts = await db.posts.findMany()
return posts.map(post => <article key={post.id}>{post.title}</article>)
}| API | Purpose | Example | |-----|---------|---------| | `"use cache"` | Opt-in component/function caching | `'use cache'` at top | | `revalidateTag()` | Invalidate by tag | `revalidateTag('posts', 'max')` | | `updateTag()` | Update cache without revalidation | `updateTag('posts', newData)` | | `refresh()` | Refresh current page | `refresh()` | | `revalidatePath()` | Invalidate by path | `revalidatePath('/posts')` |
// next.config.ts const
145 production-ready skills for Claude Code CLI 🔌 Platform / Harness Support These plugins ship as Claude Code marketplace plugins (.claude-plugin/ manifests) and Codex CLI plugins (.codex-plugin/ manifests).
100+ animated React components (Aceternity UI) for Next.js with Tailwind. Use for hero sections, parallax, 3D effects, or…
Secure API authentication with JWT, OAuth 2.0, API keys. Use for authentication systems, third-party integrations,…
Creates comprehensive API changelogs documenting breaking changes, deprecations, and migration strategies for API consumers. Use…
Verifies API contracts between services using consumer-driven contracts, schema validation, and tools like Pact. Use when testing…
Master REST and GraphQL API design principles to build intuitive, scalable, and maintainable APIs that delight developers. Use…
Implements standardized API error responses with proper status codes, logging, and user-friendly messages. Use when building…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.