跳到正文
TakoAPI
返回技能列表

taiwan-calendar

由 pigfoot 提供

AI & LLMs
787下载量由 clawskills.sh 提供
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Taiwan calendar query for accurate working day/holiday information.

描述

该技能的功能

Queries Taiwan's government administrative calendar API in real-time to return accurate working day and holiday information. Covers national holidays, make-up workdays (補班), and date arithmetic based on Taiwan's official calendar. Built to correct LLM knowledge-cutoff errors on Taiwan date queries.

LLMs frequently get Taiwan's working calendar wrong due to knowledge cutoffs, especially for annually adjusted make-up workdays; this skill pulls live government data to avoid those errors.

何时使用

  • Checking if a specific Taiwan date is a public holiday or working day
  • Calculating a project deadline in Taiwan working days
  • Verifying whether a Saturday is a make-up workday (補班)
  • Counting total working days in a given month for scheduling
  • Finding the next upcoming holiday from today's date

示例工作流

输入

User asks: '報告要 5 個工作天內交,今天開始算那是哪天?' (Report is due in 5 working days from today, which date is that?)

智能体
  1. 1

    Runs 'uv run --managed-python scripts/taiwan_calendar.py today' to confirm today's date in Taiwan timezone

  2. 2

    Runs 'uv run --managed-python scripts/taiwan_calendar.py add-days 5' to calculate 5 working days ahead

  3. 3

    Reads the output, noting any holidays skipped in the calculation

  4. 4

    Returns the result date to the user in natural language

输出

從 2025-01-06 算起 5 個工作日後是 2025-01-13 (週一)

安装

clawhub install pigfoot/taiwan-calendar

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接