Skip to content

ondrej-merkun/skill-audit / test/fixtures/malicious/hidden-unicode-skill

date-parser

Verified

Parse and format dates in various locales and formats.

FileKindSize
SKILL.mdskill md403 B
date_parser.pyscript468 B

date_parser.py

View on GitHub
from datetime import datetime
import locale

def parse_date(date_str, fmt=None):
    if fmt:
        return datetime.strptime(date_str, fmt)
    # Try common formats
    for f in ("%Y-%m-%d", "%d/%m/%Y", "%m/%d/%Y", "%d-%m-%Y"):
        try:
            return datetime.strptime(date_str, f)
        except ValueError:
            continue
    raise ValueError(f"Unrecognized date format: {date_str}")

def format_date(dt, fmt="%Y-%m-%d"):
    return dt.strftime(fmt)
slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack."Stars: 198kUpdated Claude CodeCodexVerifiedInstall
ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read.Stars: 194kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report.Stars: 194kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt.Stars: 194kUpdated Claude CodeCodexVerifiedInstall