Azure Resource Visualizer
GitHubOfficialCreated by Tom Meschter ( )Distributed by GitHub
- Skill
- Content generator
- Cloud and DevOps
- MIT
- No issues found
AutoGineer summary
Written by AutoGineer from the skill’s own files, not by the author
The Azure Resource Visualizer examines Azure resource groups to map interdependencies and configurations. It performs discovery of resources, analyzes their properties and relationships, and produces a structured markdown document containing a comprehensive Mermaid architecture diagram. The skill follows a systematic process of resource group selection, deep analysis of network, compute, and data layers, and documentation generation to provide a clear visual representation of cloud infrastructure.
What it does
- Lists and selects Azure resource groups for analysis
- Performs deep analysis of resource configurations and interdependencies
- Maps relationships including network connections, data flows, and identity access
- Generates Mermaid diagrams with logical grouping and descriptive labels
- Produces markdown documentation including resource inventories and relationship details
When to use it
- When you need to visualize the architecture of an existing Azure resource group
- When you need to document resource interdependencies and configurations
- When you need to understand how network, compute, and data layers connect in Azure
- When you require a structured markdown report of your cloud infrastructure
Advantages
- Provides clear visual representations of complex cloud architectures
- Automates the creation of technical documentation for Azure environments
- Ensures consistent documentation structure across different resource groups
- Captures critical configuration details like SKUs and network settings
Usage examples
- “Analyze my production resource group.”
- The agent lists available resource groups, prompts for a selection, analyzes the chosen group's resources and relationships, and generates a markdown file with a Mermaid diagram.
- “Create an architecture diagram for the rg-web-app resource group.”
- The agent validates the existence of the resource group, performs a deep analysis of its resources, and produces a documented architecture file with a visual diagram.
Install
Download the skill as a ZIP:
https://mp-staging.autogineer.com/agent-skills/github/azure-resource-visualizer/downloadUnzip it into the cross-client skills folder of your project:
mkdir -p .agents/skills && unzip azure-resource-visualizer.zip -d .agents/skills
Documentation by Tom Meschter ( )
Azure Resource Visualizer - Architecture Diagram Generator
A 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.
Core Responsibilities
Resource Group Discovery: List available resource groups when not specified
Deep Resource Analysis: Examine all resources, their configurations, and interdependencies
Relationship Mapping: Identify and document all connections between resources
Diagram Generation: Create detailed, accurate Mermaid diagrams
Documentation Creation: Produce clear markdown files with embedded diagrams
Workflow Process
Step 1: Resource Group Selection
If the user hasn't specified a resource group:
Use your tools to query available resource groups. If you do not have a tool for this, use
az.Present a numbered list of resource groups with their locations
Ask the user to select one by number or name
Wait for user response before proceeding
If a resource group is specified, validate it exists and proceed.
Step 2: Resource Discovery & Analysis
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:
Resource name and type
SKU/tier information
Location/region
Key configuration properties
Network settings (VNets, subnets, private endpoints)
Identity and access (Managed Identity, RBAC)
Dependencies and connections
Map relationships by identifying:
Network connections: VNet peering, subnet assignments, NSG rules, private endpoints
Data flow: Apps → Databases, Functions → Storage, API Management → Backends
Identity: Managed identities connecting to resources
Configuration: App Settings pointing to Key Vaults, connection strings
Dependencies: Parent-child relationships, required resources
Step 3: Diagram Construction
Create a detailed Mermaid diagram using the graph TB (top-to-bottom) or graph LR (left-to-right) format:
Diagram Structure Guidelines:
graph TB
%% Use subgraphs to group related resources
subgraph "Resource Group: [name]"
subgraph "Network Layer"
VNET[Virtual Network<br/>10.0.0.0/16]
SUBNET1[Subnet: web<br/>10.0.1.0/24]
SUBNET2[Subnet: data<br/>10.0.2.0/24]
NSG[Network Security Group]
end
subgraph "Compute Layer"
APP[App Service<br/>Plan: P1v2]
FUNC[Function App<br/>Runtime: .NET 8]
end
subgraph "Data Layer"
SQL[Azure SQL Database<br/>DTU: S1]
STORAGE[Storage Account<br/>Type: Standard LRS]
end
subgraph "Security & Identity"
KV[Key Vault]
MI[Managed Identity]
end
end
%% Define relationships with descriptive labels
APP -->|"HTTPS requests"| FUNC
FUNC -->|"SQL connection"| SQL
FUNC -->|"Blob/Queue access"| STORAGE
APP -->|"Uses identity"| MI
MI -->|"Access secrets"| KV
VNET --> SUBNET1
VNET --> SUBNET2
SUBNET1 --> APP
SUBNET2 --> SQL
NSG -->|"Rules applied to"| SUBNET1Key Diagram Requirements:
Group by layer or purpose: Network, Compute, Data, Security, Monitoring
Include details: SKUs, tiers, important settings in node labels (use
<br/>for line breaks)Label all connections: Describe what flows between resources (data, identity, network)
Use meaningful node IDs: Abbreviations that make sense (APP, FUNC, SQL, KV)
Visual hierarchy: Subgraphs for logical grouping
Connection types:
-->for data flow or dependencies-.->for optional/conditional connections==>for critical/primary paths
Resource Type Examples:
App Service: Include plan tier (B1, S1, P1v2)
Functions: Include runtime (.NET, Python, Node)
Databases: Include tier (Basic, Standard, Premium)
Storage: Include redundancy (LRS, GRS, ZRS)
VNets: Include address space
Subnets: Include address range
Step 4: File Creation
Use template-architecture.md as a template and create a markdown file named [resource-group-name]-architecture.md with:
Header: Resource group name, subscription, region
Summary: Brief overview of the architecture (2-3 paragraphs)
Resource Inventory: Table listing all resources with types and key properties
Architecture Diagram: The complete Mermaid diagram
Relationship Details: Explanation of key connections and data flows
Notes: Any important observations, potential issues, or recommendations
Operating Guidelines
Quality Standards
Accuracy: Verify all resource details before including in diagram
Completeness: Don't omit resources; include everything in the resource group
Clarity: Use clear, descriptive labels and logical grouping
Detail Level: Include configuration details that matter for architecture understanding
Relationships: Show ALL significant connections, not just obvious ones
Tool Usage Patterns
Azure MCP Search:
Use
intent="list resource groups"to discover resource groupsUse
intent="list resources in group"with group name to get all resourcesUse
intent="get resource details"for individual resource analysisUse
commandparameter when you need specific Azure operations
File Creation:
Always create in workspace root or a
docs/folder if it existsUse clear, descriptive filenames:
[rg-name]-architecture.mdEnsure Mermaid syntax is valid (test syntax mentally before output)
Terminal (when needed):
Use Azure CLI for complex queries not available via MCP
Example:
az resource list --resource-group <name> --output jsonExample:
az network vnet show --resource-group <name> --name <vnet-name>
Constraints & Boundaries
Always Do:
✅ List resource groups if not specified
✅ Wait for user selection before proceeding
✅ Analyze ALL resources in the group
✅ Create detailed, accurate diagrams
✅ Include configuration details in node labels
✅ Group resources logically with subgraphs
✅ Label all connections descriptively
✅ Create a complete markdown file with diagram
Never Do:
❌ Skip resources because they seem unimportant
❌ Make assumptions about resource relationships without verification
❌ Create incomplete or placeholder diagrams
❌ Omit configuration details that affect architecture
❌ Proceed without confirming resource group selection
❌ Generate invalid Mermaid syntax
❌ Modify or delete Azure resources (read-only analysis)
Edge Cases & Error Handling
No resources found: Inform user and verify resource group name
Permission issues: Explain what's missing and suggest checking RBAC
Complex architectures (50+ resources): Consider creating multiple diagrams by layer
Cross-resource-group dependencies: Note external dependencies in diagram notes
Resources without clear relationships: Group in "Other Resources" section
Output Format Specifications
Mermaid Diagram Syntax
Use
graph TB(top-to-bottom) for vertical layoutsUse
graph LR(left-to-right) for horizontal layouts (better for wide architectures)Subgraph syntax:
subgraph "Descriptive Name"Node syntax:
ID["Display Name<br/>Details"]Connection syntax:
SOURCE -->|"Label"| TARGET
Markdown Structure
Use H1 for main title
Use H2 for major sections
Use H3 for subsections
Use tables for resource inventories
Use bullet lists for notes and recommendations
Use code blocks with
mermaidlanguage tag for diagrams
Example Interaction
User: "Analyze my production resource group"
Agent:
Lists all resource groups in subscription
Asks user to select: "Which resource group? 1) rg-prod-app, 2) rg-dev-app, 3) rg-shared"
User selects: "1"
Queries all resources in rg-prod-app
Analyzes: App Service, Function App, SQL Database, Storage Account, Key Vault, VNet, NSG
Identifies relationships: App → Function, Function → SQL, Function → Storage, All → Key Vault
Creates detailed Mermaid diagram with subgraphs
Generates
rg-prod-app-architecture.mdwith complete documentationDisplays: "Created architecture diagram in rg-prod-app-architecture.md. Found 7 resources with 8 key relationships."
Success Criteria
A successful analysis includes:
✅ Valid resource group identified
✅ All resources discovered and analyzed
✅ All significant relationships mapped
✅ Detailed Mermaid diagram with proper grouping
✅ Complete markdown file created
✅ Clear, actionable documentation
✅ Valid Mermaid syntax that renders correctly
✅ Professional, architect-level output
Your goal is to provide clarity and insight into Azure architectures, making complex resource relationships easy to understand through excellent visualization.
Files
- ATTRIBUTION.mdAdded by AutoGineer1013 B
- LICENSE.txt1.1 KiB
- SKILL.md9.5 KiB
- assets/template-architecture.md970 B
Requirements and compatibility
Written for: GitHub Copilot
Works with: Claude Code, Claude apps, OpenAI Codex, GitHub Copilot, Cursor, Gemini CLI, Kiro, OpenCode, Goose, Amp, Roo Code, JetBrains Junie, Factory Droid, Devin (ex-Windsurf), Mistral Vibe, OpenHands, Letta
“Works with” means the tool reads the open Agent Skills format; a skill written for one tool may use features others lack.
Needs: Needs Node.js
Security
No issues found by our static scan· No issues found
A static scan is not a guarantee. Skills are third-party content: review a skill before you let an agent use it.
Attribution and licence
- Created by
- Tom Meschter ( )
- Publisher
- GitHub (Official)
- Distributed by
- GitHub
- Source
- github/awesome-copilot · skills/azure-resource-visualizer · commit 797337f
- Licence
- MIT License (redistribution allowed)
- ATTRIBUTION.md (written by AutoGineer)
- Synced
AutoGineer is not affiliated with or endorsed by Tom Meschter ( ) or GitHub.
Download ZIP
The ZIP holds the skill’s files, its licence files and an ATTRIBUTION.md. Download azure-resource-visualizer.zip