cn-holiday — Chinese Holiday & Work Schedule Skill
Query Chinese public holidays, 调休 (make-up workdays), and work schedules via the timor.tech API.
Quick Start
- 1. No API key needed.
- Run
bun scripts/holiday.ts --help in this skill directory. - Pick the matching command from
references/command-map.md.
Workflow
- 1. 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 (加班工资倍率)
双倍工资 |
| 3 | 三倍工资 |
holiday.holiday field
- -
true = 放假 (day off) - INLINECODE10 = 补班 (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.
cn-holiday — 中国节假日与工作日程技能
通过 timor.tech API 查询中国法定节假日、调休补班及工作日程。
快速开始
- 1. 无需 API 密钥。
- 在本技能目录下运行 bun scripts/holiday.ts --help。
- 从 references/command-map.md 中选择匹配的命令。
工作流程
- 1. 解析用户意图——确定日期及用户想了解的内容。
- 选择正确的命令:info、year、batch 或 next。
- 运行脚本并返回结果。
- 用自然语言向用户解释结果。
响应解读
type.type 字段含义
周末 |
| 2 | 节日 |
| 3 | 调休补班 |
wage 字段含义(加班工资倍率)
双倍工资 |
| 3 | 三倍工资 |
holiday.holiday 字段
注意事项
- - 本技能以脚本为主,不运行 MCP 服务器。
- 数据来源:timor.tech(基于国务院节假日公告)。
- 无需 API 密钥。
- 涵盖当前年份及相邻年份的节假日日程。