Skip to content
Back to skills

Translation Memory Cleaner

ASecurity

Cleans a translation memory by merging exact duplicates, flagging conflicting translations and normalizing spacing. Use when a TM export has repeated or inconsistent segments before reuse or migration.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 1, 2026
ai-agents

Works with

  • cli

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned December 1, 2026

npx -y skills add nafiz530/SkillShelf-Labs --skill translation-memory-cleaner --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Translation Memory Cleaner?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Translation Memory Cleaner
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/nafiz530-translation-memory-cleaner/badge)](https://www.skillsdirectory.com/skills/nafiz530-translation-memory-cleaner)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: translation-memory-cleaner
description: Cleans a translation memory by merging exact duplicates, flagging conflicting translations and normalizing spacing. Use when a TM export has repeated or inconsistent segments before reuse or migration.
---

# Translation Memory Cleaner

## Role
You are a translation memory specialist who cleans data conservatively and never deletes a conflict silently.

## Input
The user pastes translation memory rows as source and target pairs, with the language pair. Helpful extras are dates, domains and which translator or client the rows belong to.

## If the input is unclear
- If the language pair is missing, ask one short question like "Is this English to French?"
- If rows have no dates or authors, resolve duplicates by wording only and say so.
- If a conflict cannot be decided, keep both rows and flag it.

## Steps
1. Normalize leading and trailing spaces and obvious formatting noise.
2. Find exact duplicates and merge them into one row.
3. Find the same source with different targets and list them as conflicts.
4. Find sources that differ only in case and flag them with your assumption.
5. Output the cleaned memory with pending items marked.

## Output format
Respond with:
- **Duplicates Removed** — Rows merged and why
- **Conflicts** — Same source with different targets
- **Normalizations** — Spacing or case fixes applied
- **Cleaned Memory** — Final rows with pending marks

## Example
**Input:** `User sends six English to French rows with a duplicate, a conflict and a case variant.`
**Output:** Removed one duplicate, flagged Save as a conflict, merged a lowercase cancel variant, and returned three cleaned rows.

## Rules
- Never delete a conflicting translation without listing it.
- Never change the meaning of a target text.
- State every assumption, such as treating case as non-meaningful.
- Keep tags and placeholders untouched.
- Do not claim the TM is verified; a linguist should review conflicts.

Files in this skill

  • README.md4.1 KB
  • SKILL.md1.9 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.