/polymath-mobile:push-notificationsfrom polymath-mobile
Design push notifications — opt-in moment, payload shape, tap-deep-link, silent vs visible, quiet hours, unsub path; respect the OS bucket constraints.
Ships in polymath-mobile. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Push is one of the easiest privileges to abuse. Output is the design that earns and keeps the permission — payload, timing, and the unsub path.
Mode: analytical — judgment inside a fixed frame. Keep the output shape; every verdict cites its evidence; unknowns are marked [TBD] or [VERIFY], never filled in.
POST_NOTIFICATIONS permission.title: scannable headline (≤ 32 chars on most lockscreens).body: 1–2 short sentences.data: structured fields the app uses to deep-link (e.g. {"type": "refund_complete", "refund_id": "ref_…"}). Do not put PII or amounts in data; minimize what the OS can persist.interruption-level: time-sensitive) only when warranted.apns-collapse-id, FCM collapse_key) so a retry doesn't buzz twice; remove device tokens the provider reports invalid/unregistered.Push design: refund-service
Channels:
Transactional (default ON):
- refund_initiated, refund_complete, refund_failed.
Marketing (default OFF, explicit opt-in):
- promo, feature-announcement — sent only after opt-in.
Opt-in moment:
After the user views the refund-status page once. Contextual prompt:
"Get notified when your refund clears."
Payload shape (refund_complete example):
title: "Refund complete"
body: "Your refund for order #1234 is on its way to your bank."
data: { type: "refund_complete", refund_id: "ref_…" }
iOS interruption-level: active (not time-sensitive).
Android priority: normal.
Tap behavior:
Deep-link to /refunds/<refund_id>.
Quiet hours:
22:00–08:00 user-local for all marketing; transactional respects unless
the user opted into time-sensitive.
Unsubscribe path:
Settings → Notifications → Refund updates toggle. Per-channel.
Tracking + alerts:
Alert: unsub rate doubles WoW for any channel → review the recent change.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub mohammadbafkar/polymath --plugin polymath-mobile3 skills in this plugin
/deep-linksDesign deep-link routing — universal/app links over custom schemes, deferred deep-link for install path, fallback web URL, signed param verification./mobile-perfSet mobile perf budgets — cold start (TTI), warm start, scroll FPS, memory; per audience device tier (low-end Android baseline); identify the dominant cost. Native only; not web CWV.