Next.js - Fullstack React Framework

VerifiedSafe

Provides guidance on Next.js framework patterns including file-based routing, SSR/SSG, API routes, and middleware. Helps when building fullstack React applications, configuring server-side rendering, or deploying Next.js projects.

Sby Skills Guide Bot
DevelopmentIntermediate
6/2/2026
Claude CodeCursorWindsurfCopilotCodex
#nextjs#react#ssr#fullstack#typescript

Recommended for

Automated summary

Provides patterns and best practices for building fullstack React applications with Next.js, covering routing, SSR/SSG, API routes, middleware, and deployment.

Strengths

  • Structured guidance on file-based routing and dynamic routes.
  • Recommends Server Components for data fetching to optimize performance.
  • Covers rendering strategies (SSR, SSG, ISR) and deployment considerations.
  • Addresses edge cases like incremental static regeneration and middleware limitations.

Limitations

  • Tied to Next.js 13-14; earlier or later versions may differ.
  • Does not cover advanced third-party integrations.
  • Assumes prior knowledge of React and TypeScript.
When to use it

Use this skill when building or deploying Next.js applications, especially for configuring routing, SSR/SSG, or middleware.

When not to use it

Avoid if using a different React framework (Gatsby, Remix) or a Next.js version outside the 13-14 range.

Security analysis

Safe
Quality score85/100

The skill provides only instructional content about Next.js best practices. It does not execute any code or contain dangerous commands, and the allowed tools (documentation-reader, web-search) are read-only and low-risk.

No concerns found

How this analysis is made

Examples

Setting up dynamic routes with SSR
I need to create a blog with dynamic post pages using Next.js 13 App Router. Show me how to implement SSR with `getServerSideProps` equivalent in the App Router, including loading state and error handling.
Configuring middleware for authentication
In my Next.js 14 app, I want to protect certain routes using middleware. Provide a complete example of middleware that checks for an authentication cookie and redirects unauthenticated users to a login page.
Implementing incremental static regeneration
I have a Next.js page that displays product data from an external API. I want to use ISR to revalidate every hour. Show me how to implement this with `revalidate` and handle fallback states.

name: next description: "Next.js framework patterns and best practices for fullstack React applications. Routing, SSR/SSG, API routes, middleware, deployment. Trigger: When building with Next.js, configuring SSR/SSG, or deploying Next.js apps." skills:

  • conventions
  • react
  • typescript
  • architecture-patterns
  • humanizer dependencies: next: ">=13.0.0 <15.0.0" react: ">=18.0.0 <19.0.0" allowed-tools:
  • documentation-reader
  • web-search

Next.js Skill

When to Use

  • Building React apps with SSR/SSG
  • Implementing API routes or middleware
  • Deploying fullstack React projects

Critical Patterns

  • Use file-based routing and dynamic routes
  • Prefer server components for data fetching
  • Leverage middleware for auth and rewrites

Decision Tree

  • SSR/SSG needed? → Use getServerSideProps/getStaticProps
  • API needed? → Use /pages/api or app/api
  • Custom routing? → Use dynamic routes

Edge Cases

  • Incremental static regeneration
  • Middleware edge limitations
  • API route cold starts

From the file to a first result

The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.

View the source and supporting files

This download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.

1. Download the file

Download SKILL.md

From the root of a test project, save the file as .skill-downloads/next-js-fullstack-react-framework-mm5t8axe/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.

Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.

mkdir -p '.skill-downloads/next-js-fullstack-react-framework-mm5t8axe' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/next-js-fullstack-react-framework-mm5t8axe/download' --output '.skill-downloads/next-js-fullstack-react-framework-mm5t8axe/SKILL.md.part' && mv '.skill-downloads/next-js-fullstack-react-framework-mm5t8axe/SKILL.md.part' '.skill-downloads/next-js-fullstack-react-framework-mm5t8axe/SKILL.md'

2. Check prerequisites

Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.

No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.

The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.

3. Load the skill

After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.

Claude Code
test -f '.skill-downloads/next-js-fullstack-react-framework-mm5t8axe/SKILL.md' && test -s '.skill-downloads/next-js-fullstack-react-framework-mm5t8axe/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/next' && cp -R '.skill-downloads/next-js-fullstack-react-framework-mm5t8axe' '.claude/skills/next'

Cursor
test -f '.skill-downloads/next-js-fullstack-react-framework-mm5t8axe/SKILL.md' && test -s '.skill-downloads/next-js-fullstack-react-framework-mm5t8axe/SKILL.md' && mkdir -p '.cursor/skills' && test ! -e '.cursor/skills/next' && cp -R '.skill-downloads/next-js-fullstack-react-framework-mm5t8axe' '.cursor/skills/next'

Codex
test -f '.skill-downloads/next-js-fullstack-react-framework-mm5t8axe/SKILL.md' && test -s '.skill-downloads/next-js-fullstack-react-framework-mm5t8axe/SKILL.md' && mkdir -p '.agents/skills' && test ! -e '.agents/skills/next' && cp -R '.skill-downloads/next-js-fullstack-react-framework-mm5t8axe' '.agents/skills/next'

OpenSkills

OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.

Official OpenSkills installation
openskills install './.skill-downloads/next-js-fullstack-react-framework-mm5t8axe'

openskills read 'next-js-fullstack-react-framework-mm5t8axe'

Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.

For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.

openskills sync

Manual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.

4. Try a first task

Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:

Read .skill-downloads/next-js-fullstack-react-framework-mm5t8axe/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.

Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.

Related skills