[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7DHGY2ZZMKMSXF91XB5AP2A":3,"skill-same:01M7DHGY2ZZMKMSXF91XB5AP2A":74},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":23,"commitSha":24,"skillDirectory":25,"forksCount":13,"repositoryHtmlUrl":26,"repositoryHomepageUrl":27,"ownerHtmlUrl":28,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":29,"install":30,"resources":43},"01M7DHGY2ZZMKMSXF91XB5AP2A","cloud-solution-architect",null,"Transform the agent into a Cloud Solution Architect following Azure Architecture Center best practices. Use when designing cloud architectures, reviewing system designs, selecting architecture styles, applying cloud design patterns, making technology choices, or conducting Well-Architected Framework reviews.","ak2dev\u002Fagentguard","ak2dev","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F233005497?v=4","01M7DGWK3E3XCC276C6YRFSN05","01M7DGWK4J2A9WQ44CS5CRP4R6",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fak2dev\u002Fagentguard\u002Fblob\u002Fmain\u002Fbench\u002Fcorpus\u002Fbenign\u002Freal-ms-cloud-solution-architect\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: cloud-solution-architect\ndescription: >-\n  Transform the agent into a Cloud Solution Architect following Azure Architecture Center best practices.\n  Use when designing cloud architectures, reviewing system designs, selecting architecture styles,\n  applying cloud design patterns, making technology choices, or conducting Well-Architected Framework reviews.\n---\n\n# Cloud Solution Architect\n\n## Overview\n\nDesign well-architected, production-grade cloud systems following Azure Architecture Center best practices. This skill provides:\n\n- **10 design principles** for Azure applications\n- **6 architecture styles** with selection guidance\n- **44 cloud design patterns** mapped to WAF pillars\n- **Technology choice frameworks** for compute, storage, data, messaging\n- **Performance antipatterns** to avoid\n- **Architecture review workflow** for systematic design validation\n\n---\n\n## Ten Design Principles for Azure Applications\n\n| # | Principle | Key Tactics |\n|---|-----------|-------------|\n| 1 | **Design for self-healing** | Retry with backoff, circuit breaker, bulkhead isolation, health endpoint monitoring, graceful degradation |\n| 2 | **Make all things redundant** | Eliminate single points of failure, use availability zones, deploy multi-region, replicate data |\n| 3 | **Minimize coordination** | Decouple services, use async messaging, embrace eventual consistency, use domain events |\n| 4 | **Design to scale out** | Horizontal scaling, autoscaling rules, stateless services, avoid session stickiness, partition workloads |\n| 5 | **Partition around limits** | Data partitioning (shard\u002Fhash\u002Frange), respect compute & network limits, use CDNs for static content |\n| 6 | **Design for operations** | Structured logging, distributed tracing, metrics & dashboards, runbook automation, infrastructure as code |\n| 7 | **Use managed services** | Prefer PaaS over IaaS, reduce operational burden, leverage built-in HA\u002FDR\u002Fscaling |\n| 8 | **Use an identity service** | Microsoft Entra ID, managed identity, RBAC, avoid storing credentials, zero-trust principles |\n| 9 | **Design for evolution** | Loose coupling, versioned APIs, backward compatibility, async messaging for integration, feature flags |\n| 10 | **Build for business needs** | Define SLAs\u002FSLOs, establish RTO\u002FRPO targets, domain-driven design, cost modeling, composite SLAs |\n\n---\n\n## Architecture Styles\n\n| Style | Description | When to Use | Key Services |\n|-------|-------------|-------------|--------------|\n| **N-tier** | Horizontal layers (presentation, business, data) | Traditional enterprise apps, lift-and-shift | App Service, SQL Database, VNets |\n| **Web-Queue-Worker** | Web frontend → message queue → backend worker | Moderate-complexity apps with long-running tasks | App Service, Service Bus, Functions |\n| **Microservices** | Small autonomous services, bounded contexts, independent deploy | Complex domains, independent team scaling | AKS, Container Apps, API Management |\n| **Event-driven** | Pub\u002Fsub model, event producers\u002Fconsumers | Real-time processing, IoT, reactive systems | Event Hubs, Event Grid, Functions |\n| **Big data** | Batch + stream processing pipeline | Analytics, ML pipelines, large-scale data | Synapse, Data Factory, Databricks |\n| **Big compute** | HPC, parallel processing | Simulations, modeling, rendering, genomics | Batch, CycleCloud, HPC VMs |\n\n### Selection Criteria\n\n- **Domain complexity** → Microservices (high), N-tier (low-medium)\n- **Team autonomy** → Microservices (independent teams), N-tier (single team)\n- **Data volume** → Big data (TB+), others (GB)\n- **Latency requirements** → Event-driven (real-time), Web-Queue-Worker (tolerant)\n\n---\n\n## Cloud Design Patterns\n\n44 patterns organized by primary concern. WAF pillar mapping: **R**=Reliability, **S**=Security, **CO**=Cost Optimization, **OE**=Operational Excellence, **PE**=Performance Efficiency.\n\n### Messaging & Communication\n\n| Pattern | Summary | Pillars |\n|---------|---------|---------|\n| **Asynchronous Request-Reply** | Decouple request\u002Fresponse with polling or callbacks | R, PE |\n| **Claim Check** | Split large messages; store payload separately, pass reference | R, PE |\n| **Choreography** | Services coordinate via events without central orchestrator | R, OE |\n| **Competing Consumers** | Multiple consumers process messages from shared queue concurrently | R, PE |\n| **Messaging Bridge** | Connect incompatible messaging systems | R, OE |\n| **Pipes and Filters** | Decompose complex processing into reusable filter stages | R, OE |\n| **Priority Queue** | Prioritize requests so higher-priority work is processed first | R, PE |\n| **Publisher\u002FSubscriber** | Decouple senders from receivers via topics\u002Fsubscriptions | R, PE |\n| **Queue-Based Load Leveling** | Buffer requests with a queue to smooth intermittent loads | R, PE |\n| **Sequential Convoy** | Process related messages in order while allowing parallel groups | R, PE |\n\n### Reliability & Resilience\n\n| Pattern | Summary | Pillars |\n|---------|---------|---------|\n| **Bulkhead** | Isolate resources per workload to prevent cascading failure | R |\n| **Circuit Breaker** | Stop calling a failing service; fail fast to protect resources | R |\n| **Compensating Transaction** | Undo previously committed steps when a later step fails | R |\n| **Health Endpoint Monitoring** | Expose health checks for load balancers and orchestrators | R, OE |\n| **Leader Election** | Coordinate distributed instances by electing a leader | R |\n| **Retry** | Handle transient faults by retrying with exponential backoff | R |\n| **Saga** | Manage data consistency across microservices with compensating transactions | R |\n| **Scheduler Agent Supervisor** | Coordinate distributed actions with retry and failure handling | R |\n\n### Data Management\n\n| Pattern | Summary | Pillars |\n|---------|---------|---------|\n| **Cache-Aside** | Load data on demand into cache from data store | PE |\n| **CQRS** | Separate read and write models for independent scaling | PE, R |\n| **Event Sourcing** | Store state as append-only sequence of domain events | R, OE |\n| **Index Table** | Create indexes over frequently queried fields in data stores | PE |\n| **Materialized View** | Pre-compute views over data for efficient queries | PE |\n| **Sharding** | Distribute data across partitions for scale and performance | PE, R |\n| **Static Content Hosting** | Serve static content from cloud storage\u002FCDN directly | PE, CO |\n| **Valet Key** | Grant clients limited direct access to storage resources | S, PE |\n\n### Design & Structure\n\n| Pattern | Summary | Pillars |\n|---------|---------|---------|\n| **Ambassador** | Offload cross-cutting concerns to a helper sidecar proxy | OE |\n| **Anti-Corruption Layer** | Translate between new and legacy system models | OE, R |\n| **Backends for Frontends** | Create separate backends per frontend type (mobile, web, etc.) | OE, PE |\n| **Compute Resource Consolidation** | Combine multiple workloads into fewer compute instances | CO |\n| **External Configuration Store** | Externalize configuration from deployment packages | OE |\n| **Sidecar** | Deploy helper components alongside the main service | OE |\n| **Strangler Fig** | Incrementally migrate legacy systems by replacing pieces | OE, R |\n\n### Security & Access\n\n| Pattern | Summary | Pillars |\n|---------|---------|---------|\n| **Federated Identity** | Delegate authentication to an external identity provider | S |\n| **Gatekeeper** | Protect services using a dedicated broker that validates requests | S |\n| **Quarantine** | Isolate and validate external assets before allowing use | S |\n| **Rate Limiting** | Control consumption rate of resources by consumers | R, S |\n| **Throttling** | Control resource consumption to sustain SLAs under load | R, PE |\n\n### Deployment & Scaling\n\n| Pattern | Summary | Pillars |\n|---------|---------|---------|\n| **Deployment Stamps** | Deploy multiple independent copies of application components | R, PE |\n| **Edge Workload Configuration** | Configure workloads differently across diverse edge devices | OE |\n| **Gateway Aggregation** | Aggregate multiple backend calls into a single client request | PE |\n| **Gateway Offloading** | Offload shared functionality (SSL, auth) to a gateway | OE, S |\n| **Gateway Routing** | Route requests to multiple backends using a single endpoint | OE |\n| **Geode** | Deploy backends to multiple regions for active-active serving | R, PE |\n\nSee [Design Patterns Reference](.\u002Freferences\u002Fdesign-patterns.md) for detailed implementation guidance.\n\n---\n\n## Technology Choices\n\n### Decision Framework\n\nFor each technology area, evaluate: **requirements → constraints → tradeoffs → select**.\n\n| Area | Key Options | Selection Criteria |\n|------|-------------|-------------------|\n| **Compute** | App Service, Functions, Container Apps, AKS, VMs, Batch | Hosting model, scaling, cost, team skills |\n| **Storage** | Blob Storage, Data Lake, Files, Disks, Managed Lustre | Access patterns, throughput, cost tier |\n| **Data stores** | SQL Database, Cosmos DB, PostgreSQL, Redis, Table Storage | Consistency model, query patterns, scale |\n| **Messaging** | Service Bus, Event Hubs, Event Grid, Queue Storage | Ordering, throughput, pub\u002Fsub vs queue |\n| **Networking** | Front Door, Application Gateway, Load Balancer, Traffic Manager | Global vs regional, L4 vs L7, WAF |\n| **AI services** | Azure OpenAI, AI Search, AI Foundry, Document Intelligence | Model needs, data grounding, orchestration |\n| **Containers** | Container Apps, AKS, Container Instances | Operational control vs simplicity |\n\nSee [Technology Choices Reference](.\u002Freferences\u002Ftechnology-choices.md) for detailed decision trees.\n\n---\n\n## Best Practices\n\n| Practice | Key Guidance |\n|----------|-------------|\n| **API design** | RESTful conventions, resource-oriented URIs, HATEOAS, versioning via URL path or header |\n| **API implementation** | Async operations, pagination, idempotent PUT\u002FDELETE, content negotiation, ETag caching |\n| **Autoscaling** | Scale on metrics (CPU, queue depth, custom), cool-down periods, predictive scaling, scale-in protection |\n| **Background jobs** | Use queues or scheduled triggers, idempotent processing, poison message handling, graceful shutdown |\n| **Caching** | Cache-aside pattern, TTL policies, cache invalidation strategies, distributed cache for multi-instance |\n| **CDN** | Static asset offloading, cache-busting with versioned URLs, geo-distribution, HTTPS enforcement |\n| **Data partitioning** | Horizontal (sharding), vertical, functional partitioning; partition key selection for even distribution |\n| **Partitioning strategies** | Hash-based, range-based, directory-based; rebalancing approach, cross-partition query avoidance |\n| **Host name preservation** | Preserve original host header through proxies\u002Fgateways for cookies, redirects, auth flows |\n| **Message encoding** | Schema evolution (Avro\u002FProtobuf), backward\u002Fforward compatibility, schema registry |\n| **Monitoring & diagnostics** | Structured logging, distributed tracing (W3C Trace Context), metrics, alerts, dashboards |\n| **Transient fault handling** | Retry with exponential backoff + jitter, circuit breaker, idempotency keys, timeout budgets |\n\nSee [Best Practices Reference](.\u002Freferences\u002Fbest-practices.md) for implementation details.\n\n---\n\n## Performance Antipatterns\n\nAvoid these common patterns that degrade performance under load:\n\n| Antipattern | Problem | Fix |\n|-------------|---------|-----|\n| **Busy Database** | Offloading too much processing to the database | Move logic to application tier, use caching |\n| **Busy Front End** | Resource-intensive work on frontend request threads | Offload to background workers\u002Fqueues |\n| **Chatty I\u002FO** | Many small I\u002FO requests instead of fewer large ones | Batch requests, use bulk APIs, buffer writes |\n| **Extraneous Fetching** | Retrieving more data than needed | Project only required fields, paginate, filter server-side |\n| **Improper Instantiation** | Recreating expensive objects per request | Use singletons, connection pooling, HttpClientFactory |\n| **Monolithic Persistence** | Single data store for all data types | Polyglot persistence — right store for each workload |\n| **No Caching** | Repeatedly fetching unchanged data | Cache-aside pattern, CDN, output caching, Redis |\n| **Noisy Neighbor** | One tenant consuming all shared resources | Bulkhead isolation, per-tenant quotas, throttling |\n| **Retry Storm** | Aggressive retries overwhelming a recovering service | Exponential backoff + jitter, circuit breaker, retry budgets |\n| **Synchronous I\u002FO** | Blocking threads on I\u002FO operations | Async\u002Fawait, non-blocking I\u002FO, reactive streams |\n\n---\n\n## Mission-Critical Design\n\nFor workloads targeting **99.99%+ SLO**, address these design areas:\n\n| Design Area | Key Considerations |\n|-------------|-------------------|\n| **Application platform** | Multi-region active-active, availability zones, Container Apps or AKS with zone redundancy |\n| **Application design** | Stateless services, idempotent operations, graceful degradation, bulkhead isolation |\n| **Networking** | Azure Front Door (global LB), DDoS Protection, private endpoints, redundant connectivity |\n| **Data platform** | Multi-region Cosmos DB, zone-redundant SQL, async replication, conflict resolution |\n| **Deployment & testing** | Blue-green deployments, canary releases, chaos engineering, automated rollback |\n| **Health modeling** | Composite health scores, dependency health tracking, automated remediation, SLI dashboards |\n| **Security** | Zero-trust, managed identity everywhere, key rotation, WAF policies, threat modeling |\n| **Operational procedures** | Automated runbooks, incident response playbooks, game days, postmortems |\n\nSee [Mission-Critical Reference](.\u002Freferences\u002Fmission-critical.md) for detailed guidance.\n\n---\n\n## Well-Architected Framework (WAF) Pillars\n\nEvery architecture decision should be evaluated against all five pillars:\n\n| Pillar | Focus | Key Questions |\n|--------|-------|---------------|\n| **Reliability** | Resiliency, availability, disaster recovery | What is the RTO\u002FRPO? How does it handle failures? Is there redundancy? |\n| **Security** | Threat protection, identity, data protection | Is identity managed? Is data encrypted? Are there network controls? |\n| **Cost Optimization** | Cost management, efficiency, right-sizing | Is compute right-sized? Are there reserved instances? Is there waste? |\n| **Operational Excellence** | Monitoring, deployment, automation | Is deployment automated? Is there observability? Are there runbooks? |\n| **Performance Efficiency** | Scaling, load testing, performance targets | Can it scale horizontally? Are there performance baselines? Is caching used? |\n\n### WAF Tradeoff Matrix\n\n| Optimizing for... | May impact... |\n|-------------------|---------------|\n| Reliability (redundancy) | Cost (more resources) |\n| Security (isolation) | Performance (added latency) |\n| Cost (consolidation) | Reliability (shared failure domains) |\n| Performance (caching) | Cost (cache infrastructure), Reliability (stale data) |\n\n---\n\n## Architecture Review Workflow\n\nWhen reviewing or designing a system, follow this structured approach:\n\n### Step 1: Identify Requirements\n\n```\nFunctional: What must the system do?\nNon-functional:\n  - Availability target (e.g., 99.9%, 99.99%)\n  - Latency requirements (p50, p95, p99)\n  - Throughput (requests\u002Fsec, messages\u002Fsec)\n  - Data residency and compliance\n  - Recovery targets (RTO, RPO)\n  - Cost constraints\n```\n\n### Step 2: Select Architecture Style\n\nMatch requirements to architecture style using the selection criteria table above.\n\n### Step 3: Choose Technology Stack\n\nUse the technology choices decision framework. Prefer managed services (PaaS) over IaaS.\n\n### Step 4: Apply Design Patterns\n\nSelect relevant patterns from the 44 cloud design patterns based on identified concerns.\n\n### Step 5: Address Cross-Cutting Concerns\n\n- **Identity & access** — Microsoft Entra ID, managed identity, RBAC\n- **Monitoring** — Application Insights, Azure Monitor, Log Analytics\n- **Security** — Network segmentation, encryption at rest\u002Fin transit, Key Vault\n- **CI\u002FCD** — GitHub Actions, Azure DevOps Pipelines, infrastructure as code\n\n### Step 6: Validate Against WAF Pillars\n\nReview each pillar systematically. Document tradeoffs explicitly.\n\n### Step 7: Document Decisions\n\nUse Architecture Decision Records (ADRs):\n\n```markdown\n# ADR-NNN: [Decision Title]\n\n## Status: [Proposed | Accepted | Deprecated]\n\n## Context\n[What is the issue we're addressing?]\n\n## Decision\n[What did we decide and why?]\n\n## Consequences\n[What are the positive and negative impacts?]\n```\n\n---\n\n## References\n\n- [Design Patterns Reference](.\u002Freferences\u002Fdesign-patterns.md) — Detailed pattern implementations\n- [Technology Choices Reference](.\u002Freferences\u002Ftechnology-choices.md) — Decision trees for Azure services\n- [Best Practices Reference](.\u002Freferences\u002Fbest-practices.md) — Implementation guidance\n- [Mission-Critical Reference](.\u002Freferences\u002Fmission-critical.md) — High-availability design\n\n---\n\n## Source\n\nContent derived from the [Azure Architecture Center](https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fazure\u002Farchitecture\u002F) — Microsoft's official guidance for cloud solution architecture on Azure. Covers design principles, architecture styles, cloud design patterns, technology choices, best practices, performance antipatterns, mission-critical design, and the Well-Architected Framework.\n","# Cloud Solution Architect\n\n## Overview\n\nDesign well-architected, production-grade cloud systems following Azure Architecture Center best practices. This skill provides:\n\n- **10 design principles** for Azure applications\n- **6 architecture styles** with selection guidance\n- **44 cloud design patterns** mapped to WAF pillars\n- **Technology choice frameworks** for compute, storage, data, messaging\n- **Performance antipatterns** to avoid\n- **Architecture review workflow** for systematic design validation\n\n---\n\n## Ten Design Principles for Azure Applications\n\n| # | Principle | Key Tactics |\n|---|-----------|-------------|\n| 1 | **Design for self-healing** | Retry with backoff, circuit breaker, bulkhead isolation, health endpoint monitoring, graceful degradation |\n| 2 | **Make all things redundant** | Eliminate single points of failure, use availability zones, deploy multi-region, replicate data |\n| 3 | **Minimize coordination** | Decouple services, use async messaging, embrace eventual consistency, use domain events |\n| 4 | **Design to scale out** | Horizontal scaling, autoscaling rules, stateless services, avoid session stickiness, partition workloads |\n| 5 | **Partition around limits** | Data partitioning (shard\u002Fhash\u002Frange), respect compute & network limits, use CDNs for static content |\n| 6 | **Design for operations** | Structured logging, distributed tracing, metrics & dashboards, runbook automation, infrastructure as code |\n| 7 | **Use managed services** | Prefer PaaS over IaaS, reduce operational burden, leverage built-in HA\u002FDR\u002Fscaling |\n| 8 | **Use an identity service** | Microsoft Entra ID, managed identity, RBAC, avoid storing credentials, zero-trust principles |\n| 9 | **Design for evolution** | Loose coupling, versioned APIs, backward compatibility, async messaging for integration, feature flags |\n| 10 | **Build for business needs** | Define SLAs\u002FSLOs, establish RTO\u002FRPO targets, domain-driven design, cost modeling, composite SLAs |\n\n---\n\n## Architecture Styles\n\n| Style | Description | When to Use | Key Services |\n|-------|-------------|-------------|--------------|\n| **N-tier** | Horizontal layers (presentation, business, data) | Traditional enterprise apps, lift-and-shift | App Service, SQL Database, VNets |\n| **Web-Queue-Worker** | Web frontend → message queue → backend worker | Moderate-complexity apps with long-running tasks | App Service, Service Bus, Functions |\n| **Microservices** | Small autonomous services, bounded contexts, independent deploy | Complex domains, independent team scaling | AKS, Container Apps, API Management |\n| **Event-driven** | Pub\u002Fsub model, event producers\u002Fconsumers | Real-time processing, IoT, reactive systems | Event Hubs, Event Grid, Functions |\n| **Big data** | Batch + stream processing pipeline | Analytics, ML pipelines, large-scale data | Synapse, Data Factory, Databricks |\n| **Big compute** | HPC, parallel processing | Simulations, modeling, rendering, genomics | Batch, CycleCloud, HPC VMs |\n\n### Selection Criteria\n\n- **Domain complexity** → Microservices (high), N-tier (low-medium)\n- **Team autonomy** → Microservices (independent teams), N-tier (single team)\n- **Data volume** → Big data (TB+), others (GB)\n- **Latency requirements** → Event-driven (real-time), Web-Queue-Worker (tolerant)\n\n---\n\n## Cloud Design Patterns\n\n44 patterns organized by primary concern. WAF pillar mapping: **R**=Reliability, **S**=Security, **CO**=Cost Optimization, **OE**=Operational Excellence, **PE**=Performance Efficiency.\n\n### Messaging & Communication\n\n| Pattern | Summary | Pillars |\n|---------|---------|---------|\n| **Asynchronous Request-Reply** | Decouple request\u002Fresponse with polling or callbacks | R, PE |\n| **Claim Check** | Split large messages; store payload separately, pass reference | R, PE |\n| **Choreography** | Services coordinate via events without central orchestrator | R, OE |\n| **Competing Consumers** | Multiple consumers process messages from shared queue concurrently | R, PE |\n| **Messaging Bridge** | Connect incompatible messaging systems | R, OE |\n| **Pipes and Filters** | Decompose complex processing into reusable filter stages | R, OE |\n| **Priority Queue** | Prioritize requests so higher-priority work is processed first | R, PE |\n| **Publisher\u002FSubscriber** | Decouple senders from receivers via topics\u002Fsubscriptions | R, PE |\n| **Queue-Based Load Leveling** | Buffer requests with a queue to smooth intermittent loads | R, PE |\n| **Sequential Convoy** | Process related messages in order while allowing parallel groups | R, PE |\n\n### Reliability & Resilience\n\n| Pattern | Summary | Pillars |\n|---------|---------|---------|\n| **Bulkhead** | Isolate resources per workload to prevent cascading failure | R |\n| **Circuit Breaker** | Stop calling a failing service; fail fast to protect resources | R |\n| **Compensating Transaction** | Undo previously committed steps when a later step fails | R |\n| **Health Endpoint Monitoring** | Expose health checks for load balancers and orchestrators | R, OE |\n| **Leader Election** | Coordinate distributed instances by electing a leader | R |\n| **Retry** | Handle transient faults by retrying with exponential backoff | R |\n| **Saga** | Manage data consistency across microservices with compensating transactions | R |\n| **Scheduler Agent Supervisor** | Coordinate distributed actions with retry and failure handling | R |\n\n### Data Management\n\n| Pattern | Summary | Pillars |\n|---------|---------|---------|\n| **Cache-Aside** | Load data on demand into cache from data store | PE |\n| **CQRS** | Separate read and write models for independent scaling | PE, R |\n| **Event Sourcing** | Store state as append-only sequence of domain events | R, OE |\n| **Index Table** | Create indexes over frequently queried fields in data stores | PE |\n| **Materialized View** | Pre-compute views over data for efficient queries | PE |\n| **Sharding** | Distribute data across partitions for scale and performance | PE, R |\n| **Static Content Hosting** | Serve static content from cloud storage\u002FCDN directly | PE, CO |\n| **Valet Key** | Grant clients limited direct access to storage resources | S, PE |\n\n### Design & Structure\n\n| Pattern | Summary | Pillars |\n|---------|---------|---------|\n| **Ambassador** | Offload cross-cutting concerns to a helper sidecar proxy | OE |\n| **Anti-Corruption Layer** | Translate between new and legacy system models | OE, R |\n| **Backends for Frontends** | Create separate backends per frontend type (mobile, web, etc.) | OE, PE |\n| **Compute Resource Consolidation** | Combine multiple workloads into fewer compute instances | CO |\n| **External Configuration Store** | Externalize configuration from deployment packages | OE |\n| **Sidecar** | Deploy helper components alongside the main service | OE |\n| **Strangler Fig** | Incrementally migrate legacy systems by replacing pieces | OE, R |\n\n### Security & Access\n\n| Pattern | Summary | Pillars |\n|---------|---------|---------|\n| **Federated Identity** | Delegate authentication to an external identity provider | S |\n| **Gatekeeper** | Protect services using a dedicated broker that validates requests | S |\n| **Quarantine** | Isolate and validate external assets before allowing use | S |\n| **Rate Limiting** | Control consumption rate of resources by consumers | R, S |\n| **Throttling** | Control resource consumption to sustain SLAs under load | R, PE |\n\n### Deployment & Scaling\n\n| Pattern | Summary | Pillars |\n|---------|---------|---------|\n| **Deployment Stamps** | Deploy multiple independent copies of application components | R, PE |\n| **Edge Workload Configuration** | Configure workloads differently across diverse edge devices | OE |\n| **Gateway Aggregation** | Aggregate multiple backend calls into a single client request | PE |\n| **Gateway Offloading** | Offload shared functionality (SSL, auth) to a gateway | OE, S |\n| **Gateway Routing** | Route requests to multiple backends using a single endpoint | OE |\n| **Geode** | Deploy backends to multiple regions for active-active serving | R, PE |\n\nSee [Design Patterns Reference](.\u002Freferences\u002Fdesign-patterns.md) for detailed implementation guidance.\n\n---\n\n## Technology Choices\n\n### Decision Framework\n\nFor each technology area, evaluate: **requirements → constraints → tradeoffs → select**.\n\n| Area | Key Options | Selection Criteria |\n|------|-------------|-------------------|\n| **Compute** | App Service, Functions, Container Apps, AKS, VMs, Batch | Hosting model, scaling, cost, team skills |\n| **Storage** | Blob Storage, Data Lake, Files, Disks, Managed Lustre | Access patterns, throughput, cost tier |\n| **Data stores** | SQL Database, Cosmos DB, PostgreSQL, Redis, Table Storage | Consistency model, query patterns, scale |\n| **Messaging** | Service Bus, Event Hubs, Event Grid, Queue Storage | Ordering, throughput, pub\u002Fsub vs queue |\n| **Networking** | Front Door, Application Gateway, Load Balancer, Traffic Manager | Global vs regional, L4 vs L7, WAF |\n| **AI services** | Azure OpenAI, AI Search, AI Foundry, Document Intelligence | Model needs, data grounding, orchestration |\n| **Containers** | Container Apps, AKS, Container Instances | Operational control vs simplicity |\n\nSee [Technology Choices Reference](.\u002Freferences\u002Ftechnology-choices.md) for detailed decision trees.\n\n---\n\n## Best Practices\n\n| Practice | Key Guidance |\n|----------|-------------|\n| **API design** | RESTful conventions, resource-oriented URIs, HATEOAS, versioning via URL path or header |\n| **API implementation** | Async operations, pagination, idempotent PUT\u002FDELETE, content negotiation, ETag caching |\n| **Autoscaling** | Scale on metrics (CPU, queue depth, custom), cool-down periods, predictive scaling, scale-in protection |\n| **Background jobs** | Use queues or scheduled triggers, idempotent processing, poison message handling, graceful shutdown |\n| **Caching** | Cache-aside pattern, TTL policies, cache invalidation strategies, distributed cache for multi-instance |\n| **CDN** | Static asset offloading, cache-busting with versioned URLs, geo-distribution, HTTPS enforcement |\n| **Data partitioning** | Horizontal (sharding), vertical, functional partitioning; partition key selection for even distribution |\n| **Partitioning strategies** | Hash-based, range-based, directory-based; rebalancing approach, cross-partition query avoidance |\n| **Host name preservation** | Preserve original host header through proxies\u002Fgateways for cookies, redirects, auth flows |\n| **Message encoding** | Schema evolution (Avro\u002FProtobuf), backward\u002Fforward compatibility, schema registry |\n| **Monitoring & diagnostics** | Structured logging, distributed tracing (W3C Trace Context), metrics, alerts, dashboards |\n| **Transient fault handling** | Retry with exponential backoff + jitter, circuit breaker, idempotency keys, timeout budgets |\n\nSee [Best Practices Reference](.\u002Freferences\u002Fbest-practices.md) for implementation details.\n\n---\n\n## Performance Antipatterns\n\nAvoid these common patterns that degrade performance under load:\n\n| Antipattern | Problem | Fix |\n|-------------|---------|-----|\n| **Busy Database** | Offloading too much processing to the database | Move logic to application tier, use caching |\n| **Busy Front End** | Resource-intensive work on frontend request threads | Offload to background workers\u002Fqueues |\n| **Chatty I\u002FO** | Many small I\u002FO requests instead of fewer large ones | Batch requests, use bulk APIs, buffer writes |\n| **Extraneous Fetching** | Retrieving more data than needed | Project only required fields, paginate, filter server-side |\n| **Improper Instantiation** | Recreating expensive objects per request | Use singletons, connection pooling, HttpClientFactory |\n| **Monolithic Persistence** | Single data store for all data types | Polyglot persistence — right store for each workload |\n| **No Caching** | Repeatedly fetching unchanged data | Cache-aside pattern, CDN, output caching, Redis |\n| **Noisy Neighbor** | One tenant consuming all shared resources | Bulkhead isolation, per-tenant quotas, throttling |\n| **Retry Storm** | Aggressive retries overwhelming a recovering service | Exponential backoff + jitter, circuit breaker, retry budgets |\n| **Synchronous I\u002FO** | Blocking threads on I\u002FO operations | Async\u002Fawait, non-blocking I\u002FO, reactive streams |\n\n---\n\n## Mission-Critical Design\n\nFor workloads targeting **99.99%+ SLO**, address these design areas:\n\n| Design Area | Key Considerations |\n|-------------|-------------------|\n| **Application platform** | Multi-region active-active, availability zones, Container Apps or AKS with zone redundancy |\n| **Application design** | Stateless services, idempotent operations, graceful degradation, bulkhead isolation |\n| **Networking** | Azure Front Door (global LB), DDoS Protection, private endpoints, redundant connectivity |\n| **Data platform** | Multi-region Cosmos DB, zone-redundant SQL, async replication, conflict resolution |\n| **Deployment & testing** | Blue-green deployments, canary releases, chaos engineering, automated rollback |\n| **Health modeling** | Composite health scores, dependency health tracking, automated remediation, SLI dashboards |\n| **Security** | Zero-trust, managed identity everywhere, key rotation, WAF policies, threat modeling |\n| **Operational procedures** | Automated runbooks, incident response playbooks, game days, postmortems |\n\nSee [Mission-Critical Reference](.\u002Freferences\u002Fmission-critical.md) for detailed guidance.\n\n---\n\n## Well-Architected Framework (WAF) Pillars\n\nEvery architecture decision should be evaluated against all five pillars:\n\n| Pillar | Focus | Key Questions |\n|--------|-------|---------------|\n| **Reliability** | Resiliency, availability, disaster recovery | What is the RTO\u002FRPO? How does it handle failures? Is there redundancy? |\n| **Security** | Threat protection, identity, data protection | Is identity managed? Is data encrypted? Are there network controls? |\n| **Cost Optimization** | Cost management, efficiency, right-sizing | Is compute right-sized? Are there reserved instances? Is there waste? |\n| **Operational Excellence** | Monitoring, deployment, automation | Is deployment automated? Is there observability? Are there runbooks? |\n| **Performance Efficiency** | Scaling, load testing, performance targets | Can it scale horizontally? Are there performance baselines? Is caching used? |\n\n### WAF Tradeoff Matrix\n\n| Optimizing for... | May impact... |\n|-------------------|---------------|\n| Reliability (redundancy) | Cost (more resources) |\n| Security (isolation) | Performance (added latency) |\n| Cost (consolidation) | Reliability (shared failure domains) |\n| Performance (caching) | Cost (cache infrastructure), Reliability (stale data) |\n\n---\n\n## Architecture Review Workflow\n\nWhen reviewing or designing a system, follow this structured approach:\n\n### Step 1: Identify Requirements\n\n```\nFunctional: What must the system do?\nNon-functional:\n  - Availability target (e.g., 99.9%, 99.99%)\n  - Latency requirements (p50, p95, p99)\n  - Throughput (requests\u002Fsec, messages\u002Fsec)\n  - Data residency and compliance\n  - Recovery targets (RTO, RPO)\n  - Cost constraints\n```\n\n### Step 2: Select Architecture Style\n\nMatch requirements to architecture style using the selection criteria table above.\n\n### Step 3: Choose Technology Stack\n\nUse the technology choices decision framework. Prefer managed services (PaaS) over IaaS.\n\n### Step 4: Apply Design Patterns\n\nSelect relevant patterns from the 44 cloud design patterns based on identified concerns.\n\n### Step 5: Address Cross-Cutting Concerns\n\n- **Identity & access** — Microsoft Entra ID, managed identity, RBAC\n- **Monitoring** — Application Insights, Azure Monitor, Log Analytics\n- **Security** — Network segmentation, encryption at rest\u002Fin transit, Key Vault\n- **CI\u002FCD** — GitHub Actions, Azure DevOps Pipelines, infrastructure as code\n\n### Step 6: Validate Against WAF Pillars\n\nReview each pillar systematically. Document tradeoffs explicitly.\n\n### Step 7: Document Decisions\n\nUse Architecture Decision Records (ADRs):\n\n```markdown\n# ADR-NNN: [Decision Title]\n\n## Status: [Proposed | Accepted | Deprecated]\n\n## Context\n[What is the issue we're addressing?]\n\n## Decision\n[What did we decide and why?]\n\n## Consequences\n[What are the positive and negative impacts?]\n```\n\n---\n\n## References\n\n- [Design Patterns Reference](.\u002Freferences\u002Fdesign-patterns.md) — Detailed pattern implementations\n- [Technology Choices Reference](.\u002Freferences\u002Ftechnology-choices.md) — Decision trees for Azure services\n- [Best Practices Reference](.\u002Freferences\u002Fbest-practices.md) — Implementation guidance\n- [Mission-Critical Reference](.\u002Freferences\u002Fmission-critical.md) — High-availability design\n\n---\n\n## Source\n\nContent derived from the [Azure Architecture Center](https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fazure\u002Farchitecture\u002F) — Microsoft's official guidance for cloud solution architecture on Azure. Covers design principles, architecture styles, cloud design patterns, technology choices, best practices, performance antipatterns, mission-critical design, and the Well-Architected Framework.\n",{"name":5,"description":7},"main","634c25395a24b98cd6125453ad4abb65517bcabb","bench\u002Fcorpus\u002Fbenign\u002Freal-ms-cloud-solution-architect","https:\u002F\u002Fgithub.com\u002Fak2dev\u002Fagentguard","https:\u002F\u002Fsite-bionic8.vercel.app","https:\u002F\u002Fgithub.com\u002Fak2dev","2026-11-11 02:37:06",{"source":8,"skillName":5,"commands":31,"prompt":41,"zipAvailable":42},[32,35,38],{"tool":33,"command":34},"npx","npx skills add ak2dev\u002Fagentguard --skill cloud-solution-architect",{"tool":36,"command":37},"bunx","bunx skills add ak2dev\u002Fagentguard --skill cloud-solution-architect",{"tool":39,"command":40},"pnpm","pnpm dlx skills add ak2dev\u002Fagentguard --skill cloud-solution-architect","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fak2dev\u002Fagentguard\u002Fblob\u002Fmain\u002Fbench\u002Fcorpus\u002Fbenign\u002Freal-ms-cloud-solution-architect\u002FSKILL.md",true,[44,50,54,58,62,66,70],{"path":45,"resourceType":46,"resourceTypeDesc":47,"sizeBytes":48,"sourceHtmlUrl":49},"references\u002Farchitecture-styles.md","REFERENCE","参考文档",15323,"https:\u002F\u002Fgithub.com\u002Fak2dev\u002Fagentguard\u002Fblob\u002Fmain\u002Fbench\u002Fcorpus\u002Fbenign\u002Freal-ms-cloud-solution-architect\u002Freferences\u002Farchitecture-styles.md",{"path":51,"resourceType":46,"resourceTypeDesc":47,"sizeBytes":52,"sourceHtmlUrl":53},"references\u002Fbest-practices.md",11727,"https:\u002F\u002Fgithub.com\u002Fak2dev\u002Fagentguard\u002Fblob\u002Fmain\u002Fbench\u002Fcorpus\u002Fbenign\u002Freal-ms-cloud-solution-architect\u002Freferences\u002Fbest-practices.md",{"path":55,"resourceType":46,"resourceTypeDesc":47,"sizeBytes":56,"sourceHtmlUrl":57},"references\u002Fdesign-patterns.md",38761,"https:\u002F\u002Fgithub.com\u002Fak2dev\u002Fagentguard\u002Fblob\u002Fmain\u002Fbench\u002Fcorpus\u002Fbenign\u002Freal-ms-cloud-solution-architect\u002Freferences\u002Fdesign-patterns.md",{"path":59,"resourceType":46,"resourceTypeDesc":47,"sizeBytes":60,"sourceHtmlUrl":61},"references\u002Fdesign-principles.md",16920,"https:\u002F\u002Fgithub.com\u002Fak2dev\u002Fagentguard\u002Fblob\u002Fmain\u002Fbench\u002Fcorpus\u002Fbenign\u002Freal-ms-cloud-solution-architect\u002Freferences\u002Fdesign-principles.md",{"path":63,"resourceType":46,"resourceTypeDesc":47,"sizeBytes":64,"sourceHtmlUrl":65},"references\u002Fmission-critical.md",15074,"https:\u002F\u002Fgithub.com\u002Fak2dev\u002Fagentguard\u002Fblob\u002Fmain\u002Fbench\u002Fcorpus\u002Fbenign\u002Freal-ms-cloud-solution-architect\u002Freferences\u002Fmission-critical.md",{"path":67,"resourceType":46,"resourceTypeDesc":47,"sizeBytes":68,"sourceHtmlUrl":69},"references\u002Fperformance-antipatterns.md",7815,"https:\u002F\u002Fgithub.com\u002Fak2dev\u002Fagentguard\u002Fblob\u002Fmain\u002Fbench\u002Fcorpus\u002Fbenign\u002Freal-ms-cloud-solution-architect\u002Freferences\u002Fperformance-antipatterns.md",{"path":71,"resourceType":46,"resourceTypeDesc":47,"sizeBytes":72,"sourceHtmlUrl":73},"references\u002Ftechnology-choices.md",7784,"https:\u002F\u002Fgithub.com\u002Fak2dev\u002Fagentguard\u002Fblob\u002Fmain\u002Fbench\u002Fcorpus\u002Fbenign\u002Freal-ms-cloud-solution-architect\u002Freferences\u002Ftechnology-choices.md",[75,82,87,92,97,103],{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":18},"01M7DJ7GBSJBJ32GXNQXVAMNYK","csv-tool","Summarize CSV files and report column statistics.","https:\u002F\u002Fgithub.com\u002Fak2dev\u002Fagentguard\u002Fblob\u002Fmain\u002Ffixtures\u002Frules\u002FAG-SYS-002\u002Fpositive\u002Ffault\u002Fcsv-tool\u002FSKILL.md",[],[],{"skillNo":83,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":18},"01M7DJ7F00PA7EHFM39RVCC8R5","https:\u002F\u002Fgithub.com\u002Fak2dev\u002Fagentguard\u002Fblob\u002Fmain\u002Ffixtures\u002Frules\u002FAG-SYS-002\u002Fnegative\u002Fnormal\u002Fcsv-tool\u002FSKILL.md",[],[],{"skillNo":88,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":89,"categories":90,"keywords":91,"publishedAt":18},"01M7DJ7DP7KDW7MYY5Q0R0JFEN","https:\u002F\u002Fgithub.com\u002Fak2dev\u002Fagentguard\u002Fblob\u002Fmain\u002Ffixtures\u002Frules\u002FAG-SYS-001\u002Fpositive\u002Ftoo-large\u002Fcsv-tool\u002FSKILL.md",[],[],{"skillNo":93,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":94,"categories":95,"keywords":96,"publishedAt":18},"01M7DJ7C3VA0KQ8Q9ESNX6AJHE","https:\u002F\u002Fgithub.com\u002Fak2dev\u002Fagentguard\u002Fblob\u002Fmain\u002Ffixtures\u002Frules\u002FAG-SYS-001\u002Fnegative\u002Fsmall\u002Fcsv-tool\u002FSKILL.md",[],[],{"skillNo":98,"name":99,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":100,"categories":101,"keywords":102,"publishedAt":18},"01M7DJ7AQZTGY5YADQX73TRB7K","pdf","https:\u002F\u002Fgithub.com\u002Fak2dev\u002Fagentguard\u002Fblob\u002Fmain\u002Ffixtures\u002Frules\u002FAG-SKL-TYP-002\u002Fpositive\u002Fother-publisher\u002Fpdf\u002FSKILL.md",[],[],{"skillNo":104,"name":99,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":105,"categories":106,"keywords":107,"publishedAt":18},"01M7DJ7831XDVWS4W9SAAKBJHX","https:\u002F\u002Fgithub.com\u002Fak2dev\u002Fagentguard\u002Fblob\u002Fmain\u002Ffixtures\u002Frules\u002FAG-SKL-TYP-002\u002Fnegative\u002Fsame-publisher\u002Fpdf\u002FSKILL.md",[],[]]