Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

volcengine-deploy

БесплатноЗапускает вложенные скриптыНе проверен

Deploy a local project directory or Git repository to Volcengine as a running, reachable cloud service. USE WHEN: deploy to Volcengine, deploy to 火山引擎/火山…

volcengineот volcengine★ 42 звезды на GitHub1 216 установок в других каталогах

Об этом скилле

Volcengine Deploy Skill

Deploy a local project directory or remote Git URL to Volcengine after the user chooses ECS / VKE / veFaaS and resource management (cli or iac). Keep deployment execution pragmatic: use volcengine-iac only when the user chooses Terraform/IaC or already has an IaC workflow; otherwise use ve CLI plus .volcengine/created-resources.json.


0. Prerequisites

Volcengine authentication is checked by the execution skill you call (volcengine-cli, volcengine-iac, or volcengine-vefaas). Accept either the required AK/SK env vars for that skill or an already configured CLI profile when that skill supports it; do not duplicate their hard env requirements here.

Check tools after the user chooses a path:

Mode Required tools
ECS ve, git, jq, curl; ssh only if the user opens port 22; docker/docker compose only for Docker or compose packaging
VKE ve, docker, kubectl, git, jq, curl
veFaaS switch to/call the volcengine-vefaas skill, which checks vefaas, Node.js, auth, framework detection, and deploy commands

tosutil is optional for ECS artifact transfer and TOS buckets. Do not add it as a hard prerequisite for volcengine-deploy; if it is absent, use SSH/scp when allowed or ask the user for an existing artifact URL.

If the user has not chosen a mode, run volcengine-prepare inline or ask for these decisions:

1. Deployment mode: ECS / VKE / veFaaS (recorded as `ecs` / `vke` / `vefaas`)
2. Resource strategy: new isolated project deploy-<repo>, or reuse existing resources
3. Resource management: CLI resource ledger / Terraform IaC (recorded as `cli` / `iac`)

Persistent local state lives under .volcengine/ in the repo root:

.volcengine/
  deployment-plan.md       # human-readable approval gate
  deploy-choice.json
  created-resources.json   # CLI fast path only
  iac-outputs.json
  terraform/               # IaC-managed resources

Steps

This table is a navigation overview. Detailed rules live in the sections or reference files named in Details.

# Action Details
1 Resolve target — Resolve local path or Git URL; record repo_name, repo_dir, and git_sha. Stage 0
2 Load or choose path — Load .volcengine/deploy-choice.json; if missing, use the volcengine-prepare skill, or ask for mode, resource strategy, and resource management. Stage 0
3 Create plan — Create/update .volcengine/deployment-plan.md in the user's original language. references/deployment-plan-template.md
4 Show resources — Present every resource to create or reuse, such as VPC, ECS, VKE, RDS, Redis, CR, EIP, or dependencies. references/deployment-plan-template.md
5 Validate gate — Require status: validated, populated Validation Proof, and approval: granted with non-empty approval_evidence before provisioning. references/deployment-plan-template.md
6 Dispatch resource management — Use the volcengine-iac skill for Terraform/IaC; otherwise use ve CLI plus .volcengine/created-resources.json. Resource management dispatch
7 Provision resources — Create or reuse resources; append each CLI-created resource to .volcengine/created-resources.json. Resource ledger
8 Wire runtime config — Resolve config and secrets; never print secrets. Environment and Dependency Wiring
9 Execute deployment — Run the selected case: ecs, vke, or use the volcengine-vefaas skill for vefaas. Branch references
10 Verify success — Check public endpoint, health, logs, and one core behavior when possible. Branch references
11 Handle failure — Print reverse-order CLI cleanup commands; never delete reused resources without confirmation. Resource ledger
12 Report result — Print URL, health, acceptance, logs, resource records, cleanup path, and warnings. Deployment summary

1. Stage 0 — Resolve repo and choice

input="${1:-.}"
if &quot;$input&quot; =~ ^(https?|git@); then
  repo_name=$(basename "$input" .git)
  work_dir="/tmp/volcengine-deploy/$repo_name"
  mkdir -p "$work_dir"
  if [ -d "$work_dir/src/.git" ]; then
    git -C "$work_dir/src" pull --ff-only
  else
    git clone --depth 1 "$input" "$work_dir/src"
  fi
  repo_dir="$work_dir/src"
else
  repo_dir=$(cd "${input:-.}" && pwd)
  repo_name=$(basename "$repo_dir")
  work_dir="$repo_dir/.volcengine"
  mkdir -p "$work_dir"
fi
git_sha=$(cd "$repo_dir" && git rev-parse --short HEAD 2>/dev/null || echo "$(date +%s)")

Local directories are deployed in place and are not cloned. For Git URLs, use shallow clone first; if clone repeatedly fails, try an archive/subdirectory path or stop with a clear "not suitable for quick remote build" message. Do not claim a README/static mirror is the deployed application.

Load .volcengine/deploy-choice.json if present. It is produced by `volcengine-

Полный SKILL.md на GitHub

Установить volcengine-deploy в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

references/deployment-plan-template.mdreferences/dockerfile-templates.mdreferences/ecs-deploy-steps.mdreferences/faas-deploy-steps.mdreferences/k8s-manifests.mdreferences/service-linked-roles.mdreferences/supported-dependencies.mdreferences/vke-deploy-steps.mdscripts/gen-docker-compose-test.shscripts/gen-systemd-unit.shscripts/poll-status.sh

FAQ

Что делает скилл volcengine-deploy?

Deploy a local project directory or Git repository to Volcengine as a running, reachable cloud service. USE WHEN: deploy to Volcengine, deploy to 火山引擎/火山, deploy this repo/project, publish current code, launch the app, run it in the cloud, expose it as a service, deploy to ECS/VKE/veFaaS, run on ECS, push to VKE, deploy as serverless/FaaS, or the user wants the agent to choose a Volcengine hosting target. If the user only asks which Volcengine deployment target to choose, use `volcengine-prepare` skill first. Not for creating a single standalone resource — use `volcengine-cli` skill for that.

Как установить скилл volcengine-deploy?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл volcengine-deploy запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить volcengine-deploy с