azure-validate

作成者: Azure

Azureへの準備が整っているかを確認するためのデプロイ前検証。デプロイ前に構成、インフラストラクチャ(BicepまたはTerraform)、権限、前提条件について詳細なチェックを実行します。

npx skills add https://github.com/microsoft/GitHub-Copilot-for-Azure --skill azure-validate

name: azure-validate description: "Pre-deployment validation for Azure readiness. Run deep checks on configuration, infrastructure (Bicep or Terraform), RBAC role assignments, managed identity permissions, and prerequisites before deploying. WHEN: validate my app, check deployment readiness, run preflight checks, verify configuration, check if ready to deploy, validate azure.yaml, validate Bicep, test before deploying, troubleshoot deployment errors, validate Azure Functions, validate function app, validate serverless deployment, verify RBAC roles, check role assignments, review managed identity permissions, what-if analysis, validate Container Apps deployment." license: MIT metadata: author: Microsoft version: "0.0.0-placeholder"

Azure Validate

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.md exists with status Approved or later

If the plan is missing, STOP IMMEDIATELY and invoke azure-prepare first.

The complete workflow ensures success:

azure-prepareazure-validateazure-deploy

Triggers

  • Check if app is ready to deploy
  • Validate azure.yaml or Bicep
  • Run preflight checks
  • Troubleshoot deployment errors

Rules

  1. Run after azure-prepare, before azure-deploy
  2. All checks must pass—do not deploy with failures
  3. Destructive actions require ask_userglobal-rules

Steps

#ActionReference
1Load Plan — Read .azure/deployment-plan.md for recipe and configuration. If missing → run azure-prepare first.azure/deployment-plan.md
2Add 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
3Run Validation — Execute recipe-specific validation commandsrecipes/README.md
4Build Verification — Build the project and fix any errors before proceedingSee recipe
5Static Role Verification — Review Bicep/Terraform for correct RBAC role assignments in coderole-verification.md
6Record Proof — Populate Section 7: Validation Proof with commands run and results.azure/deployment-plan.md
7Resolve Errors — Fix failures before proceedingSee recipe's errors.md
8Update Status — Only after ALL checks pass, set status to Validated.azure/deployment-plan.md
9Deploy — 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 to Validated:

  1. Run actual validation commands (azd provision --preview, bicep build, terraform validate, etc.)
  2. Populate Section 7: Validation Proof with the commands you ran and their results
  3. Only then set status to Validated

Do NOT set status to Validated without 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.

Azureのその他のスキル

azure-ai
Azure
Azure AI(Search、Speech、OpenAI、Document Intelligence)に使用します。検索、ベクター/ハイブリッド検索、音声認識、音声合成、文字起こし、OCRを支援します。
appinsights-instrumentation
Azure
Azure Application Insightsを使用したWebアプリのインストルメンテーションのガイダンス。テレメトリパターン、SDKセットアップ、構成リファレンスを提供します。
azure-aigateway
Azure
Azure API Management (APIM)をAIゲートウェイとして構成し、AIモデル、MCPサーバー、エージェントを保護、監視、制御します。レート制限、セマンティックキャッシング、コンテンツセーフティ、負荷分散に役立ちます。
azure-compliance
Azure
Azureのコンプライアンスとセキュリティ監査の包括的な機能。ベストプラクティス評価、Key Vaultの有効期限監視、リソース構成の検証を含む。
azure-compute
Azure
ワークロード要件、パフォーマンス要件、予算制約に基づいて、Azure VMサイズ、VM Scale Sets(VMSS)、および構成を推奨します。
azure-cost-optimization
Azure
Azureサブスクリプション全体の実際のコストと使用率メトリクスを分析し、実行可能な最適化推奨事項を生成することで、コスト削減を特定し定量化します。
azure-deploy
Azure
Azureへのデプロイを実行します。準備と検証の後の最終ステップです。azd up、azd deploy、またはインフラストラクチャプロビジョニングコマンドを実行します。
azure-diagnostics
Azure
Azure上での本番環境の問題をデバッグおよびトラブルシューティングします。Container AppsとFunction Appsの診断、KQLを使用したログ分析、ヘルスチェック、一般的な問題の解決をカバーします。