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.
npx skills add ECNU-ICALK/AutoSkill --skill text-date-normalization-with-default-year --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# 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
- Prompt
- Triggers
What does the Text Date Normalization with Default Year skill do?
Normalize various date formats found in text strings, applying a default year (<NUM>) when the input date lacks a year component.
How do I install it?
Run `npx skills add ECNU-ICALK/AutoSkill --skill text-date-normalization-with-default-year --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From ECNU-ICALK/AutoSkill, a repository with 539 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
