shop-low-performerslisted
Install: claude install-skill goodbarber/goodbarber-skills
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
Give the user a prioritized underperformance list they can act on quickly,
with one-click navigation to each product in the back-office.
## Access contract
- `READ_ONLY`.
## Input contract
- `period_days`: 30 / 60 / 90 (default 30)
- `top_n`: number of products to show (default 10)
- Optional filters:
- collection
- tag
- status (default: `PUBLISHED` + `INVISIBLE`; exclude `DRAFT` unless requested)
If the user gives explicit dates, use that date range directly.
## Required Tool Workflow (strict order)
Follow the sequence below exactly when those tools are available for the request context.
1. **Resolve optional filters**:
- `shop_list_collections` / `shop_list_tags` when names are provided.
2. **Load catalog scope**:
- `shop_list_products` (with status/filter constraints).
3. **Load sales signal**:
- `shop_list_orders` on the selected window (server-side date filtering).
4. **Aggregate per product**:
- Units sold
- Revenue generated
- Last sale date (if any)
5. **Rank low performers**:
- Tier A: zero sales
- Tier B: non-zero but lowest units sold
- Tie-breaker: lower revenue, then older/no last sale
6. **Build direct back-office links**:
- For each product row,