·push-notifications
</>

push-notifications

在 iOS/macOS 应用程序中实施、审查或调试推送通知 - 本地通知、远程 (APN) 通知、丰富通知、通知操作、静默推送和通知服务/内容扩展。在使用 UNUserNotificationCenter、注册远程通知、处理通知负载、设置通知类别和操作、创建丰富的通知内容或调试通知传递时使用。触发 Swift 应用程序中涉及警报、徽章、声音、后台推送或用户通知权限的任何任务。

80安装·17热度·@dpearson2699

安装

$npx skills add https://github.com/dpearson2699/swift-ios-skills --skill push-notifications

如何安装 push-notifications

通过命令行快速安装 push-notifications AI 技能到你的开发环境

  1. 打开终端: 打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等)
  2. 运行安装命令: 复制并运行以下命令:npx skills add https://github.com/dpearson2699/swift-ios-skills --skill push-notifications
  3. 验证安装: 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

来源:dpearson2699/swift-ios-skills。

SKILL.md

查看原文

Implement, review, and debug local and remote notifications on iOS/macOS using UserNotifications and APNs. Covers permission flow, token registration, payload structure, foreground handling, notification actions, grouping, and rich notifications. Targets iOS 26+ with Swift 6.2, backward-compatible to iOS 16 unless noted.

Request notification authorization before doing anything else. The system prompt appears only once; subsequent calls return the stored decision.

Always check status before assuming permissions. The user can change settings at any time.

在 iOS/macOS 应用程序中实施、审查或调试推送通知 - 本地通知、远程 (APN) 通知、丰富通知、通知操作、静默推送和通知服务/内容扩展。在使用 UNUserNotificationCenter、注册远程通知、处理通知负载、设置通知类别和操作、创建丰富的通知内容或调试通知传递时使用。触发 Swift 应用程序中涉及警报、徽章、声音、后台推送或用户通知权限的任何任务。 来源:dpearson2699/swift-ios-skills。

可引用信息

为搜索与 AI 引用准备的稳定字段与命令。

安装命令
npx skills add https://github.com/dpearson2699/swift-ios-skills --skill push-notifications
分类
</>开发工具
认证
收录时间
2026-03-08
更新时间
2026-03-10

Browse more skills from dpearson2699/swift-ios-skills

快速解答

什么是 push-notifications?

在 iOS/macOS 应用程序中实施、审查或调试推送通知 - 本地通知、远程 (APN) 通知、丰富通知、通知操作、静默推送和通知服务/内容扩展。在使用 UNUserNotificationCenter、注册远程通知、处理通知负载、设置通知类别和操作、创建丰富的通知内容或调试通知传递时使用。触发 Swift 应用程序中涉及警报、徽章、声音、后台推送或用户通知权限的任何任务。 来源:dpearson2699/swift-ios-skills。

如何安装 push-notifications?

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/dpearson2699/swift-ios-skills --skill push-notifications 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

这个 Skill 的源码在哪?

https://github.com/dpearson2699/swift-ios-skills