Azure Bicep Deploy
/install azure-bicep-deploy
Azure Bicep Deploy
Prerequisites (Required)
Before using this skill, ensure:
-
Azure CLI installed
az --versionInstall from: https://docs.microsoft.com/cli/azure/install-azure-cli
-
Azure CLI authenticated
az login # Interactive login az login --tenant \x3Ctenant-id> # For specific tenant az account show # Verify logged in -
Correct subscription selected (if multiple)
az account list # List subscriptions az account set --subscription \x3Csub-id> # Switch subscription -
Bicep CLI installed
az bicep install # Install Bicep az bicep version # Verify installationOr use built-in:
az deployment group createauto-compiles Bicep
Deploy a Bicep File
az deployment group create \
--resource-group \x3Crg-name> \
--template-file \x3Cpath-to-bicep> \
--parameters \x3Cparams-file>.json
Deploy an ARM Template
az deployment group create \
--resource-group \x3Crg-name> \
--template-file \x3Cpath-to-arm.json> \
--parameters \x3Cparams-file>.json
Validate a Template (What-If)
az deployment group what-if \
--resource-group \x3Crg-name> \
--template-file \x3Cpath-to-bicep>
Validate Syntax Only (Bicep)
az bicep build --file \x3Cbicep-file>
Multi-Environment Deployments
Use parameter files for each environment:
params/
├── dev.bicepparam # or dev.json
├── staging.bicepparam # or staging.json
└── prod.bicepparam # or prod.json
Deploy with environment:
az deployment group create \
--resource-group \x3Crg>-dev \
--template-file main.bicep \
--parameters @params/dev.json
Azure Container Apps
See references/container-apps.md for detailed Container App patterns including:
- Basic container deployment
- Ingress configuration
- Scaling rules
- revisions/versions
Create New Resources
When asked to create Azure resources via Bicep:
- Check if existing templates in
references/match your need - For Container Apps: use the sample in
assets/container-app/ - For other resources: generate using
az bicep build-params --fileor reference Azure QuickStart Templates
Scripts
Copy scripts from references or use directly:
- references/deploy.md — Deployment script with environment selection
- references/validate.md — Validate and what-if
- references/bicep-build.md — Build Bicep to ARM
Quick deploy (copy-paste one-liner):
az deployment group create --resource-group \x3Crg> --template-file main.bicep --parameters @params/dev.json
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install azure-bicep-deploy - 安装完成后,直接呼叫该 Skill 的名称或使用
/azure-bicep-deploy触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Azure Bicep Deploy 是什么?
Deploy and validate Azure Bicep and ARM templates to manage resources and multi-environment setups, including Azure Container Apps configurations. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 397 次。
如何安装 Azure Bicep Deploy?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install azure-bicep-deploy」即可一键安装,无需额外配置。
Azure Bicep Deploy 是免费的吗?
是的,Azure Bicep Deploy 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Azure Bicep Deploy 支持哪些平台?
Azure Bicep Deploy 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Azure Bicep Deploy?
由 junior-juarez-MSFT(@junior-juarez-msft)开发并维护,当前版本 v2.1.0。