microsoft/azure-skills

azure-enterprise-infra-plannermicrosoft/azure-skills / .github/plugins/azure-skills/skills/azure-enterprise-infra-planner/SKILL.md

先审企业基础设施方案,再生成并验证IaC

  • SKILL.md 已保存
  • 中文用法已整理
  • 安装与运行未实测
先判断是否解决你的问题

azure-enterprise-infra-planner 是什么?

azure-enterprise-infra-planner 根据工作负载设计Azure landing zone、hub-spoke网络、私有终结点、身份与灾备拓扑,并直接生成Bicep或Terraform。它区分全新环境与引用已有基础设施,后者要求引用而非重建,最终发布保持增量。

中文说明由本站依据来源整理;英文原文保留在页面下方。

同名项目,请核对仓库和目录

按客户端选择安装入口

怎么接入你的 Agent?

  1. 定位完整 Skill 目录

    打开本项目来源,核对 SKILL.md 及其引用的脚本和资料。

  2. 交给你正在用的 Agent

    在下面选择客户端,展开并复制安装指令,让 Agent 读取来源后选择安装方式。

  3. 确认识别,再做具体任务

    让 Agent 回报安装目录和识别到的名称 azure-enterprise-infra-planner,然后按本页使用示例提供材料。

展开并复制给 Codex 的安装指令
发送给 Codex

安装并检查 azure-enterprise-infra-planner

请在 Codex 的当前工作环境中安装并检查 azure-enterprise-infra-planner 这个 Skill。

项目身份:microsoft/azure-skills / azure-enterprise-infra-planner
来源:https://github.com/microsoft/azure-skills/blob/968f7bfaa01672e782dae2c6bab4fb9505ae047a/.github/plugins/azure-skills/skills/azure-enterprise-infra-planner/SKILL.md
已定位的源文件:.github/plugins/azure-skills/skills/azure-enterprise-infra-planner/SKILL.md

1. 先阅读真实 SKILL.md 和它引用的必要文件,确认触发条件、安装方式、依赖与权限;尊重源文件要求的审批步骤。
2. 按当前客户端支持的方式安装完整 Skill 目录,保留已有配置,不只复制一段提示词。涉及缺失凭证、目标目录或权限时先列出缺项并向我确认。
3. 安装后回读实际目录、Skill 名称和识别结果,说明哪些步骤已完成,哪些只是文档检查,不得把安装成功当作任务已经实测。
4. 如来源提供了可安全验证的示例,在我提供所需输入后做一个最小任务;创建、修改、删除、部署或发送内容前,按源文件和我的授权执行。
准备输入,再按步骤执行

装好以后,具体怎么用?

准备哪些材料

  • 提供工作负载、网络/身份/合规/高可用约束,并指出任何已有资源、IaC或计划。需要相应Microsoft文档/最佳实践能力;生成与检查阶段按选定语言准备Bicep/Terraform和checkov。

会得到什么

  • .azure/insights.json、获批的基础设施计划、Bicep/Terraform及模块和实际校验记录;发布仅在实际执行后记状态。

实际使用顺序

  1. 先阅读references/workflow.md,按greenfield或referenced-workload分类,再依次提取insights、研究最佳实践和资源,形成基础设施计划。已有资源做清单和引用,不重建。
  2. 计划写入.azure/infrastructure-plan.json,在Phase5明确审批后才生成infra/main.bicep或main.tf及模块。用真实资源schema与组合约束检查SKU/资源配对。
  3. Phase6执行az bicep build或terraform validate并展示实际输出,再跑checkov且不留未解决的high/critical发现;失败回到生成阶段。
  4. Phase7另行取得知晓风险的发布确认;引用已有基础设施时先看what-if并只做增量新增,不改毁被引用资源。记录状态,不能因生成文件就写deployed。
使用示例

从一个具体任务开始

本站根据源文件编写的使用示例,未在本站实际运行。示例中的文件由你提供。

安装并识别 Skill 后发送

复制一个具体任务

教学任务:使用azure-enterprise-infra-planner,为已有hub VNet中新增一个私有服务规划spoke与private endpoint。我会提供现有资源ID和限制。请按referenced-workload盘点、引用原资源,先生成计划并明确新增范围;获批前不生成部署动作,不修改或重建现有hub。
预期结果

预期得到与现有环境衔接的增量方案和证据缺项;本站未生成或发布该企业网络。

使用前先看这些限制

使用条件与边界

  • 这是企业多资源基础设施入口;应用中心的发布优先走azure-prepare,且此流程不依赖azd。
  • 本地IaC校验和安全扫描通过只证明实际检查范围,不代表服务已部署、灾备已演练或端到端可用。
针对这个 Skill 的疑问

常见问题

给了已有VNet,流程会重新建一套吗?

绑定源要求对已有基础设施走referenced流程:先盘点并引用,发布保持增量,不修改或销毁被引用资源。计划必须明确新增与引用关系。

需要核对时再展开原文

来源原文与资料状态

源文件
已保存 SKILL.md,抓取于 2026-11-16T12:36:35.145Z
中文使用说明
已针对下方源文件版本整理用途、用法和常见问题
安装与任务测试
本站未执行安装或任务测试
来源复核
本页中文用法已对照保存版本的完整 SKILL.md 阅读整理
展开 SKILL.md 原文、章节与历史收录资料

.github/plugins/azure-skills/skills/azure-enterprise-infra-planner/SKILL.md · 抓取时间 2026-11-16T12:36:35.145Z

以下保留源文件的 description、章节及摘录,供核对中文说明;完整文件通过上方链接打开。

抓取成功不代表已完成安装或任务测试。

来源 description(原文)

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.

