Back to Skills

reverse-date

christopheryeo
Updated Today
34 views
1
View on GitHub
Otherdata

About

This skill converts human-readable dates from various formats into standardized ISO format (YYYY-MM-DD). It handles flexible inputs like "21 Oct 2025", "October 21, 2025", and "21/10/2025" for consistent machine-readable output. Use it to normalize date formats for data processing or system integration.

Quick Install

Claude Code

Recommended
Plugin CommandRecommended
/plugin add https://github.com/christopheryeo/claude-skills
Git CloneAlternative
git clone https://github.com/christopheryeo/claude-skills.git ~/.claude/skills/reverse-date

Copy and paste this command in Claude Code to install this skill

Documentation

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 Repository

christopheryeo/claude-skills
Path: reverse-date

Related Skills

content-collections

Meta

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.

View skill

llamaindex

Meta

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.

View skill

hybrid-cloud-networking

Meta

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.

View skill

csv-data-summarizer

Meta

This skill automatically analyzes CSV files to generate comprehensive statistical summaries and visualizations using Python's pandas and matplotlib/seaborn. It should be triggered whenever a user uploads or references CSV data without prompting for analysis preferences. The tool provides immediate insights into data structure, quality, and patterns through automated analysis and visualization.

View skill