Technical & DevelopmentIntermediate
netlify-cli-and-deploy
CLI setup, local dev, and deployment workflows
Developer Setup
Setup & Installation
bash
npx skills add https://github.com/netlify/context-and-tools --skill netlify-cli-and-deploynpx skills add https://github.com/netlify/context-and-tools --skill netlify-cli-and-deployOr paste this URL into your assistant to install:
Overview
What This Skill Does
Covers the Netlify CLI for site setup, deployment, and local development. Handles both Git-based continuous deployment and manual deploy workflows, plus environment variable management across deploy contexts.
Application
When to use this Skill
- Configuring integration settings for custom agent workflows.
- Optimizing query execution and response latency in production.
- Developing clean, standard-compliant implementations for enterprise services.
- Troubleshooting connection timeouts and authentication handshakes.
- Monitoring API rate limits and execution pipelines programmatically.
Documentation
Show Skills.md file
Netlify CLI and Deployment
Installation
npm install -g netlify-cli # Global (for local dev)
npm install netlify-cli -D # Local (for CI)
Requires Node.js 18.14.0+.
Authentication
netlify login # Opens browser for OAuth
netlify status # Check auth + linked site status
For CI, set NETLIFY_AUTH_TOKEN environment variable instead.
Linking a Site
Check if already linked with netlify status. If not:
# Interactive
netlify link
# By Git remote (if using Git)
netlify link --git-remote-url https://github.com/org/repo
# Create new site
netlify init # With Git CI/CD setup
netlify init --manual # Without Git CI/CD
Lines 1 - 35 of 146
Recommendations