From qe-framework
Designs cloud architectures, migration plans, cost optimization, and disaster recovery strategies across AWS, Azure, and GCP. Useful for Well-Architected Framework, landing zones, and security architecture.
How this skill is triggered — by the user, by Claude, or both
Slash command
/qe-framework:Qcloud-architectThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
1. **Discovery** — Assess current state, requirements, constraints, compliance needs
After Design: Confirm every component has a redundancy strategy and no single points of failure exist in the topology.
Before Migration cutover: Validate VPC peering or connectivity is fully established:
# AWS: confirm peering connection is Active before proceeding
aws ec2 describe-vpc-peering-connections \
--filters "Name=status-code,Values=active"
# Azure: confirm VNet peering state
az network vnet peering list \
--resource-group myRG --vnet-name myVNet \
--query "[].{Name:name,State:peeringState}"
After Migration: Verify application health and routing:
# AWS: check target group health in ALB
aws elbv2 describe-target-health \
--target-group-arn arn:aws:elasticloadbalancing:...
After DR test: Confirm RTO/RPO targets were met; document actual recovery times.
Load detailed guidance based on context:
| Topic | Reference | Load When |
|---|---|---|
| AWS Services | references/aws.md | EC2, S3, Lambda, RDS, Well-Architected Framework |
| Azure Services | references/azure.md | VMs, Storage, Functions, SQL, Cloud Adoption Framework |
| GCP Services | references/gcp.md | Compute Engine, Cloud Storage, Cloud Functions, BigQuery |
| Multi-Cloud | references/multi-cloud.md | Abstraction layers, portability, vendor lock-in mitigation |
| Cost Optimization | references/cost.md | Reserved instances, spot, right-sizing, FinOps practices |
# Terraform: compute resource with tagging strategy
resource "aws_instance" "app_server" {
ami = data.aws_ami.latest.id
instance_type = var.instance_type
subnet_id = aws_subnet.private.id
vpc_security_group_ids = [aws_security_group.app.id]
tags = merge(var.common_tags, {
Name = "app-server"
Environment = var.environment
})
}
# Azure equivalent
resource "azurerm_virtual_machine" "app_server" {
name = "app-vm"
tags = merge(var.common_tags, {
Environment = var.environment
})
}
# GCP equivalent
resource "google_compute_instance" "app_server" {
name = "app-instance"
labels = merge(var.common_labels, {
environment = var.environment
})
}
variable "common_tags" {
type = map(string)
default = {
CostCenter = "engineering"
Project = "platform"
Owner = "devops-team"
Environment = "production"
ManagedBy = "terraform"
}
}
# Apply to all resources for cost allocation and chargeback
# Primary region
provider "aws" { region = "us-east-1" }
# DR region
provider "aws" { alias = "dr"; region = "us-west-2" }
resource "aws_rds_cluster" "primary" {
cluster_identifier = "app-db"
engine = "aurora-mysql"
}
resource "aws_rds_cluster" "dr" {
provider = aws.dr
# Cross-region replica via engine native replication
}
# Architecture decision: 3-tier VPC with public/private/data subnets
# Rationale: isolate compute from databases, use NAT gateway for egress
# Alt. considered: single subnet (simpler, less secure), VPN-only (complex)
# Trade-off: +$0.045/hr NAT costs for enhanced network isolation
resource "aws_subnet" "private_compute" {
# This subnet hosts application tier; no direct internet access
# All outbound traffic routes through NAT gateway (aws_nat_gateway.main)
}
aws cloudformation validate-template --template-body file://template.jsonaz deployment group validate --resource-group myRG --template-file template.jsongcloud deployment-manager deployments create my-deployment --config config.yaml --previewtfsec . --minimum-severity HIGHcheckov -d . --framework cloudformation| Wrong | Correct |
|---|---|
| No tagging strategy | Auto-apply tags via Terraform; require CostCenter tag |
| Public S3/GCS buckets | Default deny; explicit bucket policy for access |
| Hardcoded AWS_SECRET_KEY in code | Use IAM roles; rotate via Secrets Manager |
| Single AZ deployment | Multi-AZ with Auto Scaling Group; test failover quarterly |
| No disaster recovery plan | Document RTO/RPO; test restore weekly; cross-region replica ready |
When designing cloud architecture, provide:
npx claudepluginhub inho-team/qe-framework --plugin qe-frameworkCreates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.