Token导航 LogoToken导航TokenDH.com
前端设计敏感数据github未标认证来源可访问许可证需确认审计通过

web-deploy网络部署

Agent Skill

用于辅助云资源、部署、容器、基础设施和运维自动化任务。它适合让 Agent 检查配置、整理部署步骤、分析资源状态、生成排障思路或辅助云服务接入。使用时需要明确目标环境、账号权限、区域和资源组,区分本地测试与生产操作;涉及删除资源、重启服务、修改网络或权限配置时,应先确认影响范围。

总安装

396

周安装

16

GitHub Stars

4

下载量

124
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:web-deploy(网络部署)
来源仓库:https://github.com/alphaonedev/openclaw-graph
仓库路径:skills/web-deploy
安装命令:
npx skills add https://github.com/alphaonedev/openclaw-graph --skill web-deploy
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/alphaonedev/openclaw-graph --skill web-deploy

简介

web-deploy 用于自动化 Web 应用部署至云平台与 CI/CD 流水线。

  • 支持 Cloudflare Pages、Vercel、Docker 等多种目标环境。
  • 可处理构建配置与环境变量注入,简化发布流程。
  • 需区分测试与生产环境,避免配置错误导致服务中断。
  • 部署前应验证构建产物完整性,防止未授权代码上线。

SKILL.md

web-deploy

Purpose

This skill automates deployment of web applications to platforms like Cloudflare Pages/Workers, Vercel, Netlify, Docker, and GitHub Actions CI/CD pipelines. It focuses on streamlining the process from code commit to live deployment, handling configurations, builds, and environment integrations.

When to Use

Use this skill for deploying static sites, serverless functions, or containerized apps. Apply it when setting up CI/CD for frequent updates, migrating projects to cloud platforms, or automating deployments in response to GitHub events. Ideal for web-dev workflows involving version control and cloud services.

Key Capabilities

  • Deploy static sites to Cloudflare Pages using Git integration or CLI.
  • Handle serverless deployments to Cloudflare Workers via API or Wrangler CLI.
  • Automate Vercel deployments with CLI commands and environment variables.
  • Set up Netlify for site builds and deploys using their API or CLI.
  • Containerize applications with Docker and orchestrate CI/CD via GitHub Actions.
  • Manage pipelines that include build steps, testing, and deployment triggers.

Usage Patterns

Follow these patterns to integrate deployments into your workflow:

  • For new projects, initialize with a platform-specific config file (e.g., vercel.json for Vercel).
  • In CI/CD, trigger deployments on pull requests or merges using GitHub Actions workflows.
  • Use environment variables for secrets, like $CLOUDFLARE_API_TOKEN for authentication.
  • Example 1: Deploy a React app to Vercel—Clone repo, run npx vercel in project root, select options, and push changes.
  • Example 2: Set up CI/CD for a Dockerized app—Create a .github/workflows/deploy.yml file with steps to build Docker image and deploy to Netlify via API call.

Common Commands/API

Use these exact commands and APIs for tasks:

  • Cloudflare Pages: Run npx wrangler pages deploy./build --project-name=my-site to deploy a build folder; API endpoint: POST https://api.cloudflare.com/client/v4/accounts/{account_id}/pages/projects/{project_name}/deployments with JSON body {"files": [...]}, auth via $CLOUDFLARE_API_TOKEN.
  • Vercel: Execute npx vercel deploy --prod from project directory; config in vercel.json: {"version": 2, "builds": [{"src": "package.json", "use": "@vercel/node"}]}, auth with $VERCEL_TOKEN.
  • Netlify: Command: netlify deploy --dir=build --prod; API: POST https://api.netlify.com/api/v1/sites/{site_id}/deploys with form data, using $NETLIFY_ACCESS_TOKEN.
  • Docker: Build image with docker build -t my-app:latest.; Push to registry: docker push my-repo/my-app:latest.
  • GitHub Actions: In YAML file, use: run: echo "::set-env name=GITHUB_TOKEN::${{secrets.GITHUB_TOKEN}}" then run: gh workflow run deploy.yml; Example snippet: jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - run: docker build. -t my-app
  • For CI/CD, add workflow triggers: on: [push, pull_request] in .github/workflows/main.yml.

Integration Notes

Integrate by setting environment variables in your CI/CD config, e.g., add env: {API_KEY: ${{secrets.SERVICE_API_KEY}}} in GitHub Actions. For multi-platform setups, use a monorepo with separate configs (e.g., netlify.toml and vercel.json). Link with GitHub by adding webhooks: POST to https://api.github.com/repos/{owner}/{repo}/hooks with JSON payload. Ensure Docker images are tagged correctly for deployments, like docker tag my-app:latest registry.example.com/my-app:1.0. For API integrations, handle rate limits by checking response headers like X-RateLimit-Remaining.

Error Handling

Handle errors by checking exit codes and logs; for CLI commands, use try-catch in scripts (e.g., in Bash: if! npx vercel deploy; then echo "Deployment failed"; exit 1; fi). Common issues: Authentication failures—verify env vars like $CLOUDFLARE_API_TOKEN is set; resolve with export CLOUDFLARE_API_TOKEN=your_key. For API errors, parse responses (e.g., if status code is 429, wait and retry). In GitHub Actions, use continue-on-error: true for non-critical steps, then check outputs. Example snippet for error logging:

try {
  await fetch('https://api.cloudflare.com/...', { headers: { Authorization: `Bearer ${process.env.CLOUDFLARE_API_TOKEN}` } });
} catch (error) {
  console.error('API error:', error.message);
}

Debug deployments by enabling verbose modes, like npx vercel deploy --debug.

Graph Relationships

  • Related to cluster: web-dev (e.g., shares nodes with skills like web-build or api-integration).
  • Connected via tags: deployment (links to ci-cd skills), ci-cd (connects to github-actions tools), cloudflare (associates with web-hosting skills), web (ties to frontend-dev capabilities).

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

36.85%
按下载量换算46

Claude

29.74%
按下载量换算37

Cursor

17.67%
按下载量换算22

Gemini CLI

8.73%
按下载量换算11

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills