netlify-deploy

Automate Netlify deployments via CLI with build detection and preview URLs.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill automates the repetitive and error-prone process of deploying web projects to Netlify by handling CLI authentication, site linking or creation, framework and build detection, dependency checks, and the actual preview or production upload so users get reliable publish results without manual step-by-step CLI troubleshooting.

Core Features & Use Cases

  • Authentication checks: Verifies Netlify CLI login status and guides the user to login or use NETLIFY_AUTH_TOKEN when needed.
  • Site linking and creation: Links by Git remote when possible or initializes a new Netlify site interactively.
  • Build detection and deployment: Detects framework settings or netlify.toml, installs dependencies, runs builds, and performs preview or production deploys.
  • Reporting and troubleshooting: Returns deploy preview and production URLs, points to logs and dashboard links, and surfaces build errors or publish directory issues.
  • Use Case: Publish a local React or Next.js project to Netlify, obtain a preview URL for testing, then promote to production after verification.

Quick Start

Deploy this project to Netlify using the Netlify CLI, link or create a site if needed, run the appropriate build, and return the deploy preview URL and any build errors.

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 repository to Netlify using the CLI?

You can deploy a local project to Netlify by linking your Git remote or initializing a new site, then letting the Skill detect framework settings, install dependencies, run builds, and execute the preview or production upload via the Netlify CLI.

Can I automate Netlify deployments in a CI environment?

Yes, you can automate Netlify deployments in CI contexts by providing a NETLIFY_AUTH_TOKEN for authentication, allowing the Skill to handle site linking, dependency installation, and production uploads without interactive login.

Do I need a Netlify account to publish sites with this deployment automation?

Yes, publishing sites requires an authenticated Netlify account or a NETLIFY_AUTH_TOKEN, along with Netlify CLI access via npx and outbound network access to successfully complete builds and uploads.

What is the best way to get a preview URL before promoting a build to production?

The best way to get a preview URL is to perform a preview deploy, which builds your project and returns a dedicated testing URL along with dashboard links before you promote the build to production.

Why does my Netlify site deployment fail with publish directory issues?

Netlify site deployment fails with publish directory issues when framework detection or build settings are misconfigured; the Skill surfaces these build errors and points to logs to help troubleshoot the publish directory.