Azure IoT Hub 開発
Azure IoT Hubの開発全般に関する専門知識を提供し、トラブルシューティング、ベストプラクティス、アーキテクチャ設計、セキュリティ、設定、デプロイなど、幅広い開発タスクをサポートするSkillです。
📜 元の英語説明(参考)
Expert knowledge for Azure IoT Hub development including troubleshooting, best practices, decision making, architecture & design patterns, limits & quotas, security, configuration, integrations & coding patterns, and deployment. Use when configuring IoT Hub/DPS, device twins/routing, MQTT/AMQP clients, Device Update, or Cosmos DB event storage, and other Azure IoT Hub related development tasks. Not for Azure IoT (use azure-iot), Azure IoT Central (use azure-iot-central), Azure IoT Edge (use azure-iot-edge), Azure Defender For Iot (use azure-defender-for-iot).
🇯🇵 日本人クリエイター向け解説
Azure IoT Hubの開発全般に関する専門知識を提供し、トラブルシューティング、ベストプラクティス、アーキテクチャ設計、セキュリティ、設定、デプロイなど、幅広い開発タスクをサポートするSkillです。
※ jpskill.com 編集部が日本のビジネス現場向けに補足した解説です。Skill本体の挙動とは独立した参考情報です。
下記のコマンドをコピーしてターミナル(Mac/Linux)または PowerShell(Windows)に貼り付けてください。 ダウンロード → 解凍 → 配置まで全自動。
mkdir -p ~/.claude/skills && cd ~/.claude/skills && curl -L -o azure-iot-hub.zip https://jpskill.com/download/5714.zip && unzip -o azure-iot-hub.zip && rm azure-iot-hub.zip
$d = "$env:USERPROFILE\.claude\skills"; ni -Force -ItemType Directory $d | Out-Null; iwr https://jpskill.com/download/5714.zip -OutFile "$d\azure-iot-hub.zip"; Expand-Archive "$d\azure-iot-hub.zip" -DestinationPath $d -Force; ri "$d\azure-iot-hub.zip"
完了後、Claude Code を再起動 → 普通に「動画プロンプト作って」のように話しかけるだけで自動発動します。
💾 手動でダウンロードしたい(コマンドが難しい人向け)
- 1. 下の青いボタンを押して
azure-iot-hub.zipをダウンロード - 2. ZIPファイルをダブルクリックで解凍 →
azure-iot-hubフォルダができる - 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-17
- 取得日時
- 2026-05-18
- 同梱ファイル
- 1
📖 Skill本文(日本語訳)
※ 原文(英語/中国語)を Gemini で日本語化したものです。Claude 自身は原文を読みます。誤訳がある場合は原文をご確認ください。
Azure IoT Hub スキル
このスキルは、Azure IoT Hub に関する専門的なガイダンスを提供します。トラブルシューティング、ベストプラクティス、意思決定、アーキテクチャと設計パターン、制限とクォータ、セキュリティ、構成、統合とコーディングパターン、デプロイについて説明します。ローカルのクイックリファレンスコンテンツとリモートドキュメント取得機能を組み合わせています。
このスキルの使い方
エージェントへの重要事項: 関連するセクションを見つけるには、以下のカテゴリインデックスを使用してください。行範囲が指定されているカテゴリ (例:
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 を返します。
カテゴリインデックス
| カテゴリ | 行 | 説明 |
|---|---|---|
| トラブルシューティング | L37-L52 | IoT Hub と DPS の問題の診断と修正: デバイス接続、ルーティング、エラーコード、Device Update/インポート/ストレージ/プロキシの問題、診断ログとデバッグログの収集と使用。 |
| ベストプラクティス | L53-L62 | 安全でスケーラブルな IoT Hub/DPS デプロイのベストプラクティス: 大規模なデバイスプロビジョニング、OEM セキュリティ、証明書更新/ADR、回復力のある再接続、自動デバイス構成、IoT Hub の強化。 |
| 意思決定 | L63-L75 | IoT Hub と代替手段の選択、ティア/スケール、価格設定、ルーティング、通信パターン (C2D/D2C)、監視方法、ディザスターリカバリを使用または無効にする時期に関するガイダンス。 |
| アーキテクチャと設計パターン | L76-L82 | DPS ライフサイクル/HA/DR、VNet 接続、セキュアなデバイスストリーム、Cosmos DB を使用した順序付けられた IoT Hub イベントの信頼性の高い永続化のための設計パターン。 |
| 制限とクォータ | L83-L89 | IoT Hub、Device Provisioning Service、Device Update の制限、クォータ、スロットリング動作の詳細。スケール制約や、制限に達したときのサービスの動作を含む。 |
| セキュリティ | L90-L128 | IoT Hub、DPS、Device Update のセキュリティ保護: 認証 (Entra ID、RBAC、SAS、X.509)、証明書と失効、TLS/暗号、キー、ネットワーク/IP 制御、プライベートエンドポイント、Azure Policy コンプライアンス。 |
| 構成 | L129-L167 | IoT Hub と DPS の構成: デバイスの登録、証明書と ADR の管理、ツインの設定、ジョブ、ルーティング、エンドポイント、ファイルアップロード、メッセージエンリッチメント、クエリ、監視/メトリック/ログ。 |
| 統合とコーディングパターン | L168-L192 | デバイス/DPS を IoT Hub に接続するためのパターンとコードサンプル (MQTT/HTTPS/AMQP)、ID/ツイン/ファイルの管理、ダイレクトメソッド、C2D メッセージ、一括操作、メッセージ形式。 |
| デプロイ | L193-L204 | IoT Hub とデバイスのデプロイと更新: リージョン/SKU 移行、フェールオーバー、ARM/Bicep デプロイ、Device Update (イメージ/パッケージ、プロキシ、OS サポート)、CLI を介したジョブのスケジュール設定。 |
トラブルシューティング
ベストプラクティス
| トピック | URL |
|---|---|
| 大規模な IoT デプロイに DPS のベストプラクティスを適用する | https://learn.microsoft.com/en-us/azure/iot-dps/concepts-deploy-at-scale |
| DPS 対応デバイスに OEM セキュリティプラクティスを実装する | https://learn.microsoft.com/en-us/azure/iot-dps/concepts-device-oem-security-practices |
| ADR を使用した IoT 証明書更新の計画と実行 | https://learn.microsoft.com/en-us/azure/iot-hub/concept-certificate-renewal |
| 回復力のある Azure IoT Hub デバイス再接続を設計する | https://learn.microsoft.com/en-us/azure/iot-hub/concepts-manage-device-reconnections |
| IoT Hub 自動デバイス構成のベストプラクティスを適用する | https://learn.microsoft.com/en-us/azure/iot-hub/iot-hub-configuration-best-practices |
| Azure IoT Hub にセキュリティのベストプラクティスを適用する | https://learn.microsoft.com/en-us/azure/iot-hub/secure-azure-iot-hub |
意思決定
| トピック | URL |
|---|---|
| IoT を無効にする時期を決定する |
📜 原文 SKILL.md(Claudeが読む英語/中国語)を展開
Azure IoT Hub Skill
This skill provides expert guidance for Azure IoT Hub. Covers troubleshooting, best practices, decision making, architecture & design patterns, limits & quotas, security, configuration, integrations & coding patterns, and deployment. 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), useread_filewith the specified lines. For categories with file links (e.g.,[security.md](security.md)), useread_fileon the linked reference file
IMPORTANT for Agent: If
metadata.generated_atis more than 3 months old, suggest the user pull the latest version from the repository. Ifmcp_microsoftdocstools 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_fetchwith query stringfrom=learn-agent-skill. Returns Markdown. - Fallback: Use
fetch_webpagewith query stringfrom=learn-agent-skill&accept=text/markdown. Returns Markdown.
Category Index
| Category | Lines | Description |
|---|---|---|
| Troubleshooting | L37-L52 | Diagnosing and fixing IoT Hub and DPS issues: device connectivity, routing, error codes, Device Update/import/storage/proxy problems, and collecting/using diagnostic and debug logs. |
| Best Practices | L53-L62 | Best practices for secure, scalable IoT Hub/DPS deployments: device provisioning at scale, OEM security, cert renewal/ADR, resilient reconnection, auto device config, and IoT Hub hardening. |
| Decision Making | L63-L75 | Guidance for choosing IoT Hub vs alternatives, tiers/scale, pricing, routing, comms patterns (C2D/D2C), monitoring methods, and when to use or disable disaster recovery. |
| Architecture & Design Patterns | L76-L82 | Design patterns for DPS lifecycle/HA/DR, VNet connectivity, secure device streams, and reliably persisting ordered IoT Hub events with Cosmos DB. |
| Limits & Quotas | L83-L89 | Details on IoT Hub, Device Provisioning Service, and Device Update limits, quotas, and throttling behavior, including scale constraints and how services behave when limits are reached. |
| Security | L90-L128 | Securing IoT Hub, DPS, and Device Update: auth (Entra ID, RBAC, SAS, X.509), certificates and revocation, TLS/ciphers, keys, network/IP controls, private endpoints, and Azure Policy compliance. |
| Configuration | L129-L167 | Configuring IoT Hub and DPS: enroll devices, manage certificates and ADR, set twins, jobs, routing, endpoints, file upload, message enrichments, queries, and monitoring/metrics/logs. |
| Integrations & Coding Patterns | L168-L192 | Patterns and code samples for connecting devices/DPS to IoT Hub (MQTT/HTTPS/AMQP), managing identities/twins/files, direct methods, C2D messages, bulk ops, and message formats. |
| Deployment | L193-L204 | Deploying and updating IoT Hubs and devices: region/SKU migration, failover, ARM/Bicep deployments, Device Update (image/package, proxy, OS support), and scheduling jobs via CLI. |
Troubleshooting
Best Practices
| Topic | URL |
|---|---|
| Apply DPS best practices for large-scale IoT deployments | https://learn.microsoft.com/en-us/azure/iot-dps/concepts-deploy-at-scale |
| Implement OEM security practices for DPS-enabled devices | https://learn.microsoft.com/en-us/azure/iot-dps/concepts-device-oem-security-practices |
| Plan and execute IoT certificate renewal with ADR | https://learn.microsoft.com/en-us/azure/iot-hub/concept-certificate-renewal |
| Design resilient Azure IoT Hub device reconnection | https://learn.microsoft.com/en-us/azure/iot-hub/concepts-manage-device-reconnections |
| Apply IoT Hub automatic device configuration best practices | https://learn.microsoft.com/en-us/azure/iot-hub/iot-hub-configuration-best-practices |
| Apply security best practices to Azure IoT Hub | https://learn.microsoft.com/en-us/azure/iot-hub/secure-azure-iot-hub |
Decision Making
Architecture & Design Patterns
| Topic | URL |
|---|---|
| Plan DPS device lifecycle and reprovisioning policies | https://learn.microsoft.com/en-us/azure/iot-dps/concepts-device-reprovision |
| Design DPS high availability and disaster recovery | https://learn.microsoft.com/en-us/azure/iot-dps/iot-dps-ha-dr |
| Use virtual network connectivity patterns with DPS | https://learn.microsoft.com/en-us/azure/iot-dps/virtual-network-support |
Limits & Quotas
| Topic | URL |
|---|---|
| Azure IoT DPS FAQs on limits and behavior | https://learn.microsoft.com/en-us/azure/iot-dps/dps-faq |
| Review Azure Device Update service limits | https://learn.microsoft.com/en-us/azure/iot-hub-device-update/device-update-limits |
| Azure IoT Hub quotas, limits, and throttling behavior | https://learn.microsoft.com/en-us/azure/iot-hub/iot-hub-devguide-quotas-throttling |