ablevarghese/ios-claude-toolkit/aegis-notifications
Claude Code and agent skill by ablevarghese/ios-claude-toolkit
- community
Checking that the SKILL.md file is still in the repository.
Send a notification, push notification, alert the user, remind the user. iOS push and local notification implementation — APNs setup, scheduling, rich content, actions, permission handling. Trigger on: 'notify the user', 'send a push', 'schedule a reminder', 'show a badge', 'background update', 'silent push', 'notification categories', 'ask for notification permission', or any work involving alerting users of events. Even indirect phrases like 'tell the user when it's done' or 'ping them' should trigger this skill.
Install
npx vskill@latest install ablevarghese/ios-claude-toolkit/aegis-notificationsSKILL.md
The same SKILL.md was published earlier as ablevarghese/ios-claude-toolkit/aegis-notifications.
AEGIS - Push Notifications & Alerts
Iron Law: "Never send a notification without the user's informed consent. Every notification must be timely, relevant, and actionable."
Project Discovery: Before executing, determine project-specific values (project name, scheme, bundle ID, target) from project configuration files (CLAUDE.md, project.yml, .xcodeproj, Package.swift).
Implement timely, relevant, and actionable notifications -- critical for status updates, security alerts, and user engagement in any iOS application. This skill covers the full notification lifecycle: permission handling, push and local notification delivery, rich content, notification actions, deep linking, and interruption level management.
Notification Types
| Type | Priority | Use Case | |
|---|---|---|---|
| Order Confirmed | High | Confirmation of completed action | |
| Item Received | High | Delivery/arrival notification | |
| Action Failed | Critical | Failure alert requiring attention | |
| Security Alert | Critical | Suspicious activity | |
| Account Verified | Medium | Verification complete | |
| Price Alert | Low | Price/rate change updates |
Rationalizations (Do Not Skip)
| Rationalization | Why It's Wrong | Required Action | |
|---|---|---|---|
| "Every feature needs a notification" | Notification fatigue is the #1 reason users disable notifications entirely. One irrelevant notification can cause the user to turn off all notifications for your app permanently. That is a one-way door. | Every notification must pass the test: Is this timely? Is it relevant to this specific user right now? Can the user take action on it? If any answer is no, don't send it. | |
| "Users want to be notified about everything" | They don't. Users want to be notified about things that require their attention. "Your weekly summary is ready" is useful. "Someone you don't follow posted something" is not. Study your notification opt-out rate -- it tells you what users actually think. | Categorize notifications by importance. Let users control which categories they receive. Default to fewer notifications, not more. | |
| "We'll add notification preferences later" | By "later," users have already disabled notifications entirely because you sent too many irrelevant ones. You cannot undo this -- the user must manually re-enable in Settings, which almost never happens. | Build notification preferences into the first version. At minimum: on/off per notification type. Better: frequency controls and quiet hours. | |
| "Silent push is just like regular push" | Silent push has strict throttling (Apple limits frequency), is not guaranteed to wake the app, and has a 30-second execution window. It's a best-effort background update mechanism, not a reliable delivery channel. | Use silent push only for background data sync where missed updates are acceptable. Never use it for time-critical notifications. For reliable delivery, use visible push. | |
| "We can just request permission on app launch" | Requesting permission with no context results in low opt-in rates (typically 40-50%). Users don't know what they're agreeing to or why they should. | Use provisional authorization for low-commitment opt-in, or show an in-app pre-permission screen explaining what notifications the user will receive and why. Then request system permission. Opt-in rates increase to 70-80%. | |
| "Badge count doesn't matter" | An incorrect badge count (especially a stuck non-zero badge) trains users to ignore badges entirely, or worse, creates anxiety. A badge that says "3" when there are 0 unread items erodes trust. | Manage badge count server-side. Update it with every push payload. Clear it when the user opens the app. Never let it drift. | |
| "We don't need notification categories" | Without categories, every notification tap opens the app to the home screen. The user then has to navigate to find what the notification was about. This is a poor experience that teaches users to ignore notifications. | Define categories with appropriate actions. Handle notification taps by deep-linking to the relevant content. |
Red Flags -- STOP
- Sending notifications without checking permission status -- Always check
UNUserNotificationCenter.current().notificationSettings()before attempting to send. Sending without permission wastes server resources and the notification is silently dropped. - Not handling notification tap navigation -- If tapping a notification opens the app to the home screen instead of the relevant content, the notification is useless. Every notification type must have a deep link target.
- Missing notification categories -- Categories define what actions appear on a notification and how the app handles taps. Without categories, you lose actionable notifications and structured handling entirely.
- No notification preferences UI -- If users cannot control which notifications they receive within the app, their only option is the nuclear one: disabling all notifications in Settings.
- Logging device tokens or push payloads at public privacy level -- Device tokens are user-identifying. Push payloads may contain sensitive data. Use
.privateor.sensitivelog levels.
Behavioral Enforcement
Phase Gate: PERMISSION CHECK (Before Any Notification)
Cannot send or schedule ANY notification until:
- [ ] Permission status checked (
UNUserNotificationCenter.current().getNotificationSettings()) - [ ] All authorization states handled: .authorized, .denied, .notDetermined, .provisional
- [ ] Denied state has graceful degradation (not a crash or silent failure)
Hard Stop: Sending a notification without checking permission status will fail silently on denied, crash on edge cases, and violate Apple's guidelines. Always check first.
Phase Gate: NOTIFICATION CONTENT
Before sending any notification:
- [ ] Content is timely (user needs this NOW, not later)
- [ ] Content is relevant (user opted into this type)
- [ ] Content is actionable (user can DO something with this information)
- [ ] No sensitive data in notification body (visible on lock screen)
Hard Stop: If notification contains PII, financial data, or authentication tokens in the body -- STOP. This is a security violation. Notification content is visible on the lock screen to anyone with physical access.
Self-Audit
- Did I check notification permission before sending?
- Does the notification pass the "timely, relevant, actionable" test?
- Is sensitive data excluded from notification body?
- Did I handle the notification tap (deep linking to correct screen)?
Required Output Artifact
Every notification implementation must produce:
- Permission handling code that covers all authorization states
- Category registration with appropriate actions
- Deep link handler for notification taps (no home-screen-only navigation)
- Evidence that no PII appears in notification body content
When NOT to Use This Skill
- In-app messaging and alerts -- For showing alerts, banners, or toasts while the user is actively using the app, use SwiftUI
.alert(),.sheet(), or a custom in-app notification system. Push/local notifications are for when the user is not looking at the app. - Background data sync without user-visible notification -- For background data fetching that doesn't need to notify the user, use
BGAppRefreshTaskorBGProcessingTaskfrom the BackgroundTasks framework. Silent push is throttled and unreliable for periodic sync. - Real-time communication (chat, calls) -- For real-time messaging, use a persistent connection (WebSocket, XMPP) with push notifications as a fallback for when the app is suspended. Don't rely on push as the primary delivery mechanism for real-time data.
- Marketing and promotional content -- Push notifications for marketing require explicit user consent separate from transactional notifications. In many jurisdictions (EU, California), promotional push notifications are regulated. Consult legal before implementing.
Decision Framework
Standard Operating Procedures
SOP-1: Request Notification Permission
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/aegis-notifications/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
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/ablevarghese/ios-claude-toolkit/aegis-notifications)