
azure-enterprise-infra-planner
熱門根據工作負載描述來設計與佈建企業級 Azure 基礎架構。適用於規劃網路、身分識別、安全性、合規性及多重資源拓撲(符合 WAF 架構)的雲端架構師與平台工程師。可直接產生 Bicep 或 Terraform(無需 azd)。使用時機:『規劃 Azure 基礎架構』、『設計 Azure 登陸區域』、『設計中樞-分支網路』、『規劃多區域災難復原拓撲』、『設定 VNet、防火牆與 Private Endpoint』、『訂閱範圍的 Bicep 部署』、『VM 工作負載的 Azure 備份』。若為應用程式中心的工作流程,請優先使用 azure-prepare。
Architect and provision enterprise Azure infrastructure from workload descriptions. For cloud architects and platform engineers planning networking, identity, security, compliance, and multi-resource topologies with WAF alignment. Generates Bicep or Terraform directly (no azd). WHEN: 'plan Azure infrastructure', 'architect Azure landing zone', 'design hub-spoke network', 'plan multi-region DR topology', 'set up VNets firewalls and private endpoints', 'subscription-scope Bicep deployment', 'Azure Backup for VM workloads'. PREFER azure-prepare FOR app-centric workflows.
Azure Enterprise Infra Planner
使用時機
當使用者想要以下操作時,請啟用此技能:
- 根據工作負載或架構描述規劃企業級 Azure 基礎架構
- 設計登陸區域、中樞-分支網路或多區域拓撲
- 設計網路基礎架構:VNet、子網路、防火牆、Private Endpoint、VPN 閘道
- 規劃身分識別、RBAC 及合規驅動的基礎架構
- 產生訂閱範圍或多資源群組部署的 Bicep 或 Terraform
- 規劃災難復原、容錯移轉或跨區域高可用性拓撲
快速參考
| 屬性 | 詳細資訊 |
|---|---|
| MCP 工具 | insights_get, get_azure_bestpractices_get, wellarchitectedframework_serviceguide_get, microsoft_docs_fetch, microsoft_docs_search, bicepschema_get |
| CLI 命令 | az deployment group create, az bicep build, az resource list, terraform init, terraform plan, terraform validate, terraform apply |
| 輸出結構 | schema.md |
| 主要參考 | workflow.md, waf-checklist.md, resources/, constraints/ |
工作流程(從這裡開始)
請依照 workflow.md 中的逐步指示,執行基礎架構規劃與佈建的 7 個階段。
MCP 工具
| 工具 | 用途 |
|---|---|
insights_get |
取得使用者現有 Azure 環境的相關資訊,以協助規劃決策 |
get_azure_bestpractices_get |
程式碼產生、作業與部署的 Azure 最佳做法 |
wellarchitectedframework_serviceguide_get |
特定 Azure 服務的 WAF 服務指南 |
microsoft_docs_search |
搜尋 Microsoft Learn 以取得相關文件片段 |
microsoft_docs_fetch |
透過 URL 取得 Microsoft Learn 頁面的完整內容 |
bicepschema_get |
任何 Azure 資源類型的 Bicep 結構定義(最新 API 版本) |
錯誤處理
| 錯誤 | 原因 | 修正方式 |
|---|---|---|
| MCP 工具錯誤或無法使用 | 工具呼叫逾時、連線錯誤或工具不存在 | 重試一次;若仍未解決,則回退至參考檔案並通知使用者 |
| 缺少計劃核准 | meta.status 不是 approved |
停止並提示使用者核准,再進行 IaC 產生或部署 |
| IaC 驗證失敗 | az bicep build 或 terraform validate 回傳錯誤 |
修正產生的程式碼並重新驗證;若仍未解決,通知使用者 |
| 配對限制違規 | 不相容的 SKU 或資源組合 | 在進行 IaC 產生前,先於計劃中修正 |
| 找不到基礎架構計劃或 IaC 檔案 | 檔案寫入錯誤位置或未建立 | 確認檔案存在於 <project-root>/.azure/ 與 <project-root>/infra/;若遺失,請嚴格依照 workflow.md 重新建立檔案 |





