Agent Skills

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.

Install

npx skills add https://github.com/hairyf/skills --skill next
SKILL.md

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
Server and Client Components Understanding when to use Server vs Client Components core-server-client-components
Navigation Linking, prefetching, and client-side transitions core-navigation

Data Fetching

Topic Description Reference
Server Components Fetching data in Server Components with fetch, ORMs, and databases data-fetching-server
Client Components Fetching data in Client Components with use hook and third-party libraries data-fetching-client
Streaming Streaming data and components with Suspense and loading.tsx data-streaming

Caching and Revalidation

Topic Description Reference
Caching Strategies Caching fetch requests, cache tagging, and revalidation caching-revalidation

Server Actions

Topic Description Reference
Server Functions Creating and using Server Actions for data mutations server-actions

File Conventions

Topic Description Reference
Dynamic Routes Dynamic segments, catch-all routes, and route parameters file-conventions-dynamic-routes
Loading and Error Handling loading states and errors with loading.tsx and error.tsx file-conventions-loading-error

API Reference

Topic Description Reference
Built-in Components Link, Image, Script, and Font components api-components

Related skills

vercel-react-best-practicesvercel-labs751KReact and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.vercel-composition-patternsvercel-labs361KReact composition patterns that scale. Use when refactoring components with boolean prop proliferation, building flexible component libraries, or designing reusable APIs. Triggers on tasks involving compound components, render props, context providers, or component architecture. Includes React 19 API changes.vercel-react-view-transitionsvercel-labs135KGuide for implementing smooth, native-feeling animations using React's View Transition API (`<ViewTransition>` component, `addTransitionType`, and CSS view transition pseudo-elements). Use this skill whenever the user wants to add page transitions, animate route changes, create shared element animations, animate enter/exit of components, animate list reorder, implement directional (forward/back) navigation animations, or integrate view transitions in Next.js. Also use when the user mentions viewpick-ui-libraryemilkowalski124KPick the right library for a given frontend task from a curated, opinionated list — numbers, OTP inputs, charts, command menus, virtualization, drag and drop, toasts, state, styling, and more. Only runs when explicitly invoked; it does not trigger on its own.

Search skills and MCP servers

Fuzzy search across 23,137 skills and servers