Skip to content
Back to skills

Check Workday Cn

ASecurity

Determine whether today (or a given date) is a working day in mainland China by querying holiday-cn yearly JSON from jsDelivr and applying holiday/makeup-workday rules. Use when users ask questions like "今天是不是工作日", "这天要不要上班", "是不是节假日/调休补班", or when a workflow needs a reliable workday boolean.

  • 30 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added November 8, 2026
ai-agentspythonbash

Security analysis

A100/100

Scanned November 8, 2026

npx -y skills add majiayu000/claude-skill-registry-data --skill check-workday-cn --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Check Workday Cn?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Check Workday Cn
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/majiayu000-check-workday-cn/badge)](https://www.skillsdirectory.com/skills/majiayu000-check-workday-cn)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: check-workday-cn
description: Determine whether today (or a given date) is a working day in mainland China by querying holiday-cn yearly JSON from jsDelivr and applying holiday/makeup-workday rules. Use when users ask questions like "今天是不是工作日", "这天要不要上班", "是不是节假日/调休补班", or when a workflow needs a reliable workday boolean.
---

# Check Workday CN

Check whether today is a workday with official holiday override data from:
`https://cdn.jsdelivr.net/gh/NateScarlet/holiday-cn@master/{year}.json`

## Workflow

1. Run `python3 scripts/check_today_workday.py`.
2. Read `is_workday` from output.
3. Explain reason:
   - If date exists in `days[]`, use `isOffDay` directly (`false` => workday, `true` => off day).
   - If date does not exist in `days[]`, fall back to weekday rule (Mon-Fri workday, Sat-Sun off day).

## Commands

Use today in Asia/Shanghai:

```bash
python3 scripts/check_today_workday.py
```

Check specific date:

```bash
python3 scripts/check_today_workday.py --date 2026-02-15
```

Machine-readable output:

```bash
python3 scripts/check_today_workday.py --json
```

## Output Contract

Always return:
- Queried date (YYYY-MM-DD)
- `is_workday` boolean
- Reason (`holiday override` or `weekday fallback`)
- Data source URL

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.