This skill manages staff scheduling queries and shift-related requests. It reads schedule data from the configured source and routes requests to the appropriate manager for approval.
Depends on: Staff list + schedule data from Step 02 / Step 05 config.
Configured in: skills_config.shift-scheduler
SourceConfig ValueSetupGoogle Sheets"google_sheets"Share link in configExcel/CSV file"file"Path to schedule fileWeCom Calendar"wecom_calendar"WeCom API integrationManual input"manual"Manager pastes schedule text
Reference: schedule-formats.md
text
张三,你今天的班是:
📍 收银台 10:00 – 19:00(含1小时午休)
搭班同事:李四、王五
text
今日在班人员([date]):
早班 (09:00-17:00):张三、李四
晚班 (14:00-22:00):王五、赵六
值班店长:王经理
Send 12 hours before shift starts (configurable via remind_before_hours):
text
⏰ 上班提醒
张三,明天 [date] 你的班是:
10:00 – 19:00([location])
记得准时到岗~
text
员工申请换班
↓
检查被换员工排班(有无冲突)
↓
发送 L1 确认给店长
↓
店长确认 → 更新排班表 → 通知双方
店长拒绝 → 通知申请人 + 给出原因
↓
记录换班历史(避免频繁换班模式)
The shift schedule drives escalation routing in complaint-handler and inventory-query.
When an escalation fires:
off_hours_contact in permissions_configThis ensures L2/L3 alerts always go to the right person, not just a fixed manager ID.
When manager pastes or uploads a new schedule:
scripts/parse_schedule.pyScript: scripts/parse_schedule.py — parses Excel/text schedule into structured JSON.
Reference: schedule-formats.md