Claude-skill-registry cloud-architecture
Design cloud-native architectures with service selection and cost optimization
install
source · Clone the upstream repo
git clone https://github.com/majiayu000/claude-skill-registry
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/majiayu000/claude-skill-registry "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/data/cloud-architecture" ~/.claude/skills/majiayu000-claude-skill-registry-cloud-architecture && rm -rf "$T"
manifest:
skills/data/cloud-architecture/SKILL.mdsource content
Cloud Architecture Skill
Purpose
Design cloud infrastructure architectures with appropriate service selection, cost optimization, and deployment strategies across AWS, Azure, and GCP.
Parameters
| Parameter | Type | Required | Validation | Default |
|---|---|---|---|---|
| string | ✅ | min: 30 chars | - |
| enum | ⚪ | aws|azure|gcp|multi | |
| object | ⚪ | valid JSON | |
| enum | ⚪ | startup|growth|enterprise | |
| enum | ⚪ | serverless|containers|vms|hybrid | |
Requirements Schema:
{ "availability": "99.9%", "latency_ms": 100, "monthly_budget_usd": 5000 }
Execution Flow
┌──────────────────────────────────────────────────────────┐ │ 1. VALIDATE: Check workload and requirements │ │ 2. ANALYZE: Workload characteristics │ │ 3. SELECT: Cloud services for each component │ │ 4. DESIGN: Architecture diagram │ │ 5. ESTIMATE: Cost projection │ │ 6. OPTIMIZE: Apply cost/performance optimizations │ │ 7. DOCUMENT: Return architecture with IaC snippets │ └──────────────────────────────────────────────────────────┘
Retry Logic
| Error | Retry | Backoff | Max Attempts |
|---|---|---|---|
| Yes | 2s, 4s | 3 |
| Yes | 1s | 2 |
| No | - | 1 |
Logging & Observability
log_points: - event: design_started level: info data: [provider, architecture_type] - event: cost_estimate_complete level: info data: [monthly_estimate_usd, services_count] - event: optimization_applied level: info data: [optimization_type, savings_percent] metrics: - name: architectures_designed type: counter labels: [provider] - name: design_time_ms type: histogram - name: estimated_monthly_cost type: gauge
Error Handling
| Error Code | Description | Recovery |
|---|---|---|
| Invalid provider | Show supported providers |
| Budget exceeded | Suggest lower-cost alternatives |
| Conflicting requirements | Highlight trade-offs |
| Service not available in region | Suggest alternatives |
Unit Test Template
test_cases: - name: "Web app on AWS" input: workload: "E-commerce web application with 10K daily users" provider: "aws" architecture_type: "containers" expected: has_services: true has_diagram: true has_cost_estimate: true services_include: ["ECS", "RDS", "CloudFront"] - name: "Serverless API" input: workload: "RESTful API with variable traffic" provider: "aws" architecture_type: "serverless" expected: services_include: ["Lambda", "API Gateway", "DynamoDB"] - name: "Budget exceeded" input: workload: "Enterprise data warehouse" requirements: { "monthly_budget_usd": 100 } expected: warning: "budget_exceeded" has_alternatives: true
Troubleshooting
Common Issues
| Symptom | Root Cause | Resolution |
|---|---|---|
| High cost estimate | Wrong service tier | Right-size, use reserved |
| Single point of failure | Missing HA design | Add multi-AZ, redundancy |
| Vendor lock-in warning | Proprietary services | Use portable alternatives |
Debug Checklist
□ Is provider selection appropriate? □ Are availability requirements met? □ Is cost within budget? □ Are all components connected? □ Is IaC syntax valid?
Service Quick Reference
| Component | AWS | Azure | GCP |
|---|---|---|---|
| Compute | ECS/Lambda | AKS/Functions | GKE/Cloud Functions |
| Database | RDS/Aurora | SQL Database | Cloud SQL |
| Storage | S3 | Blob Storage | Cloud Storage |
| Cache | ElastiCache | Cache for Redis | Memorystore |
Integration
| Component | Trigger | Data Flow |
|---|---|---|
| Agent 04 | Design request | Receives workload, returns architecture |
| Agent 05 | Security review | Provides security requirements |
Quality Standards
- Cost-aware: Always include estimates
- HA by default: Multi-AZ unless specified
- IaC-ready: Include Terraform/CloudFormation snippets
Version History
| Version | Date | Changes |
|---|---|---|
| 2.0.0 | 2025-01 | Production-grade: multi-cloud, cost estimation, IaC |
| 1.0.0 | 2024-12 | Initial release |