mcpField
Q
qwencloud-deploy

qwencloud-deploy

github.com/qwencloudCloud & DevOps4778 installsUpdated 6w ago
Repository

About qwencloud-deploy

Qwen Cloud Deploy is a skill for deploying local projects or Git repositories to Alibaba Cloud International. It guides full-stack deployment, hot updates, cleanup, and HTTPS setup, with cost confirmation before resource creation.

Key features

  1. 01Deploys projects to Alibaba Cloud International
  2. 02Supports full-stack deployment and hot updates
  3. 03Handles cleanup and HTTPS setup
  4. 04Confirms hourly cost before resource creation
  5. 05Records deployment state

Use cases

  1. 01Deploy a local project or Git repository
  2. 02Update an existing deployment
  3. 03Set up HTTPS or remove a deployment

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/qwencloud/qwencloud-deploy --skill qwencloud-deploy

After installing, type/qwencloud-deployin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

reference/cleanup/
delete_stack.md
reference/deploy/
01_env_check.md
02_git_clone.md
03_analyze_project.md
04_check_existing.md
05_database.md
06_instance_type.md
07_generate_template.md
08_check_stock.md
09_estimate_cost.md
10_upload_artifacts.md
11_create_stack.md
12_wait_stack.md
13_record_state.md
14_app_timeline.md
reference/hotfix/
update_app.md
update_recipe.md
reference/https/
https_setup.md
reference/rules/
ram_policies.md
rule_error_handling.md
rule_interaction.md
scripts/
append_timeline.py
create_stack.sh
delete_stack.sh
generate_template.py
record_state.py
setup_domain.sh
update_app.sh
upload_artifacts.py
wait_and_probe.py

Details

From the project README

Qwen Cloud Deploy

Quick Path

  1. Route the task — Match to one of 4 modes: Full-Stack Deploy · Hot Update · Delete · HTTPS Setup.
  2. Deploy (default) — Execute steps 1→14 strictly in order, no skipping/reordering; gates and skippable steps are in reference/rules/rule_interaction.md "Execution order".
  3. Confirm cost before creating anything — Show hourly price in USD, get user confirmation.
  4. Record state — On success write .qwencloud-deploy.

Scope

In ScopeOut of Scope
Local project / Git → Alibaba Cloud InternationalChina site → use qianwenai-deploy
Full-stack ROS, hot update, cleanupAWS/GCP/Azure/other clouds
ECS + optional RDS + OSS + public IPK8s/Serverless/container orchestration
OAuth/AK auth (no credential collection)—
Deploy the user's provided code/projectReviewing or editing the user's code logic, vouching for code correctness

About the user's code

This skill builds and deploys the user's provided code/project. It does not review or modify the business logic and does not guarantee the code itself is correct.

Bugs, security issues, and any consequences caused by the code once deployed are the user's own; if the code needs changing, the user decides and makes the change themselves.

Assumptions

  • aliyun CLI 3.x installed; when no valid credential, follow reference/deploy/01_env_check.md.
  • Default region ap-southeast-1 (Singapore).

Task Routing

SignalMode
.qwencloud-deploy exists + user says "update"Hot Update
.qwencloud-deploy exists + "delete"/"cleanup"Delete
"bind domain"/"HTTPS"/"SSL" (deployment exists)HTTPS Setup
Git URL or local project (no existing deployment)Full-Stack Deploy

On trigger, display welcome message first (see reference/rules/rule_interaction.md).


Full-Stack Deploy (Steps 1–14)

Phase 1 · Preparation
StepActionReference
1Environment checkreference/deploy/01_env_check.md
2Git clone (if Git URL)reference/deploy/02_git_clone.md
3Project analysisreference/deploy/03_analyze_project.md
Phase 2 · Resource Planning
StepActionReference
4Existing deployment scanreference/deploy/04_check_existing.md
5Database identificationreference/deploy/05_database.md
6ECS instance type selectionreference/deploy/06_instance_type.md
7Generate ROS templatereference/deploy/07_generate_template.md
8Stock checkreference/deploy/08_check_stock.md
9Template validation + cost estimatereference/deploy/09_estimate_cost.md
Phase 3 · Execution
StepActionReference
10Upload artifacts + regenerate templatereference/deploy/10_upload_artifacts.md
11Create stackreference/deploy/11_create_stack.md
12Wait for terminal state + health checkreference/deploy/12_wait_stack.md
13Record statereference/deploy/13_record_state.md
14Append application dossierreference/deploy/14_app_timeline.md

Hot Update

Trigger: .qwencloud-deploy exists + user wants to update code. IP unchanged.

StepActionReference
U1Build + upload new artifactsreference/deploy/10_upload_artifacts.md
U2Deliver update (Cloud Assistant)reference/hotfix/update_app.md
U3Health check + update statereference/hotfix/update_app.md
U4Append application dossier (event=hotfix)reference/deploy/14_app_timeline.md

Update script template: reference/hotfix/update_recipe.md.


Delete / Cleanup

Trigger: User says "delete", "cleanup", "release resources".

⚠️ Irreversible — confirm twice. With RDS: warn about data loss.

🚫 Never manually delete individual resources — only use delete_stack.sh.

See reference/cleanup/delete_stack.md.


HTTPS Setup (Optional)

Trigger: User says "bind domain" / "HTTPS" / "SSL" after deployment exists.

See reference/https/https_setup.md.


Key Constraints

ConstraintRule
CurrencyAlways USD
AuthOAuth (recommended) or AK/SK; never collect credentials via chat
Template uploadMust use --TemplateURL (WAF blocks TemplateBody)
Stack name retryReuse — never regenerate
Resource deletionAlways via delete_stack.sh
Region defaultap-southeast-1
Commands to userNever show underlying commands

File Layout

scripts/
  generate_template.py  upload_artifacts.py
  create_stack.sh       record_state.py
  delete_stack.sh       update_app.sh
  wait_and_probe.py     setup_domain.sh
  append_timeline.py
reference/
  deploy/
    01_env_check.md ~ 14_app_timeline.md
  hotfix/
    update_app.md       update_recipe.md
  cleanup/
    delete_stack.md
  https/
    https_setup.md
  rules/
    rule_interaction.md  rule_error_handling.md  ram_policies.md
templates/
  ros_single[_rds].yaml
  userdata/{systemd,docker,nginx_proxy,nginx_static,nginx_static_proxy}.sh

Comments

Markdown supported