mcpField
A
azure-iot

azure-iot

github.com/microsoftdocs云与 DevOps796168 次安装3 天前更新
代码仓库

关于 azure-iot

azure-iot 为 Azure IoT 提供指导,面向管理设备注册表与物联网设备的开发和运维人员。内容覆盖设备证书、机群配置、SDK 集成和软件更新,并结合本地索引与在线文档获取。

主要功能

  1. 01设备注册表最佳实践
  2. 02证书签发、续期与撤销
  3. 03命名空间和设备组配置
  4. 04统一 Azure IoT SDK 集成
  5. 05设备软件更新部署

适用场景

  1. 01规划大型设备机群的命名空间
  2. 02管理设备证书生命周期
  3. 03按设备组部署软件更新
  4. 04使用 SDK 连接 Device Registry 和 IoT Hub

MCP 相关

该技能建议通过 mcp_microsoftdocs 的 microsoft_docs_fetch 获取在线文档;也可使用 fetch_webpage 作为备用。

安装

复制下面的命令,在终端中运行。

$npx skills add https://github.com/microsoftdocs/agent-skills --skill azure-iot

安装后在 Claude Code 中输入/azure-iot确认已加载。

详细介绍

Azure IoT 技能

此技能提供 Azure IoT 方面的专家指导,涵盖最佳实践、安全性、配置、集成与编码模式以及部署。它结合了本地快速参考内容和远程文档获取功能。

如何使用此技能

Agent 重要提示:使用下方的类别索引查找相关章节。对于带行号范围的类别(例如 L35-L120),使用 read_file 读取指定行。对于带文件链接的类别(例如 [security.md](security.md)),使用 read_file 读取链接指向的参考文件

Agent 重要提示:如果 metadata.generated_at 已超过 3 个月,请建议用户从仓库拉取最新版本。如果无法使用 mcp_microsoftdocs 工具,请建议用户安装该工具:安装指南

此技能需要网络访问以获取文档内容:

  • 首选:使用 mcp_microsoftdocs:microsoft_docs_fetch,并添加查询字符串 from=learn-agent-skill。返回 Markdown。
  • 备用:使用 fetch_webpage,并添加查询字符串 from=learn-agent-skill&accept=text/markdown。返回 Markdown。

类别索引

类别行号说明
最佳实践L33-L38设计 Azure Device Registry 命名空间和架构注册表,包括大规模 IoT 解决方案的结构、命名、隔离、版本控制和治理最佳实践
安全性L39-L52在 Azure 中管理 IoT 设备证书和 CA:颁发、续订、吊销、CA 层级、命名空间/安全边界,以及通过 Device Registry 配置 Microsoft CA 或外部 CA。
配置L53-L62为设备群配置 Azure Device Registry:命名空间/依赖项、设备组、启用/禁用设备、导入更新,以及运行设备群规模的软件更新作业。
集成与编码模式L63-L67使用统一的 Azure IoT SDK 连接设备与 Azure Device Registry 和 IoT Hub,包括设备连接的设置、身份验证和编码模式。
部署L68-L72通过 Device Registry 向 IoT 设备部署和管理软件更新,包括更新的入网流程,以及针对特定设备组和命名空间。
最佳实践
主题URL
有效设计 Azure Device Registry 命名空间https://learn.microsoft.com/en-us/azure/iot/device-registry/best-practices-namespaces
设计 Azure Device Registry 架构注册表https://learn.microsoft.com/en-us/azure/iot/device-registry/best-practices-schema-registries
安全性
主题URL
了解 Azure IoT 中的设备证书颁发https://learn.microsoft.com/en-us/azure/iot/concept-certificate-issuance
管理 Azure IoT 中的 IoT 设备证书续订https://learn.microsoft.com/en-us/azure/iot/concept-certificate-renewal
了解 Azure Device Registry CA 层级结构https://learn.microsoft.com/en-us/azure/iot/concept-managed-ca-hierarchy
在 Device Registry 中吊销 IoT 证书并管理策略https://learn.microsoft.com/en-us/azure/iot/concepts-certificate-policy-management
了解 Azure Device Registry 命名空间和安全边界https://learn.microsoft.com/en-us/azure/iot/device-registry/concept-namespaces
为 IoT 设备创建和管理证书策略https://learn.microsoft.com/en-us/azure/iot/how-to-create-edit-certificate-policy
设置 Microsoft 托管的根 CA 和中间 CAhttps://learn.microsoft.com/en-us/azure/iot/how-to-create-policy
为 Device Registry 配置外部证书颁发机构https://learn.microsoft.com/en-us/azure/iot/how-to-create-policy-external-certificate
Azure IoT 证书管理的关键概念https://learn.microsoft.com/en-us/azure/iot/iot-certificate-management-concepts
使用 Azure Device Registry 管理 IoT 设备证书https://learn.microsoft.com/en-us/azure/iot/iot-certificate-management-overview
配置
主题URL
使用 Azure Device Registry 组进行设备群定向https://learn.microsoft.com/en-us/azure/iot/device-registry/concept-groups
在 Azure Device Registry 中运行大规模设备群作业https://learn.microsoft.com/en-us/azure/iot/device-registry/concept-jobs
使用 Azure Device Registry 管理软件更新https://learn.microsoft.com/en-us/azure/iot/device-registry/concept-software-updates
设置 Azure Device Registry 命名空间和依赖项https://learn.microsoft.com/en-us/azure/iot/device-registry/get-started-azure-device-registry
在 Azure Device Registry 中禁用或启用 IoT 设备https://learn.microsoft.com/en-us/azure/iot/device-registry/how-to-disable-enable-device
将软件更新导入 Azure Device Registry 命名空间https://learn.microsoft.com/en-us/azure/iot/device-registry/how-to-import-software-update
集成与编码模式
主题URL
将统一的 Azure IoT SDK 与 Device Registry 和 IoT Hub 配合使用https://learn.microsoft.com/en-us/azure/iot/device-registry/concept-unified-iot-sdks
部署
主题URL
将入门软件更新部署到 Device Registry 命名空间https://learn.microsoft.com/en-us/azure/iot/device-registry/how-to-deploy-onboarding-update-namespace
通过 Device Registry 将软件更新部署到 IoT 设备组https://learn.microsoft.com/en-us/azure/iot/device-registry/how-to-deploy-software-update-group

评论

支持 Markdown