cn-holiday — Chinese Holiday & Work Schedule Skill
Query Chinese public holidays, 调休 (make-up workdays), and work schedules via the timor.tech API.
Quick Start
- No API key needed.
- Run
bun scripts/holiday.ts --help in this skill directory.
- Pick the matching command from
references/command-map.md.
Workflow
- Parse user intent — identify the date(s) and what they want to know.
- Select the right command:
info, year, batch, or next.
- Run the script and return the result.
- Interpret the result for the user in natural language.
Response Interpretation
type.type field meanings
| Value | Meaning |
|---|
| 0 | 工作日 (workday) |
| 1 | 周末 (weekend) |
| 2 | 节日 (holiday) |
| 3 | 调休补班 (make-up workday) |
wage field meanings (加班工资倍率)
| Value | Meaning |
|---|
| 1 | 正常工资 |
| 2 | 双倍工资 |
| 3 | 三倍工资 |
holiday.holiday field
true = 放假 (day off)
false = 补班 (make-up workday)
Notes
- This skill is script-first and does not run an MCP server.
- Data source: timor.tech (based on State Council holiday announcements).
- No API key required.
- Covers current year and adjacent years' holiday schedules.