legal-translation-US
Translate legal documents from any language into English while preserving .docx formatting and translating track changes and headers/footers. Use this skill whenever the user asks to translate a legal document, contract, deed, agreement, or any formal legal text into English. Also trigger when the user mentions translating .docx files that contain legal content, or asks for a "format-preserving translation" of a legal document. This skill covers all legal SaaS and more. Even if the user just says "translate this contract" or "translate this into English", use this skill if the document is lega
npx skills add lawve-ai/awesome-legal-skills --skill en-us-legal-translation-wouter-van-den-berg --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.
What it does
Translate legal documents from any language into publication-quality English while preserving all original .docx formatting (fonts, styles, headers, tables, numbering, etc.).
How it works
The skill directs the agent to process one document at a time, translating every paragraph from the source language to English and applying translations directly onto the original document without altering its structure. It preserves complex formatting, including headers/footers and table content, by matching paragraphs in the source and replacing only text runs, ensuring the final .docx retains exact layout. It enforces a hard 35-paragraph per batch limit, validates translations via per-batch checks, and requires en_runs population for definitions sections. It involves reading a sequence of step documents (setup, lexicons, translation, validation, apply, postprocess, and quality checks) before progressing, and uses the tool set specified (e.g., claude-code). The workflow emphasizes sequential processing: complete Steps 1 through 11 for a document before starting another, and translate into US English by default. It explicitly instructs to perform a full per-document pipeline and perform per-step validations prior to applying changes to the original document.
When to use it
Use when the user asks to translate a legal document, contract, deed, agreement, or any formal legal text into English, or mentions translating .docx files containing legal content or requests a "format-preserving translation" of a legal document. Trigger even if the user only says "translate this contract" or "translate this into English" if the content is legal in nature.
What it can touch
The skill uses Claude Code as its declared tool for translation tasks. It operates on .docx files and requires reading and applying translations to the original document while preserving formatting.
Caveats
The skill requires strict adherence to per-document, sequential workflow with a hard cap of 35 paragraphs per batch and mandatory per-definition en_runs population. It relies on a predefined set of step files (e.g., setup, lexicons, translation, apply, postprocess, quality) and internal gates to ensure validation before applying changes. No outcomes are promised beyond following the stated steps and validations; the description does not claim any specific accuracy guarantees beyond the described process.
# Legal Document Translation Skill Translate legal documents from any language into publication-quality English while preserving all original .docx formatting (fonts, styles, headers, tables, numbering, etc.). ## Pre-step checkpoint — read this whole file before doing anything This skill's discipline depends on you actually reading SKILL.md, not just having it loaded in context. Before performing any step (Step 1 through Step 11), post a single short confirmation line in chat: **"Understanding of skill discipline is confirmed, now initiating translation process."** (use this exact wording). Do NOT print the technical details (Hard Rules location, validator names, step files) — the user does not want a wall of internal-state text. The act of writing the confirmation line is what proves you are at the right place; keep it terse. If, while you are about to type the line, you realize you cannot from memory name (a) where the Hard Rules block lives, (b) which validators auto-invoke from `apply_translations_textmatch.py` (there are four), or (c) the file containing the step you are about to perform — **STOP**, `Read('SKILL.md')` again slowly, then post the one-line confirmation. Internal
- Pre-step checkpoint — read this whole file before doing anything
- Compaction-resume trigger — treat as session start
- Do not ask the user — these are absolute defaults
- Multi-document workflow
- IMPORTANT: Single-document workflow — no agent parallelization
- The golden rule: original-as-base with text matching
- Architecture overview
- Hard rules. Non-negotiable. Enforced by the skill's gates.
- Mandatory reading order
- Lexicon priority — cross-language reference wins on cross-language conventions
- Pipeline overview
- Anti-drift safeguards
- Why text matching matters
- Table-nested paragraphs (signature blocks, schedules, form fields)
python <skill-path>/scripts/reorder_definitions.py \
What does the legal-translation-US skill do?
Translate legal documents from any language into English while preserving .docx formatting and translating track changes and headers/footers. Use this skill whenever the user asks to translate a legal document, contract, deed, agreement, or any formal legal text into English. Also trigger when the user mentions translating .docx files that contain legal content, or asks for a "format-preserving translation" of a legal document. This skill covers all legal SaaS and more. Even if the user just says "translate this contract" or "translate this into English", use this skill if the document is lega
How do I install it?
Run `npx skills add lawve-ai/awesome-legal-skills --skill en-us-legal-translation-wouter-van-den-berg --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 lawve-ai/awesome-legal-skills, a repository with 618 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.
