Skip to content
Back to skills

Shop Weekly Digest

ASecurity

Weekly shop business digest ready to paste into Slack/Notion: revenue, orders, top products, active promocodes, traffic, pushes sent, alerts. Read-only. Use by default whenever the user wants a weekly shop recap, digest, report, or leadership-ready summary, 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
  • 0 views
  • Added September 22, 2026
ai-agentsgorailsspring

Works with

  • mcp

Security analysis

A100/100

Scanned November 27, 2026

npx -y skills add goodbarber/goodbarber-skills --skill shop-weekly-digest --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Shop Weekly Digest?

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

Security grade badge for Shop Weekly Digest
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/goodbarber-shop-weekly-digest/badge)](https://www.skillsdirectory.com/skills/goodbarber-shop-weekly-digest)

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-weekly-digest
description: |
  Weekly shop business digest ready to paste into Slack/Notion: revenue,
  orders, top products, active promocodes, traffic, pushes sent, alerts.
  Read-only. Use by default whenever the user wants a weekly shop recap,
  digest, report, or leadership-ready summary, 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

A single shop report to publish every Monday morning, without having to
open the back-office.

## Access contract

- `READ_ONLY`.
- Default window: rolling last 7 days.

## Required Tool Workflow (strict order)

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

1. **Revenue & orders**:
   - `sales_get` (`type: order`, `created_from`, `created_to`, exactly
     `YYYY-MM-DDTHH:MM` in UTC) for the week and the week before →
     revenue, order count, average basket (leave `CANCELLED` orders out).
2. **Traffic & engagement** (`start_date`, `end_date` as `YYYY-MM-DD`):
   - `stats_get` (`metric: page_views`) → screens viewed across the whole
     app (not per product)
   - `stats_get` (`metric: launches`), `stats_get` (`metric: unique_launches`)
   - `stats_get` (`metric: session_times`) → sessions per duration band,
     day by day (no average): the share of sessions of 3 min or more
3. **Promocodes**:
   - `catalog_get` (`type: promo_code`, no `promo_scope`: the four scopes
     at once) → list codes whose validity window overlaps the reporting
     week. This gives "codes live this week". The orders of step 1 carry
     the id of the promo code they used: count them for the uses of each
     code this week.
4. **Top products**: compute top 5 sales from the order lines.
5. **Alerts**: stock-outs (delegate to `shop-stock-check` on demand).
6. Final markdown report.

## Tools used

- `sales_get` (`type: order`), `catalog_get` (`type: promo_code`; `type: product` for labels)
- `stats_get` (`metric`: `page_views`, `launches`, `unique_launches`, `session_times`)
- Delegates to `shop-best-sellers`, `shop-stock-check`,
  `shop-traffic-report` if the user wants to drill into a section.

## Output contract (exact sections required)

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

```markdown
# Shop weekly digest — week of 2026-04-14 to 2026-04-20

## 💰 Revenue
- Revenue: $8,420 (+12% vs W-1)
- Orders: 87 (+5)
- Avg basket: $96.78
- Top sales: 1) Product A • 2) Product B • 3) Product C

## 📈 Traffic
- Launches: 18,200 (+7%)
- Sessions of 3 min or more: 38% (+3 pts)

## 🎟️ Promocodes live this week
- SPRING20 (ALL, -20%) — ends 2026-04-30 — used in 14 orders
- WELCOME10 (ALL, -10%) — no expiration — used in 3 orders

## 📣 Pushes sent
- Sent notifications cannot be listed with these tools; section omitted
  unless the user tracked pushes externally.

## ⚠️ Alerts
- 3 products critically out of stock
```

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

## Guardrails (hard rules)

- Digest is 100% read-only. No side effects.
- If data is too sparse (launch week, not enough data), say so.
- **Large datasets**: filter server-side on the 7-day window for every
  list call. Do not full-paginate the whole order table.
- If a figure is unavailable, write "n/a" instead of another figure.
- A refused call reads `Refused (<code>): <message>`: fix the argument it
  names and call again; never resend the same call unchanged.

## Next possible actions
- Run `shop-best-sellers` to expand the top-products section.
- Run `shop-stock-check` if the alerts section flags stock-outs.
- Run `shop-customer-insights` for a deeper customer retention view.

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.