jpskill.com
🛠️ 開発・MCP コミュニティ

azure-resource-graph

Azure Resource Graph開発におけるトラブルシューティング、ベストプラクティス、制限事項などを網羅し、CLIやPowerShellでのクエリ作成を支援するSkill。

📜 元の英語説明(参考)

Expert knowledge for Azure Resource Graph development including troubleshooting, best practices, decision making, limits & quotas, configuration, and integrations & coding patterns. Use when querying via CLI/PowerShell/REST, using GET/LIST vs Query APIs, shared queries, alerts, or Power BI, and other Azure Resource Graph related development tasks. Not for Azure Monitor (use azure-monitor), Azure Policy (use azure-policy), Azure Resource Manager (use azure-resource-manager), Azure Portal (use azure-portal).

🇯🇵 日本人クリエイター向け解説

一言でいうと

Azure Resource Graph開発におけるトラブルシューティング、ベストプラクティス、制限事項などを網羅し、CLIやPowerShellでのクエリ作成を支援するSkill。

※ jpskill.com 編集部が日本のビジネス現場向けに補足した解説です。Skill本体の挙動とは独立した参考情報です。

⚠️ ダウンロード・利用は自己責任でお願いします。当サイトは内容・動作・安全性について責任を負いません。

🎯 このSkillでできること

下記の説明文を読むと、このSkillがあなたに何をしてくれるかが分かります。Claudeにこの分野の依頼をすると、自動で発動します。

📦 インストール方法 (3ステップ)

  1. 1. 上の「ダウンロード」ボタンを押して .skill ファイルを取得
  2. 2. ファイル名の拡張子を .skill から .zip に変えて展開(macは自動展開可)
  3. 3. 展開してできたフォルダを、ホームフォルダの .claude/skills/ に置く
    • · macOS / Linux: ~/.claude/skills/
    • · Windows: %USERPROFILE%\.claude\skills\

Claude Code を再起動すれば完了。「このSkillを使って…」と話しかけなくても、関連する依頼で自動的に呼び出されます。

詳しい使い方ガイドを見る →
最終更新
2026-05-17
取得日時
2026-05-17
同梱ファイル
1

📖 Skill本文(日本語訳)

※ 原文(英語/中国語)を Gemini で日本語化したものです。Claude 自身は原文を読みます。誤訳がある場合は原文をご確認ください。

Azure Resource Graph スキル

このスキルは、Azure Resource Graph に関する専門的なガイダンスを提供します。トラブルシューティング、ベストプラクティス、意思決定、制限とクォータ、構成、および統合とコーディングパターンを網羅しています。ローカルのクイックリファレンスコンテンツとリモートのドキュメント取得機能を組み合わせています。

このスキルの使い方

エージェントへの重要事項: 関連するセクションを見つけるには、以下のカテゴリインデックスを使用してください。行範囲が指定されているカテゴリ (例: L35-L120) の場合は、指定された行で read_file を使用してください。ファイルリンクが指定されているカテゴリ (例: [security.md](security.md)) の場合は、リンクされた参照ファイルで read_file を使用してください。

エージェントへの重要事項: metadata.generated_at が 3 か月以上前の場合は、リポジトリから最新バージョンをプルするようにユーザーに提案してください。mcp_microsoftdocs ツールが利用できない場合は、ユーザーにインストールを提案してください: インストールガイド

このスキルは、ドキュメントコンテンツを取得するためにネットワークアクセスを必要とします。

  • 推奨: クエリ文字列 from=learn-agent-skill を指定して mcp_microsoftdocs:microsoft_docs_fetch を使用してください。Markdown を返します。
  • フォールバック: クエリ文字列 from=learn-agent-skill&accept=text/markdown を指定して fetch_webpage を使用してください。Markdown を返します。

カテゴリインデックス

カテゴリ 説明
トラブルシューティング L34-L40 アラート、クエリ構文/ランタイムエラー、Power BI コネクタの接続性、認証、データ更新の問題など、Azure Resource Graph の問題を診断および修正します。
ベストプラクティス L41-L45 スロットリングを回避するための Azure Resource Graph クエリの設計に関するガイダンス。効率的なパターン、バッチ処理、ページネーション、パフォーマンスに配慮したクエリ構造を含みます。
意思決定 L46-L50 Azure Resource Graph の GET/LIST REST API とクエリサービスをいつ使用するかに関するガイダンス。機能、シナリオ、統合パターンを比較します。
制限とクォータ L51-L58 ARG リクエストの制限、ページネーションの動作、大規模な結果セットの処理、クォータの問題を回避するための効率的なページング (PowerShell を含む) の実装について理解します。
構成 L59-L66 Resource Graph の使用を構成します: キーボードショートカット、サポートされているリソースタイプ、Bicep および ARM テンプレートによる共有クエリの定義とデプロイ。
統合とコーディングパターン L67-L78 CLI、PowerShell、REST、Logic Apps、Power BI を介した Resource Graph クエリの実行。共有クエリとアラートの作成。自動化とレポート作成のためのリソース変更履歴の取得。

トラブルシューティング

トピック URL
Azure Resource Graph アラート統合の問題をトラブルシューティングする https://learn.microsoft.com/en-us/azure/governance/resource-graph/troubleshoot/alerts
一般的な Azure Resource Graph クエリエラーを解決する https://learn.microsoft.com/en-us/azure/governance/resource-graph/troubleshoot/general
Azure Resource Graph Power BI コネクタの問題をトラブルシューティングする https://learn.microsoft.com/en-us/azure/governance/resource-graph/troubleshoot/power-bi-connector

ベストプラクティス

トピック URL
クエリパターンで Azure Resource Graph のスロットリングを回避する https://learn.microsoft.com/en-us/azure/governance/resource-graph/concepts/guidance-for-throttled-requests

意思決定

トピック URL
ARG GET/LIST API とクエリサービスの間で選択する https://learn.microsoft.com/en-us/azure/governance/resource-graph/concepts/get-list-query-service-differences

制限とクォータ

トピック URL
Azure Resource Graph GET/LIST API クォータを効果的に使用する https://learn.microsoft.com/en-us/azure/governance/resource-graph/concepts/azure-resource-graph-get-list-api
Azure Resource Graph のページネーションの動作と制限 https://learn.microsoft.com/en-us/azure/governance/resource-graph/concepts/paging-results
大規模な Azure Resource Graph データセットと制限を処理する https://learn.microsoft.com/en-us/azure/governance/resource-graph/concepts/work-with-data
PowerShell で Azure Resource Graph の結果をページングする https://learn.microsoft.com/en-us/azure/governance/resource-graph/paginate-powershell

構成

トピック URL
Azure Resource Graph Explorer でキーボードショートカットを使用する https://learn.microsoft.com/en-us/azure/governance/resource-graph/reference/keyboard-shortcuts
Azure Resource Graph でサポートされているリソースタイプの参照 https://learn.microsoft.com/en-us/azure/governance/resource-graph/reference/supported-tables-resources
Bicep を使用して Azure Resource Graph 共有クエリを定義する https://learn.microsoft.com/en-us/azure/governance/resource-graph/shared-query-bicep
ARM テンプレートで Azure Resource Graph 共有クエリをデプロイする https://learn.microsoft.com/en-us/azure/governance/resource-graph/shared-query-template

統合とコーディングパターン

トピック URL
Log Analytics を使用して Azure Resource Graph ベースのアラートを作成する https://learn.microsoft.com/en-us/azure/governance/resource-graph/alerts-query-quickstart
リソース変更履歴について Azure Resource Graph をクエリする https://learn.microsoft.com/en-us/azure/governance/resource-graph/changes/get-resource-changes
Azure CLI で Azure Resource Graph クエリを実行する https://learn.microsoft.com/en-us/azure/governance/resource-graph/first-query-azurecli
PowerShell コマンドレットを使用して Azure Resource Graph をクエリする https://learn.microsoft.com/en-us/azure/governance/resource-graph/first-query-powershell
REST API を介して Azure Resource Graph を呼び出す https://learn.microsoft.com/en-us/azure/governance/resource-graph/first-query-rest-api
Azure Resource Graph Power BI コネクタをクエリに使用する https://learn.microsoft.com/en-us/azure/governance/resource-graph/power-bi-connector-quickstart
CLI で Azure Resource Graph 共有クエリを作成する https://learn.microsoft.com/en-us/azure/governance/resource-graph/shared-query-azure-cli
PowerShell で Azure Resource Graph 共有クエリを作成する https://learn.
📜 原文 SKILL.md(Claudeが読む英語/中国語)を展開

Azure Resource Graph Skill

This skill provides expert guidance for Azure Resource Graph. Covers troubleshooting, best practices, decision making, limits & quotas, configuration, and integrations & coding patterns. It combines local quick-reference content with remote documentation fetching capabilities.

How to Use This Skill

IMPORTANT for Agent: Use the Category Index below to locate relevant sections. For categories with line ranges (e.g., L35-L120), use read_file with the specified lines. For categories with file links (e.g., [security.md](security.md)), use read_file on the linked reference file

IMPORTANT for Agent: If metadata.generated_at is more than 3 months old, suggest the user pull the latest version from the repository. If mcp_microsoftdocs tools are not available, suggest the user install it: Installation Guide

This skill requires network access to fetch documentation content:

  • Preferred: Use mcp_microsoftdocs:microsoft_docs_fetch with query string from=learn-agent-skill. Returns Markdown.
  • Fallback: Use fetch_webpage with query string from=learn-agent-skill&accept=text/markdown. Returns Markdown.

Category Index

Category Lines Description
Troubleshooting L34-L40 Diagnosing and fixing Azure Resource Graph issues with alerts, query syntax/runtime errors, and Power BI connector connectivity, auth, and data refresh problems.
Best Practices L41-L45 Guidance on designing Azure Resource Graph queries to avoid throttling, including efficient patterns, batching, pagination, and performance-friendly query structures.
Decision Making L46-L50 Guidance on when to use Azure Resource Graph GET/LIST REST APIs vs the Query service, comparing capabilities, scenarios, and integration patterns.
Limits & Quotas L51-L58 Understanding ARG request limits, pagination behavior, handling large result sets, and implementing efficient paging (including with PowerShell) to avoid quota issues.
Configuration L59-L66 Configuring Resource Graph usage: keyboard shortcuts, supported resource types, and defining/deploying shared queries via Bicep and ARM templates.
Integrations & Coding Patterns L67-L78 Running Resource Graph queries via CLI, PowerShell, REST, Logic Apps, Power BI; creating shared queries and alerts; and retrieving resource change history for automation and reporting.

Troubleshooting

Topic URL
Troubleshoot Azure Resource Graph alert integration issues https://learn.microsoft.com/en-us/azure/governance/resource-graph/troubleshoot/alerts
Resolve common Azure Resource Graph query errors https://learn.microsoft.com/en-us/azure/governance/resource-graph/troubleshoot/general
Troubleshoot Azure Resource Graph Power BI connector problems https://learn.microsoft.com/en-us/azure/governance/resource-graph/troubleshoot/power-bi-connector

Best Practices

Topic URL
Avoid Azure Resource Graph throttling with query patterns https://learn.microsoft.com/en-us/azure/governance/resource-graph/concepts/guidance-for-throttled-requests

Decision Making

Topic URL
Choose between ARG GET/LIST API and Query service https://learn.microsoft.com/en-us/azure/governance/resource-graph/concepts/get-list-query-service-differences

Limits & Quotas

Topic URL
Use Azure Resource Graph GET/LIST API quotas effectively https://learn.microsoft.com/en-us/azure/governance/resource-graph/concepts/azure-resource-graph-get-list-api
Azure Resource Graph pagination behavior and limits https://learn.microsoft.com/en-us/azure/governance/resource-graph/concepts/paging-results
Handle large Azure Resource Graph datasets and limits https://learn.microsoft.com/en-us/azure/governance/resource-graph/concepts/work-with-data
Paginate Azure Resource Graph results with PowerShell https://learn.microsoft.com/en-us/azure/governance/resource-graph/paginate-powershell

Configuration

Topic URL
Use keyboard shortcuts in Azure Resource Graph Explorer https://learn.microsoft.com/en-us/azure/governance/resource-graph/reference/keyboard-shortcuts
Reference of Azure Resource Graph supported resource types https://learn.microsoft.com/en-us/azure/governance/resource-graph/reference/supported-tables-resources
Define Azure Resource Graph shared queries using Bicep https://learn.microsoft.com/en-us/azure/governance/resource-graph/shared-query-bicep
Deploy Azure Resource Graph shared queries with ARM templates https://learn.microsoft.com/en-us/azure/governance/resource-graph/shared-query-template

Integrations & Coding Patterns

Topic URL
Create Azure Resource Graph-based alerts with Log Analytics https://learn.microsoft.com/en-us/azure/governance/resource-graph/alerts-query-quickstart
Query Azure Resource Graph for resource change history https://learn.microsoft.com/en-us/azure/governance/resource-graph/changes/get-resource-changes
Run Azure Resource Graph queries with Azure CLI https://learn.microsoft.com/en-us/azure/governance/resource-graph/first-query-azurecli
Query Azure Resource Graph using PowerShell cmdlets https://learn.microsoft.com/en-us/azure/governance/resource-graph/first-query-powershell
Call Azure Resource Graph via REST API https://learn.microsoft.com/en-us/azure/governance/resource-graph/first-query-rest-api
Use Azure Resource Graph Power BI connector for queries https://learn.microsoft.com/en-us/azure/governance/resource-graph/power-bi-connector-quickstart
Create Azure Resource Graph shared queries with CLI https://learn.microsoft.com/en-us/azure/governance/resource-graph/shared-query-azure-cli
Create Azure Resource Graph shared queries with PowerShell https://learn.microsoft.com/en-us/azure/governance/resource-graph/shared-query-azure-powershell
Automate Azure Resource Graph queries with Logic Apps https://learn.microsoft.com/en-us/azure/governance/resource-graph/tutorials/logic-app-calling-arg