← 返回 Skills 市场
martc03

Site Deployer

作者 Martin · GitHub ↗ · v1.0.0
cross-platform ⚠ suspicious
313
总下载
0
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install site-deployer
功能描述
Deploy Next.js sites to Netlify with approval gates. Supports soilrichbyjohn.com and Synergy salon.
使用说明 (SKILL.md)

Site Deployer

Deploy and manage Next.js websites on Netlify from your phone.

Sites

Site Domain Repo
soilrich soilrichbyjohn.com ~/soilrich-website
synergy Synergy salon ~/synergy-website

Commands

deploy [site]

Build and deploy a site to Netlify. Requires explicit user approval before executing.

deploy soilrich
deploy synergy

Execution steps:

  1. cd ~/[site]-website && git pull
  2. npm run build
  3. netlify deploy --prod
  4. Log result to Notion "Deploy History" database

deploy status [site]

Check the current deployment status on Netlify.

deploy status soilrich

Runs netlify status in the site's repo directory.

deploy rollback [site]

Rollback to the previous deployment. Requires explicit user approval.

deploy rollback soilrich

Uses netlify rollback to revert to the previous production deploy.

deploy logs [site]

Show recent deploy logs from Netlify.

deploy logs synergy

Runs netlify deploy --json | jq '.[-5:]' to show the last 5 deploys.

Approval Gate

All deploy and rollback commands require the user to confirm before executing. The agent must:

  1. Present a summary of what will be deployed (site name, current branch, latest commit)
  2. Wait for explicit "yes" or "confirm" response
  3. Only then execute the deploy

Notion Integration

After each deploy, create an entry in the "Deploy History" database:

  • Deploy: Short description of what was deployed
  • Site: soilrich or synergy
  • Status: Success, Failed, or Rolled Back
  • Timestamp: Current date/time
  • CommitHash: Git commit SHA that was deployed
  • Notes: Any relevant details

Setup

Requires Netlify CLI authenticated:

npm install -g netlify-cli
netlify login
安全使用建议
This skill mostly does what its name says (build and run Netlify deploys from local repos), but there are gaps you should resolve before installing: - Confirm how Notion logging is supposed to work: the SKILL.md says it will create entries in a 'Deploy History' database but the skill does not declare a Notion API token or network permission for notion.so. Ask the author where the Notion credential is expected to come from (env var, platform secret, or interactive prompt). Do not provide your Notion token until this is clarified. - Verify Netlify credentials: the SKILL.md expects netlify-cli login. That stores credentials locally; ensure you want the agent to use your Netlify account and that the platform will enforce the approval gate before running commands that affect production. - Check declared permissions vs registry metadata: the SKILL.md requests file access to ~/soilrich-website and ~/synergy-website and uses tools like jq, but the registry metadata shows no required env vars and no required binaries. Ask the publisher to update metadata so the platform can present accurate permission prompts. - Confirm availability of needed tools: logs flow uses jq but jq is not listed in commands; ensure jq is present or the instruction is adjusted. - Treat rollback as destructive: the skill runs netlify rollback. Keep the explicit user-approval requirement and consider restricting who can confirm rollbacks. If you can't get satisfactory answers to the above, run the skill in a restricted environment (or remove the Notion logging step) until the author fixes the mismatches.
功能分析
Type: OpenClaw Skill Name: site-deployer Version: 1.0.0 The OpenClaw AgentSkills skill bundle is classified as benign. Its purpose is clearly defined as deploying Next.js sites to Netlify, with scoped file and network permissions (`~/soilrich-website`, `~/synergy-website`, `api.netlify.com`, `github.com`). Critical actions like `deploy` and `rollback` explicitly require user approval, which is a strong security measure against prompt injection or accidental execution. The only minor oversight is the use of `jq` in the `deploy logs` command without it being explicitly listed in the `commands` permissions, but this is a functional dependency for log filtering and does not indicate malicious intent or a security vulnerability in this context.
能力评估
Purpose & Capability
The skill's name/description (deploy Next.js sites to Netlify) aligns with the runtime steps (git pull, npm run build, netlify deploy) and the declared SKILL.md permissions for file access and Netlify/GitHub network access. However the SKILL.md also requires writing a record to Notion, which is not reflected anywhere else (no Notion host in network permissions, no Notion API token declared), creating an unexplained capability.
Instruction Scope
Runtime instructions ask the agent to cd into user home repos, run git/npm/netlify commands and perform rollbacks — these are expected for a deploy skill and the SKILL.md explicitly requires user approval for deploy/rollback. But the instructions reference additional external actions/tools without justification or declaration (posting to Notion, using jq for log parsing) and request file access to specific home directories; the skill does not declare how Notion will be authenticated or where jq comes from.
Install Mechanism
This is an instruction-only skill with no install spec or code files, which minimizes installation risk. The SKILL.md does reference installing netlify-cli via npm globally, but that is an expected, optional setup step and not bundled into an install script here.
Credentials
Registry metadata shows no required env vars/credentials, yet the SKILL.md expects Netlify CLI authentication (which is typically stored locally) and integration with Notion (which requires an API token). Notion credentials (or any mechanism to supply them) are not declared, and the instruction uses network hosts but omits notion.so and jq, indicating missing or mismatched credential and tool declarations.
Persistence & Privilege
The skill is user-invocable and not always-enabled; it does not request permanent/always-on presence or modifications to other skills. That scope is appropriate for a deploy helper.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install site-deployer
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /site-deployer 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release: Deploy and manage Next.js sites to Netlify with approval gates. - Supports deployments for soilrichbyjohn.com and Synergy salon. - Adds user approval gates for deploy and rollback commands, with summary prompts. - Integrates with Notion to log deploy activity, status, and commit details. - Provides commands for deploy, deploy status, rollback, and fetching deploy logs. - Requires Netlify CLI setup and permissions for git, npm, npx, and remote access.
元数据
Slug site-deployer
版本 1.0.0
许可证
累计安装 1
当前安装数 1
历史版本数 1
常见问题

Site Deployer 是什么?

Deploy Next.js sites to Netlify with approval gates. Supports soilrichbyjohn.com and Synergy salon. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 313 次。

如何安装 Site Deployer?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install site-deployer」即可一键安装,无需额外配置。

Site Deployer 是免费的吗?

是的,Site Deployer 完全免费(开源免费),可自由下载、安装和使用。

Site Deployer 支持哪些平台?

Site Deployer 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Site Deployer?

由 Martin(@martc03)开发并维护,当前版本 v1.0.0。

💬 留言讨论