Netlify CLI 和部署
技能 已验证 活跃使用 Netlify CLI 和部署站点的指南。适用于安装 CLI、链接站点、部署(基于 Git 或手动)、管理环境变量或运行本地开发。涵盖 netlify dev、netlify deploy、Git 与非 Git 工作流以及环境变量管理。
指导用户有效利用 Netlify CLI 进行站点设置、部署和开发环境配置。
功能
- Netlify CLI 安装和身份验证
- 站点链接和项目设置
- 基于 Git 和手动部署工作流
- 本地开发服务器设置
- 环境变量管理和范围界定
使用场景
- 首次安装 Netlify CLI 时
- 链接本地项目到 Netlify 站点时
- 手动或通过 Git 部署网站时
- 为不同的部署上下文管理环境变量时
- 使用 Netlify 功能设置本地开发环境时
非目标
- 深入探讨 Netlify 集成点之外的具体框架配置
- 管理 Netlify 平台设置(CLI 功能之外)
- 除了基本的基于 Git 的部署触发器之外的高级 CI/CD 管道配置
工作流
- 安装 Netlify CLI
- 使用 Netlify 身份验证
- 链接本地项目到 Netlify 站点
- 配置并执行部署(基于 Git 或手动)
- 管理环境变量
- 设置本地开发环境
先决条件
- Node.js 18.14.0+
Maintenance
- info:Dependency Management该技能依赖 Node.js 和 npm,但没有明确提到这些依赖项的漏洞检查或自动更新机制。
Execution
- info:Pinned dependencies该技能提到了需要 Node.js 18.14.0+,但没有指定 npm 依赖项或 Netlify CLI 本身的固定版本。
- info:Pinned dependencies虽然指定了 Node.js 18.14.0+,但没有详细说明 Netlify CLI 或其他 npm 依赖项的显式固定版本,这可能导致未来更新出现问题。
安装
请先添加 Marketplace
/plugin marketplace add netlify/context-and-tools/plugin install context-and-tools@netlify-context-and-tools质量评分
已验证类似扩展
Github
100Use gh for GitHub issues, PR status, CI/logs, comments, reviews, releases, and API queries.
Cli Creator
100Build a composable CLI for Codex from API docs, an OpenAPI spec, existing curl examples, an SDK, a web app, an admin tool, or a local script. Use when the user wants Codex to create a command-line tool that can run from any repo, expose composable read/write commands, return stable JSON, manage auth, and pair with a companion skill.
Trader Regime
100Detect current market regime using npx neural-trader — bull/bear/ranging/volatile classification with recommended strategy
Setup
100Use first for install/update routing — sends setup, doctor, or MCP requests to the correct OMC setup flow
Project Session Manager
100Worktree-first dev environment manager for issues, PRs, and features with optional tmux sessions
Mcp Setup
100Configure popular MCP servers for enhanced agent capabilities