Calculate daily sales velocity and the projected date stock runs out.
### name
Stock Velocity Report — Days of Supply and Sell-Through Rate per SKU
### oneLiner
Calculates how many days of stock remain per SKU at the current sales rate and flags products heading toward stockout.
### whenToUse
- Weekly during peak season, to catch fast-depleting SKUs before they go out of stock mid-campaign.
- Before placing a supplier reorder, to prioritize by actual sell-through velocity rather than gut feel.
- After a paid campaign, to see which products dangerously approached zero during the spend window.
### howToRun
```
Run skill: shopify-admin-stock-velocity-report
Store: yourstore.myshopify.com
days_back: 30
dos_alert_threshold: 14
```
### whatYouGet
A CSV file `velocity_YYYY-MM-DD.csv` with columns: `variant_id`, `sku`, `product_title`, `vendor`, `on_hand`, `units_sold`, `daily_velocity`, `days_of_supply`, `sell_through_pct`, `alert`. SKUs with the `alert` flag have fewer than `dos_alert_threshold` days of supply remaining. Use `days_back: 90` for slower-moving or seasonal products — a shorter window inflates velocity for items that were recently added to the catalog.
### polishContext
### safetyNote