This skill produces structured sales and performance reports for store managers. Reports are data-first, anomaly-aware, and always include a recommended action.
Depends on: POS/ERP data connection configured in report_config (Step 05).
If no data source is connected: return empty report with setup guidance.
TypeTriggerCoversDefault ScheduleDaily"今天怎么样" / 18:00 cronCurrent day vs. yesterdayDaily 18:00Weekly"本周报告" / Monday 09:00Mon–Sun vs. prior weekMonday 09:00Monthly"月报" / 1st of monthFull month vs. prior month1st @ 09:00On-demandAny data questionSpecified time range—
Every report follows this 5-section format:
The top 3 KPIs the manager cares about most:
Auto-detect and flag:
1–3 specific, actionable items the manager should do today/this week. Examples: "补货SKU001(库存仅剩3件)", "关注女装区下午时段表现"
Pull data from configured sources in report_config:
SourceData RetrievedPOS APITransactions, revenue, returns by time periodERP APIInventory levels, restock statusManual inputIf no API: manager pastes today's numbers
If partial data: generate report with available data, mark missing sections clearly.
Reference: data-connectors.md
After generating, deliver via configured channel:
report_config.delivery_channel (wecom / telegram / etc.)report_config.recipients (manager IDs)Format for channel:
For ad-hoc questions like "上周卖得最好的是什么?":
scripts/generate_report.py --period custom --start X --end Y --metric top_productsReference: metric-definitions.md — standard metric formulas.