计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
public-holidays【效率与协作】Look up public holidays for any country and year with zero API keys — the Nager.Date API via curl, with long-weekend detection and cross-country planning. Use when asked what are the holidays in a country, is date X a holiday somewhere, find long weekends this year, or which days is the team in Japan and Germany both off. Produces the holiday list wi…
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
"Is Monday a holiday in Germany?" is a five-second question that decides deploy schedules, invoice due dates, and vacation math — and Nager.Date answers it for 100+ countries over keyless HTTPS. This skill fetches, answers the actual question (a date, a plan, a long weekend), and respects the two traps: regional holidays that don't apply nationwide, and the countries whose holiday culture the API's global flag quietly encodes.
Ask for these if not provided:
curl -s "https://date.nager.at/api/v3/PublicHolidays/2026/JP" → JSON array with date, localName, name, global, counties, types. Next holidays: .../api/v3/NextPublicHolidays/DE. Specific-date check: fetch the year, match the date. Long weekends, precomputed: .../api/v3/LongWeekend/2026/DE — the API does the adjacency math itself.global flag is the regional trap: global: false + a counties array means the holiday applies only in listed regions (Bavaria's extra days, Scotland vs England). Answering "Germany has a holiday" for a Bavaria-only day is the classic wrong answer — quote the regions.types matters at the edges: most entries are Public, but some countries include Bank, School, Optional, Observance — an Observance is not a day off; filter or label by type when the question is "is the office closed."[The direct answer to the actual question first.]
| Date | Holiday (local · English) | Scope |
|---|---|---|
| [Filtered to the question — the date, the range, the intersection; regional entries labeled with their regions] |
[Long-weekend section when planning was the intent]
Source: Nager.Date · rerun: [exact curl]
[Coverage caveat when workplace/regional nuance is in play]
global: false) holidays are labeled with their regions, never presented as nationaltypes are filtered or labeled when "day off" is the questionglobal flag exists to be read