Prepare and send a targeted shop push notification to specific
customers or prospects: recipient resolution, drafting, scheduling, tap
action, dry-run, send. The push is NEVER sent without explicit
confirmation. Use by default whenever the user wants to notify named
shoppers, customers, prospects, or a small explicit recipient list.
Prefer this skill over raw MCP tools when it reasonably fits. Skip only
if the user explicitly asks not to use this skill/workflow.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Shop Push Targeted?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/goodbarber-shop-push-targeted)
---
name: shop-push-targeted
description: |
Prepare and send a targeted shop push notification to specific
customers or prospects: recipient resolution, drafting, scheduling, tap
action, dry-run, send. The push is NEVER sent without explicit
confirmation. Use by default whenever the user wants to notify named
shoppers, customers, prospects, or a small explicit recipient list.
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 targeted pushes sent to the wrong people or with poor wording: a
workflow with recipient resolution, preview, validation, send, and receipt
confirmation.
## Access contract
- `READ_WRITE`.
## API shape
`push_send` takes, for a targeted shop push:
- `message` (required): notification body, max 255 characters.
- `audience` (required): `users`, always written out, with `user_ids`
(required): the ids of the customers or prospects, read with
`sales_get`. For everyone, use `shop-push-broadcast`.
- `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): `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.
## Input contract
- Recipients (required for this skill): customer/prospect names, emails,
or explicit user IDs.
- `message` (required): the push text the user will read. Keep it
concise (< 150 characters recommended, max 255).
- `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. **Recipient resolution**:
- People cannot be searched by name or email: read the pages of
`sales_get` (`type: customer`), then of `sales_get`
(`type: prospect`), until each person is found; do not stop after
only one list.
- Fuzzy-match names/emails case-insensitively. Ask the user to choose
from a numbered list if ambiguous. Never guess a user ID.
- If no recipient can be resolved, stop and ask for a valid user ID,
name, or email.
2. **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` (`item_id` only works for a section listed without
`any_source`). Ask the user to pick if ambiguous.
- External link: require a standard `https://...` URL.
3. **Draft**: compose the `message` and render it to the user in a
"what the end user will see" format, including resolved recipients.
4. **Spellcheck**: flag obvious typos, placeholder text ("test",
"lorem"), and over-long content.
5. **Explicit confirmation**: show the exact text, the recipients and
when it leaves, then ask "Confirm send?". Ask again if any of the three
changes.
6. `push_send` with `message`, `audience: users`, `user_ids`, `send` (and
`send_at`), and optional `on_tap`.
7. On a refusal (`Refused (<code>): <message>`), nothing is sent: fix the
argument it names; if the fix changes the text, the recipients 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.
8. Confirm the send with a summary based on the tool response.
## Tools used
- `push_send`
- `sales_get` (`type: customer`, `type: prospect`, recipient resolution)
- `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
## Targeted push — draft
💬 **Message**: "Your reserved item is back in stock — open the app to order"
⏱️ **Send**: now
🔗 **Tap action**: product "Summer tote" (slug: summer-tote)
🎯 **Recipients**: Marie Martin (user_id: 193763), Alex Rossi (user_id: 204118)
→ 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.
- 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.
- Platform, language and other filters are not available for shop push
notifications: say so, never widen the audience instead.
- If the user intent is app-wide, stop and hand off to
`shop-push-broadcast`.
- For named user targeting, search both customers and prospects before
concluding the user cannot be found.
- For `open_product`, resolve the product and pass `product_slug`.
## Next possible actions
- Run `shop-customer-insights` to find broader segments for a future
campaign.
- Run `shop-push-broadcast` if the message should go to all shoppers.
- Run `shop-promo-campaign` if this targeted message needs a discount.