next
Next.js framework for building React applications with App Router, Server Components, and optimized performance. Use when working with Next.js apps, routing, data fetching, caching, Server Actions, or building full-stack React applications.
What this skill does
Next.js is a React framework for building full-stack web applications. It provides file-system based routing, Server Components, automatic code splitting, image optimization, and built-in performance optimizations. Next.js supports both static site generation (SSG) and server-side rendering (SSR), making it ideal for building modern web applications. > The skill is based on Next.js v16.2.0-canary.16, generated at 2026-01-30. ## Core References | Topic | Description | Reference | |-------|-------------|-----------| | File-System Routing | Routes defined by folder structure, layouts, and pages | [core-routing](references/core-routing.mdx) | | Server and Client Components | Understanding when to use Server vs Client Components | [core-server-client-components](references/core-server-client-components.mdx) | | Navigation | Linking, prefetching, and client-side transitions | [core-navigation](references/core-navigation.mdx) | ## Data Fetching | Topic | Description | Reference | |-------|-------------|-----------| | Server Components | Fetching data in Server Components with fetch, ORMs, and databases | [data-fetching-server](references/data-fetching-server.mdx) | | Client Components | Fetching data in Client Components with use hook and third-party libraries | [data-fetching-client](references/data-fetching-client.mdx) | | Streaming | Streaming data and components with Suspense and loading.tsx | [data-streaming](references/data-streaming.mdx) | ## Caching and Revalidation | Topic | Description | Reference | |-------|-------------|-----------| | Caching Strategies | Caching fetch requests, cache tagging, and revalidation | [caching-revalidation](references/caching-revalidation.mdx) | ## Server Actions | Topic | Description | Reference | |-------|-------------|-----------| | Server Functions | Creating and using Server Actions for data mutations | [server-actions](references/server-actions.mdx) | ## File Conventions | Topic | Description | Reference | |-------|-------------|-----------| | Dynamic Routes | Dynamic segments, catch-all routes, and route parameters | [file-conventions-dynamic-routes](references/file-conventions-dynamic-routes.mdx) | | Loading and Error | Handling loading states and errors with loading.tsx and error.tsx | [file-conventions-loading-error](references/file-conventions-loading-error.mdx) | ## API Reference | Topic | Description | Reference | |-------|-------------|-----------| | Built-in Components | Link, Image, Script, and Font components | [api-components](references/api-components.mdx) |
Related in Web Dev
generating-lwc-components
IncludedLightning Web Components with PICKLES methodology and 165-point scoring. Use this skill when the user creates or edits LWC components, builds wire service patterns, or writes Jest tests for LWC. TRIGGER when: user creates/edits LWC components, touches lwc/**/*.js, .html, .css, .js-meta.xml files, or asks about wire service, SLDS, or Jest LWC tests. DO NOT TRIGGER when: Apex classes (use generating-apex), Aura components, or Visualforce.
tanstack-query
IncludedManage server state in React with TanStack Query v5. Set up queries with useQuery, mutations with useMutation, configure QueryClient caching strategies, implement optimistic updates, and handle infinite scroll with useInfiniteQuery. Use when: setting up data fetching in React projects, migrating from v4 to v5, or fixing object syntax required errors, query callbacks removed issues, cacheTime renamed to gcTime, isPending vs isLoading confusion, keepPreviousData removed problems.
document-processor-api
IncludedProcess documents with Nutrient DWS. Use when the user wants to generate PDFs from HTML or URLs, convert Office/images/PDFs, assemble or split packets, OCR scans, extract text/tables/key-value pairs, redact PII, watermark, sign, fill forms, optimize PDFs, or produce compliance outputs like PDF/A or PDF/UA. Triggers include convert to PDF, merge these PDFs, OCR this scan, extract tables, redact PII, sign this PDF, make this PDF/A, or linearize for web delivery.
nutrient-document-processing
IncludedProcess documents with Nutrient DWS. Use when the user wants to generate PDFs from HTML or URLs, convert Office/images/PDFs, assemble or split packets, OCR scans, extract text/tables/key-value pairs, redact PII, watermark, sign, fill forms, optimize PDFs, or produce compliance outputs like PDF/A or PDF/UA. Triggers include convert to PDF, merge these PDFs, OCR this scan, extract tables, redact PII, sign this PDF, make this PDF/A, or linearize for web delivery.
tanstack-query
IncludedManage server state in React with TanStack Query v5. Covers useMutationState, simplified optimistic updates, throwOnError, network mode (offline/PWA), and infiniteQueryOptions. Use when setting up data fetching, fixing v4→v5 migration errors (object syntax, gcTime, isPending, keepPreviousData), or debugging SSR/hydration issues with streaming server components.
accelint-nextjs-best-practices
IncludedNext.js performance optimization and best practices. Use when writing Next.js code (App Router or Pages Router); implementing Server Components, Server Actions, or API routes; optimizing RSC serialization, data fetching, or server-side rendering; reviewing Next.js code for performance issues; fixing authentication in Server Actions; or implementing Suspense boundaries, parallel data fetching, or request deduplication.