[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M699Y5EGXTRGGQRQHV7VQASV":3,"skill-same:01M699Y5EGXTRGGQRQHV7VQASV":135},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":18,"categories":19,"keywords":30,"publishedAt":51,"linkOnly":52,"markdownContent":53,"markdownBody":54,"frontMatter":55,"refName":58,"commitSha":59,"skillDirectory":60,"forksCount":61,"repositoryHtmlUrl":62,"repositoryHomepageUrl":17,"ownerHtmlUrl":63,"ownerBlogUrl":64,"ownerDescription":65,"updatedAt":66,"install":67,"resources":80},"01M699Y5EGXTRGGQRQHV7VQASV","azure-reliability","Azure 应用可靠性评估","Assess and improve the reliability posture of PaaS Applications (Azure Functions and Azure App Service). Scans deployed resources for zone redundancy, ZRS storage, health probes, and multi-region failover. Presents a feature-pivoted checklist, then drives staged remediation (CLI or IaC patches) end-to-end with user confirmation. WHEN: \"assess reliability\", \"check reliability\", \"zone redundant\", \"multi-region failover\", \"high availability\", \"disaster recovery\", \"single points of failure\", \"reliability posture\", \"resiliency\".","评估并改进 PaaS 应用（Azure Functions 和 Azure App Service）的可靠性态势。扫描已部署资源的区域冗余、ZRS 存储、健康探针和多区域故障转移。呈现以功能为中心的清单，然后在用户确认下端到端推动分阶段修复（CLI 或 IaC 补丁）。触发时机：“评估可靠性”、“检查可靠性”、“区域冗余”、“多区域故障转移”、“高可用”、“灾难恢复”、“单点故障”、“可靠性态势”、“弹性”。","microsoft\u002FGitHub-Copilot-for-Azure","microsoft","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F6154722?v=4","01M698VYDXZ6JW5WH3CRV650R8","Microsoft","01M699SRDDGQCK3TYBF146AE4D",264,"MIT",null,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FGitHub-Copilot-for-Azure\u002Fblob\u002Fmain\u002Fplugins\u002Fazure-skills\u002Fskills\u002Fazure-reliability\u002FSKILL.md",[20,25],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQGD4WETX0HM3SM9QKQ15B","SRE 工程师","PROFESSION","适用职业",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BSSTY86MWS6W5GDQWB1ADQ","备份与灾难恢复","SCENARIO","使用场景",[31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,10,50],"azure reliability","azure","reliability","when","cli","for","availability","resources","app","end","feature","high availability","azure app service","paas","confirmation","improve","applications","remediation","placeholder","storage","2026-11-10 10:12:30",false,"---\nname: azure-reliability\ndescription: \"Assess and improve the reliability posture of PaaS Applications (Azure Functions and Azure App Service). Scans deployed resources for zone redundancy, ZRS storage, health probes, and multi-region failover. Presents a feature-pivoted checklist, then drives staged remediation (CLI or IaC patches) end-to-end with user confirmation. WHEN: \\\"assess reliability\\\", \\\"check reliability\\\", \\\"zone redundant\\\", \\\"multi-region failover\\\", \\\"high availability\\\", \\\"disaster recovery\\\", \\\"single points of failure\\\", \\\"reliability posture\\\", \\\"resiliency\\\".\"\nlicense: MIT\nmetadata:\n  author: Microsoft\n  version: \"0.0.0-placeholder\"\n---\n\n# Azure Reliability Assessment & Configuration\n\n## Quick Reference\n\n| Property | Details |\n|---|---|\n| Best for | Reliability posture assessment, zone redundancy enablement, multi-region failover setup |\n| Primary capabilities | Reliability assessment table, Zone Redundancy Configuration, Multi-Region IaC Generation |\n| Supported services | Azure Functions, App Service (Container Apps planned for a future version) |\n| MCP tools | Azure Resource Graph queries, Azure CLI commands |\n\n## When to Use This Skill\n\nActivate this skill when user wants to:\n- \"Assess my Function app's reliability\"\n- \"Assess my Web app's reliability\"\n- \"Check the reliability of my resource group\" (App Service and Functions resources only)\n- \"Is my app zone redundant?\" (App Service and Functions resources only)\n- \"Is my app service plan zone redundant?\" \n- \"Make my app zone redundant\" (App Service and Functions resources only)\n- \"Make my app service plan zone redundant\"\n- \"Set up multi-region failover for my app\" (App Service and Functions resources only)\n- \"Check my reliability posture\"\n- \"Find single points of failure\" (App Service and Functions resources only)\n- \"Enable high availability for my app\" (App Service and Functions resources only)\n- \"Check disaster recovery readiness\"\n- \"Improve my app's resilience\" (App Service and Functions resources only)\n\n> **Scope note:** This skill currently covers **Azure Functions and Azure App Service** only. If the user asks about Azure Container Apps reliability, acknowledge that support is planned but not yet available, and only proceed with the parts that apply to App Service and Functions resources in scope.\n\n## Prerequisites\n\n- Authentication: user is logged in to Azure via `az login`\n- Permissions: Reader access on target subscription\u002Fresource group (for assessment)\n- Permissions: Contributor access (for configuration changes)\n- Azure Resource Graph extension: `az extension add --name resource-graph`\n\n## MCP Tools\n\n| Tool | Purpose |\n|------|---------|\n| `mcp_azure_mcp_extension_cli_generate` | Generate `az` CLI commands for resource queries and configuration |\n| `mcp_azure_mcp_subscription_list` | List available subscriptions |\n| `mcp_azure_mcp_group_list` | List resource groups |\n\nPrimary query method: Azure Resource Graph via `az graph query` (requires `az extension add --name resource-graph`).\n\n## Assessment Workflow\n\n### Phase 1: Discover Resources\n\n1. **Identify scope** — Ask user for resource group, subscription, or app name\n2. **Query Azure Resource Graph** to discover all resources in scope\n3. **Classify resources** by service type (Functions, Storage, etc.). If Container Apps is found, **note it but do not deep-dive**.\n\n**Important:** Always scope queries to the user's specified resource group or subscription. Add these filters to every Resource Graph query:\n- Resource group: `| where resourceGroup =~ '\u003Crg-name>'`\n- Subscription: Use `--subscriptions \u003Csub-id>` flag on `az graph query`\n- App name: `| where name =~ '\u003Capp-name>'`\n\n### Phase 2: Assess Reliability\n\nTwo-step assessment: **platform-level discovery first, then per-service deep dive.**\n\n**Step 1 — Platform discovery (find what's there).** Use these to enumerate resources in scope and detect cross-cutting reliability gaps:\n\n| Platform check | Reference |\n|---|---|\n| Zone redundancy — discovery | [references\u002Fzone-redundancy-checks.md](references\u002Fzone-redundancy-checks.md) |\n| Storage redundancy (cross-service) | [references\u002Fstorage-redundancy-checks.md](references\u002Fstorage-redundancy-checks.md) |\n| Multi-region & global load balancers | [references\u002Fmulti-region-checks.md](references\u002Fmulti-region-checks.md) |\n| Front Door \u002F Traffic Manager \u002F App Insights probes | [references\u002Fhealth-probe-checks.md](references\u002Fhealth-probe-checks.md) |\n\n**Step 2 — Per-service deep dive.** For each compute resource discovered in Step 1, load the matching service reference. The service reference is the single source of truth for that service's plan\u002FSKU rules, assessment queries, CLI commands, IaC patches (Bicep + Terraform + AVM), and reporting hints.\n\nThis skill version ships **only the Azure Functions and App Service** per-service references. Other compute services are listed below explicitly so the dispatch logic is unambiguous: if a resource matches an unsupported row, do **not** attempt to load a reference, fabricate CLI commands, or generate IaC patches for it.\n\n| Service detected | Reference |\n|---|---|\n| Azure Functions (`microsoft.web\u002Fserverfarms` with `kind contains 'functionapp'`) | [references\u002Fservices\u002Ffunctions\u002Freliability.md](references\u002Fservices\u002Ffunctions\u002Freliability.md) |\n| Azure App Service (non-Functions sites: `microsoft.web\u002Fsites` without `kind contains 'functionapp'`, `microsoft.web\u002Fserverfarms` without `kind contains 'functionapp'`) | [references\u002Fservices\u002Fapp-service\u002Freliability.md](references\u002Fservices\u002Fapp-service\u002Freliability.md) |\n| Azure Container Apps (`microsoft.app\u002Fcontainerapps`, `microsoft.app\u002Fmanagedenvironments`) | ⚪ Not yet shipped — planned for a future version |\n\n> **Handling unsupported services:** If a resource matches an unsupported row above, surface it in the discovery summary, mark it as `⚪ not assessed (planned)` in the Phase 3 table, and skip the per-service remediation steps for it. Do **not** attempt to fabricate CLI commands or IaC patches for those services.\n\n### Phase 3: Generate Reliability Checklist\n\nPresent findings as a **feature-pivoted** table: one row per reliability feature (Zone redundancy on compute, Zone-redundant storage, Health probes, Multi-region failover), with a single status indicator and the **specific resources** that are relevant to that feature. This avoids the noise of one-row-per-resource with mostly `n\u002Fa` cells. Do **not** assign numeric scores or grades.\n\n```\n? Reliability Assessment — {scope}\n─────────────────────────────────────────────────────────────────────────────────────────────\nReliability Feature              Status      Resources\n─────────────────────────────────────────────────────────────────────────────────────────────\nZone redundancy — compute        ? OFF      • plan-web-ii5trxva2ark4 (P1v3)\n                                              • plan-ii5trxva2ark4 (FC1)\n\nZone-redundant storage           ? GRS      • stii5trxva2ark4 (defaulted; no SKU set in IaC)\n\nHealth probes                    ? OFF      • func-api-ii5trxva2ark4 — needs code change (FC1)\n                                              • app-web-ii5trxva2ark4 — no health check path\n\nMulti-region failover            ? OFF      • Single region (eastus) only — Front Door not configured\n─────────────────────────────────────────────────────────────────────────────────────────────\n\nWant me to fix the ? items? I'll do the quick wins first (App\nplan zone redundancy + health checks on supported plans), then ask before\nstorage migration and multi-region setup. (yes\u002Fno)\n```\n\n**Rules for the table:**\n\n- **Four feature rows, in this order:** Zone redundancy — compute · Zone-redundant storage · Health probes · Multi-region failover. Omit a row entirely only if no resource in scope could ever apply to it.\n- **Status column** is one symbol + one short word, no other characters:\n  - `? ON` — feature is fully enabled across all relevant resources in scope\n  - `? PARTIAL` — some resources have it, some don't (or partial config like liveness-only)\n  - `? OFF` — feature is missing on all relevant resources\n  - For storage, replace `OFF` with the current SKU when relevant (`? LRS`, `? GRS`, `? ZRS`, `? GZRS`). When no SKU is set in IaC, label as `? GRS` (ARM\u002FAVM default) and note that in the resource line.\n- **Resources column** lists only what's relevant to that feature, one bullet per resource:\n  - For \"needs fixing\" resources, include a short inline reason (`(FC1)`, `(defaulted; no SKU set)`, `liveness only`, `needs code change (FC1)`).\n  - For resources that are **already ON** for that feature, mention them on the same row with `— already ON` so the user sees credit for what's right.\n- **Do not** include `n\u002Fa`, `—`, or empty cells. If a feature doesn't apply to any resource in scope, drop the row.\n- **Do not** include numeric scores, grades, or point totals.\n- End the assessment with a **single yes\u002Fno question** that kicks off the staged remediation flow. Do not enumerate the per-resource fix list here — the user will see it after they say yes (Configuration Workflow Step 1).\n\n> **UX Note:** If the assessment finds the app **already has** all core reliability features (zone redundancy, ZRS\u002FGZRS storage, health probes), skip the fix-it question and jump straight to Configuration Workflow [Step 3](#step-3-both-paths-multi-region-followup--ask-and-wait) (Multi-region follow-up). Do **NOT** start any multi-region work without explicit consent.\n\n## Configuration Workflow\n\nWhen user wants to **fix** findings from the assessment:\n\n> **⛔ ALWAYS confirm with user before executing changes.** Show what will change, any cost implications, and any destructive actions (e.g., environment recreation).\n\n### Step 1: Present Fix Plan + Choose Path\n\nAfter assessment, if user says \"fix it\" \u002F \"improve my reliability\" \u002F \"enable zone redundancy\":\n\n1. List each fixable finding with the specific action\n2. Flag any cost implications or breaking changes\n3. **Ask user which path they want:**\n\n```\nI'll start with the quick wins (no downtime, fast):\n\n1. ✏️  Enable zone redundancy on plan-ii5trxva2ark4 (Flex Consumption — no cost change)\n2. ✏️  Set health check path to \u002Fapi\u002Fhealth on func-api-ii5trxva2ark4\n\nThen, separately, I'll ask if you want to upgrade storage:\n\n3. ?  Upgrade stii5trxva2ark4 from LRS → ZRS (small cost increase, migration takes hours)\n   — Required for full zone redundancy, but I'll confirm with you before starting.\n\nHow would you like to apply these changes?\n\n  A) Fix now — Run az CLI commands against your live resources (immediate, one-time)\n  B) Patch my IaC — Update your Bicep\u002FTerraform files so changes persist across deploys\n\n(If you use azd or Terraform, option B is recommended so `azd up` won't overwrite changes.)\n```\n\n### Path A: Fix Now (CLI)\n\nRun fixes against live resources using `az` CLI commands. **Quick wins first, then ask before the slow storage migration.**\n\nThe exact CLI commands per service live in the per-service references — pick the one(s) matching the resources discovered in Phase 2:\n\n| Fix | Reference |\n|---|---|\n| Enable zone redundancy \u002F configure health probes (Functions) | [references\u002Fservices\u002Ffunctions\u002Freliability.md](references\u002Fservices\u002Ffunctions\u002Freliability.md) |\n| Enable zone redundancy \u002F configure health probes (App Service) | [references\u002Fservices\u002Fapp-service\u002Freliability.md](references\u002Fservices\u002Fapp-service\u002Freliability.md) |\n| Upgrade storage replication (cross-service) | [references\u002Fconfigure-storage.md](references\u002Fconfigure-storage.md) |\n| Set up multi-region (cross-service) | [references\u002Fconfigure-multi-region.md](references\u002Fconfigure-multi-region.md) |\n| Platform overview \u002F verification | [references\u002Fconfigure-zone-redundancy.md](references\u002Fconfigure-zone-redundancy.md), [references\u002Fconfigure-health-probes.md](references\u002Fconfigure-health-probes.md) |\n\n**Execution order — always quick wins first:**\n\n1. **Zone redundancy on compute** (fast, in-place property update on the App's plan).\n2. **Health probes** (Premium \u002F Dedicated only — in-place; for FC1 \u002F Consumption, follow the consent gate in [configure-health-probes.md](references\u002Fconfigure-health-probes.md)).\n3. **Verify** the compute changes succeeded before doing anything else.\n4. **⛔ STOP — Ask about storage upgrade.** Compute is now zone-redundant, but storage may still be LRS or GRS. Ask the user explicitly:\n\n   ```\n   ✅ Compute is now zone-redundant.\n\n   To be **fully zone-redundant**, your storage account also needs to be upgraded:\n     • stii5trxva2ark4: currently `Standard_LRS` → needs `Standard_ZRS`\n\n   ⚠️  This is a live storage redundancy conversion:\n      • Takes hours to days depending on data volume\n      • Small ongoing cost increase (~$0.01\u002FGB\u002Fmonth more)\n      • Only supported for Standard general-purpose v2 accounts\n\n   Do you want me to start the storage migration now? (yes \u002F no \u002F later)\n   ```\n\n   - **yes** → run `az storage account update --sku Standard_ZRS` (or `migration start` if needed); poll `az storage account show --query sku.name` until it reports `Standard_ZRS`.\n   - **no \u002F later** → leave storage as-is; note in the re-assessment that ZR storage remains a gap.\n\n5. **Multi-region** — do NOT auto-run. Handled in **Step 3** below as an explicit follow-up after re-assessment.\n\n> **⚠️ Warning:** If the user uses `azd up` or `terraform apply` later, CLI-only changes may be overwritten by the IaC definitions. Recommend also patching IaC after CLI fixes.\n\n### Path B: Patch IaC\n\nUpdate the user's Bicep or Terraform files so reliability settings are persistent.\n\n**Step 1: Detect IaC type**\n1. Look for `infra\u002F` folder in project root\n2. If not found, check project root for `*.bicep` or `*.tf` files\n3. If still not found, ask user: \"Where are your IaC files located?\"\n4. Check for `*.bicep` files → use Bicep patching\n5. Check for `*.tf` files → use Terraform patching\n6. If both exist, ask user which to patch\n7. If no IaC exists, fall back to Path A (CLI) and inform user\n\n**Step 2: Classify each fix by risk level**\n\n| Fix | Risk Level | What Happens |\n|-----|-----------|--------------|\n| Zone redundancy (App plan) | ? Safe patch | In-place property update on next deploy |\n| Storage LRS → ZRS | ? Pre-migration required | Live storage migration must complete before the IaC SKU change can deploy. **Never bundle with safe patches** — use the two-deploy flow in Steps 3–5. |\n| Health check path (Basic\u002FStandard\u002FPremium \u002F Dedicated) | ? Safe patch | In-place update, but causes app restart |\n| Health check path (FC1 \u002F Consumption) | ⚪ Code-only — ask first | `healthCheckPath` is unsupported. Adding a health endpoint requires adding an HTTP-triggered `\u002Fapi\u002Fhealth` function to **app code**. **Always ask the user for explicit consent before touching source code.** Do **not** patch IaC. |\n\n**Step 3: Apply patches in two deploys (quick wins first)**\n\nThe IaC patching framework (detection, AVM-module guidance, deploy-order rule, storage SKU patch) lives in:\n\n| IaC Type | Framework reference |\n|---|---|\n| Bicep | [references\u002Fiac-patching-bicep.md](references\u002Fiac-patching-bicep.md) |\n| Terraform | [references\u002Fiac-patching-terraform.md](references\u002Fiac-patching-terraform.md) |\n\nThe actual **per-service compute patches** (Function App plan ZR, App Service Plan ZR, etc.) live in the per-service references — load the matching service file from Phase 2 for the exact Bicep \u002F Terraform \u002F AVM snippets. Only Azure Functions and App Service have per-service references in this skill version; Container Apps is out of scope.\n\n**Deploy 1 — Quick wins only.** Patch the ? Safe items (zone redundancy on the App Service\u002FFunction App plan, health probes on Basic\u002FStandard\u002FPremium \u002F Dedicated). Do **NOT** include the storage SKU patch in this deploy.\n\nAfter patching, **the skill runs the deploy itself** (do not stop and tell the user to run it). Detect the deployment tool and confirm once before executing:\n\n```\n? Patches applied to your IaC. Ready to deploy:\n   Tool detected: azd (found azure.yaml)\n   Command:       azd up\n\nProceed with deployment? (yes \u002F no)\n```\n\nOn **yes**, run the appropriate command, stream output back to the user, and continue to the next step on success:\n- AZD project (has `azure.yaml`): `azd up`\n- Bicep-only: `az deployment group create --resource-group \u003Crg> --template-file infra\u002Fmain.bicep --parameters @infra\u002Fmain.parameters.json`\n- Terraform: `terraform plan -out tfplan` → (show plan summary) → `terraform apply tfplan`\n\nOn **no**, stop and report the patched files; do not proceed to Step 4 \u002F Re-Assess.\n\nIf deployment fails, surface the error and stop — do not continue to the storage step.\n\n**⛔ STOP — Ask about storage upgrade before Deploy 2.** After Deploy 1 succeeds, ask the user explicitly:\n\n```\n✅ Quick-win patches deployed. Compute is now zone-redundant.\n\nTo be **fully zone-redundant**, your storage account also needs to be upgraded:\n  • stii5trxva2ark4: currently `Standard_LRS` → needs `Standard_ZRS`\n\n⚠️  This is a two-part change:\n   1. Live storage migration (`az storage account migration start`) — takes hours to days\n   2. A second deploy to update your IaC's storage SKU to match\n\nDo you want me to start the storage migration now? (yes \u002F no \u002F later)\n```\n\n- **yes** → the skill runs the migration command itself, polls until complete, then patches the storage SKU in IaC and runs **Deploy 2** (now a no-op confirmation). The user does not need to run anything manually.\n- **no \u002F later** → leave the storage SKU patch unapplied. Note in the re-assessment that ZR storage remains a gap; suggest revisiting later.\n\n**Step 4: Storage migration (only if user said yes in Step 3)**\n\nThe skill runs these commands itself — do not ask the user to run them. Show progress as you go:\n\n```\n? Starting storage migration (this can take up to 72 hours)...\n\n   az storage account migration start --name stii5trxva2ark4 \\\n     --resource-group rg-example --sku Standard_ZRS --no-wait\n\n   Polling: az storage account show --name stii5trxva2ark4 --query sku.name\n   ...\n   ✅ Migration complete: sku.name = Standard_ZRS\n```\n\nFor very long migrations, you may surface a checkpoint to the user (\"this is still running, check back later\") rather than blocking the entire conversation.\n\n**Step 5: Deploy 2 — storage SKU patch**\n\nAfter the migration completes, the skill patches the storage SKU in IaC and runs the same deploy command as Step 3 (e.g. `azd up`). This deploy is a no-op confirmation that the IaC matches the live state. Confirm once with the user before executing, then run it directly.\n\n### Step 2 (both paths): Re-Assess\n\nAfter changes are applied (CLI) or deployed (IaC), automatically re-run the assessment and show the **same feature-pivoted table** as Phase 3, with each feature row's status updated to reflect the new state. Briefly call out what changed since the previous run.\n\n```\n? Reliability Re-Assessment — rg-eventhubs-python-jan13 (eastus)\n───────────────────────────────────────────────────────────────────────────────────────\nReliability Feature              Status      Resources\n───────────────────────────────────────────────────────────────────────────────────────\nZone redundancy — compute        ? ON       • plan-ii5trxva2ark4 (FC1)              — now ON\n                                             • plan-web-ii5trxva2ark4 (P1v3)         — now ON\n\nZone-redundant storage           ? ZRS      • stii5trxva2ark4                       — GRS → ZRS\n\nHealth probes                    ? PARTIAL  • func-api-ii5trxva2ark4                — still off (FC1, code change declined)\n                                             • app-web-ii5trxva2ark4                 — now ON\n\nMulti-region failover            ? OFF      • Single region (eastus) only\n───────────────────────────────────────────────────────────────────────────────────────\n\nWhat changed: Function App and App Service plan zone redundancy, storage replication and health probes on App Service.\n(Multi-region offered next — see Step 3.)\n```\n\n### Step 3 (both paths): Multi-region follow-up — ASK and WAIT\n\nMulti-region is a significant cost\u002Fcomplexity step. Do **NOT** start it automatically. After re-assessment, only if **all core single-region reliability features are ? ON** (zone-redundant compute, ZRS\u002FGZRS storage, health probes), explicitly ask the user and **wait for their response** before doing anything:\n\n```\n? Your app is now fully zone-redundant in {region}.\n\nThe next step (optional) is multi-region failover with Azure Front Door:\n   • Deploys compute + storage in a second region (paired region recommended)\n   • Adds Azure Front Door for global load balancing with health-probe-driven failover\n   • Protects against full region outages\n   • Estimated additional cost: ~2x compute (active-passive); Front Door ~$35\u002Fmonth base\n\nDo you want me to set up multi-region failover now? (yes \u002F no \u002F later)\n```\n\n- **yes** → proceed with [references\u002Fconfigure-multi-region.md](references\u002Fconfigure-multi-region.md). Confirm secondary region choice with the user, then:\n  1. Generate the multi-region IaC (Bicep \u002F Terraform additions for the secondary region + Front Door).\n  2. Confirm once with the user: `? Multi-region IaC generated. Ready to deploy with \\`azd up\\`. Proceed? (yes \u002F no)`\n  3. On **yes**, **the skill runs the deploy itself** (`azd up` \u002F `az deployment group create` \u002F `terraform apply`) and streams output. Do not stop and tell the user to run it.\n  4. After successful deploy, run a final re-assessment so the user sees Multi-region failover flip to ? ON.\n- **no \u002F later** → leave the deployment as-is. Note that single-region zone-redundant is a reliable end state; multi-region can be revisited anytime.\n\n> **⛔ Do not skip the wait.** Do not generate multi-region IaC, deploy a Front Door, or modify any files until the user has explicitly said yes. If core reliability is not yet all ?, do **not** ask about multi-region — finish the core gaps first.\n\n## Priority Classification\n\n| Priority | Criteria | Action |\n|---|---|---|\n| Critical | No zone redundancy AND production workload | Fix immediately |\n| High | LRS storage on zone-redundant compute | Fix within days |\n| Medium | No multi-region (single region but zone-redundant) | Plan for next sprint |\n| Low | Missing health probes or monitoring gaps | Track and fix |\n\n## Error Handling\n\n| Error | Message | Remediation |\n|---|---|---|\n| Authentication required | \"Please login\" | Run `az login` and retry |\n| Access denied | \"Forbidden\" | Confirm Reader\u002FContributor role assignment |\n| Plan doesn't support ZR | \"Upgrade required\" | Inform user of plan upgrade path + cost delta |\n| Region doesn't support AZ | \"Region limitation\" | Suggest supported regions |\n\n## Best Practices\n\n- Run reliability assessments after every significant infrastructure change\n- Test failover scenarios periodically (at least quarterly)\n\n## Skill Boundaries\n\n| Action | This skill does | Hand off to |\n|---|---|---|\n| Assess reliability posture | ✅ Yes | — |\n| Recommend improvements | ✅ Yes | — |\n| Enable zone redundancy (CLI commands) | ✅ Yes | — |\n| Patch Bicep\u002FTerraform for reliability | ✅ Yes | — |\n| Generate multi-region IaC | ✅ Yes (additions for the secondary region + Front Door) | `azure-prepare` for full new-app IaC scaffolding |\n| Deploy IaC for reliability changes | ✅ Yes (runs `azd up` \u002F `terraform apply` \u002F `az deployment` itself, after user confirmation) | `azure-deploy` for general\u002Fnon-reliability deploys |\n| Validate pre-deployment | Reliability checks only | `azure-validate` for full validation |\n","# Azure Reliability Assessment & Configuration\n\n## Quick Reference\n\n| Property | Details |\n|---|---|\n| Best for | Reliability posture assessment, zone redundancy enablement, multi-region failover setup |\n| Primary capabilities | Reliability assessment table, Zone Redundancy Configuration, Multi-Region IaC Generation |\n| Supported services | Azure Functions, App Service (Container Apps planned for a future version) |\n| MCP tools | Azure Resource Graph queries, Azure CLI commands |\n\n## When to Use This Skill\n\nActivate this skill when user wants to:\n- \"Assess my Function app's reliability\"\n- \"Assess my Web app's reliability\"\n- \"Check the reliability of my resource group\" (App Service and Functions resources only)\n- \"Is my app zone redundant?\" (App Service and Functions resources only)\n- \"Is my app service plan zone redundant?\" \n- \"Make my app zone redundant\" (App Service and Functions resources only)\n- \"Make my app service plan zone redundant\"\n- \"Set up multi-region failover for my app\" (App Service and Functions resources only)\n- \"Check my reliability posture\"\n- \"Find single points of failure\" (App Service and Functions resources only)\n- \"Enable high availability for my app\" (App Service and Functions resources only)\n- \"Check disaster recovery readiness\"\n- \"Improve my app's resilience\" (App Service and Functions resources only)\n\n> **Scope note:** This skill currently covers **Azure Functions and Azure App Service** only. If the user asks about Azure Container Apps reliability, acknowledge that support is planned but not yet available, and only proceed with the parts that apply to App Service and Functions resources in scope.\n\n## Prerequisites\n\n- Authentication: user is logged in to Azure via `az login`\n- Permissions: Reader access on target subscription\u002Fresource group (for assessment)\n- Permissions: Contributor access (for configuration changes)\n- Azure Resource Graph extension: `az extension add --name resource-graph`\n\n## MCP Tools\n\n| Tool | Purpose |\n|------|---------|\n| `mcp_azure_mcp_extension_cli_generate` | Generate `az` CLI commands for resource queries and configuration |\n| `mcp_azure_mcp_subscription_list` | List available subscriptions |\n| `mcp_azure_mcp_group_list` | List resource groups |\n\nPrimary query method: Azure Resource Graph via `az graph query` (requires `az extension add --name resource-graph`).\n\n## Assessment Workflow\n\n### Phase 1: Discover Resources\n\n1. **Identify scope** — Ask user for resource group, subscription, or app name\n2. **Query Azure Resource Graph** to discover all resources in scope\n3. **Classify resources** by service type (Functions, Storage, etc.). If Container Apps is found, **note it but do not deep-dive**.\n\n**Important:** Always scope queries to the user's specified resource group or subscription. Add these filters to every Resource Graph query:\n- Resource group: `| where resourceGroup =~ '\u003Crg-name>'`\n- Subscription: Use `--subscriptions \u003Csub-id>` flag on `az graph query`\n- App name: `| where name =~ '\u003Capp-name>'`\n\n### Phase 2: Assess Reliability\n\nTwo-step assessment: **platform-level discovery first, then per-service deep dive.**\n\n**Step 1 — Platform discovery (find what's there).** Use these to enumerate resources in scope and detect cross-cutting reliability gaps:\n\n| Platform check | Reference |\n|---|---|\n| Zone redundancy — discovery | [references\u002Fzone-redundancy-checks.md](references\u002Fzone-redundancy-checks.md) |\n| Storage redundancy (cross-service) | [references\u002Fstorage-redundancy-checks.md](references\u002Fstorage-redundancy-checks.md) |\n| Multi-region & global load balancers | [references\u002Fmulti-region-checks.md](references\u002Fmulti-region-checks.md) |\n| Front Door \u002F Traffic Manager \u002F App Insights probes | [references\u002Fhealth-probe-checks.md](references\u002Fhealth-probe-checks.md) |\n\n**Step 2 — Per-service deep dive.** For each compute resource discovered in Step 1, load the matching service reference. The service reference is the single source of truth for that service's plan\u002FSKU rules, assessment queries, CLI commands, IaC patches (Bicep + Terraform + AVM), and reporting hints.\n\nThis skill version ships **only the Azure Functions and App Service** per-service references. Other compute services are listed below explicitly so the dispatch logic is unambiguous: if a resource matches an unsupported row, do **not** attempt to load a reference, fabricate CLI commands, or generate IaC patches for it.\n\n| Service detected | Reference |\n|---|---|\n| Azure Functions (`microsoft.web\u002Fserverfarms` with `kind contains 'functionapp'`) | [references\u002Fservices\u002Ffunctions\u002Freliability.md](references\u002Fservices\u002Ffunctions\u002Freliability.md) |\n| Azure App Service (non-Functions sites: `microsoft.web\u002Fsites` without `kind contains 'functionapp'`, `microsoft.web\u002Fserverfarms` without `kind contains 'functionapp'`) | [references\u002Fservices\u002Fapp-service\u002Freliability.md](references\u002Fservices\u002Fapp-service\u002Freliability.md) |\n| Azure Container Apps (`microsoft.app\u002Fcontainerapps`, `microsoft.app\u002Fmanagedenvironments`) | ⚪ Not yet shipped — planned for a future version |\n\n> **Handling unsupported services:** If a resource matches an unsupported row above, surface it in the discovery summary, mark it as `⚪ not assessed (planned)` in the Phase 3 table, and skip the per-service remediation steps for it. Do **not** attempt to fabricate CLI commands or IaC patches for those services.\n\n### Phase 3: Generate Reliability Checklist\n\nPresent findings as a **feature-pivoted** table: one row per reliability feature (Zone redundancy on compute, Zone-redundant storage, Health probes, Multi-region failover), with a single status indicator and the **specific resources** that are relevant to that feature. This avoids the noise of one-row-per-resource with mostly `n\u002Fa` cells. Do **not** assign numeric scores or grades.\n\n```\n? Reliability Assessment — {scope}\n─────────────────────────────────────────────────────────────────────────────────────────────\nReliability Feature              Status      Resources\n─────────────────────────────────────────────────────────────────────────────────────────────\nZone redundancy — compute        ? OFF      • plan-web-ii5trxva2ark4 (P1v3)\n                                              • plan-ii5trxva2ark4 (FC1)\n\nZone-redundant storage           ? GRS      • stii5trxva2ark4 (defaulted; no SKU set in IaC)\n\nHealth probes                    ? OFF      • func-api-ii5trxva2ark4 — needs code change (FC1)\n                                              • app-web-ii5trxva2ark4 — no health check path\n\nMulti-region failover            ? OFF      • Single region (eastus) only — Front Door not configured\n─────────────────────────────────────────────────────────────────────────────────────────────\n\nWant me to fix the ? items? I'll do the quick wins first (App\nplan zone redundancy + health checks on supported plans), then ask before\nstorage migration and multi-region setup. (yes\u002Fno)\n```\n\n**Rules for the table:**\n\n- **Four feature rows, in this order:** Zone redundancy — compute · Zone-redundant storage · Health probes · Multi-region failover. Omit a row entirely only if no resource in scope could ever apply to it.\n- **Status column** is one symbol + one short word, no other characters:\n  - `? ON` — feature is fully enabled across all relevant resources in scope\n  - `? PARTIAL` — some resources have it, some don't (or partial config like liveness-only)\n  - `? OFF` — feature is missing on all relevant resources\n  - For storage, replace `OFF` with the current SKU when relevant (`? LRS`, `? GRS`, `? ZRS`, `? GZRS`). When no SKU is set in IaC, label as `? GRS` (ARM\u002FAVM default) and note that in the resource line.\n- **Resources column** lists only what's relevant to that feature, one bullet per resource:\n  - For \"needs fixing\" resources, include a short inline reason (`(FC1)`, `(defaulted; no SKU set)`, `liveness only`, `needs code change (FC1)`).\n  - For resources that are **already ON** for that feature, mention them on the same row with `— already ON` so the user sees credit for what's right.\n- **Do not** include `n\u002Fa`, `—`, or empty cells. If a feature doesn't apply to any resource in scope, drop the row.\n- **Do not** include numeric scores, grades, or point totals.\n- End the assessment with a **single yes\u002Fno question** that kicks off the staged remediation flow. Do not enumerate the per-resource fix list here — the user will see it after they say yes (Configuration Workflow Step 1).\n\n> **UX Note:** If the assessment finds the app **already has** all core reliability features (zone redundancy, ZRS\u002FGZRS storage, health probes), skip the fix-it question and jump straight to Configuration Workflow [Step 3](#step-3-both-paths-multi-region-followup--ask-and-wait) (Multi-region follow-up). Do **NOT** start any multi-region work without explicit consent.\n\n## Configuration Workflow\n\nWhen user wants to **fix** findings from the assessment:\n\n> **⛔ ALWAYS confirm with user before executing changes.** Show what will change, any cost implications, and any destructive actions (e.g., environment recreation).\n\n### Step 1: Present Fix Plan + Choose Path\n\nAfter assessment, if user says \"fix it\" \u002F \"improve my reliability\" \u002F \"enable zone redundancy\":\n\n1. List each fixable finding with the specific action\n2. Flag any cost implications or breaking changes\n3. **Ask user which path they want:**\n\n```\nI'll start with the quick wins (no downtime, fast):\n\n1. ✏️  Enable zone redundancy on plan-ii5trxva2ark4 (Flex Consumption — no cost change)\n2. ✏️  Set health check path to \u002Fapi\u002Fhealth on func-api-ii5trxva2ark4\n\nThen, separately, I'll ask if you want to upgrade storage:\n\n3. ?  Upgrade stii5trxva2ark4 from LRS → ZRS (small cost increase, migration takes hours)\n   — Required for full zone redundancy, but I'll confirm with you before starting.\n\nHow would you like to apply these changes?\n\n  A) Fix now — Run az CLI commands against your live resources (immediate, one-time)\n  B) Patch my IaC — Update your Bicep\u002FTerraform files so changes persist across deploys\n\n(If you use azd or Terraform, option B is recommended so `azd up` won't overwrite changes.)\n```\n\n### Path A: Fix Now (CLI)\n\nRun fixes against live resources using `az` CLI commands. **Quick wins first, then ask before the slow storage migration.**\n\nThe exact CLI commands per service live in the per-service references — pick the one(s) matching the resources discovered in Phase 2:\n\n| Fix | Reference |\n|---|---|\n| Enable zone redundancy \u002F configure health probes (Functions) | [references\u002Fservices\u002Ffunctions\u002Freliability.md](references\u002Fservices\u002Ffunctions\u002Freliability.md) |\n| Enable zone redundancy \u002F configure health probes (App Service) | [references\u002Fservices\u002Fapp-service\u002Freliability.md](references\u002Fservices\u002Fapp-service\u002Freliability.md) |\n| Upgrade storage replication (cross-service) | [references\u002Fconfigure-storage.md](references\u002Fconfigure-storage.md) |\n| Set up multi-region (cross-service) | [references\u002Fconfigure-multi-region.md](references\u002Fconfigure-multi-region.md) |\n| Platform overview \u002F verification | [references\u002Fconfigure-zone-redundancy.md](references\u002Fconfigure-zone-redundancy.md), [references\u002Fconfigure-health-probes.md](references\u002Fconfigure-health-probes.md) |\n\n**Execution order — always quick wins first:**\n\n1. **Zone redundancy on compute** (fast, in-place property update on the App's plan).\n2. **Health probes** (Premium \u002F Dedicated only — in-place; for FC1 \u002F Consumption, follow the consent gate in [configure-health-probes.md](references\u002Fconfigure-health-probes.md)).\n3. **Verify** the compute changes succeeded before doing anything else.\n4. **⛔ STOP — Ask about storage upgrade.** Compute is now zone-redundant, but storage may still be LRS or GRS. Ask the user explicitly:\n\n   ```\n   ✅ Compute is now zone-redundant.\n\n   To be **fully zone-redundant**, your storage account also needs to be upgraded:\n     • stii5trxva2ark4: currently `Standard_LRS` → needs `Standard_ZRS`\n\n   ⚠️  This is a live storage redundancy conversion:\n      • Takes hours to days depending on data volume\n      • Small ongoing cost increase (~$0.01\u002FGB\u002Fmonth more)\n      • Only supported for Standard general-purpose v2 accounts\n\n   Do you want me to start the storage migration now? (yes \u002F no \u002F later)\n   ```\n\n   - **yes** → run `az storage account update --sku Standard_ZRS` (or `migration start` if needed); poll `az storage account show --query sku.name` until it reports `Standard_ZRS`.\n   - **no \u002F later** → leave storage as-is; note in the re-assessment that ZR storage remains a gap.\n\n5. **Multi-region** — do NOT auto-run. Handled in **Step 3** below as an explicit follow-up after re-assessment.\n\n> **⚠️ Warning:** If the user uses `azd up` or `terraform apply` later, CLI-only changes may be overwritten by the IaC definitions. Recommend also patching IaC after CLI fixes.\n\n### Path B: Patch IaC\n\nUpdate the user's Bicep or Terraform files so reliability settings are persistent.\n\n**Step 1: Detect IaC type**\n1. Look for `infra\u002F` folder in project root\n2. If not found, check project root for `*.bicep` or `*.tf` files\n3. If still not found, ask user: \"Where are your IaC files located?\"\n4. Check for `*.bicep` files → use Bicep patching\n5. Check for `*.tf` files → use Terraform patching\n6. If both exist, ask user which to patch\n7. If no IaC exists, fall back to Path A (CLI) and inform user\n\n**Step 2: Classify each fix by risk level**\n\n| Fix | Risk Level | What Happens |\n|-----|-----------|--------------|\n| Zone redundancy (App plan) | ? Safe patch | In-place property update on next deploy |\n| Storage LRS → ZRS | ? Pre-migration required | Live storage migration must complete before the IaC SKU change can deploy. **Never bundle with safe patches** — use the two-deploy flow in Steps 3–5. |\n| Health check path (Basic\u002FStandard\u002FPremium \u002F Dedicated) | ? Safe patch | In-place update, but causes app restart |\n| Health check path (FC1 \u002F Consumption) | ⚪ Code-only — ask first | `healthCheckPath` is unsupported. Adding a health endpoint requires adding an HTTP-triggered `\u002Fapi\u002Fhealth` function to **app code**. **Always ask the user for explicit consent before touching source code.** Do **not** patch IaC. |\n\n**Step 3: Apply patches in two deploys (quick wins first)**\n\nThe IaC patching framework (detection, AVM-module guidance, deploy-order rule, storage SKU patch) lives in:\n\n| IaC Type | Framework reference |\n|---|---|\n| Bicep | [references\u002Fiac-patching-bicep.md](references\u002Fiac-patching-bicep.md) |\n| Terraform | [references\u002Fiac-patching-terraform.md](references\u002Fiac-patching-terraform.md) |\n\nThe actual **per-service compute patches** (Function App plan ZR, App Service Plan ZR, etc.) live in the per-service references — load the matching service file from Phase 2 for the exact Bicep \u002F Terraform \u002F AVM snippets. Only Azure Functions and App Service have per-service references in this skill version; Container Apps is out of scope.\n\n**Deploy 1 — Quick wins only.** Patch the ? Safe items (zone redundancy on the App Service\u002FFunction App plan, health probes on Basic\u002FStandard\u002FPremium \u002F Dedicated). Do **NOT** include the storage SKU patch in this deploy.\n\nAfter patching, **the skill runs the deploy itself** (do not stop and tell the user to run it). Detect the deployment tool and confirm once before executing:\n\n```\n? Patches applied to your IaC. Ready to deploy:\n   Tool detected: azd (found azure.yaml)\n   Command:       azd up\n\nProceed with deployment? (yes \u002F no)\n```\n\nOn **yes**, run the appropriate command, stream output back to the user, and continue to the next step on success:\n- AZD project (has `azure.yaml`): `azd up`\n- Bicep-only: `az deployment group create --resource-group \u003Crg> --template-file infra\u002Fmain.bicep --parameters @infra\u002Fmain.parameters.json`\n- Terraform: `terraform plan -out tfplan` → (show plan summary) → `terraform apply tfplan`\n\nOn **no**, stop and report the patched files; do not proceed to Step 4 \u002F Re-Assess.\n\nIf deployment fails, surface the error and stop — do not continue to the storage step.\n\n**⛔ STOP — Ask about storage upgrade before Deploy 2.** After Deploy 1 succeeds, ask the user explicitly:\n\n```\n✅ Quick-win patches deployed. Compute is now zone-redundant.\n\nTo be **fully zone-redundant**, your storage account also needs to be upgraded:\n  • stii5trxva2ark4: currently `Standard_LRS` → needs `Standard_ZRS`\n\n⚠️  This is a two-part change:\n   1. Live storage migration (`az storage account migration start`) — takes hours to days\n   2. A second deploy to update your IaC's storage SKU to match\n\nDo you want me to start the storage migration now? (yes \u002F no \u002F later)\n```\n\n- **yes** → the skill runs the migration command itself, polls until complete, then patches the storage SKU in IaC and runs **Deploy 2** (now a no-op confirmation). The user does not need to run anything manually.\n- **no \u002F later** → leave the storage SKU patch unapplied. Note in the re-assessment that ZR storage remains a gap; suggest revisiting later.\n\n**Step 4: Storage migration (only if user said yes in Step 3)**\n\nThe skill runs these commands itself — do not ask the user to run them. Show progress as you go:\n\n```\n? Starting storage migration (this can take up to 72 hours)...\n\n   az storage account migration start --name stii5trxva2ark4 \\\n     --resource-group rg-example --sku Standard_ZRS --no-wait\n\n   Polling: az storage account show --name stii5trxva2ark4 --query sku.name\n   ...\n   ✅ Migration complete: sku.name = Standard_ZRS\n```\n\nFor very long migrations, you may surface a checkpoint to the user (\"this is still running, check back later\") rather than blocking the entire conversation.\n\n**Step 5: Deploy 2 — storage SKU patch**\n\nAfter the migration completes, the skill patches the storage SKU in IaC and runs the same deploy command as Step 3 (e.g. `azd up`). This deploy is a no-op confirmation that the IaC matches the live state. Confirm once with the user before executing, then run it directly.\n\n### Step 2 (both paths): Re-Assess\n\nAfter changes are applied (CLI) or deployed (IaC), automatically re-run the assessment and show the **same feature-pivoted table** as Phase 3, with each feature row's status updated to reflect the new state. Briefly call out what changed since the previous run.\n\n```\n? Reliability Re-Assessment — rg-eventhubs-python-jan13 (eastus)\n───────────────────────────────────────────────────────────────────────────────────────\nReliability Feature              Status      Resources\n───────────────────────────────────────────────────────────────────────────────────────\nZone redundancy — compute        ? ON       • plan-ii5trxva2ark4 (FC1)              — now ON\n                                             • plan-web-ii5trxva2ark4 (P1v3)         — now ON\n\nZone-redundant storage           ? ZRS      • stii5trxva2ark4                       — GRS → ZRS\n\nHealth probes                    ? PARTIAL  • func-api-ii5trxva2ark4                — still off (FC1, code change declined)\n                                             • app-web-ii5trxva2ark4                 — now ON\n\nMulti-region failover            ? OFF      • Single region (eastus) only\n───────────────────────────────────────────────────────────────────────────────────────\n\nWhat changed: Function App and App Service plan zone redundancy, storage replication and health probes on App Service.\n(Multi-region offered next — see Step 3.)\n```\n\n### Step 3 (both paths): Multi-region follow-up — ASK and WAIT\n\nMulti-region is a significant cost\u002Fcomplexity step. Do **NOT** start it automatically. After re-assessment, only if **all core single-region reliability features are ? ON** (zone-redundant compute, ZRS\u002FGZRS storage, health probes), explicitly ask the user and **wait for their response** before doing anything:\n\n```\n? Your app is now fully zone-redundant in {region}.\n\nThe next step (optional) is multi-region failover with Azure Front Door:\n   • Deploys compute + storage in a second region (paired region recommended)\n   • Adds Azure Front Door for global load balancing with health-probe-driven failover\n   • Protects against full region outages\n   • Estimated additional cost: ~2x compute (active-passive); Front Door ~$35\u002Fmonth base\n\nDo you want me to set up multi-region failover now? (yes \u002F no \u002F later)\n```\n\n- **yes** → proceed with [references\u002Fconfigure-multi-region.md](references\u002Fconfigure-multi-region.md). Confirm secondary region choice with the user, then:\n  1. Generate the multi-region IaC (Bicep \u002F Terraform additions for the secondary region + Front Door).\n  2. Confirm once with the user: `? Multi-region IaC generated. Ready to deploy with \\`azd up\\`. Proceed? (yes \u002F no)`\n  3. On **yes**, **the skill runs the deploy itself** (`azd up` \u002F `az deployment group create` \u002F `terraform apply`) and streams output. Do not stop and tell the user to run it.\n  4. After successful deploy, run a final re-assessment so the user sees Multi-region failover flip to ? ON.\n- **no \u002F later** → leave the deployment as-is. Note that single-region zone-redundant is a reliable end state; multi-region can be revisited anytime.\n\n> **⛔ Do not skip the wait.** Do not generate multi-region IaC, deploy a Front Door, or modify any files until the user has explicitly said yes. If core reliability is not yet all ?, do **not** ask about multi-region — finish the core gaps first.\n\n## Priority Classification\n\n| Priority | Criteria | Action |\n|---|---|---|\n| Critical | No zone redundancy AND production workload | Fix immediately |\n| High | LRS storage on zone-redundant compute | Fix within days |\n| Medium | No multi-region (single region but zone-redundant) | Plan for next sprint |\n| Low | Missing health probes or monitoring gaps | Track and fix |\n\n## Error Handling\n\n| Error | Message | Remediation |\n|---|---|---|\n| Authentication required | \"Please login\" | Run `az login` and retry |\n| Access denied | \"Forbidden\" | Confirm Reader\u002FContributor role assignment |\n| Plan doesn't support ZR | \"Upgrade required\" | Inform user of plan upgrade path + cost delta |\n| Region doesn't support AZ | \"Region limitation\" | Suggest supported regions |\n\n## Best Practices\n\n- Run reliability assessments after every significant infrastructure change\n- Test failover scenarios periodically (at least quarterly)\n\n## Skill Boundaries\n\n| Action | This skill does | Hand off to |\n|---|---|---|\n| Assess reliability posture | ✅ Yes | — |\n| Recommend improvements | ✅ Yes | — |\n| Enable zone redundancy (CLI commands) | ✅ Yes | — |\n| Patch Bicep\u002FTerraform for reliability | ✅ Yes | — |\n| Generate multi-region IaC | ✅ Yes (additions for the secondary region + Front Door) | `azure-prepare` for full new-app IaC scaffolding |\n| Deploy IaC for reliability changes | ✅ Yes (runs `azd up` \u002F `terraform apply` \u002F `az deployment` itself, after user confirmation) | `azure-deploy` for general\u002Fnon-reliability deploys |\n| Validate pre-deployment | Reliability checks only | `azure-validate` for full validation |\n",{"name":5,"license":16,"metadata":56,"description":7},{"author":13,"version":57},"0.0.0-placeholder","main","90929a087ad50fa0dd02fc396c9b8f721ddced08","plugins\u002Fazure-skills\u002Fskills\u002Fazure-reliability",225,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FGitHub-Copilot-for-Azure","https:\u002F\u002Fgithub.com\u002Fmicrosoft","https:\u002F\u002Fopensource.microsoft.com","Open source projects and samples from Microsoft","2026-11-14 03:43:10",{"source":9,"skillName":5,"commands":68,"prompt":78,"zipAvailable":79},[69,72,75],{"tool":70,"command":71},"npx","npx skills add microsoft\u002FGitHub-Copilot-for-Azure --skill azure-reliability",{"tool":73,"command":74},"bunx","bunx skills add microsoft\u002FGitHub-Copilot-for-Azure --skill azure-reliability",{"tool":76,"command":77},"pnpm","pnpm dlx skills add microsoft\u002FGitHub-Copilot-for-Azure --skill azure-reliability","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FGitHub-Copilot-for-Azure\u002Fblob\u002Fmain\u002Fplugins\u002Fazure-skills\u002Fskills\u002Fazure-reliability\u002FSKILL.md",true,[81,87,91,95,99,103,107,111,115,119,123,127,131],{"path":82,"resourceType":83,"resourceTypeDesc":84,"sizeBytes":85,"sourceHtmlUrl":86},"references\u002Fconfigure-health-probes.md","REFERENCE","参考文档",2190,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FGitHub-Copilot-for-Azure\u002Fblob\u002Fmain\u002Fplugins\u002Fazure-skills\u002Fskills\u002Fazure-reliability\u002Freferences\u002Fconfigure-health-probes.md",{"path":88,"resourceType":83,"resourceTypeDesc":84,"sizeBytes":89,"sourceHtmlUrl":90},"references\u002Fconfigure-multi-region.md",18934,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FGitHub-Copilot-for-Azure\u002Fblob\u002Fmain\u002Fplugins\u002Fazure-skills\u002Fskills\u002Fazure-reliability\u002Freferences\u002Fconfigure-multi-region.md",{"path":92,"resourceType":83,"resourceTypeDesc":84,"sizeBytes":93,"sourceHtmlUrl":94},"references\u002Fconfigure-storage.md",5481,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FGitHub-Copilot-for-Azure\u002Fblob\u002Fmain\u002Fplugins\u002Fazure-skills\u002Fskills\u002Fazure-reliability\u002Freferences\u002Fconfigure-storage.md",{"path":96,"resourceType":83,"resourceTypeDesc":84,"sizeBytes":97,"sourceHtmlUrl":98},"references\u002Fconfigure-zone-redundancy.md",1955,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FGitHub-Copilot-for-Azure\u002Fblob\u002Fmain\u002Fplugins\u002Fazure-skills\u002Fskills\u002Fazure-reliability\u002Freferences\u002Fconfigure-zone-redundancy.md",{"path":100,"resourceType":83,"resourceTypeDesc":84,"sizeBytes":101,"sourceHtmlUrl":102},"references\u002Fhealth-probe-checks.md",3544,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FGitHub-Copilot-for-Azure\u002Fblob\u002Fmain\u002Fplugins\u002Fazure-skills\u002Fskills\u002Fazure-reliability\u002Freferences\u002Fhealth-probe-checks.md",{"path":104,"resourceType":83,"resourceTypeDesc":84,"sizeBytes":105,"sourceHtmlUrl":106},"references\u002Fiac-patching-bicep.md",7031,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FGitHub-Copilot-for-Azure\u002Fblob\u002Fmain\u002Fplugins\u002Fazure-skills\u002Fskills\u002Fazure-reliability\u002Freferences\u002Fiac-patching-bicep.md",{"path":108,"resourceType":83,"resourceTypeDesc":84,"sizeBytes":109,"sourceHtmlUrl":110},"references\u002Fiac-patching-terraform.md",4815,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FGitHub-Copilot-for-Azure\u002Fblob\u002Fmain\u002Fplugins\u002Fazure-skills\u002Fskills\u002Fazure-reliability\u002Freferences\u002Fiac-patching-terraform.md",{"path":112,"resourceType":83,"resourceTypeDesc":84,"sizeBytes":113,"sourceHtmlUrl":114},"references\u002Fmulti-region-checks.md",6120,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FGitHub-Copilot-for-Azure\u002Fblob\u002Fmain\u002Fplugins\u002Fazure-skills\u002Fskills\u002Fazure-reliability\u002Freferences\u002Fmulti-region-checks.md",{"path":116,"resourceType":83,"resourceTypeDesc":84,"sizeBytes":117,"sourceHtmlUrl":118},"references\u002Fservices\u002Fapp-service\u002Freliability.md",10484,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FGitHub-Copilot-for-Azure\u002Fblob\u002Fmain\u002Fplugins\u002Fazure-skills\u002Fskills\u002Fazure-reliability\u002Freferences\u002Fservices\u002Fapp-service\u002Freliability.md",{"path":120,"resourceType":83,"resourceTypeDesc":84,"sizeBytes":121,"sourceHtmlUrl":122},"references\u002Fservices\u002Ffunctions\u002Freliability.md",6389,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FGitHub-Copilot-for-Azure\u002Fblob\u002Fmain\u002Fplugins\u002Fazure-skills\u002Fskills\u002Fazure-reliability\u002Freferences\u002Fservices\u002Ffunctions\u002Freliability.md",{"path":124,"resourceType":83,"resourceTypeDesc":84,"sizeBytes":125,"sourceHtmlUrl":126},"references\u002Fstorage-redundancy-checks.md",5206,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FGitHub-Copilot-for-Azure\u002Fblob\u002Fmain\u002Fplugins\u002Fazure-skills\u002Fskills\u002Fazure-reliability\u002Freferences\u002Fstorage-redundancy-checks.md",{"path":128,"resourceType":83,"resourceTypeDesc":84,"sizeBytes":129,"sourceHtmlUrl":130},"references\u002Fzone-redundancy-checks.md",2930,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FGitHub-Copilot-for-Azure\u002Fblob\u002Fmain\u002Fplugins\u002Fazure-skills\u002Fskills\u002Fazure-reliability\u002Freferences\u002Fzone-redundancy-checks.md",{"path":132,"resourceType":83,"resourceTypeDesc":84,"sizeBytes":133,"sourceHtmlUrl":134},"version.json",64,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FGitHub-Copilot-for-Azure\u002Fblob\u002Fmain\u002Fplugins\u002Fazure-skills\u002Fskills\u002Fazure-reliability\u002Fversion.json",[136,157,191,220,247,272],{"skillNo":137,"name":138,"nameZh":17,"description":139,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":140,"categories":141,"keywords":142,"publishedAt":51},"01M7153X40NMFY8DV2ATNDW060","azure-advisor-cost-optimization","Analyze Azure Advisor Cost\u002FIdleResources findings and prevalidate deletion safety, including Service Groups. WHEN: \"find unused Azure resources\", \"what resources am I paying for but no longer using\", \"idle-resource savings\", \"historical idle-resource savings\", \"are these idle resources safe to delete\". Generic Cost, other subcategories, and cross-category requests use azure-advisor.","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FGitHub-Copilot-for-Azure\u002Fblob\u002Fmain\u002Fplugins\u002Fazure-advisor\u002Fskills\u002Fazure-advisor-cost-optimization\u002FSKILL.md",[],[143,144,145,32,146,147,148,38,149,36,150,151,152,34,153,49,154,155,156,10],"azure advisor","Optimization","cost optimization","cost","advisor","azure advisor cost optimization","generic","deletion","unused","use","analyze","delete","requests","find",{"skillNo":158,"name":159,"nameZh":160,"description":161,"descriptionZh":162,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":163,"categories":164,"keywords":171,"publishedAt":51},"01M699ZWKYS4MRFW0KQM1FFCJK","foundry-iq","Foundry IQ 知识库管理","Foundry IQ knowledge bases. WHEN: make local or Blob documents searchable; create\u002Fdiagnose KBs; triage unsupported connectors or multi-source KB creation\u002Freconfiguration (even with classic-search terms); connect existing KB to agents (including multi-source KBs); create\u002Freuse a Search service; retrieve from an existing knowledge base with citations; no brand words needed. Read its procedure before query\u002Ftarget questions. NOT: other KB providers, repository-file search, classic Azure AI Search index\u002Fquery\u002Fapp work with no Foundry IQ KB or connector request, generic agent creation.","Foundry IQ 知识库。适用时机：让本地或 Blob 文档可被搜索；创建\u002F诊断知识库；对不支持的连接器或多源知识库的创建\u002F重新配置进行分类处理；将现有知识库连接到智能体（包括多源知识库）；创建\u002F复用 Search 服务；从现有知识库检索带引用的内容；无需品牌词。在查询\u002F目标类问题前先阅读其流程说明。不适用：其他知识库提供商、存储库文件搜索、不涉及 Foundry IQ 知识库或连接器请求的经典 Azure AI Search 索引\u002F查询\u002F应用类工作、通用智能体创建。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FGitHub-Copilot-for-Azure\u002Fblob\u002Fmain\u002Fplugins\u002Ffoundry-iq-skills\u002Fskills\u002Ffoundry-iq\u002FSKILL.md",[165,168],{"categoryNo":166,"categoryName":167,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BRFRAYBCBW9WKDY9TCSHY3","知识管理与沉淀",{"categoryNo":169,"categoryName":170,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BRZZF9D7PVFN5MXSPWWD61","AI 工程师",[172,173,49,174,175,10,176,39,177,178,179,149,180,181,182,183,32,184,185,186,187,188,189,34,190],"foundry","foundry iq","triage","azure ai","connectors","Citations","brand","kb","creation","diagnose","search","local","reuse","knowledge","foundry iq knowledge bases","connect","Existing","documents","query",{"skillNo":192,"name":193,"nameZh":194,"description":195,"descriptionZh":196,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":197,"categories":198,"keywords":205,"publishedAt":51},"01M699ZT26E2D0VTWFZBBGJHMG","python-appservice-deploy","Python 应用 Azure 部署","Deploy Python (Flask\u002FDjango\u002FFastAPI) code to Azure App Service Linux. WHEN: \"Flask App Service\", \"Django App Service\", \"FastAPI App Service\", \"deploy Python to App Service\". DO NOT USE FOR: Container Apps, Functions, non-Python, Terraform\u002FBicep\u002FIaC, full infra — use azure-prepare.","将 Python（Flask\u002FDjango\u002FFastAPI）代码部署到 Azure App Service Linux。触发条件：\"Flask App Service\"、\"Django App Service\"、\"FastAPI App Service\"、\"将 Python 部署到 App Service\"。不适用：Container Apps、Functions、非 Python、Terraform\u002FBicep\u002FIaC、完整基础设施——请使用 azure-prepare。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FGitHub-Copilot-for-Azure\u002Fblob\u002Fmain\u002Fplugins\u002Fazure-skills\u002Fskills\u002Fpython-appservice-deploy\u002FSKILL.md",[199,202],{"categoryNo":200,"categoryName":201,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BQNXPY1AV6BSR5VKHDMWRH","部署与发布管理",{"categoryNo":203,"categoryName":204,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BT9F3Z67AB1M6CHA8X75WW","云架构师",[206,207,208,49,209,210,39,211,212,36,43,32,213,214,215,152,216,217,218,219,34],"python appservice deploy","deploy","python","linux","infra","do","django","container","iac","fastapi","apps","code","functions","fastapi app",{"skillNo":221,"name":222,"nameZh":223,"description":224,"descriptionZh":225,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":226,"categories":227,"keywords":232,"publishedAt":51},"01M699ZR83J83TATQZKXHPXPF7","preset","Azure OpenAI 快速部署","Intelligently deploys Azure OpenAI models to optimal regions by analyzing capacity across all available regions. Automatically checks current region first and shows alternatives if needed. USE FOR: quick deployment, optimal region, best region, automatic region selection, fast setup, multi-region capacity check, high availability deployment, deploy to best location. DO NOT USE FOR: custom SKU selection (use customize), specific version selection (use customize), custom capacity configuration (use customize), PTU deployments (use customize).","通过分析所有可用区域的容量，智能地将 Azure OpenAI 模型部署到最优区域。自动优先检查当前区域，并在需要时显示备选方案。适用于：快速部署、最优区域、最佳区域、自动区域选择、快速配置、多区域容量检查、高可用部署、部署到最佳位置。不适用于：自定义 SKU 选择（使用 customize）、特定版本选择（使用 customize）、自定义容量配置（使用 customize）、PTU 部署（使用 customize）。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FGitHub-Copilot-for-Azure\u002Fblob\u002Fmain\u002Fplugins\u002Fazure-skills\u002Fskills\u002Fmicrosoft-foundry\u002Fmodels\u002Fdeploy-model\u002Fpreset\u002FSKILL.md",[228,231],{"categoryNo":229,"categoryName":230,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BRYS21JX3JFDVCQ5GG4TFK","AI 平台资源管理",{"categoryNo":169,"categoryName":170,"taxonomyType":23,"taxonomyTypeDesc":24},[222,207,233,10,234,235,211,236,37,36,237,238,239,32,240,241,42,152,242,243,244,245,246],"setup","capacity","customize","quick","deployment","alternatives","selection","custom","deployments","version","across","check","multi","first",{"skillNo":248,"name":235,"nameZh":249,"description":250,"descriptionZh":251,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":252,"categories":253,"keywords":256,"publishedAt":51},"01M699ZPM2ZHC9VXG582DY4268","Azure OpenAI 自定义部署","Interactive guided deployment flow for Azure OpenAI models with full customization control. Step-by-step selection of model version, SKU (GlobalStandard\u002FStandard\u002FProvisionedManaged), capacity, RAI policy (content filter), and advanced options (dynamic quota, priority processing, spillover). USE FOR: custom deployment, customize model deployment, choose version, select SKU, set capacity, configure content filter, RAI policy, deployment options, detailed deployment, advanced deployment, PTU deployment, provisioned throughput. DO NOT USE FOR: quick deployment to optimal region (use preset).","具有完全自定义控制能力的 Azure OpenAI 模型交互式引导部署流程。逐步选择模型版本、SKU（GlobalStandard\u002FStandard\u002FProvisionedManaged）、容量、RAI 策略（内容过滤器）以及高级选项（动态配额、优先处理、溢出）。适用于：自定义部署、定制模型部署、选择版本、选择 SKU、设置容量、配置内容过滤器、RAI 策略、部署选项、详细部署、高级部署、PTU 部署、预置吞吐量。不适用于：快速部署到最优区域（使用 preset）。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FGitHub-Copilot-for-Azure\u002Fblob\u002Fmain\u002Fplugins\u002Fazure-skills\u002Fskills\u002Fmicrosoft-foundry\u002Fmodels\u002Fdeploy-model\u002Fcustomize\u002FSKILL.md",[254,255],{"categoryNo":229,"categoryName":230,"taxonomyType":28,"taxonomyTypeDesc":29},{"categoryNo":169,"categoryName":170,"taxonomyType":23,"taxonomyTypeDesc":24},[235,222,10,234,257,258,236,259,260,261,262,263,239,264,265,266,267,268,269,270,271,211,36,237],"policy","SET","processing","advanced","model","select","choose","configure","filter","azure openai","options","flow","openai","throughput","full",{"skillNo":273,"name":234,"nameZh":274,"description":275,"descriptionZh":276,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":277,"categories":278,"keywords":281,"publishedAt":51},"01M699ZMCK9T4EM6NASDB940R7","Azure OpenAI 模型容量查询","Discovers available Azure OpenAI model capacity across regions and projects. Analyzes quota limits, compares availability, and recommends optimal deployment locations based on capacity requirements. USE FOR: find capacity, check quota, where can I deploy, capacity discovery, best region for capacity, multi-project capacity search, quota analysis, model availability, region comparison, check TPM availability. DO NOT USE FOR: actual deployment (hand off to preset or customize after discovery), quota increase requests (direct user to Azure Portal), listing existing deployments.","跨区域和跨项目发现可用的 Azure OpenAI 模型容量。分析配额限制、比较可用性，并根据容量需求推荐最佳部署位置。适用场景：查找容量、检查配额、可以在哪里部署、容量发现、容量最佳区域、多项目容量搜索、配额分析、模型可用性、区域比较、检查 TPM 可用性。不适用场景：实际部署（发现后转交给预设或自定义技能）、配额提升申请（引导用户前往 Azure 门户）、列出现有部署。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FGitHub-Copilot-for-Azure\u002Fblob\u002Fmain\u002Fplugins\u002Fazure-skills\u002Fskills\u002Fmicrosoft-foundry\u002Fmodels\u002Fdeploy-model\u002Fcapacity\u002FSKILL.md",[279,280],{"categoryNo":229,"categoryName":230,"taxonomyType":28,"taxonomyTypeDesc":29},{"categoryNo":169,"categoryName":170,"taxonomyType":23,"taxonomyTypeDesc":24},[234,222,207,10,235,282,261,283,182,284,285,286,243,266,287,288,269,289,290,211,37,36,291,237],"projects","project","analysis","listing","hand","limits","azure portal","direct","TPM","discovery"]