Token导航 LogoToken导航TokenDH.com
云服务external-servicegithub未标认证来源可访问clear审计异常

azure-infra-engineerAzure infra 工程师

Agent Skill

用于辅助云资源、部署、容器、基础设施和运维自动化任务。它适合让 Agent 检查配置、整理部署步骤、分析资源状态、生成排障思路或辅助云服务接入。使用时需要明确目标环境、账号权限、区域和资源组,区分本地测试与生产操作;涉及删除资源、重启服务、修改网络或权限配置时,应先确认影响范围。

总安装

3,145

周安装

126

GitHub Stars

76

下载量

1,018
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:azure-infra-engineer(Azure infra 工程师)
来源仓库:https://github.com/404kidwiz/claude-supercode-skills
仓库路径:skills/azure-infra-engineer
安装命令:
npx skills add https://github.com/404kidwiz/claude-supercode-skills --skill azure-infra-engineer
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/404kidwiz/claude-supercode-skills --skill azure-infra-engineer

简介

用于提供企业级 Azure 基础设施设计与 Bicep/ARM 模板部署支持。

  • 适合企业上云、网络架构设计和治理策略实施等场景。
  • 覆盖 Landing Zone、Hub-Spoke 网络和 DevOps 自动化等核心能力。
  • 使用时需结合 Cloud Adoption Framework 和现有项目结构。
  • 安装方式:通过 npx 从 GitHub 仓库添加,支持多种 AI 开发环境。

SKILL.md

Azure Infrastructure Engineer

Purpose

Provides Microsoft Azure cloud expertise specializing in Bicep/ARM templates, Enterprise Landing Zones, and Cloud Adoption Framework (CAF) implementations. Designs and deploys enterprise-grade Azure environments with governance, networking, and infrastructure as code.

When to Use

  • Deploying Azure resources using Bicep or ARM templates
  • Designing Hub-and-Spoke network topologies (Virtual WAN, ExpressRoute)
  • Implementing Azure Policy and Management Groups (Governance)
  • Migrating workloads to Azure (ASR, Azure Migrate)
  • Automating Azure DevOps pipelines for infrastructure
  • Configuring Azure Active Directory (Entra ID) RBAC and PIM


2. Decision Framework

IaC Tool Selection (Azure Context)

ToolStatusRecommendation
BicepRecommendedNative, first-class support, concise syntax.
TerraformAlternativeBest for multi-cloud strategies.
ARM TemplatesLegacyVerbose JSON. Avoid for new projects (compile Bicep instead).
PowerShell/CLIScriptingUse for ad-hoc tasks or pipeline glue, not state management.

Networking Architecture

What is the connectivity need?
│
├─ **Hub-and-Spoke** (Standard)
│  ├─ Central Hub: Firewall, VPN Gateway, Bastion
│  └─ Spokes: Workload VNets (Peered to Hub)
│
├─ **Virtual WAN** (Global Scale)
│  ├─ Multi-region connectivity? → **Yes**
│  └─ Branch-to-Branch (SD-WAN)? → **Yes**
│
└─ **Private Access**
   ├─ PaaS Services? → **Private Link / Private Endpoints**
   └─ Service Endpoints? → Legacy (Use Private Link where possible)

Governance Strategy (CAF)

  1. Management Groups: Hierarchy for policy inheritance (Root > Geo > Landing Zones).
  2. Azure Policy: "Deny" non-compliant resources (e.g., only East US region).
  3. RBAC: Least privilege access via Entra ID Groups.
  4. Blueprints: Rapid deployment of compliant environments (being replaced by Template Specs + Stacks).

Red Flags → Escalate to security-engineer:

  • Public access enabled on Storage Accounts or SQL Databases
  • Management Ports (RDP/SSH) open to internet
  • Subscription Owner permissions granted to individual users (Use Contributors/PIM)
  • No cost controls/budgets configured


4. Core Workflows

Workflow 1: Bicep Resource Deployment

Goal: Deploy a secure Storage Account with Private Endpoint.

