MCP HubMCP Hub
スキル一覧に戻る

reverse-date

christopheryeo
更新日 Yesterday
56 閲覧
1
GitHubで表示
その他data

について

このスキルは、様々な形式で入力された人間が読み取れる日付を、標準化されたISO形式(YYYY-MM-DD)に変換します。「21 Oct 2025」、「October 21, 2025」、「21/10/2025」などの柔軟な入力を処理し、一貫した機械可読出力を提供します。データ処理やシステム統合のために日付形式を正規化する際にご利用ください。

クイックインストール

Claude Code

推奨
プラグインコマンド推奨
/plugin add https://github.com/christopheryeo/claude-skills
Git クローン代替
git clone https://github.com/christopheryeo/claude-skills.git ~/.claude/skills/reverse-date

このコマンドをClaude Codeにコピー&ペーストしてスキルをインストールします

ドキュメント

Date Converter

Overview

Convert dates from various human-readable formats into standardized ISO format (YYYY-MM-DD). This skill handles flexible date input parsing and provides consistent, machine-readable output.

Usage

Use the convert_date.py script to convert any date string to YYYY-MM-DD format:

python scripts/convert_date.py "21 Oct 2025"
# Output: 2025-10-21

Supported Input Formats

The script accepts a wide variety of date formats, including:

  • Month-day-year: "21 Oct 2025", "October 21, 2025", "Oct 21, 2025"
  • Slash-separated: "21/10/2025", "10/21/2025"
  • Dash-separated: "21-10-2025", "2025-10-21"
  • Other common formats: Most standard date representations

Examples

# Human-readable format
python scripts/convert_date.py "21 Oct 2025"
# → 2025-10-21

# Full month name
python scripts/convert_date.py "October 21, 2025"
# → 2025-10-21

# Slash format
python scripts/convert_date.py "21/10/2025"
# → 2025-10-21

# Already in ISO format
python scripts/convert_date.py "2025-10-21"
# → 2025-10-21

Error Handling

If the date string cannot be parsed, the script returns an error message:

python scripts/convert_date.py "invalid date"
# Error: Unable to parse date: 'invalid date'. Error: Unknown string format: invalid date

Implementation Details

The script uses Python's dateutil.parser library for flexible date parsing, which handles many common date formats automatically. The output is always in ISO 8601 format (YYYY-MM-DD).

GitHub リポジトリ

christopheryeo/claude-skills
パス: reverse-date

関連スキル

content-collections

メタ

This skill provides a production-tested setup for Content Collections, a TypeScript-first tool that transforms Markdown/MDX files into type-safe data collections with Zod validation. Use it when building blogs, documentation sites, or content-heavy Vite + React applications to ensure type safety and automatic content validation. It covers everything from Vite plugin configuration and MDX compilation to deployment optimization and schema validation.

スキルを見る

polymarket

メタ

This skill enables developers to build applications with the Polymarket prediction markets platform, including API integration for trading and market data. It also provides real-time data streaming via WebSocket to monitor live trades and market activity. Use it for implementing trading strategies or creating tools that process live market updates.

スキルを見る

hybrid-cloud-networking

メタ

This skill configures secure hybrid cloud networking between on-premises infrastructure and cloud platforms like AWS, Azure, and GCP. Use it when connecting data centers to the cloud, building hybrid architectures, or implementing secure cross-premises connectivity. It supports key capabilities such as VPNs and dedicated connections like AWS Direct Connect for high-performance, reliable setups.

スキルを見る

llamaindex

メタ

LlamaIndex is a data framework for building RAG-powered LLM applications, specializing in document ingestion, indexing, and querying. It provides key features like vector indices, query engines, and agents, and supports over 300 data connectors. Use it for document Q&A, chatbots, and knowledge retrieval when building data-centric applications.

スキルを見る