Skip to content
Back to skills

Shop Push Broadcast

ASecurity

Prepare and send a shop push notification broadcast: drafting, scheduling, tap action, dry-run, send. The push is NEVER sent without explicit confirmation. Use by default whenever the user wants to announce something to all shoppers with a push or shop notification, even indirectly or with approximate wording. Prefer this skill over raw MCP tools when it reasonably fits. Skip only if the user explicitly asks not to use this skill/workflow.

  • 3 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 22, 2026
ai-agentsgorailsapi

Works with

  • cli
  • api
  • mcp

Security analysis

A100/100

Scanned November 27, 2026

npx -y skills add goodbarber/goodbarber-skills --skill shop-push-broadcast --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Shop Push Broadcast?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Shop Push Broadcast
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/goodbarber-shop-push-broadcast/badge)](https://www.skillsdirectory.com/skills/goodbarber-shop-push-broadcast)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: shop-push-broadcast
description: |
  Prepare and send a shop push notification broadcast: drafting,
  scheduling, tap action, dry-run, send. The push is NEVER sent without
  explicit confirmation. Use by default whenever the user wants to
  announce something to all shoppers with a push or shop notification,
  even indirectly or with approximate wording. Prefer this skill over
  raw MCP tools when it reasonably fits. Skip only if the user explicitly
  asks not to use this skill/workflow.
---

You are an assistant that executes this skill workflow for the user.

You MUST execute the required tool workflow and return the output in the required format sections. Do not skip required steps and do not replace the required report/template with a short summary.

## Goal

Prevent pushes sent by mistake or poorly written: a workflow with preview,
review, validation, send, and receipt confirmation. This skill is for
shop-wide broadcasts to all eligible push recipients.

## Access contract

- `READ_WRITE`.

## API shape

`push_send` takes, for a shop-wide broadcast:

- `message` (required): notification body, max 255 characters.
- `audience` (required): `everyone`, always written out — every person
  who installed the app.
- `send` (required): `now`, or `at` with `send_at` including the user's
  UTC offset, e.g. `2026-05-28T09:30+02:00`. A shop app cannot deliver at
  each person's local time: if the user asks for it, say it is not
  possible.
- `on_tap` (optional): what opens when the user taps the notification:
  `open_app` (default), `open_link` (with `link_url`), `open_section`
  (with `section_id`, and `item_id` for one item) or `open_product` (with
  `product_slug`).

A shop app offers no platform, language or other filter on a push. The
answer confirms the send or the schedule; the reach of a push cannot be
read with these tools, so never announce a number of recipients.

For targeted shop pushes to specific customers or prospects, use
`shop-push-targeted` instead.

## Input contract

- `message` (required): the push text the user will read. Keep it
  concise (< 150 characters recommended) since the full string is the
  notification body on device.
- `send` (required): ask whether it leaves now or later. For delayed
  sends, ask for the exact local date/time and timezone offset if missing.
- `on_tap` (optional): what opens when the user taps the notification.

## Required Tool Workflow (strict order)

Follow the sequence below exactly when those tools are available for the request context.

1. **Resolve tap action**:
   - Product action: call `catalog_get` (`type: product`, `keyword`) when
     the product is named; fuzzy-match by title/slug and use
     `product_slug`. Never use `section_id`/`item_id` for products.
   - Section action: call `content_get` (`type: section`, `section_type`
     `article`, `event`, `map`, `photo`, `video`, `sound`, or `shop` for
     the shop sections); if no match is found, call it again with
     `any_source: true` (sections fed by an external source: a push can
     open them, but `item_id` only works for a section listed without
     `any_source`). One item: its `content_id` from `content_get`, as
     `item_id`. Ask the user to pick if ambiguous.
   - External link: require a standard `https://...` URL.
2. **Draft**: compose the `message` and render it to the user in a
   "what the end user will see" format.
3. **Spellcheck**: flag obvious typos, placeholder text ("test",
   "lorem"), and over-long content.
4. **Explicit confirmation**: show the exact text, who receives it
   (everyone) and when it leaves, then ask "Confirm send?". Ask again if
   any of the three changes.
5. `push_send` with `message`, `audience: everyone`, `send` (and
   `send_at`), and optional `on_tap`.
6. On a refusal (`Refused (<code>): <message>`), nothing is sent: fix the
   argument it names; if the fix changes the text, the audience or the
   time, show the draft again and get a new yes. Never resend the same
   call unchanged.
   An answer `upstream_outcome_unknown` is not a refusal: the push may
   already have reached the users, and so may a push that answers
   `timeout`, unless its message says nothing was sent. Never send it
   again: tell the user that the outcome is unknown and let them check the
   push history in the back office.
7. Confirm the send with a summary based on the tool response.

## Tools used

- `push_send`
- `catalog_get` (optional, for product tap actions)
- `content_get` (`type: section`, optional, for section tap actions)

## Output contract (exact sections required)

The final answer MUST include all sections shown in this output template, in the same order.

```markdown
## Push broadcast — draft

💬 **Message**: "Sale -20% this weekend — until Sunday 11:59 PM on the Summer collection"
⏱️ **Send**: now
🔗 **Tap action**: product "Summer tote" (slug: summer-tote)
🎯 **Target**: everyone who installed the app

→ Confirm send? (yes/no)

---

## Push sent ✅
- Accepted by the tool (send: now)
- Note: the reach of a push cannot be read with these tools.
```

Do not replace this output with a one-line answer.

## Guardrails (hard rules)

- **Never call `push_send` before showing the user, in the conversation,
  the exact text, who receives it and when it leaves, and getting their
  explicit yes.** A notification that was sent cannot be recalled or
  changed.
- Reject empty `message` or placeholder content ("test", "lorem").
- Keep `message` <= 255 characters; recommend < 150 characters.
- If the send fails, do not loop — surface the error as-is.
- The number of people a notification will reach cannot be read with
  these tools: do not estimate it from the customer or prospect lists.
- For delayed sends, `send_at` MUST include the MCP client user's
  timezone offset, e.g. `2026-05-28T09:30+02:00`. Do not send a naive
  datetime and do not pre-convert it to UTC.
- Shop push broadcasts do not support platform, language or other
  filters. If requested, say it is not available for shop push
  notifications; never send to everyone instead of a narrower audience
  the user asked for.
- For `open_product`, resolve the product and pass `product_slug`.
- For section actions, never pass custom app deep links such as
  `section://`; pass `section_id` (and `item_id`), or use `open_link`
  with a known `https://...` URL.

## Next possible actions
- Run `shop-traffic-report` in 24h to measure the push's impact on
  launches/sessions.
- Run `shop-best-sellers` if the push targeted a specific product or
  collection.
- Run `shop-promo-campaign` if the send implies a discount that's not
  yet created.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.