·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