mcpField
C
cloud

cloud

github.com/markdown-viewerCloud & DevOps3.4k3.1k installsUpdated 3w ago
Repository

About cloud

A skill for generating cloud architecture diagrams in PlantUML. It guides users in selecting provider stencils, grouping components into zones, and connecting them with arrows.

Key features

  1. 01AWS, Azure, and GCP stencil guidance
  2. 02Stencil references for other cloud providers
  3. 03VPC and region grouping syntax
  4. 04Arrow-based component connections
  5. 05PlantUML diagram structure rules

Use cases

  1. 01Mapping a cloud application architecture
  2. 02Diagramming serverless event flows
  3. 03Showing Kubernetes or private-cloud layouts

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/markdown-viewer/skills --skill cloud

After installing, type/cloudin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

examples/
alibaba-web-app.md
aws-basic.md
aws-serverless.md
azure-hybrid-network.md
gcp-log-processing.md
ibm-kubernetes.md
kubernetes-microservices.md
openstack-basic.md

Details

From the project README

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
@startuml
left to right direction
mxgraph.aws4.users "Users" as users
mxgraph.aws4.cloudfront "CloudFront" as cf
mxgraph.aws4.application_load_balancer "ALB" as alb

rectangle "VPC" {
  mxgraph.aws4.ec2 "EC2" as ec2
  mxgraph.aws4.rds_instance "RDS" as rds
}

users --> cf
cf --> alb
alb --> ec2
ec2 --> 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

Comments

Markdown supported