在部署前深度检查 Azure 配置、权限与基础设施就绪情况,提前发现风险。
复制安装指令,让 AI 自动完成配置 · 推荐新手
请帮我安装 askskill 上的 "azure-validate" 技能: 1. 下载 https://raw.githubusercontent.com/microsoft/GitHub-Copilot-for-Azure/main/plugin/skills/azure-validate/SKILL.md 2. 保存为 ~/.claude/skills/azure-validate/SKILL.md 3. 装好后重载技能,告诉我可以用了
请帮我验证这个 Azure 应用是否已准备好部署。检查 azure.yaml、环境配置、依赖资源、订阅与区域设置,并列出阻塞部署的问题和修复建议。
一份部署前检查报告,说明是否可部署、存在的问题、风险等级及修复建议。
请检查这份 Bicep/Terraform 基础设施定义是否适合在 Azure 部署,验证资源配置、依赖关系、命名、参数、配额与潜在冲突,并指出需要修改的地方。
一份基础设施验证结果,包含配置错误、潜在风险、不兼容项与修改建议。
请验证这个 Azure Functions/Container Apps 部署所需的 RBAC 角色分配和托管身份权限是否齐全,找出缺失权限、作用域错误或最小权限原则问题。
一份权限审查结果,列出缺失角色、错误作用域、权限风险及建议的最小权限配置。
AUTHORITATIVE GUIDANCE — Follow these instructions exactly unless they contradict security policies given to you.
⛔ STOP — PREREQUISITE CHECK REQUIRED
Before proceeding, verify this prerequisite is met:
azure-prepare was invoked and completed →
.azure/deployment-plan.mdexists with statusApprovedor laterIf the plan is missing, STOP IMMEDIATELY and invoke azure-prepare first.
The complete workflow ensures success:
azure-prepare→azure-validate→azure-deploy
ask_user — global-rules| # | Action | Reference |
|---|---|---|
| 1 | Load Plan — Read .azure/deployment-plan.md for recipe and configuration. If missing → run azure-prepare first | .azure/deployment-plan.md |
| 2 | Add Validation Steps — Copy recipe "Validation Steps" to .azure/deployment-plan.md as children of "All validation checks pass" | recipes/README.md, .azure/deployment-plan.md |
| 3 | Run Validation — Execute recipe-specific validation commands | recipes/README.md |
| 4 | Build Verification — Build the project and fix any errors before proceeding | See recipe |
| 5 | Static Role Verification — Review Bicep/Terraform for correct RBAC role assignments in code | role-verification.md |
| 6 | Record Proof — Populate Section 7: Validation Proof with commands run and results | .azure/deployment-plan.md |
| 7 | Resolve Errors — Fix failures before proceeding | See recipe's errors.md |
| 8 | Update Status — Only after ALL checks pass, set status to Validated | .azure/deployment-plan.md |
| 9 | Deploy — Invoke azure-deploy skill | — |
⛔ VALIDATION AUTHORITY
This skill is the officially verified way to set plan status to
Validated. You MUST follow these steps to make sure every prerequisite is fulfilled before setting status toValidated:
- Run actual validation commands (azd provision --preview, bicep build, terraform validate, etc.)
- Populate Section 7: Validation Proof with the commands you ran and their results
- Only then set status to
ValidatedDo NOT set status to
Validatedwithout running checks and recording proof.
⚠️ MANDATORY NEXT STEP — DO NOT SKIP
After ALL validations pass, you MUST invoke azure-deploy to execute the deployment. Do NOT attempt to run
azd up,azd deploy, or any deployment commands directly. Let azure-deploy handle execution.If any validation failed, fix the issues and re-run azure-validate before proceeding.
帮助开发者为 Web 应用接入 Azure Application Insights 并配置遥测采集。
调用 Azure AI 完成搜索、语音转写、文本转语音与 OCR 识别
分析并精简 Markdown 内容,降低 token 消耗并提升 AI 处理效率。
用于迭代检查并修复技能 frontmatter 合规性、分数与 token 问题。
帮助你编写、审查并规范符合 agentskills.io 规范的技能文档
帮助你编写、校验并运行基于 eval.yaml 的智能体评测套件
执行已准备好的 Azure 应用部署,并自动处理常见发布错误恢复。
帮助开发者验证 Azure DevOps 流水线改动,快速排查构建与 YAML 配置问题。
帮助你检查和管理 Azure 配额与用量,评估部署容量和区域可用性。
帮助你为 Azure 应用生成部署准备文件与基础设施配置,加速创建、现代化与上线。
帮助用户选择最小权限的 Azure RBAC 角色,并生成分配命令与 Bicep 代码。
评估并修复 Azure PaaS 应用可靠性配置,提升高可用与容灾能力