azure-resource-visualizer by microsoft/azure-skills
npx skills add https://github.com/microsoft/azure-skills --skill azure-resource-visualizer用户可能会请求帮助理解各个资源如何组合在一起,或者要求创建展示其关系的图表。您的任务是检查 Azure 资源组,理解其结构和关系,并生成全面的 Mermaid 图表,清晰地展示架构。
如果用户未指定资源组:
az。如果指定了资源组,请验证其存在并继续。
对于跨订阅的批量资源发现,请使用 Azure Resource Graph 查询。有关跨订阅清单和关系发现模式,请参阅 Azure Resource Graph Queries。
一旦确定了资源组:
az 查询资源组中的所有资源。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.
For bulk resource discovery across subscriptions, use Azure Resource Graph queries. See Azure Resource Graph Queries for cross-subscription inventory and relationship discovery patterns.
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
暂无相关 Skills
使用 graph TB(从上到下)或 graph LR(从左到右)格式创建详细的 Mermaid 图表。
有关完整的示例架构图,请参阅 example-diagram.md。
关键图表要求:
<br/> 换行)--> 表示数据流或依赖关系-.-> 表示可选/条件性连接==> 表示关键/主要路径资源类型示例:
使用 template-architecture.md 作为模板,创建一个名为 [resource-group-name]-architecture.md 的 Markdown 文件,包含:
intent="list resource groups" 来发现资源组intent="list resources in group" 并指定组名来获取所有资源intent="get resource details" 进行单个资源分析command 参数docs/ 文件夹中创建[rg-name]-architecture.mdaz resource list --resource-group <name> --output jsonaz network vnet show --resource-group <name> --name <vnet-name>始终执行:
切勿执行:
graph TB(从上到下)graph LR(从左到右)subgraph "描述性名称"ID["显示名称<br/>详细信息"]SOURCE -->|"标签"| TARGETmermaid 语言标签的代码块表示图表成功的分析包括:
您的目标是通过出色的可视化,提供对 Azure 架构的清晰度和洞察力,使复杂的资源关系易于理解。
每周安装量
12.9K
仓库
GitHub 星标
2
首次出现
5 天前
安全审计
安装于
github-copilot12.9K
opencode11
codex11
gemini-cli11
kimi-cli10
amp10
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.
Weekly Installs
12.9K
Repository
GitHub Stars
2
First Seen
5 days ago
Security Audits
Installed on
github-copilot12.9K
opencode11
codex11
gemini-cli11
kimi-cli10
amp10