azure-well-architected-framework
Azure Well-Architected Framework (WAF) for cloud architecture review. PROACTIVELY activate for: (1) Azure architecture review or design, (2) Reliability pillar (availability zones, geo-replication, backup/restore, RPO/RTO), (3) Security pillar (Zero Trust, encryption at rest/in transit, identity, network segmentation), (4) Cost Optimization pillar (rightsizing, reserved instances, savings plans, FinOps), (5) Operational Excellence pillar (IaC, observability, automation), (6) Performance Efficiency pillar (caching, autoscaling, async patterns), (7) Sustainability pillar, (8) WAF Reviews via the WAF Assessment Tool, (9) Microsoft Cloud Adoption Framework (CAF) alignment. Provides: pillar-by-pillar checklist, WAF assessment workflow, common antipatterns by pillar, and Azure Advisor mapping.
What this skill does
# Azure Well-Architected Framework The Azure Well-Architected Framework is a set of guiding tenets for building high-quality cloud solutions. It consists of five pillars of architectural excellence. ## Overview **Purpose**: Help architects and engineers build secure, high-performing, resilient, and efficient infrastructure for applications. **The Five Pillars**: 1. Reliability 2. Security 3. Cost Optimization 4. Operational Excellence 5. Performance Efficiency ## Pillar 1: Reliability **Definition**: The ability of a system to recover from failures and continue to function. **Key Principles**: - Design for failure - Use availability zones and regions - Implement redundancy - Monitor and respond to failures - Test disaster recovery **Best Practices**: **Availability Zones:** ```bash # Deploy VM across availability zones az vm create \ --resource-group MyRG \ --name MyVM \ --zone 1 \ --image Ubuntu2204 \ --size Standard_D2s_v3 # Availability SLAs: # - Single VM (Premium SSD): 99.9% # - Availability Set: 99.95% # - Availability Zones: 99.99% ``` **Backup and Disaster Recovery:** ```bash # Enable Azure Backup az backup protection enable-for-vm \ --resource-group MyRG \ --vault-name MyVault \ --vm MyVM \ --policy-name DefaultPolicy # Recovery Point Objective (RPO): How much data loss is acceptable # Recovery Time Objective (RTO): How long can system be down ``` **Health Probes:** - Application Gateway health probes - Load Balancer probes - Traffic Manager endpoint monitoring ## Pillar 2: Security **Definition**: Protecting applications and data from threats. **Key Principles**: - Defense in depth - Least privilege access - Secure the network - Protect data at rest and in transit - Monitor and audit **Best Practices**: **Identity and Access:** ```bash # Use managed identities (no credentials in code) az vm identity assign \ --resource-group MyRG \ --name MyVM # RBAC assignment az role assignment create \ --assignee <principal-id> \ --role "Contributor" \ --scope /subscriptions/<subscription-id>/resourceGroups/MyRG ``` **Network Security:** - Use Network Security Groups (NSGs) - Implement Azure Firewall or Application Gateway WAF - Use Private Endpoints for PaaS services - Enable DDoS Protection Standard for public-facing apps **Data Protection:** ```bash # Enable encryption at rest (automatic for most services) # Enable TLS 1.2+ for data in transit # Azure Storage encryption az storage account update \ --name mystorageaccount \ --resource-group MyRG \ --min-tls-version TLS1_2 \ --https-only true ``` **Security Monitoring:** ```bash # Enable Microsoft Defender for Cloud az security pricing create \ --name VirtualMachines \ --tier Standard # Enable Azure Sentinel az sentinel onboard \ --resource-group MyRG \ --workspace-name MyWorkspace ``` ## Pillar 3: Cost Optimization **Definition**: Managing costs to maximize the value delivered. **Key Principles**: - Plan and estimate costs - Provision with optimization - Use monitoring and analytics - Maximize efficiency of cloud spend **Best Practices**: **Right-Sizing:** ```bash # Use Azure Advisor recommendations az advisor recommendation list \ --category Cost \ --output table # Common optimizations: # 1. Shutdown dev/test VMs when not in use # 2. Use Azure Hybrid Benefit for Windows/SQL # 3. Purchase reservations for consistent workloads # 4. Use autoscaling to match demand ``` **Reserved Instances:** - 1-year or 3-year commitment - Save up to 72% vs pay-as-you-go - Available for VMs, SQL Database, Cosmos DB, Synapse, Storage **Azure Hybrid Benefit:** ```bash # Apply Windows license to VM az vm update \ --resource-group MyRG \ --name MyVM \ --license-type Windows_Server # SQL Server Hybrid Benefit az sql vm create \ --resource-group MyRG \ --name MySQLVM \ --license-type AHUB ``` **Cost Management:** ```bash # Create budget az consumption budget create \ --budget-name MyBudget \ --category cost \ --amount 1000 \ --time-grain monthly \ --start-date 2025-01-01 \ --end-date 2025-12-31 # Set up alerts at 80%, 100%, 120% of budget ``` ## Pillar 4: Operational Excellence **Definition**: Operations processes that keep a system running in production. **Key Principles**: - Automate operations - Monitor and gain insights - Refine operations procedures - Anticipate failure - Stay current with updates **Best Practices**: **Infrastructure as Code:** ```bash # Use ARM, Bicep, or Terraform # Version control all infrastructure # Implement CI/CD for infrastructure # Example: Bicep deployment az deployment group create \ --resource-group MyRG \ --template-file main.bicep \ --parameters @parameters.json ``` **Monitoring and Alerting:** ```bash # Application Insights for apps az monitor app-insights component create \ --app MyApp \ --location eastus \ --resource-group MyRG # Log Analytics for infrastructure az monitor log-analytics workspace create \ --resource-group MyRG \ --workspace-name MyWorkspace # Create alerts az monitor metrics alert create \ --name HighCPU \ --resource-group MyRG \ --scopes <vm-id> \ --condition "avg Percentage CPU > 80" \ --description "CPU usage is above 80%" ``` **DevOps Practices:** - Continuous Integration/Continuous Deployment (CI/CD) - Blue-green deployments - Canary releases - Feature flags - Automated testing ## Pillar 5: Performance Efficiency **Definition**: The ability of a system to adapt to changes in load. **Key Principles**: - Scale horizontally - Choose the right resources - Monitor performance - Optimize network and data access **Best Practices**: **Scaling:** ```bash # Horizontal scaling (preferred) # VM Scale Sets az vmss create \ --resource-group MyRG \ --name MyVMSS \ --image Ubuntu2204 \ --instance-count 3 \ --vm-sku Standard_D2s_v3 # Autoscaling az monitor autoscale create \ --resource-group MyRG \ --resource MyVMSS \ --resource-type Microsoft.Compute/virtualMachineScaleSets \ --name MyAutoscale \ --min-count 2 \ --max-count 10 ``` **Caching:** - Azure Cache for Redis - Azure CDN for static content - Application-level caching **Data Access:** - Use indexes on databases - Implement caching strategies - Use CDN for global content delivery - Optimize queries (SQL, Cosmos DB) **Networking:** ```bash # Use Azure Front Door for global apps az afd profile create \ --profile-name MyFrontDoor \ --resource-group MyRG \ --sku Premium_AzureFrontDoor # Features: # - Global load balancing # - CDN capabilities # - Web Application Firewall # - SSL offloading # - Caching ``` ## Assessment and Tools **Azure Well-Architected Review:** ```bash # Self-assessment tool in Azure Portal # Generates recommendations per pillar # Provides actionable guidance ``` **Azure Advisor:** ```bash # Get recommendations az advisor recommendation list --output table # Categories: # - Reliability (High Availability) # - Security # - Performance # - Cost # - Operational Excellence ``` ## Implementation Checklist **Reliability:** - [ ] Deploy across availability zones - [ ] Implement backup strategy - [ ] Define RTO and RPO - [ ] Test disaster recovery - [ ] Implement health monitoring **Security:** - [ ] Enable Azure AD authentication - [ ] Implement RBAC (least privilege) - [ ] Encrypt data at rest and in transit - [ ] Enable Microsoft Defender for Cloud - [ ] Implement network segmentation (NSGs, Firewall) - [ ] Use Key Vault for secrets **Cost Optimization:** - [ ] Right-size resources - [ ] Purchase reservations for predictable workloads - [ ] Enable autoscaling - [ ] Use Azure Hybrid Benefit - [ ] Implement budget alerts - [ ] Review Azure Advisor cost recommendations **Operational Excellence:** - [ ] Implement Infrastructure as Code - [ ] Set up CI/CD pipelines - [ ] Enable comprehensive monitoring - [ ] Create operational runbooks - [ ] Implement automated alerting - [ ] Use tags for resource organization **Performance Efficie
Related in Design
contribute
IncludedLocal-only OSS contribution command center. Auto-refreshes the user's in-flight PR and issue state on invoke so conversations start with full context — no need to brief Claude on what's in flight. Helps the user find issues to contribute to on GitHub, builds per-repo dossiers of what each upstream expects (CLA, DCO, branch convention, AI policy, draft-first, review bots, issue templates), runs deterministic gates before any external action so AI-assisted contributions don't reach maintainers as slop. State is markdown-only: candidate files at ~/.contribute-system/candidates/, repo dossiers at ~/.contribute-system/research/, append-only event log at ~/.contribute-system/log.jsonl. No database, no cloud calls. Use when the user asks about their PRs / issues / contributions, wants to find new work to take on, claim an issue, build/refresh a repo's dossier, or draft a Design Issue or PR. Trigger with "/contribute", "what's my PR status", "find a contribution", "claim issue X", "draft a Design Issue for Y", "refresh dossier for Z".
architectural-analysis
IncludedUser-triggered deep architectural analysis of a codebase or scoped subtree across eight modes — information architecture, data flow, integration points, UI surfaces, interaction patterns, data model, control flow, and failure modes. This skill should be used when the user asks to "diagram this codebase," "map the architecture," "show the data flow," "give me an ERD," "trace control flow," "find the integration points," "verify the layout pattern," "audit the UX architecture," or any similar request whose primary deliverable is mermaid diagrams plus cited reports under docs/architecture/. Dispatches haiku/sonnet sub-agents in parallel for per-mode exploration, then verifies every citation mechanically before any node lands in a diagram. Not for one-off prose explanations of code (use code-explanation) or for high-level system design from scratch (use system-design).
mcp
IncludedModel Context Protocol (MCP) server development and tool management. Languages: Python, TypeScript. Capabilities: build MCP servers, integrate external APIs, discover/execute MCP tools, manage multi-server configs, design agent-centric tools. Actions: create, build, integrate, discover, execute, configure MCP servers/tools. Keywords: MCP, Model Context Protocol, MCP server, MCP tool, stdio transport, SSE transport, tool discovery, resource provider, prompt template, external API integration, Gemini CLI MCP, Claude MCP, agent tools, tool execution, server config. Use when: building MCP servers, integrating external APIs as MCP tools, discovering available MCP tools, executing MCP capabilities, configuring multi-server setups, designing tools for AI agents.
react-native-skia
IncludedDesign, build, debug, and optimise high-polish animated graphics in React Native or Expo using @shopify/react-native-skia, Reanimated, and Gesture Handler. Use when the user wants canvas-driven UI, shaders, paths, rich text, image filters, sprite fields, Skottie, video frames, snapshots, web CanvasKit setup, or performance tuning for custom motion-heavy elements such as loaders, hero art, cards, charts, progress indicators, particle systems, or gesture-driven surfaces. Also use when the user asks for fluid, glow, glass, blob, parallax, 60fps/120fps, or GPU-friendly animated effects in React Native, even if they do not explicitly say "Skia". Do not use for ordinary form/layout work with standard views.
plaid
IncludedProduct Led AI Development — guides founders from idea to launched product. Six capabilities: Idea (discover a product idea), Validate (pressure-test the idea against fatal flaws, problem reality, competition, and 2-week MVP feasibility), Plan (vision intake + document generation), Design (translate image references into a design.md spec), Launch (go-to-market strategy), and Build (roadmap execution). Use when someone says "PLAID", "plaid idea", "help me find an idea", "product idea", "idea from my business", "idea from my expertise", "plaid validate", "validate my idea", "pressure-test", "is this idea good", "find fatal flaws", "validate the problem", "plan a product", "define my vision", "generate a PRD", "product strategy", "plaid design", "design from image", "translate image to design", "create design.md", "extract design tokens", "plaid launch", "go-to-market", "launch plan", "GTM strategy", "launch playbook", "plaid build", "build the app", "start building", or "execute the roadmap".
nextjs-framer-motion-animations
IncludedAdds production-safe Motion for React or Framer Motion animations to Next.js apps, including reveal, hover and tap micro-interactions, whileInView, stagger, AnimatePresence, layout and layoutId transitions, reorder, scroll-linked UI, and lightweight route-content transitions. Use when the user asks to add, refactor, or debug Motion or Framer Motion in App Router or Pages Router codebases, especially around server/client boundaries, reduced motion, LazyMotion, bundle size, hydration, or route transitions. Avoid for GSAP-style timelines, WebGL or 3D scenes, heavy scroll storytelling, or CSS-only effects unless Motion is explicitly requested.