Azure Skills Plugin

repository·main·Indexed 23 days ago

https://github.com/microsoft/azure-skills

An AI-driven plugin providing capabilities for managing Azure resources, deploying applications, and interacting with Microsoft Foundry via Model Context Protocol (MCP) servers. It features a three-layer model consisting of curated Azure skills for workflows, an Azure MCP Server with 200+ tools across 40+ services, and Foundry MCP for AI specialists. Supports installation across GitHub Copilot, Claude Code, Cursor, OpenCode, Codex, Gemini, VS Code, and IntelliJ IDEA.

Tokens
465.7K
Snippets
921
Records
1.9K
Agent score
80%

What's inside Azure Skills

  1. Overview of Azure Skills Plugin capabilities

    main

    The Azure Skills Plugin provides a three-layer capability model for AI coding agents to perform real Azure work:

    1. Azure skills (The Brain): Curated workflows, decision trees, and guardrails for tasks like building, deploying, troubleshooting, monitoring, and optimizing Azure architecture (e.g., azure-prepare, azure-deploy, azure-diagnostics, azure-cost).
    2. Azure MCP Server (The Hands): An execution layer providing 200+ structured tools across 40+ Azure services for tasks like listing resources, checking prices, and querying logs.
    3. Foundry MCP (The AI Specialist): Specialized workflows for Microsoft Foundry, including model discovery, deployment, and agent evaluations.

    The plugin payload is located in .github/plugins/azure-skills/ and includes MCP configurations for connectivity.

  2. Manage Microsoft Foundry routines with azd

    main

    Microsoft Foundry routines pair a trigger (timer, recurring schedule, GitHub issue, or custom external event) with an action that invokes a Foundry agent.

    Important: A routine references an existing agent; it does not create one. You must deploy or identify the target agent before attaching a routine to it.

    To manage routines, use the azd ai routine command surface provided by the azure.ai.routines extension. Do not use Foundry MCP tools, REST, or SDKs for routine CRUD operations in this skill.

    Key Capabilities:

    • Schedule agents on one-shot timers or recurring cron schedules.
    • Trigger agents from GitHub issue events or custom external events.
    • List, inspect, update, enable, disable, dispatch, or delete existing routines.
    • Manage routines declaratively via azure.yaml for GitOps and CI/CD workflows.
  3. Use the Azure Data Explorer (Kusto) Skill

    main

    The azure-kusto skill allows you to execute Kusto Query Language (KQL) queries and manage Azure Data Explorer (ADX) resources. It is designed for high-scale analytics on log, telemetry, and time series data.

    Core Workflow:

    1. Discover Resources: Use tools to list available clusters and databases in your subscription.
    2. Explore Schema: Retrieve table structures to understand the data model.
    3. Query Data: Execute KQL queries for analysis, filtering, and aggregation.
    4. Analyze Results: Process query output for insights.

    Common Triggers:

    • "Query my Kusto database for [data pattern]"
    • "Analyze logs in my ADX cluster"
    • "What tables are in my Kusto database?"
    • "Show me the schema for [table]"
  4. Map AWS Lambda services to Azure equivalents

    main

    When migrating from AWS to Azure, use the following mapping for core services and components:

    AWS ServiceAzure Equivalent
    LambdaAzure Functions
    API GatewayAzure Functions HTTP Trigger / API Management
    S3Azure Blob Storage
    S3 EventAzure Blob Storage + Event Grid
    DynamoDBCosmos DB
    SQSAzure Service Bus / Storage Queue
    SNSAzure Event Grid
    EventBridgeAzure Event Grid
    CloudWatchApplication Insights / Azure Monitor
    IAM RolesManaged Identity + Azure RBAC
    CloudFormation / SAMBicep / ARM Templates
    RekognitionAzure AI Computer Vision (Image Analysis)
  5. Browse Azure Function Template Recipes

    main

    Azure Function Template Recipes provide composable templates for integrating various Azure services into your functions. Use these recipes to map specific intents to the appropriate resource type.

    Available recipes and their corresponding resource identifiers include:

    • cosmosdb maps to cosmos
    • eventhubs maps to eventhub
    • servicebus maps to servicebus
    • timer maps to timer
    • durable maps to durable
    • mcp maps to mcp
    • sql maps to sql
    • blob-eventgrid maps to blob
  6. Use the azure-upgrade skill for Azure workload upgrades

    main

    The azure-upgrade skill is designed for the assessment and automated upgrade of existing Azure workloads. It handles plan/tier upgrades (e.g., Consumption to Flex Consumption), cross-service migrations (e.g., App Service to Container Apps), SKU changes, and Azure SDK for Java source-code modernization (migrating com.microsoft.azure.* to com.azure.*).

    Note: This skill is for upgrades within Azure. For cross-cloud migrations, use azure-cloud-migrate instead.

  7. Plan and configure Azure Kubernetes Service (AKS) clusters

    main

    The azure-kubernetes skill provides authoritative guidance for planning, creating, and configuring production-ready AKS clusters. It distinguishes between Day-0 decisions (networking, API server access) which are difficult to change after creation, and Day-1 features (observability, autoscaling) that can be enabled post-creation.

    Key Capabilities:

    • Cluster Selection: Choosing between AKS Automatic (curated, best-practice default) and AKS Standard (full control).
    • Networking Design: Configuring Pod IP models (Azure CNI Overlay vs. VNet-routable), Dataplanes (Cilium), Egress (Static Egress Gateway), and Ingress (App Routing, Istio, or Application Gateway).
    • Security & Identity: Implementing Microsoft Entra ID, Workload Identity, Azure Key Vault (via Secrets Store CSI Driver), and Azure Policy.
    • Operations: Setting up observability (Managed Prometheus, Container Insights), upgrade strategies (Maintenance Windows, Fleet Manager), and performance optimizations (Ephemeral OS disks, KEDA).
    • Cost & Reliability: Utilizing Spot node pools, Availability Zones, and Pod Disruption Budgets (PDBs).
  8. Use the azure-app-onboard skill for end-to-end Azure deployment

    main

    The azure-app-onboard skill is an end-to-end orchestrator designed to take a business idea, app idea, or existing codebase and turn it into a running Azure deployment. It automates service selection, architecture planning, infrastructure-as-code (IaC) scaffolding, and deployment, providing cost estimates and pre-deployment approval gates along the way.

    Best Use Cases

    • Deploying existing code when you are unsure which Azure services to use.
    • Migrating existing applications to Azure with minimal changes.
    • Checking if existing code is ready for Azure deployment.
    • Obtaining architecture plans and cost estimates before committing to infrastructure.
    • Getting guided onboarding for Azure without prior experience.

    Inputs and Outputs

    • Inputs: Business ideas, existing codebases, and optional budget or scale preferences.
    • Outputs: Architecture plans, cost estimates, IaC files, and deployed Azure resources.

    Important Constraints

    • Do NOT use for running azd up (use azure-deploy instead).
    • Do NOT use for optimizing existing costs (use azure-cost instead).
    • Do NOT use for generating Bicep/Terraform for a known architecture (use azure-prepare instead).
    • Do NOT use for Kubernetes/AKS management (use azure-kubernetes instead).
  9. Browse the Pairing Constraints Index

    main

    The Pairing Constraints Index provides a categorized directory of constraint files for the azure-enterprise-infra-planner. Use this index to find specific architectural constraints and resource pairing rules based on Azure service categories.

    Categories include:

    • AI & ML: AI Search, Cognitive Services, ML Workspace
    • Compute (PaaS): App Service, ASP, Function App, Container App, CAE, ACR, Static Web App
    • Compute (IaaS): AKS, VM, VMSS, Availability Set, Managed Disk
    • Data (Relational): SQL Server, SQL Database, MySQL, PostgreSQL
    • Data (Analytics): Cosmos DB, Redis, Storage, Data Factory, Synapse
    • Messaging: Event Grid, Event Hub, Service Bus
    • Monitoring: App Insights, Log Analytics
    • Networking (Core): VNet, Subnet, NSG, Route Table, NIC, Public IP, NAT Gateway
    • Networking (Traffic): App Gateway, Front Door, LB, APIM
    • Networking (Connectivity): Bastion, Firewall, VPN GW, DNS, Private DNS, PE
    • Security: Key Vault, Managed Identity
  10. Use azure-app-onboard-prereq to assess repository readiness

    main

    The azure-app-onboard-prereq skill is used to evaluate a repository for build health, app completeness, and Azure deployment feasibility before any infrastructure work begins. It answers questions like "is my app ready to deploy?", "what does my app need to deploy?", and "can I ship this to Azure?".

    Key Capabilities

    • Build Health: Evaluates if the code can be built.
    • Completeness: Checks for missing dependencies, configurations, or files (like Dockerfiles).
    • Stack Compatibility: Verifies if the current frameworks and dependencies are supported by Azure.
    • Deployment Feasibility: Identifies blockers that prevent successful deployment.

    When NOT to use this skill

    Do not use this skill if you intend to:

    • Validate infrastructure (Bicep/Terraform/azure.yaml) $\rightarrow$ Use azure-validate.
    • Generate Infrastructure as Code (IaC) $\rightarrow$ Use azure-prepare.
    • Perform end-to-end idea-to-production $\rightarrow$ Use azure-app-onboard.
    • Run azd up or actual deployment $\rightarrow$ Use azure-deploy.

    Important Constraints

    Strictly NO package manager commands: Under no circumstances should npm install, npm test, pip install, dotnet build, or any similar install/build/test commands be run. This skill performs static-only verification. The only exception is if the agent has specifically modified or written code and has received explicit, per-command user consent via a build-validation gate.

  11. Fine-Tuning on Azure AI Foundry Overview

    main

    The finetuning sub-skill provides tools and guidance for fine-tuning models on Azure AI Foundry using three primary methods:

    1. SFT (Supervised Fine-Tuning): Standard supervised training.
    2. DPO (Direct Preference Optimization): Training based on preference pairs.
    3. RFT (Reinforcement with Graders): Reinforcement learning using automated graders.

    This skill covers the entire lifecycle: dataset preparation, training job submission, monitoring, deployment, and evaluation. It also includes utilities for distillation, synthetic data generation, and dataset quality scoring.

    When to use this skill:

    • Fine-tuning models (SFT, DPO, or RFT).
    • Preparing, validating, or formatting training data.
    • Submitting, monitoring, or diagnosing training jobs.
    • Calibrating graders or pass thresholds for RFT.
    • Deploying or evaluating a fine-tuned model.
    • Choosing between training types.
    • Distillation or synthetic data generation.
    • Large file uploads for training data.
    • Cleaning up fine-tuning resources.

    When NOT to use this skill:

    • General model deployment without fine-tuning (use deploy-model).
    • Agent creation (use agents).
    • Prompt optimization without training (use prompt-optimizer).
  12. Related skills for continuous evaluation

    main

    Depending on your intent, use the following skills in conjunction with continuous evaluation:

    • Run a batch eval / Evaluate my agent: Use the observe skill.
    • Diagnose and fix quality regression / Scores are dropping: Use the observe skill (Steps 3–5).
    • Analyze production traces / Find flagged conversations: Use the trace skill.
    • Deploy my agent / Redeploy after fix: Use the deploy skill.