Steps:

  1. Define Bicep Module (storage.bicep) param location string = resourceGroup().location param name string resource stg 'Microsoft.Storage/storageAccounts@2023-01-01' = {name: name location: location sku: {name: 'Standard_LRS'} kind: 'StorageV2' properties: {minimumTlsVersion: 'TLS1_2' supportsHttpsTrafficOnly: true publicNetworkAccess: 'Disabled' // Secure by default}} output id string = stg.id
  2. Main Deployment (main.bicep) module storage './modules/storage.bicep' = {name: 'deployStorage' params: {name: 'stappprod001'}}
  3. Deploy via CLI az deployment group create --resource-group rg-prod --template-file main.bicep


Workflow 3: Landing Zone Setup (CAF)

Goal: Establish the foundational hierarchy.

Steps:

  1. Create Management Groups

- MG-Root - MG-Platform (Identity, Connectivity, Management) - MG-LandingZones (Online, Corp) - MG-Sandbox (Playground)

  1. Assign Policies

- Assign "Allowed Locations" to MG-Root. - Assign "Enable Azure Monitor" to MG-LandingZones.

  1. Deploy Hub Network

- Deploy VNet in connectivity subscription. - Deploy Azure Firewall and VPN Gateway.



5. Anti-Patterns & Gotchas

❌ Anti-Pattern 1: "ClickOps"

What it looks like:

  • Creating resources manually in the Azure Portal.

Why it fails:

  • Unrepeatable.
  • Configuration drift.
  • Disaster recovery is impossible (no code to redeploy).

Correct approach:

  • Everything as Code: Even if prototyping, export the ARM template or write basic Bicep.

❌ Anti-Pattern 2: One Giant Resource Group

What it looks like:

  • rg-production contains VNets, VMs, Databases, and Web Apps for 5 different projects.

Why it fails:

  • IAM nightmare (cannot grant access to Project A without Project B).
  • Tagging and cost analysis becomes difficult.
  • Risk of accidental deletion.

Correct approach:

  • Lifecycle Grouping: Group resources that share a lifecycle (e.g., rg-network, rg-app1-prod, rg-app1-dev).

❌ Anti-Pattern 3: Ignoring Naming Conventions

What it looks like:

  • myvm1, test-storage, sql-server.

Why it fails:

  • Cannot identify resource type, environment, or region from name.
  • Name collisions (Storage accounts must be globally unique).

Correct approach:

  • CAF Naming Standard: [Resource Type]-[Workload]-[Environment]-[Region]-[Instance]
  • Example: st-myapp-prod-eus-001 (Storage Account, MyApp, Prod, East US, 001).


7. Quality Checklist

Governance:

  • Naming: Resources follow CAF naming conventions.
  • Tagging: Resources tagged with CostCenter, Environment, Owner.
  • Policies: Azure Policy enforces compliance (e.g., allowed SKUs).

Security:

  • Network: No public IPs on backend resources (VMs, DBs).
  • Identity: Managed Identities used instead of Service Principals/Keys where possible.
  • Encryption: CMK (Customer Managed Keys) enabled for sensitive data.

Reliability:

  • Availability Zones: Critical resources deployed zone-redundant (ZRS).
  • Backup: Azure Backup enabled for VMs and SQL.
  • Locks: Resource Locks (CanNotDelete) on critical production resources.

Cost:

  • Sizing: Resources right-sized based on metrics.
  • Reservations: Reserved Instances purchased for steady workloads.
  • Cleanup: Unused resources (orphaned disks/NICs) deleted.

Examples

Example 1: Multi-Subscription Landing Zone Setup

Scenario: A healthcare company needs to deploy a compliant landing zone for HIPAA-regulated workloads across three environments (dev, staging, prod).

Architecture:

  1. Management Group Hierarchy: Root > Organization > Environments > Workloads
  2. Network Design: Hub-and-spoke with Azure Firewall, separate VNets per environment
  3. Policy Enforcement: Azure Policy to enforce HIPAA compliance (encryption, backup, private endpoints)
  4. CI/CD Pipeline: Azure DevOps pipeline with approval gates for prod deployments

Key Components:

  • Azure Firewall Manager for centralized policy
  • Private DNS Zones for app-internal resolution
  • Azure Backup with immutable vaults for compliance
  • Cost Management tags for departmental chargebacks

Example 2: Zero-Trust Network Architecture

Scenario: A financial services firm needs to replace their VPN-based access with a Zero Trust architecture using Azure Private Link and Conditional Access.

Implementation:

  1. Private Endpoints: All PaaS services accessed via Private Endpoints (SQL, Storage, Key Vault)
  2. Identity-Based Access: Conditional Access policies requiring compliant device and MFA
  3. Micro-segmentation: NSG rules denying all traffic by default, allowing only required flows
  4. Monitoring: Azure Sentinel for security analytics and anomaly detection

Security Controls:

  • Azure AD Conditional Access with device compliance
  • Just-In-Time VM access for administration
  • Azure Defender for Cloud threat protection
  • Comprehensive audit logging to Log Analytics

Example 3: Cost-Optimized Dev/Test Environment

Scenario: A software company wants to reduce their Azure dev/test environment costs by 60% while maintaining developer productivity.

Optimization Strategy:

  1. Auto-Shutdown: Dev VMs auto-shutdown evenings and weekends via Automation Runbooks
  2. Reserved Capacity: Prod-like dev environments use Reserved Instances
  3. Dev-Optimized SKUs: Development uses Dev/Test SKUs where available
  4. Tagging and Governance: Required tags for cost allocation, orphaned resource cleanup

Cost Savings Results:

  • 65% reduction in dev/test compute costs
  • Automated cleanup of unused resources saving $2K/month
  • Reserved Instance savings for stable environments
  • Developer productivity maintained with auto-start capabilities

Best Practices

Infrastructure as Code

  • Everything as Code: Every resource defined in Bicep, never manual portal changes
  • Module Library: Create reusable Bicep modules for common patterns
  • Parameter Files: Separate parameter files per environment (dev, staging, prod)
  • GitOps Workflow: Infrastructure changes via PR and approval process
  • State Management: Use AzDO stateful pipelines or Terraform backend

Networking Excellence

  • Hub-and-Spoke Default: Standard architecture for most workloads
  • Private by Default: All PaaS access via Private Endpoints
  • DNS Planning: Private DNS Zones with VNet links, avoid host file modifications
  • Firewall Integration: Centralized threat protection with Azure Firewall
  • Hybrid Connectivity: ExpressRoute for production, VPN for secondary

Security Hardening

  • Least Privilege: RBAC with specific roles, avoid Subscription Owner
  • Managed Identities: Prefer over Service Principals with secrets
  • Secrets Management: Key Vault for all secrets, never environment variables
  • Encryption Everywhere: CMK for sensitive data, TLS 1.2+ everywhere
  • Network Isolation: NSG rules denying by default, allow-listing required traffic

Cost Management

  • Right-Sizing: Regular review of actual utilization vs allocated size
  • Reservation Planning: Identify stable workloads for Reserved Instances
  • Auto-Shutdown: Dev/test resources off during off-hours
  • Tagging Strategy: Required tags for cost center, environment, owner
  • Budget Alerts: Budget thresholds with alerts at 50%, 75%, 90%

Governance and Compliance

  • Policy as Guardrails: Azure Policy for prevention, not just detection
  • Management Groups: Hierarchy reflecting organizational structure
  • Blueprint Usage: Azure Blueprints for standard compliant environments
  • Monitoring Strategy: Centralized logging to Log Analytics workspace
  • Automation: Runbooks for routine operational tasks

适合场景

01

Azure 资源规划

02

云服务升级

03

基础设施检查

04

企业云环境自动化

能力概览

能力 1

整理 Azure 服务操作流程

能力 2

提示 CLI/MCP 前置条件

能力 3

辅助云资源检查和规划

能力 4

保留官方服务来源线索

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Claude Code

30.47%
按下载量换算310

OpenCode

22.5%
按下载量换算229

Codex

18.37%
按下载量换算187

windsurf

13.07%
按下载量换算133

Cursor

7.92%
按下载量换算81

Gemini CLI

3.29%
按下载量换算33

安全审计

Gen Agent Trust Hub

未通过

Socket

通过

Snyk

通过

权限和风险

external-service

该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。

来源信息

继续浏览同类 Skills