Analyze Azure resource groups and generate detailed Mermaid architecture diagrams showing the relationships between individual resources. USE FOR: 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 DO NOT USE FOR: creating/modifying resources (use azure-deploy), security scanning (use azure-security), performance troubleshooting (use azure-diagnostics), code generation (use relevant service skill)
Generates detailed Mermaid architecture diagrams from Azure resource groups to visualize relationships and configurations.
npx claudepluginhub microsoft/github-copilot-for-azureThis skill inherits all available tools. When active, it can use any tool Claude has access to.
assets/example-diagram.mdassets/template-architecture.mdreferences/azure-resource-graph.mdA user may ask for help understanding how individual resources fit together, or to create a diagram showing their relationships. Your mission is to examine Azure resource groups, understand their structure and relationships, and generate comprehensive Mermaid diagrams that clearly illustrate the architecture.
If the user hasn't specified a resource group:
az.If a resource group is specified, validate it exists and proceed.
For bulk resource discovery across subscriptions, use Azure Resource Graph queries. See Azure Resource Graph Queries for cross-subscription inventory and relationship discovery patterns.
Once you have the resource group:
Query all resources in the resource group using Azure MCP tools or az.
Analyze each resource type and capture:
Map relationships by identifying:
Create a detailed Mermaid diagram using the graph TB (top-to-bottom) or graph LR (left-to-right) format.
See example-diagram.md for a complete sample architecture diagram.
Key Diagram Requirements:
<br/> for line breaks)--> for data flow or dependencies-.-> for optional/conditional connections==> for critical/primary pathsResource Type Examples:
Use template-architecture.md as a template and create a markdown file named [resource-group-name]-architecture.md with:
Azure MCP Search:
intent="list resource groups" to discover resource groupsintent="list resources in group" with group name to get all resourcesintent="get resource details" for individual resource analysiscommand parameter when you need specific Azure operationsFile Creation:
docs/ folder if it exists[rg-name]-architecture.mdTerminal (when needed):
az resource list --resource-group <name> --output jsonaz network vnet show --resource-group <name> --name <vnet-name>Always Do:
Never Do:
graph TB (top-to-bottom) for vertical layoutsgraph LR (left-to-right) for horizontal layouts (better for wide architectures)subgraph "Descriptive Name"ID["Display Name<br/>Details"]SOURCE -->|"Label"| TARGETmermaid language tag for diagramsA successful analysis includes:
Your goal is to provide clarity and insight into Azure architectures, making complex resource relationships easy to understand through excellent visualization.
Activates when the user asks about AI prompts, needs prompt templates, wants to search for prompts, or mentions prompts.chat. Use for discovering, retrieving, and improving prompts.
Search, retrieve, and install Agent Skills from the prompts.chat registry using MCP tools. Use when the user asks to find skills, browse skill catalogs, install a skill for Claude, or extend Claude's capabilities with reusable AI agent components.
This skill should be used when the user asks to "create an agent", "add an agent", "write a subagent", "agent frontmatter", "when to use description", "agent examples", "agent tools", "agent colors", "autonomous agent", or needs guidance on agent structure, system prompts, triggering conditions, or agent development best practices for Claude Code plugins.