关于 azure-notification-hubs
azure-notification-hubs 是面向 Azure Notification Hubs 开发和运维人员的 Agent 技能,结合本地资料与远程文档,涵盖推送设计、故障排查、配置、安全、集成和部署。
主要功能
- 01推送通知故障排查
- 02注册、标签与模板
- 03架构、限制和配额
- 04安全与服务配置
- 05SDK、REST 和部署指导
适用场景
- 01追踪推送通知丢失
- 02设计定向、多租户推送
- 03配置平台推送凭据
- 04规划区域迁移
MCP 相关
该技能可通过 mcp_microsoftdocs:microsoft_docs_fetch 获取文档,并提供网页抓取作为备用方式。
安装
复制下面的命令,在终端中运行。
$
npx skills add https:/ / github.com/ microsoftdocs/ agent-skills --skill azure-notification-hubs安装后在 Claude Code 中输入/azure-notification-hubs确认已加载。
详细介绍
Azure Notification Hubs 技能
此技能提供有关 Azure Notification Hubs 的专业指导,涵盖故障排除、最佳实践、决策、架构与设计模式、限制与配额、安全性、配置、集成与编码模式,以及部署。它结合了本地快速参考内容和远程文档获取功能。
如何使用此技能
IMPORTANT for Agent:使用下方的分类索引查找相关章节。对于提供行范围的分类(例如
L35-L120),请使用read_file读取指定行。对于提供文件链接的分类(例如[security.md](security.md)),请使用read_file读取链接指向的参考文件。
IMPORTANT for Agent:如果
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-L41 | 诊断并修复常见的 Notification Hubs 问题,包括发送失败、通知丢失、平台特定错误,以及跟踪、测试和解决发送问题的步骤。 |
| 最佳实践 | L42-L49 | 设计 Notification Hubs 解决方案、选择注册模式、使用标记/路由,以及创建模板,以高效地发送定向推送通知。 |
| 决策 | L50-L54 | 指导如何选择和切换 Notification Hubs 定价层,并比较不同工作负载的功能限制、规模和成本影响。 |
| 架构与设计模式 | L55-L59 | 指导如何使用 Azure Notification Hubs 设计大规模、多租户和地理分布式推送通知架构,包括模式、最佳实践和集成方法。 |
| 限制与配额 | L60-L64 | Notification Hubs 的限制、配额和节流行为,以及如何创建和管理计划推送通知,并了解其约束。 |
| 安全性 | L65-L73 | Notification Hubs 的安全性、加密、TLS 和网络隔离:静态数据加密、欧盟数据边界、SAS/基于角色的访问、TLS 版本规划和 Private Link 设置。 |
| 配置 | L74-L94 | 配置 Notification Hubs(APNS/FCM/WNS/MPNS/Baidu 的 PNS 凭据)、IaC 设置(Bicep/ARM/Terraform),以及通过指标、日志和 PowerShell 进行监视和自动化。 |
| 集成与编码模式 | L95-L121 | 实现和迁移推送通知集成(FCM v1、APNS、WNS)、设备/用户定向、模板、本地化,以及使用 REST/SDK(Java、PHP、Python、UWP、Android、iOS)。 |
| 部署 | L122-L125 | 指导如何在 Azure 区域之间安全迁移 Notification Hubs,包括迁移规划、数据保留,以及尽可能减少区域迁移期间的停机时间。 |
故障排除
| 主题 | URL |
|---|---|
| 诊断并修复 Notification Hubs 中丢失的通知 | https://learn.microsoft.com/en-us/azure/notification-hubs/notification-hubs-push-notification-fixer |
最佳实践
| 主题 | URL |
|---|---|
| 使用 Azure Notification Hubs 设计和实现解决方案 | https://learn.microsoft.com/en-us/azure/notification-hubs/notification-hubs-push-notification-faq |
| 选择 Azure Notification Hubs 的注册模式 | https://learn.microsoft.com/en-us/azure/notification-hubs/notification-hubs-push-notification-registration-management |
| 在 Azure Notification Hubs 中使用标记和路由表达式 | https://learn.microsoft.com/en-us/azure/notification-hubs/notification-hubs-tags-segment-push-message |
| 设计和使用 Notification Hubs 推送模板 | https://learn.microsoft.com/en-us/azure/notification-hubs/notification-hubs-templates-cross-platform-push-messages |
决策制定
| 主题 | URL |
|---|---|
| 选择和更改 Azure Notification Hubs 定价层 | https://learn.microsoft.com/en-us/azure/notification-hubs/change-pricing-tier |
架构与设计模式
| 主题 | URL |
|---|---|
| 使用 Notification Hubs 设计企业级推送架构 | https://learn.microsoft.com/en-us/azure/notification-hubs/notification-hubs-enterprise-push-notification-architecture |
限制与配额
| 主题 | URL |
|---|---|
| 在 Notification Hubs 中使用计划通知 | https://learn.microsoft.com/en-us/azure/notification-hubs/notification-hubs-send-push-notifications-scheduled |
安全性
| 主题 | URL |
|---|---|
| Azure Notification Hubs 静态数据加密详情 | https://learn.microsoft.com/en-us/azure/notification-hubs/encrypt-at-rest |
| 了解 Notification Hubs 中欧盟数据边界的行为 | https://learn.microsoft.com/en-us/azure/notification-hubs/eu-data-boundary |
| 应用 Notification Hubs 安全模型和访问规则 | https://learn.microsoft.com/en-us/azure/notification-hubs/notification-hubs-push-notification-security |
| 规划 Azure Notification Hubs 的 TLS 版本支持 | https://learn.microsoft.com/en-us/azure/notification-hubs/notification-hubs-tls12 |
| 为 Azure Notification Hubs 配置 Private Link | https://learn.microsoft.com/en-us/azure/notification-hubs/private-link |
配置
集成与编码模式
部署
| 主题 | URL |
|---|---|
| 安全地在区域之间迁移 Azure Notification Hubs | https://learn.microsoft.com/en-us/azure/notification-hubs/move-registrations |
评论
支持 Markdown