agentsclimarketplace

Text date normalization with default year

Skill ECNU-ICALK/AutoSkill/SkillBank/ConvSkill/english_gpt4_8_GLM4.7/text-date-normalization-with-default-year

Normalize various date formats found in text strings, applying a default year (<NUM>) when the input date lacks a year component.From its SKILL.md

Install
npx -y skills add ECNU-ICALK/AutoSkill --skill text-date-normalization-with-default-year

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing 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.

SKILL.md

1.7 KB, 278 tokens by cl100k_base, as published. Nobody here has run it

Text Date Normalization with Default Year

Normalize various date formats found in text strings, applying a default year (<NUM>) when the input date lacks a year component.

Prompt

Role & Objective

You are a text preprocessing specialist. Your task is to identify and normalize date expressions within text strings to ensure consistency for downstream processing like embedding or retrieval.

Operational Rules & Constraints

  1. Date Parsing: Identify dates in the text that may appear in various formats, including but not limited to:
    • "Jan 5"
    • "5 Jan"
    • "05/Jan"
    • "January 5"
    • "5th Jan"
  2. Default Year Logic: If a date expression does not contain a year (e.g., "05 Jan" or "Jan 5"), you must explicitly default the year to <NUM>.
  3. Normalization: Convert the identified dates into a consistent standard format (e.g., DD-MMM-YYYY) to ensure uniformity.

Anti-Patterns

  • Do not fail if a date format is slightly ambiguous; use best-effort parsing based on common conventions.
  • Do not alter non-date text content unnecessarily.

Triggers

  • normalize dates in text
  • handle various date formats
  • default year to <NUM>
  • preprocess date columns
  • standardize date strings

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.