netlify avatar

Netlify Deploy

Handles the full Netlify deployment flow through their CLI, from checking authentication status to pushing sites live. It walks through linking existing sites or spinning up new ones, detects your framework from package.json when possible, and defaults to preview deploys so you can test before going to production. The authentication pattern is sensible: checks if you're logged in, prompts for browser OAuth if not, falls back to API tokens. One thing to appreciate is how it handles the netlify.toml detection and prompts for build settings when the config is missing. Useful when you want to deploy without leaving your editor or need to automate Netlify pushes from an AI workflow.

skills.sh installs
3.7K
GitHub stars
51
last updated
Aug 21, 2026

Install

$ npx -y skills add netlify/context-and-tools --skill netlify-deploy --agent claude-code

Installs into .claude/skills of the current project.

Files

Netlify deploy

Modern CLI

netlify deploy              # manual draft deploy (no CI)
netlify deploy --prod       # deploy straight to production
netlify create              # new project from a natural-language prompt
netlify deploy --allow-anonymous   # temp project, claim within 1 hour
npm update -g netlify-cli   # skew protection needs 23.11.0+

A deploy is a versioned, atomic snapshot: Netlify uploads only changed files and switches the live site only after all files land — the site is never in an inconsistent state. A deploy can be a preview or a production version served at your primary domain.

Continuous deployment vs manual deploys: Deploy with Git and the Netlify CLI support continuous deployment — a push auto-triggers a build. Drag and drop and the API create one-off manual deploys. Manual deploys (netlify deploy) do not run a build command; drag-and-drop while logged in is the only exception (framework auto-detected).

⚠ When linking or creating a site, add .netlify to .gitignore. Every linking path writes .netlify/state.json, which must not be committed.

Ways to create a deploy

Sponsors

Details

Repository
github.com/netlify/context-and-tools
Categories
Backend & APIs, DevOps & CI/CD, Git & Pull Requests, Release Management, Debugging, Cloud & Infrastructure, CLI & Terminal
First seen
Jun 3, 2026

More from netlify/context-and-tools

All 14
1huggingface avatarhf-clihuggingface/skillsHugging Face Hub CLI (`hf`) for downloading, uploading, and managing models, datasets, spaces, buckets, repos, papers, jobs, and more on the Hugging Face Hub. U3.6Kskills.sh installs
2dotnet avatartemplate-comparisondotnet/skillsCompares two or more dotnet new templates side by side to help users choose between them based on parameters, feature support, frameworks, and classifications. 3.5Kskills.sh installs
3resciencelab avatarredditresciencelab/opc-skillsSearch and retrieve content from Reddit. Get posts, comments, subreddit info, and user profiles via the public JSON API. Use when user mentions Reddit, a subred3.5Kskills.sh installs
4getsentry avatarsentry-node-sdkgetsentry/sentry-for-aiFull Sentry SDK setup for Node.js, Bun, and Deno. Use when asked to "add Sentry to Node.js", "add Sentry to Bun", "add Sentry to Deno", "install @sentry/node", 3.4Kskills.sh installs
5netlify avatarnetlify-frameworksnetlify/context-and-toolsGuide for deploying web frameworks on Netlify. Use when setting up a framework project (Vite/React, Astro, TanStack Start, Next.js, Nuxt, SvelteKit, Remix) for 3.4Kskills.sh installs
6valyuai avatarvalyu-best-practicesvalyuai/skillsComplete Valyu API toolkit for AI agents. Use this skill when asked to perform real-time search across web, academic, medical, transportation, financial sources3.4Kskills.sh installs