NEW Browse AI tools across categories — updated daily. See what's new →
Official DevOps & Infrastructure

import-infrastructure-as-code

Import existing Azure resources into Terraform using Azure CLI discovery and Azure Verified Modules (AVM). Use when asked to reverse-engineer live Azure infrastructure, generate Infrastructure as Code from existing subscriptions/resource groups/resource IDs, map dependencies, derive exact import addresses from downloaded module source, prevent configuration drift, and produce AVM-based Terraform files ready for validation and planning across any Azure resource type.

This skill ships only metadata — no inline instructions. See the source repo for details.

Install this skill

1

One command (all agents)

Runs the npx skills CLI which auto-detects every AI coding agent you have installed (Claude Code, Cursor, Codex, OpenCode, Windsurf, Copilot, and 51 more).

npx skills add https://github.com/Azure/Azure-Verified-Modules/tree/main/docs/static/module-indexes
Alternative: shorthand form
npx skills add Azure/Azure-Verified-Modules --skill import-infrastructure-as-code
2

Install to a specific agent

Pick the agent you use. The CLI writes the skill to that agent's standard skill directory.

npx skills add Azure/Azure-Verified-Modules --skill import-infrastructure-as-code --agent claude-code
npx skills add Azure/Azure-Verified-Modules --skill import-infrastructure-as-code --agent cursor
npx skills add Azure/Azure-Verified-Modules --skill import-infrastructure-as-code --agent codex
npx skills add Azure/Azure-Verified-Modules --skill import-infrastructure-as-code --agent opencode
npx skills add Azure/Azure-Verified-Modules --skill import-infrastructure-as-code --agent github-copilot
npx skills add Azure/Azure-Verified-Modules --skill import-infrastructure-as-code --agent windsurf
3

Manual install (no CLI)

Prefer to skip the CLI? Clone the repo and drop the skill folder into your agent's skills directory.

git clone https://github.com/Azure/Azure-Verified-Modules.git
cp -r Azure-Verified-Modules/docs/static/module-indexes ~/.claude/skills/

For other agents, replace ~/.claude/skills/ with their skill directory — see the full list.

4

Use it

Once installed, ask your agent to "use the import-infrastructure-as-code skill" or describe what you want (e.g. "Import existing Azure resources into Terraform using Azure CLI discovery and Azu"). Most agents auto-discover the skill from its SKILL.md description — no slash command needed.

Requires: Node.js 18+ for npx skills. Skill files are MIT-style permissive by default — check the source repo for the actual license.

SKILL.md source

---
name: import-infrastructure-as-code
description: Import existing Azure resources into Terraform using Azure CLI discovery and Azure Verified Modules (AVM). Use when asked to reverse-engineer live Azure infrastructure, generate Infrastructure as Code
---

Related skills 6

microsoft-foundry

★ Featured Official

Deploy, evaluate, and manage Foundry agents end-to-end: Docker build, ACR push, hosted/prompt agent create, container start, batch eval, continuous eval, prompt optimizer workflows, agent.yaml, dataset curation from traces. USE FOR: deploy agent to Foundry, hosted agent, create agent, invoke agent, evaluate agent, run batch eval, continuous eval, continuous monitoring, continuous eval status, optimize prompt, improve prompt, prompt optimizer, optimize agent instructions, improve agent instruc...

microsoft 340k
DevOps & Infrastructure

azure-ai

★ Featured Official

Use for Azure AI: Search, Speech, OpenAI, Document Intelligence. Helps with search, vector/hybrid search, speech-to-text, text-to-speech, transcription, OCR. WHEN: AI Search, query search, vector search, hybrid search, semantic search, speech-to-text, text-to-speech, transcribe, OCR, convert text to speech.

microsoft 338k
DevOps & Infrastructure

azure-deploy

★ Featured Official

Execute Azure deployments for ALREADY-PREPARED applications that have existing .azure/deployment-plan.md and infrastructure files. DO NOT use this skill when the user asks to CREATE a new application — use azure-prepare instead. This skill runs azd up, azd deploy, terraform apply, and az deployment commands with built-in error recovery. Requires .azure/deployment-plan.md from azure-prepare and validated status from azure-validate. WHEN: "run azd up", "run azd deploy", "execute deployment", "p...

microsoft 338k
DevOps & Infrastructure

azure-diagnostics

★ Featured Official

Debug Azure production issues on Azure using AppLens, Azure Monitor, resource health, and safe triage. WHEN: debug production issues, troubleshoot app service, app service high CPU, app service deployment failure, troubleshoot container apps, troubleshoot functions, troubleshoot AKS, kubectl cannot connect, kube-system/CoreDNS failures, pod pending, crashloop, node not ready, upgrade failures, analyze logs, KQL, insights, image pull failures, cold start issues, health probe failures, resource...

microsoft 338k
DevOps & Infrastructure

azure-resource-lookup

★ Featured Official

List, find, and show Azure resources across subscriptions or resource groups. Handles prompts like "list the websites in my subscription", "list my web apps", "show my app services", "list virtual machines", "list my VMs", "show storage accounts", "find container apps", and "what resources do I have". USE FOR: list websites, list web apps, list app services, show websites in subscription, resource inventory, find resources by tag, tag analysis, orphaned resource discovery (not for cost analys...

microsoft 337k
DevOps & Infrastructure

azure-resource-visualizer

★ Featured Official

Analyze Azure resource groups and generate detailed Mermaid architecture diagrams showing the relationships between individual resources. WHEN: create architecture diagram, visualize Azure resources, show resource relationships, generate Mermaid diagram, analyze resource group, diagram my resources, architecture visualization, resource topology, map Azure infrastructure.

microsoft 337k
DevOps & Infrastructure