Designs Azure infrastructure, generates Bicep/ARM IaC templates, optimizes costs, and reviews security posture. Use when architecting Azure solutions, writing Bicep, configuring CI/CD pipelines, or planning cloud migration.
Ships in 10-platform. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
不该用的边界:
# Step 2 架构选型(--json 输出结构化结果)
python scripts/architecture_designer.py \
--app-type web_app \
--users 10000 \
--requirements '{"budget_monthly_usd": 500, "compliance": ["SOC2"]}'
# Step 3 生成 Bicep(web-app / microservices 等)
python scripts/bicep_generator.py --arch-type web-app --output main.bicep
# Step 4 成本优化
python scripts/cost_optimizer.py --config current_resources.json --json
四类可选模式:
部署失败排查:
# 查看部署错误
az deployment group show -g rg-myapp-dev --name main --query 'properties.error'
# 部署前先校验 Bicep
az bicep build --file main.bicep
az deployment group validate -g rg-myapp-dev --template-file main.bicep
常见原因:RBAC 权限不足(部署主体需对资源组有 Contributor);资源提供程序未注册(az provider register --namespace Microsoft.Web);命名冲突(存储账户/Web 应用名需全局唯一);配额超限(门户 Subscriptions > Usage + quotas 申请提额)。
Bicep 核心片段(Linux App Service + Serverless SQL,强制 HTTPS、TLS 1.2、系统分配托管标识、自动暂停):
param environment string = 'dev'
param location string = resourceGroup().location
param appName string = 'myapp'
resource appServicePlan 'Microsoft.Web/serverfarms@2023-01-01' = {
name: '${environment}-${appName}-plan'
location: location
sku: { name: 'P1v3', tier: 'PremiumV3', capacity: 1 }
properties: { reserved: true } // Linux
}
resource appService 'Microsoft.Web/sites@2023-01-01' = {
name: '${environment}-${appName}-web'
location: location
properties: {
serverFarmId: appServicePlan.id
httpsOnly: true
siteConfig: {
linuxFxVersion: 'NODE|20-lts'
minTlsVersion: '1.2'
ftpsState: 'Disabled'
alwaysOn: true
}
}
identity: { type: 'SystemAssigned' }
}
resource sqlDatabase 'Microsoft.Sql/servers/databases@2023-05-01-preview' = {
parent: sqlServer
name: '${appName}-db'
location: location
sku: { name: 'GP_S_Gen5_2', tier: 'GeneralPurpose' }
properties: { autoPauseDelay: 60, minCapacity: json('0.5') }
}
GitHub Actions(OIDC 无密钥部署):
permissions:
id-token: write
contents: read
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: azure/login@v2
with:
client-id: ${{ secrets.AZURE_CLIENT_ID }}
tenant-id: ${{ secrets.AZURE_TENANT_ID }}
subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
- uses: azure/arm-deploy@v2
with:
resourceGroupName: rg-myapp-dev
template: ./infra/main.bicep
parameters: environment=dev
Azure DevOps(内联 AzureCLI 任务):az deployment group create -g rg-myapp-dev --template-file infra/main.bicep --parameters environment=dev。
快速选型参考:
安全评审清单(上线前逐项核对):
反模式速查:
参考文档:references/architecture_patterns.md(5 套模式)、references/service_selection.md(计算/数据库/存储/消息/网络决策矩阵)、references/best_practices.md(命名、标签、RBAC、网络安全、监控、容灾)。
采编自 alirezarezvani/claude-skills(MIT 许可证)。
What SKILL.md sets; muted values are Claude Code's defaults
/10-platform:azure-cloud-architectfrom 10-platform
npx claudepluginhub findscripter/everything-skills --plugin 10-platform66 skills in this plugin
/agentmail-email-infra当 AI 智能体需要真实邮箱完成注册/验证码/事务通信时使用;通过 AgentMail REST API 开通账号、收发邮件、注册 Webhook、查询 karma 余额并产出可执行调用;不适用于自建/企业 SMTP/IMAP 或个人邮箱代收。触发词:AgentMail、智能体邮箱、theagentmail.net/agentphone-voice-sms-agents当需要给 AI 代理配备电话号码、发起/接听语音通话、收发短信、查看通话转写或配置 Webhook 时使用;调用 AgentPhone REST API(base=https://api.agentphone.to/v1)完成代理/号码/通话/短信/Webhook/用量的全生命周期管理,产出可直接执行的 curl 与 Webhook 处理代码;不适用于自建 Twilio/SIP/STUN 等底层电信栈或非 AgentPhone 平台。触发词:电话代理、语音通话、短信、号码、Webhook、转写。/ai-native-cli-design当设计/改造供 AI 智能体调用的命令行工具时使用;按 core/recommended/ecosystem 三层产出 JSON 优先、可校验的 CLI 契约(默认 JSON、结构化错误、退出码、护栏、agent/ 目录与自描述);不适用于纯人类交互 CLI、GUI 或库 API 设计;触发词:agent CLI、AI 友好命令行、CLI JSON 输出、退出码规范、agent/ 目录Other plugins' skills for the same job