push-notifications
БесплатноБез исполняемых скриптовНе проверенSend browser push notifications for price drops, back-in-stock alerts, and cart reminders to bring shoppers back without needing their email
от finsilabs★ 69 звёзд на GitHubОб этом скилле
Push Notifications
Overview
Web push notifications deliver timely messages to subscribers even when they are not on your site — for back-in-stock alerts, price drops, and cart reminders. Push requires explicit browser permission, making the opt-in prompt timing critical. For Shopify, WooCommerce, and BigCommerce, dedicated push notification apps (PushOwl, OneSignal) handle all the subscriber management, triggering logic, and delivery without custom service worker code.
When to Use This Skill
- When adding back-in-stock notifications to replace static "notify me" email forms
- When recovering abandoned carts via a browser push channel alongside email
- When building a price-watch feature for wishlisted items
- When email deliverability is poor and a supplemental channel is needed
- When targeting mobile-first markets where push opt-in rates exceed email opt-in
Core Instructions
Step 1: Choose the right push notification platform
| Platform | Best For | Shopify | WooCommerce | BigCommerce | Price |
|---|---|---|---|---|---|
| PushOwl | Shopify-native, back-in-stock + abandonment | App Store | — | — | Free tier; $19+/mo |
| OneSignal | All platforms, free tier, highly configurable | Via JS tag | Plugin | Via JS tag | Free tier; $9+/mo |
| Klaviyo Web Push | Already using Klaviyo for email | App Store | Plugin | App Marketplace | Included in Klaviyo |
| PushEngage | WooCommerce + segmented campaigns | — | Plugin | Via JS tag | Free tier; $9+/mo |
Shopify recommendation: Use PushOwl — it's the most integrated Shopify push app with built-in back-in-stock, cart abandonment, and shipping alerts.
WooCommerce recommendation: Use PushEngage or OneSignal — both have WordPress plugins and handle subscriber management automatically.
Step 2: Set up push notifications
Shopify with PushOwl
- Install PushOwl from the Shopify App Store
- Go to PushOwl → Settings → Opt-in Prompt and configure:
- Delay the prompt: set it to trigger after a customer views 2+ pages or adds an item to cart
- Opt-in message: "Get notified when items are back in stock and for price drops"
- Go to PushOwl → Automations → Back in Stock and enable it — PushOwl automatically adds a "Notify Me" button to out-of-stock products and fires the push when inventory is replenished
- Go to PushOwl → Automations → Cart Abandonment and enable it:
- Set timing: 1 hour after abandonment, then 24 hours
- Customize the notification message and the cart recovery URL
- Go to PushOwl → Campaigns to send broadcast push notifications for sales, new arrivals, or flash discounts
WooCommerce with PushEngage
- Install PushEngage from the WordPress plugin directory (free tier available)
- Go to PushEngage → Settings → Subscription Prompt and configure the opt-in dialog
- Enable automated campaigns:
- Go to PushEngage → Automation → Cart Abandonment and set the timing and message
- Go to PushEngage → Automation → Back in Stock and enable it (requires WooCommerce stock event integration)
- For price drop alerts: go to PushEngage → Automation → Price Drop Alert and enable subscriber opt-in per product
- Use PushEngage → Broadcast to send manual push campaigns to all subscribers
BigCommerce with OneSignal
- Sign up for OneSignal at onesignal.com and create a Web Push app
- Go to OneSignal → Settings → Web Push → Setup and follow the HTTPS domain verification
- Add the OneSignal JavaScript snippet to your BigCommerce store via Storefront → Script Manager:
<script src="https://cdn.onesignal.com/sdks/web/v16/OneSignalSDK.page.js" defer></script> <script> window.OneSignalDeferred = window.OneSignalDeferred || []; OneSignalDeferred.push(async function(OneSignal) { await OneSignal.init({ appId: "YOUR_APP_ID" }); }); </script> - For back-in-stock: use BigCommerce webhooks to trigger a OneSignal API call when product stock transitions from 0 to available
- For cart abandonment: use BigCommerce's Abandoned Cart webhook + OneSignal REST API to send cart recovery pushes
Custom / Headless
For headless stores, implement push using the Web Push API directly:
// Service worker — save as /sw.js in your public directory
self.addEventListener('push', (event) => {
const data = event.data?.json() ?? {};
event.waitUntil(
self.registration.showNotification(data.title, {
body: data.body,
icon: data.icon ?? '/icons/icon-192.png',
image: data.image,
data: { url: data.url },
actions: data.actions ?? [],
})
);
});
self.addEventListener('notificationclick', (event) => {
event.notification.close();
event.waitUntil(clients.openWindow(event.notification.data?.url ?? '/'));
});
// Server-side push sending using the web-push library
impor
Установить push-notifications в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
claude-codecursorgemini-clicopilotcodex-clikiroopencodeВложенные файлы
FAQ
Что делает скилл push-notifications?
Send browser push notifications for price drops, back-in-stock alerts, and cart reminders to bring shoppers back without needing their email
Как установить скилл push-notifications?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл push-notifications запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic