azure-resource-visualizer by github/awesome-copilot
npx skills add https://github.com/github/awesome-copilot --skill azure-resource-visualizer用户可能需要帮助来理解各个资源如何组合在一起,或者需要创建显示其关系的图表。您的任务是检查 Azure 资源组,理解其结构和关系,并生成清晰说明架构的全面 Mermaid 图表。
如果用户未指定资源组:
az。如果指定了资源组,请验证其存在并继续。
一旦您确定了资源组:
查询所有资源:使用 Azure MCP 工具或 az 查询资源组中的所有资源。
分析每个资源类型并捕获:
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
映射关系:通过识别以下内容:
使用 graph TB(从上到下)或 graph LR(从左到右)格式创建详细的 Mermaid 图表:
图表结构指南:
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
关键图表要求:
<br/> 换行)--> 用于数据流或依赖关系-.-> 用于可选/条件连接==> 用于关键/主要路径资源类型示例:
使用 template-architecture.md 作为模板,创建一个名为 [resource-group-name]-architecture.md 的 Markdown 文件,包含:
Azure MCP 搜索 :
intent="list resource groups" 来发现资源组intent="list resources in group" 和组名来获取所有资源intent="get resource details" 进行单个资源分析command 参数文件创建 :
docs/ 文件夹中创建[rg-name]-architecture.md终端(需要时) :
az resource list --resource-group <name> --output jsonaz network vnet show --resource-group <name> --name <vnet-name>始终执行:
切勿执行:
graph TB(从上到下)进行垂直布局graph LR(从左到右)进行水平布局(更适合宽架构)subgraph "Descriptive Name"ID["Display Name<br/>Details"]SOURCE -->|"Label"| TARGETmermaid 语言标签的代码块来显示图表用户 : "分析我的生产资源组"
代理 :
rg-prod-app-architecture.md成功的分析包括:
您的目标是通过出色的可视化,提供对 Azure 架构的清晰度和洞察力,使复杂的资源关系易于理解。
每周安装量
7.5K
代码库
GitHub 星标数
27.0K
首次出现
Jan 20, 2026
安全审计
安装于
codex7.4K
gemini-cli7.4K
opencode7.4K
github-copilot7.3K
cursor7.3K
claude-code7.3K
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.
If the user hasn't specified a resource group:
az.If a resource group is specified, validate it exists and proceed.
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:
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"| SUBNET1
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) :
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 diagramsUser : "Analyze my production resource group"
Agent :
rg-prod-app-architecture.md with complete documentationA successful analysis includes:
Your goal is to provide clarity and insight into Azure architectures, making complex resource relationships easy to understand through excellent visualization.
Weekly Installs
7.5K
Repository
GitHub Stars
27.0K
First Seen
Jan 20, 2026
Security Audits
Gen Agent Trust HubWarnSocketPassSnykPass
Installed on
codex7.4K
gemini-cli7.4K
opencode7.4K
github-copilot7.3K
cursor7.3K
claude-code7.3K
React 组合模式指南:Vercel 组件架构最佳实践,提升代码可维护性
102,200 周安装
AI代码审查工具 - 自动化安全漏洞检测与代码质量分析 | 支持多领域检查清单
1,200 周安装
AI智能体长期记忆系统 - 精英级架构,融合6种方法,永不丢失上下文
1,200 周安装
AI新闻播客制作技能:实时新闻转对话式播客脚本与音频生成
1,200 周安装
Word文档处理器:DOCX创建、编辑、分析与修订痕迹处理全指南 | 自动化办公解决方案
1,200 周安装
React Router 框架模式指南:全栈开发、文件路由、数据加载与渲染策略
1,200 周安装
Nano Banana AI 图像生成工具:使用 Gemini 3 Pro 生成与编辑高分辨率图像
1,200 周安装
az resource list --resource-group <name> --output jsonaz network vnet show --resource-group <name> --name <vnet-name>