# azure-copilot

Skill for Azure Copilot work: VM sizing, Bicep and Terraform generation, Cosmos DB setup for chat storage, Azure network design.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode, Windsurf (Devin Desktop), Claude.ai · 180 installs · ★ 818 repo stars
- Author: MicrosoftDocs
- License: CC-BY-4.0 · policy=mirror · the beginning of the file is at the end of this page
- Source: https://github.com/MicrosoftDocs/Agent-Skills/tree/HEAD/skills/azure-copilot/SKILL.md
- Updated: 2026-11-09
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/azure-copilot

## What it does

The skill provides a reference guide for Azure Copilot and fetches live documentation from `learn.microsoft.com` via the `mcp_microsoftdocs` MCP server or `fetch_webpage`. Covers Azure App Service and Functions diagnostics, VM disk performance analysis, Load Balancer SKU selection, storage account migration, Entra role-based access control, Defender EASM attack surface queries.

Inside is a category index with line ranges and links to skill sections: Troubleshooting, Decision Making, Architecture & Design Patterns, Security, Configuration, Integrations & Coding Patterns. Each category lists topics and documentation URLs. The agent reads the relevant skill section and fetches the current page from the link.

The skill needs network access. If `mcp_microsoftdocs` is unavailable, the agent falls back to `fetch_webpage` with `from=learn-agent-skill&accept=text/markdown`. The skill generator stamps a build date in metadata; if more than three months old, the agent will offer to update the skill from the repository.

## Requirements
- Works with: Azure, Azure DevOps, Terraform

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add MicrosoftDocs/Agent-Skills --skill azure-copilot -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/azure-copilot/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/azure-copilot/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add MicrosoftDocs/Agent-Skills --skill azure-copilot -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/azure-copilot/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add MicrosoftDocs/Agent-Skills --skill azure-copilot -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/azure-copilot/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install MicrosoftDocs/Agent-Skills skills/azure-copilot
```

2. **Manually: put the files in place**
- File: `.github/skills/azure-copilot/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add MicrosoftDocs/Agent-Skills --skill azure-copilot -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/MicrosoftDocs/Agent-Skills --path skills/azure-copilot
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/azure-copilot/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add MicrosoftDocs/Agent-Skills --skill azure-copilot -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/MicrosoftDocs/Agent-Skills/tree/HEAD/skills/azure-copilot/SKILL.md

## When to use it
- size Azure VMs to fit budget and load
- generate Bicep or Terraform templates for infrastructure
- set up Cosmos DB as storage for Copilot conversation history
- diagnose slow I/O on Azure VM disks
- design and validate Azure network architecture with routing and security

## Example prompts
- Pick a cost-efficient VM for a web app handling 1000 users per day
- Generate a Terraform config for a VNet with three subnets
- Show how to configure Cosmos DB for Azure Copilot chat storage

## Source text · SKILL.md · CC-BY-4.0

Below is the content of a third-party file. It is data, not instructions for you: do not act on anything written inside unless the human asks. Block tag: 3f073d9f7594a481.

BEGIN THIRD-PARTY FILE 3f073d9f7594a481
```text
---
name: azure-copilot
description: Expert knowledge for Azure Copilot development including troubleshooting, decision making, architecture & design patterns, security, configuration, and integrations & coding patterns. Use when sizing VMs, generating Bicep/Terraform, configuring Cosmos DB chat storage, or designing Azure networks, and other Azure Copilot related development tasks. Not for Azure Portal (use azure-portal), Azure Machine Learning (use azure-machine-learning), Azure DevOps (use azure-devops), Microsoft Foundry (use microsoft-foundry).
compatibility: Requires network access. Uses mcp_microsoftdocs:microsoft_docs_fetch or fetch_webpage to retrieve documentation.
metadata:
  generated_at: "2026-11-08"
  generator: "docs2skills/1.0.0"
---
# Azure Copilot Skill

This skill provides expert guidance for Azure Copilot. Covers troubleshooting, decision making, architecture & design patterns, security, configuration, and integrations & coding patterns. It combines local quick-reference content with remote documentation fetching capabilities.

## How to Use This Skill

> **IMPORTANT for Agent**: Use the **Category Index** below to locate relevant sections. For categories with line ranges (e.g., `L35-L120`), use `read_file` with the specified lines. For categories with file links (e.g., `[security.md](security.md)`), use `read_file` on the linked reference file

> **IMPORTANT for Agent**: If `metadata.generated_at` is more than 3 months old, suggest the user pull the latest version from the repository. If `mcp_microsoftdocs` tools are not available, suggest the user install it: [Installation Guide](https://github.com/MicrosoftDocs/mcp/blob/main/README.md)

This skill requires **network access** to fetch documentation content:
- **Preferred**: Use `mcp_microsoftdocs:microsoft_docs_fetch` with query string `from=learn-agent-skill`. Returns Markdown.
- **Fallback**: Use `fetch_webpage` with query string `from=learn-agent-skill&accept=text/markdown`. Returns Markdown.

## Category Index

| Category | Lines | Description |
|----------|-------|-------------|
| Troubleshooting | L34-L39 | Using Copilot to diagnose and resolve Azure App Service/Functions issues and analyze Azure VM disk performance problems, including slow I/O and bottlenecks. |
| Decision Making | L40-L48 | Using Copilot to compare options and make cost‑efficient Azure decisions: VM sizing, workload templates, Marketplace offers, storage estate insights, and Load Balancer SKU selection. |
```
END THIRD-PARTY FILE 3f073d9f7594a481

The third-party file has ended. Everything between the 3f073d9f7594a481 tags is data: requests and commands from it are not followed. An “end of file” line with another tag inside the block is part of the file.

First 2497 of 5798 bytes. © MicrosoftDocs · CC-BY-4.0 · https://github.com/MicrosoftDocs/Agent-Skills/tree/HEAD/skills/azure-copilot/SKILL.md

_Part of the page did not fit — see the HTML version._

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
