Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
netlify avatar

Netlify Frameworks

  • 1.4k installs
  • 31 repo stars
  • Updated August 4, 2026
  • netlify/context-and-tools

Netlify Frameworks is a Claude Code skill that configures framework adapters, plugins, and build settings for deploying Vite, Astro, Next.js, Nuxt, SvelteKit, or Remix projects to Netlify for developers who need correct

About

Netlify Frameworks is an agent skill from netlify/context-and-tools that explains how major JavaScript frameworks map onto Netlify deployment. Netlify supports any framework producing static output; frameworks with SSR, API routes, or middleware require an adapter or plugin that translates server-side code into Netlify Functions and Edge Functions. The skill covers Vite/React, Astro, TanStack Start, Next.js, Nuxt, SvelteKit, and Remix—what each framework must expose and which Netlify adapter handles server rendering. Developers reach for Netlify Frameworks when initial Netlify deploys fail, SSR routes misbehave, or build settings need framework-specific netlify.toml, plugin, or adapter configuration.

  • Detects framework from config files (astro.config, next.config, nuxt.config, vite.config, svelte.config, app.config)
  • Explains exactly what each framework adapter writes to .netlify/v1/ during build
  • Covers SSR, API routes, middleware, Edge Functions and static output requirements
  • Provides framework-specific local dev and deployment patterns
  • Troubleshooting guide for framework-specific Netlify integration issues

Netlify Frameworks by the numbers

  • 1,441 all-time installs (skills.sh)
  • +119 installs in the week ending Aug 4, 2026 (Skillselion tracking)
  • Ranked #154 of 1,435 DevOps & CI/CD skills by installs in the Skillselion catalog
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
npx skills add https://github.com/netlify/context-and-tools --skill netlify-frameworks

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs1.4k
repo stars31
Last updatedAugust 4, 2026
Repositorynetlify/context-and-tools

How do you deploy Next.js SSR to Netlify correctly?

Correctly configure framework adapters, plugins, and build settings when deploying Vite, Astro, Next.js, Nuxt, SvelteKit or Remix projects to Netlify.

Who is it for?

Frontend and full-stack developers deploying SSR-capable JavaScript frameworks to Netlify who need adapter and plugin guidance per framework.

Skip if: Teams deploying exclusively to Vercel, AWS, or Docker without Netlify, or static HTML sites with no framework SSR requirements.

When should I use this skill?

User deploys Vite, Astro, Next.js, Nuxt, SvelteKit, or Remix to Netlify and needs adapter, plugin, or build troubleshooting.

What you get

Correct netlify.toml settings, framework adapter config, and Netlify Functions or Edge Functions mappings for production deploys.

  • netlify.toml configuration
  • adapter plugin setup
  • SSR function mappings

Files

SKILL.mdMarkdownGitHub ↗

Frameworks on Netlify

Netlify supports any framework that produces static output. For frameworks with server-side capabilities (SSR, API routes, middleware), an adapter or plugin translates the framework's server-side code into Netlify Functions and Edge Functions automatically.

How It Works

During build, the framework adapter writes files to .netlify/v1/ — functions, edge functions, redirects, and configuration. Netlify reads these to deploy the site. You do not need to write Netlify Functions manually when using a framework adapter for server-side features.

Detecting Your Framework

Check these files to determine the framework:

FileFramework
astro.config.*Astro
next.config.*Next.js
nuxt.config.*Nuxt
vite.config.* + react-routerVite + React (SPA or Remix)
app.config.* + @tanstack/react-startTanStack Start
svelte.config.*SvelteKit

Framework Reference Guides

Each framework has specific adapter/plugin requirements and local dev patterns:

  • Vite + React (SPA or with server routes): See references/vite.md
  • Astro: See references/astro.md
  • TanStack Start: See references/tanstack.md
  • Next.js: See references/nextjs.md

General Patterns

Client-Side Routing (SPA)

For single-page apps with client-side routing, add a catch-all redirect:

# netlify.toml
[[redirects]]
from = "/*"
to = "/index.html"
status = 200

Custom 404 Pages

  • Static sites: Create a 404.html in your publish directory. Netlify serves it automatically for unmatched routes.
  • SSR frameworks: Handle 404s in the framework's routing (the adapter maps this to Netlify's function routing).

Environment Variables in Frameworks

Each framework exposes environment variables to client-side code differently:

FrameworkClient prefixAccess pattern
Vite / ReactVITE_import.meta.env.VITE_VAR
AstroPUBLIC_import.meta.env.PUBLIC_VAR
Next.jsNEXT_PUBLIC_process.env.NEXT_PUBLIC_VAR
NuxtNUXT_PUBLIC_useRuntimeConfig().public.var

Server-side code in all frameworks can access variables via process.env.VAR or Netlify.env.get("VAR").

Related skills

FAQ

Which frameworks does Netlify Frameworks cover?

Netlify Frameworks covers Vite/React, Astro, TanStack Start, Next.js, Nuxt, SvelteKit, and Remix. It explains what Netlify needs from each framework and how adapters translate SSR, API routes, and middleware into Netlify Functions or Edge Functions.

When does a framework need a Netlify adapter?

Netlify Frameworks notes that static-output frameworks deploy directly, but frameworks with SSR, API routes, or middleware require an adapter or plugin. The adapter converts server-side code into Netlify Functions and Edge Functions automatically.

DevOps & CI/CDdevopsintegrations

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.