azure-resource-visualizer
Azureのリソースグループを分析し、リソース間の関係性を詳細なMermaid形式の構成図として生成することで、Azureインフラの全体像を視覚的に把握し、アーキテクチャを理解するのに役立つSkill。
📜 元の英語説明(参考)
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)
🇯🇵 日本人クリエイター向け解説
Azureのリソースグループを分析し、リソース間の関係性を詳細なMermaid形式の構成図として生成することで、Azureインフラの全体像を視覚的に把握し、アーキテクチャを理解するのに役立つSkill。
※ jpskill.com 編集部が日本のビジネス現場向けに補足した解説です。Skill本体の挙動とは独立した参考情報です。
下記のコマンドをコピーしてターミナル(Mac/Linux)または PowerShell(Windows)に貼り付けてください。 ダウンロード → 解凍 → 配置まで全自動。
mkdir -p ~/.claude/skills && cd ~/.claude/skills && curl -L -o azure-resource-visualizer.zip https://jpskill.com/download/19675.zip && unzip -o azure-resource-visualizer.zip && rm azure-resource-visualizer.zip
$d = "$env:USERPROFILE\.claude\skills"; ni -Force -ItemType Directory $d | Out-Null; iwr https://jpskill.com/download/19675.zip -OutFile "$d\azure-resource-visualizer.zip"; Expand-Archive "$d\azure-resource-visualizer.zip" -DestinationPath $d -Force; ri "$d\azure-resource-visualizer.zip"
完了後、Claude Code を再起動 → 普通に「動画プロンプト作って」のように話しかけるだけで自動発動します。
💾 手動でダウンロードしたい(コマンドが難しい人向け)
- 1. 下の青いボタンを押して
azure-resource-visualizer.zipをダウンロード - 2. ZIPファイルをダブルクリックで解凍 →
azure-resource-visualizerフォルダができる - 3. そのフォルダを
C:\Users\あなたの名前\.claude\skills\(Win)または~/.claude/skills/(Mac)へ移動 - 4. Claude Code を再起動
⚠️ ダウンロード・利用は自己責任でお願いします。当サイトは内容・動作・安全性について責任を負いません。
🎯 このSkillでできること
下記の説明文を読むと、このSkillがあなたに何をしてくれるかが分かります。Claudeにこの分野の依頼をすると、自動で発動します。
📦 インストール方法 (3ステップ)
- 1. 上の「ダウンロード」ボタンを押して .skill ファイルを取得
- 2. ファイル名の拡張子を .skill から .zip に変えて展開(macは自動展開可)
- 3. 展開してできたフォルダを、ホームフォルダの
.claude/skills/に置く- · macOS / Linux:
~/.claude/skills/ - · Windows:
%USERPROFILE%\.claude\skills\
- · macOS / Linux:
Claude Code を再起動すれば完了。「このSkillを使って…」と話しかけなくても、関連する依頼で自動的に呼び出されます。
詳しい使い方ガイドを見る →- 最終更新
- 2026-05-18
- 取得日時
- 2026-05-18
- 同梱ファイル
- 4
📖 Skill本文(日本語訳)
※ 原文(英語/中国語)を Gemini で日本語化したものです。Claude 自身は原文を読みます。誤訳がある場合は原文をご確認ください。
Azure Resource Visualizer - アーキテクチャ図ジェネレーター
ユーザーは、個々のリソースがどのように連携しているかを理解するための支援や、それらの関係を示す図の作成を求めることがあります。あなたの使命は、Azure リソースグループを調査し、その構造と関係を理解し、アーキテクチャを明確に説明する包括的な Mermaid 図を生成することです。
主要な責任
- リソースグループの検出: 指定されていない場合に利用可能なリソースグループを一覧表示します。
- 詳細なリソース分析: すべてのリソース、その構成、および相互依存関係を調査します。
- 関係のマッピング: リソース間のすべての接続を特定し、文書化します。
- 図の生成: 詳細で正確な Mermaid 図を作成します。
- ドキュメントの作成: 埋め込み図を含む明確な Markdown ファイルを作成します。
ワークフロープロセス
ステップ 1: リソースグループの選択
ユーザーがリソースグループを指定していない場合:
- ツールを使用して、利用可能なリソースグループをクエリします。このためのツールがない場合は、
azを使用します。 - リソースグループとその場所を番号付きリストで提示します。
- ユーザーに番号または名前でいずれかを選択するよう求めます。
- 続行する前にユーザーの応答を待ちます。
リソースグループが指定されている場合は、その存在を検証し、続行します。
ステップ 2: リソースの検出と分析
サブスクリプション全体での一括リソース検出には、Azure Resource Graph クエリを使用します。サブスクリプション間のインベントリと関係の検出パターンについては、Azure Resource Graph Queries を参照してください。
リソースグループを取得したら:
-
Azure MCP ツールまたは
azを使用して、リソースグループ内のすべてのリソースをクエリします。 -
各リソースタイプを分析し、以下をキャプチャします。
- リソース名とタイプ
- SKU/ティア情報
- 場所/リージョン
- 主要な構成プロパティ
- ネットワーク設定 (VNet、サブネット、プライベートエンドポイント)
- ID とアクセス (マネージド ID、RBAC)
- 依存関係と接続
-
以下を特定して関係をマッピングします。
- ネットワーク接続: VNet ピアリング、サブネット割り当て、NSG ルール、プライベートエンドポイント
- データフロー: アプリ → データベース、関数 → ストレージ、API Management → バックエンド
- ID: リソースに接続するマネージド ID
- 構成: Key Vault を指すアプリ設定、接続文字列
- 依存関係: 親子関係、必要なリソース
ステップ 3: 図の構築
graph TB (上から下) または graph LR (左から右) 形式を使用して、詳細な Mermaid 図を作成します。
完全なサンプルアーキテクチャ図については、example-diagram.md を参照してください。
主要な図の要件:
- レイヤーまたは目的別にグループ化: ネットワーク、コンピューティング、データ、セキュリティ、監視
- 詳細を含める: SKU、ティア、重要な設定をノードラベルに含めます (改行には
<br/>を使用します)。 - すべての接続にラベルを付ける: リソース間で何が流れるか (データ、ID、ネットワーク) を記述します。
- 意味のあるノード ID を使用する: 意味のある略語 (APP、FUNC、SQL、KV)
- 視覚的な階層: 論理的なグループ化のためのサブグラフ
- 接続タイプ:
-->データフローまたは依存関係-.->オプション/条件付き接続==>重要な/主要なパス
リソースタイプの例:
- App Service: プランティア (B1、S1、P1v2) を含めます。
- Functions: ランタイム (.NET、Python、Node) を含めます。
- Databases: ティア (Basic、Standard、Premium) を含めます。
- Storage: 冗長性 (LRS、GRS、ZRS) を含めます。
- VNets: アドレス空間を含めます。
- Subnets: アドレス範囲を含めます。
ステップ 4: ファイルの作成
template-architecture.md をテンプレートとして使用し、[resource-group-name]-architecture.md という名前の Markdown ファイルを以下を含めて作成します。
- ヘッダー: リソースグループ名、サブスクリプション、リージョン
- 概要: アーキテクチャの簡単な概要 (2〜3 段落)
- リソースインベントリ: タイプと主要なプロパティを持つすべてのリソースをリストするテーブル
- アーキテクチャ図: 完全な Mermaid 図
- 関係の詳細: 主要な接続とデータフローの説明
- メモ: 重要な観察、潜在的な問題、または推奨事項
運用ガイドライン
品質基準
- 正確性: 図に含める前にすべてのリソースの詳細を検証します。
- 完全性: リソースを省略しないでください。リソースグループ内のすべてを含めます。
- 明確性: 明確で説明的なラベルと論理的なグループ化を使用します。
- 詳細レベル: アーキテクチャの理解に重要な構成の詳細を含めます。
- 関係: 明らかなものだけでなく、すべての重要な接続を示します。
ツールの使用パターン
-
Azure MCP 検索:
- リソースグループを検出するには
intent="list resource groups"を使用します。 - すべてのリソースを取得するには、グループ名とともに
intent="list resources in group"を使用します。 - 個々のリソース分析には
intent="get resource details"を使用します。 - 特定の Azure 操作が必要な場合は
commandパラメーターを使用します。
- リソースグループを検出するには
-
ファイルの作成:
- 常にワークスペースのルート、または
docs/フォルダーが存在する場合はその中に作成します。 - 明確で説明的なファイル名を使用します:
[rg-name]-architecture.md - Mermaid 構文が有効であることを確認します (出力する前に構文を頭の中でテストします)。
- 常にワークスペースのルート、または
-
ターミナル (必要な場合):
- MCP を介して利用できない複雑なクエリには Azure CLI を使用します。
- 例:
az resource list --resource-group <name> --output json - 例:
az network vnet show --resource-group <name> --name <vnet-name>
制約と境界
常に実行すること:
- ✅ 指定されていない場合はリソースグループを一覧表示します。
- ✅ 続行する前にユーザーの選択を待ちます。
- ✅ グループ内のすべてのリソースを分析します。
- ✅ 詳細で正確な図を作成します。
- ✅ ノードラベルに構成の詳細を含めます。
- ✅ サブグラフでリソースを論理的にグループ化します。
- ✅ すべての接続に説明的なラベルを付けます。
- ✅ 図を含む完全な Markdown ファイルを作成します。
決して実行しないこと:
- ❌ 重要でないと思われるリソースをスキップします。
- ❌ 検証なしにリソースの関係について仮定します。
- ❌ 不完全な図やプレースホルダーの図を作成します。
- ❌ アーキテクチャに影響する構成の詳細を省略します。
📜 原文 SKILL.md(Claudeが読む英語/中国語)を展開
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
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:
- 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.
See example-diagram.md for a complete sample architecture diagram.
Key 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 groups - Use
intent="list resources in group"with group name to get all resources - Use
intent="get resource details"for individual resource analysis - Use
commandparameter when you need specific Azure operations
- Use
-
File Creation:
- Always create in workspace root or a
docs/folder if it exists - Use clear, descriptive filenames:
[rg-name]-architecture.md - Ensure Mermaid syntax is valid (test syntax mentally before output)
- Always create in workspace root or a
-
Terminal (when needed):
- Use Azure CLI for complex queries not available via MCP
- Example:
az resource list --resource-group <name> --output json - Example:
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 layouts - Use
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
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.
同梱ファイル
※ ZIPに含まれるファイル一覧。`SKILL.md` 本体に加え、参考資料・サンプル・スクリプトが入っている場合があります。
- 📄 SKILL.md (8,415 bytes)
- 📎 assets/example-diagram.md (1,777 bytes)
- 📎 assets/template-architecture.md (970 bytes)
- 📎 references/azure-resource-graph.md (2,477 bytes)