查看源文件章节 / Source sections
  • 原文:Azure Enterprise Infra Planner
  • 原文:When to Use This Skill
  • 原文:Quick Reference
  • 原文:Workflow (Start Here)
  • 原文:Architecture
  • 原文:MCP Tools
  • 原文:Error Handling
原文:When to Use This Skill

Activate this skill when user wants to: - Plan enterprise Azure infrastructure from a workload or architecture description - Architect a landing zone, hub-spoke network, or multi-region topology - Design networking infrastructure: VNets, subnets, firewalls, private endpoints, VPN gateways - Plan identity, RBAC, and compliance-driven infrastructure - Generate Bicep or Terraform for subscription-scope or multi-resource-group deployments - Plan disaster recovery, failover, or cross-region high-availability topologies

原文:Quick Reference

| Property | Details | |---|---| | MCP tools | `insights_get`, `get_azure_bestpractices_get`, `wellarchitectedframework_serviceguide_get`, `microsoft_docs_fetch`, `microsoft_docs_search`, `bicepschema_get` | | CLI commands | `az deployment group create`, `az bicep build`, `az resource list`, `terraform init`, `terraform plan`, `terraform validate`, `terraform apply`, `checkov` | | Output schema | [schema.md](references/schema.md) | | Key references | [workflow.md](references/workflow.md), [waf-checklist.md](references/waf-checklist.md), [resources/](references/resources/README.md), [constraints/](references/constraints/README.md) |

原文:Workflow (Start Here)

Follow the step-by-step instructions in [workflow.md](references/workflow.md) to execute the 7 phases of infrastructure planning and provisioning.

原文:Architecture

The skill runs a **7-phase, gated pipeline**. Input is triaged into one of two flows: - **Greenfield** — only new requirements; run the phases straight through. - **Referenced (brownfield)** — the user supplies something that already exists (a live resource / resource group / subscription, IaC or an infra plan, or a requirements doc). The same phases run, plus [referenced-workload.md](references/referenced-workload.md): existing resources are inventoried and referenced (never recreated), the new workload is wired into them, and **Phase 7 deploys additively** (incremental only — never modifying or destroying the referenced resources). Every phase advances only after its gate passes. Phase 5 requires explicit user approval; **Phase 6 is a hardened, self-verifying gate** — the generated IaC must be secure-by-default, pass local validation (`az bicep build` / `terraform validate`) with zero errors, pass a `checkov` security scan with no unresolved high/critical findings, and the skill must **show the command output** and emit a completion self-check before advancing; Phase 7 requires an explicit, risk-acknowledged deploy confirmation. ```mermaid flowchart TD IN([Input]) --> TRIAGE{Existing infra<br/>referenced?} TRIAGE -- "No (greenfield)" --> P1 TRIAGE -- "Yes (referenced)" --> RW[/referenced-workload.md:<br/>inventory + assign roles<br/>reference, never recreate/] RW --> P1 subgraph PIPE [7-phase gated pipeline] direction TB P1[Phase 1 · Extract insights] --> P2[Phase 2 · Research best practices] P2 --> P3[Phase 3 · Research resources] P3 --> P4[Phase 4 · Generate plan] P4 --> P5{Phase 5 · Verify<br/>user approves?} P5 -- "no" --> P4 P5 -- "approved" --> P6[Phase 6 · Generate IaC] P6 --> VAL{Validate<br/>az bicep build /<br/>terraform validate} VAL -- "errors" --> P6 VAL -- "clean" --> P7{Phase 7 · Deploy<br/>risk-ack confirm?} end

本段为节选,完整内容见源文件。

原文:MCP Tools

| Tool | Purpose | |------|---------| | `insights_get` | Retrieve insights about the user's existing Azure environment to guide planning decisions | | `get_azure_bestpractices_get` | Azure best practices for code generation, operations, and deployment | | `wellarchitectedframework_serviceguide_get` | WAF service guide for a specific Azure service | | `microsoft_docs_search` | Search Microsoft Learn for relevant documentation chunks | | `microsoft_docs_fetch` | Fetch full content of a Microsoft Learn page by URL | | `bicepschema_get` | Bicep schema definition for any Azure resource type (latest API version) |

原文:Error Handling

| Error | Cause | Fix | |---|---|---| | MCP tool error or not available | Tool call timeout, connection error, or tool doesn't exist | Retry once; fall back to reference files and notify user if unresolved | | Plan approval missing | `meta.status` is not `approved` | Stop and prompt user for approval before IaC generation or deployment | | IaC validation failure | `az bicep build` or `terraform validate` returns errors | Fix the generated code and re-validate; notify user if unresolved | | Pairing constraint violation | Incompatible SKU or resource combination | Fix in plan before proceeding to IaC generation | | Infra plan or IaC files not found | Files written to wrong location or not created | Verify files exist at `<project-root>/.azure/` and `<project-root>/infra/`; if missing, re-create the files by following [workflow.md](references/workflow.md) exactly |

相同源文件的其他来源(2)

以下 SKILL.md 的文件校验值与本页来源相同,合并保留来源记录。仓库内的其他文件、依赖和安装方式仍需分别核对。

文件 SHA256:d378e313e247c42d33250a4f20b9b20deb0e6c7fa118ef267a8683965b15a70b

仓库许可证记录:MIT;skill-declaration-captured-not-interpreted,查看来源。

SKILL.md原文description · 2026-11-16T12:36:35.145Z

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.

查看历史简介来源

历史收录数据

来源仓库microsoft/azure-skills
Skill源路径.github/plugins/azure-skills/skills/azure-enterprise-infra-planner/SKILL.md

安装前请让使用的Agent先读取这个SKILL.md及其所在目录,确认依赖和所需权限。此页不生成未经来源验证的安装命令。

返回 Skills 目录,按任务继续筛选 · MCP与Skills教程与资源