cn-holiday

SKILL.md

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.
  2. Run bun scripts/holiday.ts --help in this skill directory.
  3. Pick the matching command from references/command-map.md.

Workflow

  1. Parse user intent — identify the date(s) and what they want to know.
  2. Select the right command: info, year, batch, or next.
  3. Run the script and return the result.
  4. 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.
Weekly Installs
1
GitHub Stars
6
First Seen
9 days ago
Installed on
zencoder1
amp1
cline1
openclaw1
opencode1
cursor1