netlify-deploy

Deploy Netlify sites from local projects using the Netlify CLI.

Updated Mar 17, 2026
One-click install
npx skills add https://github.com/jaypatrick/skills --skill netlify-deploy-jaypatrick
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: netlify-deploy
Source: https://github.com/jaypatrick/skills/tree/main/netlify-deploy
Command: npx skills add https://github.com/jaypatrick/skills --skill netlify-deploy-jaypatrick

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Automates end-to-end Netlify deployments from a local project by handling authentication, site linking/creation, and deployment workflows to reduce manual steps and errors.

Core Features & Use Cases

  • Authentication flow with Netlify CLI (browser-based login or API token)
  • Link to an existing Netlify site or create a new one via netlify init
  • Auto-detect project configuration and framework to choose publish directory
  • Deploy previews for testing and production deploys for live sites
  • Support for netlify.toml configuration and monorepo/base directory setups

Quick Start

Authenticate with Netlify, link to or create a site, install dependencies, and deploy with the Netlify CLI

Frequently Asked Questions about netlify-deploy

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I deploy a local project to Netlify using the CLI?

To deploy a local project to Netlify, authenticate via browser or API token, link to an existing site or create a new one, and run the Netlify CLI to execute preview or production deployments. The CLI auto-detects your framework and publish directory.

What authentication methods does the Netlify CLI support for deployment?

Netlify CLI deployment supports two authentication methods: browser-based login and API token. You must establish an authenticated session before linking your local project to a Netlify site and executing production or preview deployments.

Can I deploy a monorepo or project with a custom base directory to Netlify?

Yes, you can deploy monorepos or projects with custom base directories to Netlify. The deployment process supports netlify.toml configuration and monorepo setups, allowing the CLI to correctly identify the publish directory within complex project structures.

Does the Netlify CLI support preview deployments for testing?

Yes, the Netlify CLI supports preview deployments for testing. You can deploy previews to validate changes before pushing production deploys to your live site, ensuring your build works correctly within the auto-detected project configuration.

Do I need a Git repository to initialize a new Netlify site?

To initialize a new Netlify site, you need access to a Git repository or Netlify account for site provisioning. The CLI requires a local project with Netlify CLI installed and an authenticated session to link or create the site.