Repository navigation
Conversation
…pp's own service worker Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Skill Validation ReportValidating skill: /home/runner/work/icskills/icskills/skills/pwa-ready-appStructure
Frontmatter
Markdown
Tokens
Content Analysis
Contamination Analysis
Result: passed Validating skill: /home/runner/work/icskills/icskills/skills/user-notificationsStructure
Frontmatter
Tokens
Markdown
Tokens
Content Analysis
Contamination Analysis
Result: 1 warning Project Checks |
…fies needs Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…affected Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
There was a problem hiding this comment.
🟡 Changes recommended
The startup snippets use top-level await that breaks default Vite 6-and-earlier builds, and the notification example fails to preserve required Safari user gestures.
5 open issues
What changed in this PR
Adds guidance for making ICP frontends installable and delivering Internet Identity notifications through the app’s own service worker, including Safari installed apps.
Changes:
- Introduces
pwa-ready-appwith manifest, icon, service worker, hosting-header, and installation-origin guidance. - Extends
user-notificationswith subscription flows, push handlers, alternative-origin configuration, and migration from custom web push. - Adds output evaluations, trigger queries, and search cases for both skills.
| File | Description |
|---|---|
skills/user-notifications/SKILL.md |
Documents app-owned service worker delivery and push migration. |
skills/pwa-ready-app/SKILL.md |
Adds installable frontend setup and platform guidance. |
scripts/data/search-cases.json |
Adds PWA and service worker notification search cases. |
evaluations/user-notifications.json |
Adds installed-app delivery and migration evaluations. |
evaluations/pwa-ready-app.json |
Adds registration, update, installation, and trigger evaluations. |
Review effort: Balanced
…path needs Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…rom pushsubscriptionchange Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ve the same-device link its own step Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…e prompt each opens Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…as the user's story: consent at sign-in, then the device, then the app only Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… and off around a toggle Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ink story, and add the toggle beside it Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…step 2 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… call the click handler a click handler Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…e step 3's code like step 2's Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ari on macOS Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ssion prompt, and the in-app one a banner Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…r path needs Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… handler Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ble app Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ng is only needed on Apple devices Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…n service worker can receive notifications Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… service worker Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…is offered for the Home Screen Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…rker adds Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…from when it is required Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ate the hour default and the day cap Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…om the service worker Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…nal example it is Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…to the notification options guide Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ll as opening Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…e and behavior Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ing up notification APIs Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ng a chat app Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…her page Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…dow controls overlay Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ription Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…hat reveals them Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…implementing a chat app Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ugh authClient.subscribe Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ng more Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… service worker Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…n, edge to edge, install, title bar Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…m implementing a chat app Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… not edge to edge Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ad state, the toggle's reach, and the app badge Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Apps can now deliver Internet Identity notifications through their own service worker. An installed web app needs this to get notifications at all, and a browser tab can use it to control how its notifications look. This PR adds a skill for making an app installable and teaches
user-notificationsthe new path.New
pwa-ready-app_headersthat keepsw.jsupdatable on the static-site canister.user-notificationsfetchNotificationPayload,markNotificationOpened,pushsubscriptionchange.subscribeToNotifications({ interactive: false });Search cases are added for both skills.
Draft until these land
@icp-sdk/authrelease with feat: notifications for installed web apps icp-js-auth#220 and chore: sync mops-cli skill from upstream cli-v2.14.0 #221 (written as 11.3.0).Eval results (with skill vs baseline)
pwa-ready-app, full suite:user-notifications, added cases:On its first run, "An app with notifications becomes installable" scored 3/4. The skill named no calls, and one expectation said "browser tabs" for an iPhone-only prompt. The skill now names the calls, and the expectation reads "users who do not install the app".
🤖 Generated with Claude Code