什么是 push-notifications?
在 iOS/macOS 应用程序中实施、审查或调试推送通知 - 本地通知、远程 (APN) 通知、丰富通知、通知操作、静默推送和通知服务/内容扩展。在使用 UNUserNotificationCenter、注册远程通知、处理通知负载、设置通知类别和操作、创建丰富的通知内容或调试通知传递时使用。触发 Swift 应用程序中涉及警报、徽章、声音、后台推送或用户通知权限的任何任务。 来源:dpearson2699/swift-ios-skills。
在 iOS/macOS 应用程序中实施、审查或调试推送通知 - 本地通知、远程 (APN) 通知、丰富通知、通知操作、静默推送和通知服务/内容扩展。在使用 UNUserNotificationCenter、注册远程通知、处理通知负载、设置通知类别和操作、创建丰富的通知内容或调试通知传递时使用。触发 Swift 应用程序中涉及警报、徽章、声音、后台推送或用户通知权限的任何任务。
通过命令行快速安装 push-notifications AI 技能到你的开发环境
来源:dpearson2699/swift-ios-skills。
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在 iOS/macOS 应用程序中实施、审查或调试推送通知 - 本地通知、远程 (APN) 通知、丰富通知、通知操作、静默推送和通知服务/内容扩展。在使用 UNUserNotificationCenter、注册远程通知、处理通知负载、设置通知类别和操作、创建丰富的通知内容或调试通知传递时使用。触发 Swift 应用程序中涉及警报、徽章、声音、后台推送或用户通知权限的任何任务。 来源:dpearson2699/swift-ios-skills。
打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/dpearson2699/swift-ios-skills --skill push-notifications 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用
https://github.com/dpearson2699/swift-ios-skills