Azure resource visualizer
SkillDocs & knowledgeThe azure-resource-visualizer skill lets an AI agent inspect an Azure resource group read-only and turn it into a markdown architecture document with a Mermaid diagram. It identifies each resource, its configuration, and the relationships between network, compute, data, and identity components. Use it when you need to diagram Azure resources, visualize a resource group, or document how resources connect.
Then ask your AI: use the Azure resource visualizer skill
Details
Instructions available. Your AI can read the instructions. Execution depends on the setup they require.
Account requirements not reviewed. Check the skill instructions before use; Ahel provides instructions and does not run this skill.
No other account needed.
Have Azure access that allows listing resource groups and reading resources.
What your AI can do with it
- List Azure resource groups with their locations for selection
- Query all resources in a resource group and collect type, SKU, location, and settings
- Map network, data, identity, configuration, and parent-child relationships
- Generate a Mermaid architecture diagram using graph TB or graph LR
- Create a markdown architecture document from assets/template-architecture.md
- Report the output file path, resource count, relationship count, and permission gaps
Getting started
- Have Azure access that allows listing resource groups and reading resources.
- Make Azure MCP tools available, or install and authenticate the Azure CLI (az) for read-only queries.
- Ensure the assets/template-architecture.md template is present in the skill.
- Ask the agent to diagram a resource group, or let it list resource groups and pick one by number or name.
- Find the generated [resource-group-name]-architecture.md in the workspace root or docs/ folder.
What this skill tells your AI
The instructions your AI receives, as published by gbb-acelerators/awesome-harness-primitives in harness/claude-code/skills/azure-resource-visualizer/SKILL.md and read by Ahel’s review.
Inspect an Azure resource group read-only, identify every resource and significant dependency, then create a markdown architecture document with a detailed Mermaid diagram using assets/template-architecture.md.
When to invoke
- "Diagram this Azure resource group."
- "Show how my Azure resources relate to each other."
- "Generate a Mermaid architecture diagram for these resources."
- "Analyze my production resource group."
- "Document the network, compute, data, and identity relationships."
Prerequisites and context
- Use Azure MCP tools when available; otherwise use Azure CLI
azfor read-only queries. - The user must have Azure access to list resource groups and read resources.
- Create output in the workspace root or
docs/when that folder exists. - Use
assets/template-architecture.mdas the markdown document template. - Do not modify, delete, deploy, or reconfigure Azure resources.
Procedure
- If no resource group is specified, list available resource groups with locations, present a numbered list, and wait for the user to select by number or name.
- Validate the selected resource group exists.
- Query all resources in the resource group. With Azure CLI, start with
az resource list --resource-group <name> --output json. - For each resource, collect name, type, SKU or tier, location, key configuration properties, network settings, identity settings, and dependencies.
- Query resource-specific details where needed, for example
az network vnet show --resource-group <name> --name <vnet-name>. - Map relationships: network connections, data flows, identity access, configuration references, and parent-child dependencies.
- Build a Mermaid diagram using
graph TBorgraph LR, logical subgraphs, detailed labels, and descriptive connection labels. - Create
[resource-group-name]-architecture.mdfromassets/template-architecture.mdwith header, summary, resource inventory, architecture diagram, relationship details, notes, and recommendations. - Report the file path, resource count, relationship count, and any permission gaps.
Resource analysis checklist
| Area | Capture |
|---|---|
| Identity | Managed Identity, RBAC, Key Vault access, role assignments when visible. |
| Network | VNets, subnets, address ranges, NSGs, VNet peering, private endpoints, public access. |
| Compute | App Service plan tier such as B1, S1, P1v2; Function runtime such as .NET, Python, or Node. |
| Data | Azure SQL Database tier such as Basic, Standard, Premium; Storage Account redundancy such as LRS, GRS, ZRS. |
| Configuration | App Settings, connection strings, Key Vault references, API Management backends. |
| Dependencies | Parent-child resources, required resources, cross-resource-group dependencies, optional or conditional links. |
| Monitoring | Application Insights, Log Analytics, diagnostic settings, alerting resources. |
Relationship mapping
| Relationship | Examples | Diagram edge |
|---|---|---|
| Data flow | Apps → Databases, Functions → Storage, API Management → Backends | --> |
| Identity | App Service uses Managed Identity to access Key Vault | -->|"Uses identity"| |
| Network | VNet contains subnet; NSG applies to subnet; private endpoint targets PaaS | --> |
| Optional or inferred conditional path | Optional queue trigger or backup dependency | -.-> |
| Critical primary path | Public ingress to API or required production dependency | ==> |
| External dependency | Cross-resource-group or external service | Show as external node and note source. |
Mermaid diagram rules
Use clear node IDs and line breaks with <br/>. Group by layer or purpose: Network Layer, Compute Layer, Data Layer, Security & Identity, Monitoring, and Other Resources. Include configuration details that affect architecture.
graph TB
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
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"| SUBNET1
Edge cases
| Situation | Response |
|---|---|
| No resources found | Inform the user and verify the resource group name. |
| Permission issue | Explain missing read permission and suggest checking RBAC. |
| 50+ resources | Consider multiple diagrams by layer while keeping one inventory. |
| Cross-resource-group dependencies | Include an external node and call out the dependency in notes. |
| No clear relationships | Group in Other Resources and explain that no verified dependency was found. |
Progressive disclosure and bundled resources
assets/template-architecture.md: template for the generated[resource-group-name]-architecture.mdfile.
Azure query and syntax vocabulary
When using Azure MCP search, preserve these intent strings: intent="list resource groups", intent="list resources in group", and intent="get resource details"; use the command parameter only for specific Azure operations. mermaid syntax may include subgraph "Descriptive Name", ID["Display Name<br/>Details"], and SOURCE -->|"Label"| TARGET with SOURCE and TARGET node IDs. Use top-to-bottom for graph TB, left-to-right for graph LR, critical/primary for ==>, and optional/conditional for -.->. Example resource group names and files include rg-prod-app, rg-dev-app, rg-shared, [rg-name]-architecture.md, rg-prod-app-architecture, and rg-prod-app-architecture.md. Capture SKU/tier and Location/region, and aim for architect-level output.
Output template
### Azure resource visualizer result
**Status:** complete | needs selection | blocked
**Resource group:** `<name>`
**Output file:** `<resource-group-name>-architecture.md`
**Resources analyzed:** <count>
**Relationships mapped:** <count>
| Resource | Type | Location | Key properties | Relationships |
| --- | --- | --- | --- | --- |
| `<name>` | `<type>` | `<region>` | `<sku, runtime, network, identity>` | `<connections>` |
**Diagram**
- Mermaid syntax: valid | needs correction
- Layout: graph TB | graph LR
- Grouping: Network | Compute | Data | Security & Identity | Monitoring | Other
**Notes**
- <permission gaps, external dependencies, or recommendations>
Quality gate
- Resource group was selected or validated before analysis.
- All resources returned by the resource group query are included or explicitly explained.
- Each resource has name, type, location, and key properties captured.
- Network, data, identity, configuration, and dependency relationships were checked.
- Mermaid uses valid
graph TBorgraph LR, subgraphs, node labels, and descriptive edge labels. - The markdown file was created from
assets/template-architecture.mdin the workspace root ordocs/. - No Azure resources were modified.
Signals
- GitHub stars
- 20
- Last commit
- Sep 2026
Ahel review
S4info
community integration, published by gbb-acelerators, not azure
Automated review, not a security audit. Ruleset v1+k2.
Questions
- Does this skill modify my Azure resources?
- No. It inspects the resource group read-only and does not modify, delete, deploy, or reconfigure Azure resources.
- What do I need to run it?
- Azure access to list resource groups and read resources, plus either Azure MCP tools or the Azure CLI (az) for read-only queries.
Advanced
- Item type
- skill
- Key
azure-resource-visualizer- Source
- github.com/gbb-acelerators/awesome-harness-primitives
github.com/gbb-acelerators/awesome-harness-primitives
Related picks
Skill · sickn33
The pick for Pythonpython-design-patterns
Skill · wshobson
The pick for Pythondotnet-test
Skill · nikiforovall
The pick for .NETdotnet-backend-patterns
Skill · sickn33
The pick for .NETlark-markdown
Skill · larksuite
The pick for Markdownmarkdown-formatter
Skill · nvidia
The pick for Markdown