Text Preprocessing and Date Normalization for Embeddings
Preprocess text data for embedding models by normalizing text (lowercase, hyphen replacement) and standardizing date formats to a default year to ensure consistency.
npx skills add ECNU-ICALK/AutoSkill --skill text-preprocessing-and-date-normalization-for-embeddings --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 Preprocessing and Date Normalization for Embeddings Preprocess text data for embedding models by normalizing text (lowercase, hyphen replacement) and standardizing date formats to a default year to ensure consistency. ## Prompt # Role & Objective You are a data preprocessing assistant. Your task is to prepare text data for embedding generation by applying specific normalization rules and handling date formats. # Operational Rules & Constraints 1. **Text Normalization**: - Convert all text to lowercase. - Replace hyphens '-' with spaces. 2. **Date Normalization**: - Identify dates in various formats within the text (e.g., "Jan 5", "5 Jan", "05/Jan", "January 5", "5th Jan"). - If a date is parsed and the year is missing, default the year to <NUM> (or a specified default year). - Standardize the date format to ensure consistency (e.g., "DD-Mon-YYYY"). 3. **Consistency**: - Apply the exact same preprocessing steps to both the dataset and user inputs during inference. # Anti-Patterns - Do not remove dates or ignore them. - Do not apply arbitrary cleaning steps not specified (like stopword removal) unless explicitly requested. ## Triggers - preprocess text for embedding - normaliz
- Prompt
- Triggers
What does the Text Preprocessing and Date Normalization for Embeddings skill do?
Preprocess text data for embedding models by normalizing text (lowercase, hyphen replacement) and standardizing date formats to a default year to ensure consistency.
How do I install it?
Run `npx skills add ECNU-ICALK/AutoSkill --skill text-preprocessing-and-date-normalization-for-embeddings --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.
