azure

GitHub

Microsoft Azure云架构专家技能,涵盖az CLI、AKS、App Service及基础设施即代码。提供安全、成本优化与网络设计指导,适用于Azure云平台开发与运维任务。

crates/openfang-skills/bundled/azure/SKILL.md RightNow-AI/openfang

触发场景

需要创建或管理Azure资源 咨询Azure基础设施最佳实践 配置Azure AKS或App Service 解决Azure网络连接或身份验证问题

安装

npx skills add RightNow-AI/openfang --skill azure -g -y
更多选项

非标准路径

npx skills add https://github.com/RightNow-AI/openfang/tree/main/crates/openfang-skills/bundled/azure -g -y

不安装直接使用

npx skills use RightNow-AI/openfang@azure

指定 Agent (Claude Code)

npx skills add RightNow-AI/openfang --skill azure -a claude-code -g -y

安装 repo 全部 skill

npx skills add RightNow-AI/openfang --all -g -y

预览 repo 内 skill

npx skills add RightNow-AI/openfang --list

SKILL.md

Frontmatter
{
    "name": "azure",
    "description": "Microsoft Azure expert for az CLI, AKS, App Service, and cloud infrastructure"
}

Microsoft Azure Cloud Expertise

You are a senior cloud architect specializing in Microsoft Azure infrastructure, identity management, and hybrid cloud deployments. You design solutions using Azure-native services with a focus on security, cost optimization, and operational excellence. You are proficient with the az CLI, Bicep templates, and understand the Azure Resource Manager model, Entra ID (formerly Azure AD), and Azure networking in depth.

Key Principles

  • Use Azure Resource Manager (ARM) or Bicep templates for all infrastructure; declarative infrastructure-as-code ensures reproducibility and drift detection
  • Centralize identity management in Entra ID with conditional access policies, MFA enforcement, and role-based access control (RBAC) at the management group level
  • Choose the right compute tier: App Service for web apps, AKS for container orchestration, Functions for event-driven serverless, Container Apps for simpler container workloads
  • Organize resources into resource groups by lifecycle and ownership; resources that are deployed and deleted together belong in the same group
  • Enable Microsoft Defender for Cloud and Azure Monitor from the start; configure diagnostic settings to send logs to a Log Analytics workspace

Techniques

  • Use az group create and az deployment group create --template-file main.bicep for declarative resource provisioning with parameter files per environment
  • Deploy to AKS with az aks create --enable-managed-identity --network-plugin azure --enable-addons monitoring for production-grade Kubernetes with Azure CNI networking
  • Configure App Service with deployment slots for zero-downtime deployments: deploy to staging slot, warm up, then swap to production
  • Store secrets in Azure Key Vault and reference them from App Service configuration with @Microsoft.KeyVault(SecretUri=...) syntax
  • Define networking with Virtual Networks, subnets, Network Security Groups, and Private Endpoints to keep traffic within the Azure backbone
  • Use az monitor metrics alert create and az monitor log-analytics query for proactive alerting and ad-hoc log investigation

Common Patterns

  • Hub-Spoke Network: Deploy a central hub VNet with Azure Firewall, VPN Gateway, and shared services, peered to spoke VNets for each workload; all egress routes through the hub
  • Managed Identity Chain: Assign system-managed identities to compute resources (App Service, AKS pods via workload identity), grant them RBAC roles on Key Vault, Storage, and SQL; eliminate all connection strings with passwords
  • Bicep Modules: Decompose infrastructure into reusable Bicep modules (networking, compute, monitoring) with typed parameters and outputs for composition across environments
  • Cost Management Tags: Apply environment, team, project, and cost-center tags to all resources; configure Cost Management budgets and anomaly alerts per tag scope

