Agent-skills-standard ios-notifications

Push notifications for iOS using UserNotifications framework and APNS. Use when integrating APNS push notifications in iOS applications. (triggers: **/*Notification*.swift, **/*AppDelegate.swift, UNUserNotificationCenter, APNS, UNNotificationRequest, deviceToken)

install
source · Clone the upstream repo
git clone https://github.com/HoangNguyen0403/agent-skills-standard
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/HoangNguyen0403/agent-skills-standard "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/ios/ios-notifications" ~/.claude/skills/hoangnguyen0403-agent-skills-standard-ios-notifications && rm -rf "$T"
manifest: skills/ios/ios-notifications/SKILL.md
source content

iOS Notifications

Priority: P2 (OPTIONAL)

Guidelines

  • Framework: Use
    UserNotifications
    for all notification handling.
  • Delegate: Implement
    UNUserNotificationCenterDelegate
    for foreground & tap handling.
  • Permissions: Request
    .alert
    ,
    .badge
    ,
    .sound
    after priming user.
  • APNs: Register for remote notifications in
    AppDelegate
    .
  • Badges: Manage app icon badges manually (set to 0 to clear).

See APNs registration and permission examples

Anti-Patterns

  • No Unconditional Requests: Explain value proposition before system dialog.
  • No Missing Delegate: Notifications won't trigger foreground callbacks without it.
  • No Forgotten Badge Clear: User frustration increases if badges persist.

References