Jp holidays
Get Japan's national holidays from the Cabinet Office. Use this skill when you need to retrieve Japanese holiday information. Supports year specification (default is current year). Outputs in Markdown table format.From its SKILL.md
npx -y skills add yuu/japan-holidays-skill --skill jp-holidaysAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
3.4 KB, ~1.1k tokens by cl100k_base, as published. Nobody here has run it
Japan Holidays Skill
日本の祝日を取得するスキルです。内閣府が提供する祝日データを取得します。
このスキルは、日本の祝日情報が必要な場合に使用します。
サポートプラットフォーム
- macOS: curl コマンド
- Linux: curl コマンド
- Windows: Git Bash/MSYS2/Cygwin の curl コマンド
使用方法
bash scripts/get-holidays.sh [年]
パラメータ
- 年(省略可): 取得する年を指定(省略時は今年)
使用例
今年の祝日を取得
bash scripts/get-holidays.sh
特定の年の祝日を取得
bash scripts/get-holidays.sh 2026
出力フォーマット
Markdown テーブル形式で出力されます:
# 日本の祝日 (2025年)
| 日付 | 祝日名 |
|------|--------|
| 2025-01-01 | 元日 |
| 2025-01-13 | 成人の日 |
| 2025-02-11 | 建国記念の日 |
...
AI エージェントからの使用方法
AI エージェント(Claude Code など)がこのスキルを使用する場合、以下のように実行します:
基本的な使用
- 今年の祝日が必要な場合
- Bash ツールでスクリプトを実行:
bash scripts/get-holidays.sh
特定の年の祝日を取得
- 過去または未来の祝日が必要な場合
- Bash ツールでスクリプトを実行:
bash scripts/get-holidays.sh 2026
使用場面
- スケジュール管理: カレンダーアプリケーションの祝日表示
- 日付計算: 営業日計算や納期計算
- イベント計画: 祝日を考慮したイベント日程の提案
- 情報提供: ユーザーへの祝日情報の提示
- ドキュメント生成: 年間カレンダーやスケジュール表の作成
データソース
- 提供元: 内閣府
- URL: https://www8.cao.go.jp/chosei/shukujitsu/syukujitsu.csv
- ライセンス: CC-BY(クリエイティブ・コモンズ 表示)
- 更新頻度: 内閣府が随時更新
エラーハンドリング
ネットワークエラー
エラー: 祝日データの取得に失敗しました
→ ネットワーク接続を確認してください。
無効な年の指定
エラー: 年は 4 桁の数値で指定してください
→ 正しい年(例: 2025)を指定してください。
技術詳細
- 実装言語: Bash スクリプト
- 依存ツール: curl, awk, date
- データ形式: CSV(Shift_JIS エンコード)
- 出力形式: Markdown テーブル
注意事項
- このスキルはネットワーク接続が必要です
- データは毎回取得されます(キャッシュなし)
- 内閣府のサーバーがダウンしている場合は取得できません
- CSV データは Shift_JIS でエンコードされています
参考リンク
What ships with it: 1 file
3.0 KB alongside SKILL.md, 1 of them executable
scripts/
- get-holidays.shruns3.0 KB