shop-reorder-plannerlisted
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
Turn inventory snapshots into a practical replenishment plan that saves the
user from manual SKU-by-SKU planning.
## Access contract
- `READ_ONLY`.
## Input contract
- `velocity_period_days`: 30 / 60 / 90 (default 30)
- `target_cover_days`: desired inventory cover (default 21)
- Optional filters:
- collection
- tag
- Optional exclusions:
- unlimited stock (`-1`) excluded by default
## 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` if names are provided.
2. **Load catalog and stock state**:
- `shop_list_products` (with filters if requested).
- `shop_get_product` for products with variants to retrieve precise
per-variant stock.
3. **Load demand signal**:
- `shop_list_orders` on the velocity window (server-side date filters).
4. **Compute per SKU (product or variant)**:
- Current stock
- Units sold in period
- Daily velocity = units_sold / period_days
- Days of cover = stock / daily_velocity (if velocity > 0)
- Suggested reorder qty = max(0, target_cover_days \* daily_velocity - stock)
5. **Prioritize**: