Guide

Deploy a website to Netlify with an AI agent

To deploy a website to Netlify from chat, install Netlify's first-party netlify-deploy Skill, authenticate the Netlify CLI once, then ask your agent to deploy. The Skill follows Netlify's own conventions — it authenticates, links a site, creates a Deploy Preview, and promotes a production deploy.

It is part of Netlify's official netlify/context-and-tools Skills bundle (MIT). It is best for static sites and serverless functions where Deploy Previews and the Netlify CLI matter.

Install

Add the Skill

Full editorial entry, composite score, and license on the netlify-deploy page.

Claude Code

npx skills add netlify/context-and-tools --skill netlify-deploy --yes

Or via plugin: /plugin marketplace add netlify/context-and-tools then /plugin install netlify-skills@netlify-context-and-tools

Step by step

Deploy from chat

  1. 1

    Build the site locally

    Produce a working build with your agent. netlify-deploy ships a build; pair it with a frontend or framework Skill to write the app first.

  2. 2

    Install the Skill and authenticate

    Run the install command above. The Skill drives the Netlify CLI, which needs auth — run netlify login (or let the Skill prompt you) the first time.

  3. 3

    Link a site

    Ask the agent to link the project to a Netlify site, or to create a new one. The Skill records the site ID so subsequent deploys target the right place.

  4. 4

    Create a Deploy Preview

    Ask for a Deploy Preview. Netlify builds the site on a unique preview URL so you can verify it before it goes live — the same flow Netlify uses for pull-request previews.

  5. 5

    Promote to production

    Once the preview looks right, ask the agent to promote the deploy to production. The Skill runs the production deploy and returns the live URL.

What netlify-deploy covers

Deploy vs the rest of the Netlify Skills bundle

SkillJob
netlify-deployAuth, link, Deploy Preview, production promote
netlify-cli-and-deployCLI setup and local dev workflows
netlify-functionsServerless API endpoints and background tasks
netlify-edge-functionsEdge middleware and geolocation logic
netlify-confignetlify.toml site configuration reference

netlify-deploy is the deploy workflow specifically. The wider netlify/context-and-tools bundle adds functions, edge, blobs, forms, image CDN, and config Skills if your site needs them.

FAQ

Common questions

Is netlify-deploy an official Netlify Skill?

Yes. It is published by Netlify in the netlify/context-and-tools repository under the MIT license, so it follows the platform's own deploy conventions rather than a third-party guess at them.

Does it support Deploy Previews?

Yes — creating a Deploy Preview is a core step. The Skill builds the site on a unique preview URL before you promote it to production, the same model Netlify uses for pull-request previews.

Which agents can run netlify-deploy?

It is catalogued as verified for Claude Code, where the Skill marketplace and plugin install paths are documented. SKILL.md is cross-agent, so support may widen — check the skill page for the current list.

Can it deploy serverless functions too?

The deploy step ships whatever your build includes, including Netlify Functions. For authoring functions, pair it with the netlify-functions Skill from the same bundle.

Related

More deploy guides

Browse the full category: Web Hosting & Deploys Skills.