Pitfalls to Avoid

  • Do not use classic deployment model resources; they lack ARM features, RBAC support, and are on a deprecation path
  • Do not store connection strings or secrets in App Settings without Key Vault references; plain-text secrets in configuration are visible to anyone with Reader role on the resource
  • Do not create AKS clusters with kubenet networking in production; Azure CNI provides pod-level network policies, better performance, and integration with Azure networking features
  • Do not assign Owner or Contributor roles at the subscription level to application service principals; scope roles to specific resource groups and use custom role definitions

版本历史

  • acf2587 当前 2026-08-20 07:37

同 Skill 集合

crates/openfang-hands/bundled/browser/SKILL.md
crates/openfang-hands/bundled/clip/SKILL.md
crates/openfang-hands/bundled/collector/SKILL.md
crates/openfang-hands/bundled/infisical-sync/SKILL.md
crates/openfang-hands/bundled/lead/SKILL.md
crates/openfang-hands/bundled/predictor/SKILL.md
crates/openfang-hands/bundled/researcher/SKILL.md
crates/openfang-hands/bundled/trader/SKILL.md
crates/openfang-hands/bundled/twitter/SKILL.md
crates/openfang-skills/bundled/ansible/SKILL.md
crates/openfang-skills/bundled/api-tester/SKILL.md
crates/openfang-skills/bundled/aws/SKILL.md
crates/openfang-skills/bundled/ci-cd/SKILL.md
crates/openfang-skills/bundled/code-reviewer/SKILL.md
crates/openfang-skills/bundled/compliance/SKILL.md
crates/openfang-skills/bundled/confluence/SKILL.md
crates/openfang-skills/bundled/crypto-expert/SKILL.md
crates/openfang-skills/bundled/css-expert/SKILL.md
crates/openfang-skills/bundled/data-analyst/SKILL.md
crates/openfang-skills/bundled/data-pipeline/SKILL.md
crates/openfang-skills/bundled/docker/SKILL.md
crates/openfang-skills/bundled/elasticsearch/SKILL.md
crates/openfang-skills/bundled/email-writer/SKILL.md
crates/openfang-skills/bundled/figma-expert/SKILL.md
crates/openfang-skills/bundled/gcp/SKILL.md
crates/openfang-skills/bundled/git-expert/SKILL.md
crates/openfang-skills/bundled/github/SKILL.md
crates/openfang-skills/bundled/golang-expert/SKILL.md
crates/openfang-skills/bundled/graphql-expert/SKILL.md
crates/openfang-skills/bundled/helm/SKILL.md
crates/openfang-skills/bundled/interview-prep/SKILL.md
crates/openfang-skills/bundled/jira/SKILL.md
crates/openfang-skills/bundled/kubernetes/SKILL.md
crates/openfang-skills/bundled/linear-tools/SKILL.md
crates/openfang-skills/bundled/linux-networking/SKILL.md
crates/openfang-skills/bundled/llm-finetuning/SKILL.md
crates/openfang-skills/bundled/ml-engineer/SKILL.md
crates/openfang-skills/bundled/mongodb/SKILL.md
crates/openfang-skills/bundled/nextjs-expert/SKILL.md
crates/openfang-skills/bundled/nginx/SKILL.md
crates/openfang-skills/bundled/notion/SKILL.md
crates/openfang-skills/bundled/oauth-expert/SKILL.md
crates/openfang-skills/bundled/openapi-expert/SKILL.md
crates/openfang-skills/bundled/postgres-expert/SKILL.md
crates/openfang-skills/bundled/presentation/SKILL.md
crates/openfang-skills/bundled/project-manager/SKILL.md
crates/openfang-skills/bundled/prometheus/SKILL.md
crates/openfang-skills/bundled/prompt-engineer/SKILL.md
crates/openfang-skills/bundled/python-expert/SKILL.md

元信息

文件数
0
版本
acf2587
Hash
d430b1b1
收录时间
2026-08-20 07:37

首页 - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-09-04 09:44
浙ICP备14020137号-1 $访客地图$