Skip to main content
skill CX Codex

push-notifications — Claude Code skill: what it does, how to install

Review, build, and debug local and APNs remote notifications for iOS and macOS in Swift. Handles permission flows, silent pushes, and service extensions.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add dpearson2699/swift-ios-skills --skill push-notifications -a claude-code
Open on GitHub

What push-notifications does

The skill provides guidelines and patterns for handling UserNotifications and APNs in Swift 6.3 apps targeting iOS 26+, maintaining compatibility down to iOS 16. It covers registration via UIApplicationDelegateAdaptor, alert authorization, provisional delivery, and critical alerts. Related areas are decoupled explicitly: background workloads belong in background-processing, VoIP goes to callkit, and Live Activities are handled by activitykit.

When auditing notification code, the skill enforces key platform contracts. Device tokens must upload on every didRegister event rather than trusting a local cache. Because the iOS Simulator cannot register real device tokens with APNs, testing simulated pushes requires .apns files or simctl push.

Rich notifications also come with strict requirements. Service extensions need both an alert payload and mutable-content: 1 to execute; silent pushes will not wake them. The skill flags missing fallbacks and ensures the completion handler runs exactly once, even if network attachments fail.

What it helps with

  • configure APNs token callbacks via UIApplicationDelegateAdaptor
  • audit silent push payloads for apns-push-type and priority flags
  • implement rich notification attachments in service extensions
  • set up provisional or critical alert permissions using UNUserNotificationCenter

Example prompts for the agent

  • Help me implement APNs token registration in SwiftUI using AppDelegate
  • Review my UNNotificationServiceExtension code for proper completion handler calls
  • Configure a background push payload with apns-priority 5

How to install push-notifications

1Skills CLI (Vercel)

npx skills add dpearson2699/swift-ios-skills --skill push-notifications -a claude-code

2Manually: put the files in place

~/.claude/skills/push-notifications/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/push-notifications/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about push-notifications

How to install push-notifications in Claude Code?

Run npx skills add dpearson2699/swift-ios-skills --skill push-notifications -a claude-code in your terminal.

What does push-notifications do?

It guides the implementation and review of local and APNs notifications in Swift for iOS and macOS. The skill checks token handling, silent push settings, permission states, and notification extensions.

Can push notifications be tested on the iOS Simulator?

The Simulator always fails APNs token registration. To test payload handling and notification presentation on a simulated device, provide .apns payload files or run simctl push.

Similar skills

Everything for Mobile →

From the same set86

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor