rshankras/claude-code-apple-skills/push-notifications
Claude Code and agent skill by rshankras/claude-code-apple-skills
- community
Checking that the SKILL.md file is still in the repository.
Generate push notification infrastructure with APNs registration, handling, and rich notifications. Use when adding push notifications, configuring APNs, notification categories/actions, or rich notifications with images and custom UI.
Install
npx vskill@latest install rshankras/claude-code-apple-skills/push-notificationsSKILL.md
Push Notifications Generator
Generate push notification infrastructure with APNs registration, handling, and rich notifications.
When This Skill Activates
- User wants to add push notifications to their app
- User mentions APNs (Apple Push Notification service)
- User asks about notification categories or actions
- User wants rich notifications with images or custom UI
Pre-Generation Checks
Before generating, verify:
- Existing Notification Code
``bash # Check for existing notification handling grep -r "UNUserNotificationCenter\|registerForRemoteNotifications" --include="*.swift" | head -5 ``
- Entitlements
``bash # Check for push notification entitlement find . -name "*.entitlements" -exec grep -l "aps-environment" {} \; ``
- App Delegate or SwiftUI App
``bash # Determine app structure grep -r "@main\|UIApplicationDelegate" --include="*.swift" | head -5 ``
Configuration Questions
1. Notification Types
- Basic - Simple alerts with title/body
- Rich - Include images, custom UI (requires Notification Service Extension)
- Both - Full notification support
2. Notification Actions
- None - Just display notifications
- Simple Actions - Quick action buttons
- Custom Categories - Multiple action categories
3. Silent Notifications
- Yes - Background data updates
- No - User-visible only
Generated Files
Core Infrastructure
Rich Notifications (Optional)
Content Extension (Optional)
Key Features
Registration Flow
Handling Notifications
Action Categories
Notification Design (WWDC18)
"Interrupting people is a real privilege… a trust relationship." Design the strategy before the infrastructure:
| Decision | Rule | |
|---|---|---|
| Authorization | Use provisional authorization (add .provisional to the options — delivered quietly to Notification Center, no prompt) for passive content like likes and comments; reserve the explicit prompt for time-critical content | |
| When to prompt | Never at first launch. Explain the value first, then ask at a contextually meaningful moment — right after the order is placed, not before the user has ordered | |
| Content bar | Every notification carries a specific message or a completable task — never an empty "open the app" nudge | |
| Timing | Deliver at relevant times; use time- and location-based delivery where it fits | |
| Settings | Offer granular per-topic toggles in-app, and add .providesAppNotificationSettings so "Manage" in system settings deep-links to your page | |
| Grouping | App-level grouping is the default; set threadIdentifier only for meaningfully different streams (conversations, distinct sources) — over-threading recreates the clutter grouping was meant to fix | |
| Rich content | A rich notification is a self-contained package: image/video plus actions that complete the task without launching the app | |
| Fatigue | Pause notification types a user repeatedly ignores (the Duolingo pattern) — silence beats an uninstall |
Required Capabilities
In Xcode
- Select project target
- Signing & Capabilities tab
- Add "Push Notifications" capability
- Add "Background Modes" > "Remote notifications" (for silent notifications)
Entitlements
Integration Steps
1. SwiftUI App
2. Request Permission (at appropriate time)
3. Server-Side Setup
Configure your server to send APNs requests:
- Use APNs HTTP/2 API
- Include team ID, key ID, and .p8 key
- Target:
api.push.apple.com(production) orapi.sandbox.push.apple.com(development)
Testing
Local Notifications (Simulator)
Remote Notifications (Physical Device)
- Build to physical device
- Copy device token from console
- Use APNs testing tool or
curl:
References
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/generators/push-notifications/SKILL.md
Popularity
- Repository stars
- 770
- Repository forks
- 74
- 7-day trend score
- 33
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 18 Mar 2026, 7 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/rshankras/claude-code-apple-skills/push-notifications)