選項

使用 PlantUML 語法,搭配 AWS、Azure、GCP 及阿里雲的官方服務圖示,繪製雲端服務供應商架構圖。最適合用於多服務雲端拓撲圖及遷移藍圖。

...展開全部
45
更新時間 2026-06-29

關於 cloud

cloud 技能採用 PlantUML 語法及官方 cloud 供應商服務圖示,生成 cloud 架構圖。該技能旨在協助使用者清晰地視覺化呈現 cloud 基礎架構、應用程式拓撲結構,以及橫跨主要 cloud 平台的遷移計畫。透過提供結構化的圖表建立方法,此技能簡化了記錄複雜 cloud 環境的流程,並確保圖表與 PlantUML 渲染工作流程相容。

此技能支援多項 cloud 供應商的架構圖,包括 AWS、Azure、Google Cloud Platform (GCP)、Alibaba Cloud、IBM Cloud、Kubernetes 及 OpenStack。它採用 mxGraph 模板語法,透過供應商專屬圖示來呈現 cloud 服務,並包含將資源組織至 VPC、區域及 cloud 邊界的指引。 此技能定義了同步、異步、實體及標籤化資料流的連接模式,並提供諸如由左至右的佈局以及必備的 PlantUML 結構等規範。此外,還包含常見模板家族的參考資料及架構類型範例。

典型應用案例包括:記錄 cloud 原生應用程式、設計基礎架構藍圖、視覺化網路拓撲、闡釋無伺服器架構,以及規劃 cloud 遷移。 此技能旨在協助 cloud 架構師、DevOps 工程師、平台工程師、解決方案架構師、技術顧問及開發人員,為 cloud 系統建立一致且基於圖表的文件。當需要建立必須從 PlantUML 程式碼渲染,並在團隊間共享的架構產出時,此技能尤為實用。

常見問題

如何使用此技能建立cloud架構圖?

首先選擇cloud服務供應商,宣告所需的mxGraph模板圖示,將資源組織到VPC或區域等容器中,使用PlantUML箭頭語法進行連接,並將圖表包覆在plantuml或puml程式碼圍欄中。

支援哪些雲端平台?

此技能透過各自的 mxGraph 模板系列,支援 AWS、Azure、Google Cloud Platform (GCP)、Alibaba Cloud、IBM Cloud、Kubernetes 以及 OpenStack。

需要使用哪種圖表語法?

圖表必須使用 PlantUML 語法,以 @startuml 開頭、以 @enduml 結尾,並使用 mxGraph 模板定義來表示 cloud 服務圖示。

我可以表示服務之間的不同類型連接嗎?

可以。此技能支援使用實線箭頭表示同步流程、虛線箭頭表示異步或事件驅動的流程、實線表示物理或雙向連結,以及帶標籤的連接線來描述資料流動。

是否有任何渲染要求或限制?

有。圖表必須包含在 plantuml 或 puml 程式碼圍欄中才能正確渲染。明確不支援使用文字程式碼圍欄來渲染圖表。

在 GitHub 上查看

Cloud Architecture Diagram Generator

Quick Start: Choose cloud provider → Declare stencil icons → Group into VPC/region zones → Connect with arrow syntax → Wrap in ```plantuml fence.

⚠️ IMPORTANT: Always use ```plantuml or ```puml code fence. NEVER use ```text — it will NOT render as a diagram.

Critical Rules

  • Every diagram starts with @startuml and ends with @enduml
  • Use left to right direction for typical cloud architectures (data flows left→right)
  • Use mxgraph.* stencil syntax for cloud service icons
  • Default colors are applied automatically — you do NOT need to specify fillColor or strokeColor
  • Use rectangle "VPC" { ... } or package "Region" { ... } for cloud containers
  • Use cloud "Name" { ... } for cloud boundary shapes
  • Directed flows use -->, async/event-driven flows use ..> (dashed)

Full stencil reference: See stencils/README.md for 9500+ available icons.

Mxgraph Stencil Syntax

mxgraph.<provider>.<icon> "Label" as <alias>

Common Cloud Stencil Families

FamilyPrefixTypical Icons
AWSmxgraph.aws4.*lambda_function, ec2, rds_instance, s3, api_gateway, cloudfront, dynamodb
Azuremxgraph.azure.*virtual_machine, azure_load_balancer, sql_database, azure_active_directory, storage
GCPmxgraph.gcp2.*compute_engine_2, cloud, process, repository, cloud_monitoring
Alibabamxgraph.alibaba_cloud.*ecs_elastic_compute_service, slb_server_load_balancer_01, polardb, oss_object_storage_service
IBMmxgraph.ibm_cloud.*ibm-cloud--kubernetes-service, load-balancer--application, database--postgresql
Kubernetesmxgraph.kubernetes.*pod, svc, deploy, ing, sts, pvc, cm, secret
OpenStackmxgraph.openstack.*nova_server, neutron_router, cinder_volume, swift_container

Connection Types

SyntaxMeaningUse Case
A --> BSolid arrowSync API call / data flow
A ..> BDashed arrowAsync event / trigger / replication
A -- BSolid line, no arrowPhysical / bidirectional link
A --> B : "label"Labeled connectionDescribe the data flow

Quick Example

@startumlleft to right directionmxgraph.aws4.users "Users" as usersmxgraph.aws4.cloudfront "CloudFront" as cfmxgraph.aws4.application_load_balancer "ALB" as albrectangle "VPC" {  mxgraph.aws4.ec2 "EC2" as ec2  mxgraph.aws4.rds_instance "RDS" as rds}users --> cfcf --> albalb --> ec2ec2 --> rds@enduml

Cloud Architecture Types

TypePurposeKey StencilsExample
AWSAmazon Web Servicesmxgraph.aws4.*aws-basic.md
AWS ServerlessEvent-driven serverlessmxgraph.aws4.*aws-serverless.md
AzureMicrosoft Azuremxgraph.azure.*azure-hybrid-network.md
GCPGoogle Cloud Platformmxgraph.gcp2.*gcp-log-processing.md
Alibaba CloudAlibaba Cloudmxgraph.alibaba_cloud.*alibaba-web-app.md
IBM CloudIBM Cloudmxgraph.ibm_cloud.*ibm-kubernetes.md
KubernetesContainer orchestrationmxgraph.kubernetes.*kubernetes-microservices.md
OpenStackPrivate cloudmxgraph.openstack.*openstack-basic.md

安裝 cloud

請下載並將技能檔案解壓縮至您的 .claude/skills/ 目錄中。

下載 ZIP

複製儲存庫並將技能檔案複製到您的專案中。

git clone https://github.com/markdown-viewer/skills/blob/main/cloud/SKILL.md # Copy SKILL.md to your .claude/skills/ directory

複製 複製
快速設定: 將技能資料夾複製到 .claude/skills/,Claude 會自動偵測並使用該技能

相關技能

Cloudflare Manager
更新時間 2026-06-29
pinecone
更新時間 2026-06-29
azure-setup-guide
更新時間 2026-06-29
sentry-architecture-variants
更新時間 2026-06-29
OR