Translation Diff Export
Devolutions/UniGetUI
Compares UniGetUI JSON locale files against English, identifies untranslated or source-changed keys, and generates patch, reference, and handoff files for a target language.
Add translator comments to Lingui messages so translations are accurate.
$ npx skills add B0und/WikiSpeedrun --skill enhanced-message-context -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install B0und/WikiSpeedrun enhanced-message-context --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/B0und/WikiSpeedrun.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/enhanced-message-context .claude/skills/enhanced-message-context && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "enhanced-message-context" agent skill from https://github.com/B0und/WikiSpeedrun/tree/main/.agents/skills/enhanced-message-context into .claude/skills/enhanced-message-context/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "enhanced-message-context", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/B0und/WikiSpeedrun/tree/main/.agents/skills/enhanced-message-contextType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add B0und/WikiSpeedrun --skill enhanced-message-context -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install B0und/WikiSpeedrun enhanced-message-context --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/B0und/WikiSpeedrun.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/enhanced-message-context .agents/skills/enhanced-message-context && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "enhanced-message-context" agent skill from https://github.com/B0und/WikiSpeedrun/tree/main/.agents/skills/enhanced-message-context into .agents/skills/enhanced-message-context/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "enhanced-message-context", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add B0und/WikiSpeedrun --skill enhanced-message-context -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install B0und/WikiSpeedrun enhanced-message-context --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/B0und/WikiSpeedrun.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/enhanced-message-context .cursor/skills/enhanced-message-context && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "enhanced-message-context" agent skill from https://github.com/B0und/WikiSpeedrun/tree/main/.agents/skills/enhanced-message-context into .cursor/skills/enhanced-message-context/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "enhanced-message-context", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/B0und/WikiSpeedrun.git --path .agents/skills/enhanced-message-context--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add B0und/WikiSpeedrun --skill enhanced-message-context -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install B0und/WikiSpeedrun enhanced-message-context --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/B0und/WikiSpeedrun.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/enhanced-message-context .gemini/skills/enhanced-message-context && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "enhanced-message-context" agent skill from https://github.com/B0und/WikiSpeedrun/tree/main/.agents/skills/enhanced-message-context into .gemini/skills/enhanced-message-context/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "enhanced-message-context", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install B0und/WikiSpeedrun enhanced-message-contextInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add B0und/WikiSpeedrun --skill enhanced-message-context -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/B0und/WikiSpeedrun.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/enhanced-message-context .github/skills/enhanced-message-context && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "enhanced-message-context" agent skill from https://github.com/B0und/WikiSpeedrun/tree/main/.agents/skills/enhanced-message-context into .github/skills/enhanced-message-context/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "enhanced-message-context", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add B0und/WikiSpeedrun --skill enhanced-message-context -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install B0und/WikiSpeedrun enhanced-message-context --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/B0und/WikiSpeedrun.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/enhanced-message-context .opencode/skills/enhanced-message-context && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "enhanced-message-context" agent skill from https://github.com/B0und/WikiSpeedrun/tree/main/.agents/skills/enhanced-message-context into .opencode/skills/enhanced-message-context/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "enhanced-message-context", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
enhanced-message-contextAdd translator comments to Lingui messages so translations are accurate.
Enhanced Message Context is an agent skill from B0und/WikiSpeedrun. Add translator comments to Lingui messages so translations are accurate. Use when adding or modifying translatable messages, when strings are short or ambiguous ("Back", "Delete", "Post"), when placeholders are unclear ({count}, {name}), when deciding between comment and context, or when auditing extracted .po catalogs for missing translator context.
Its SKILL.md is about 3.3k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Writing & Content, covering Translation. The repository describes itself as: Wikipedia Speedrun Game. The licence is MIT.
3 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit a03d655. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are javascript, bash and po).
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Enhanced Message Context loads about 3.3k tokens when it runs. Until then it costs about 94 tokens; SKILL.md has 1,437 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from B0und/WikiSpeedrun at commit a03d655, republished under its MIT licence (© B0und). 1,437 words, ~3,349 tokens.
.claude/skills/enhanced-message-context/SKILL.md (or your agent's skills folder).When implementing Lingui i18n, add translator comments to the messages that need them, so translators have the context to choose the right tone, length, and wording. Which messages need them is the whole question, and the tiers below answer it: a short label carries almost no context of its own and a full sentence carries most of it, so they earn very different treatment.
Before writing comments, identify what the product is about — check package.json description, the README, and route/component names. The domain disambiguates terms that are otherwise unresolvable: in a parking app, "Park" is a parking spot, not a nature park; in a social app, "Post" is likely a noun. Reference the domain in comments whenever a term is domain-sensitive.
Prioritize in tiers:
Must comment — translations will be wrong without it:
{count} (count of what?), {name} (user name, file name, project name?)Should comment — quality improves noticeably:
Ship uncommented — the message already carries its own context:
Plural branches don't need separate comments — one comment on the whole message covers all forms.
A catalog where nearly every message carries a comment is evidence the tiers were skipped, not evidence of quality. The must-comment tier at 100% is the target; the whole catalog at 100% is not.
Two costs make that real, and both fall on people rather than tooling: comments on everything train translators to skim past comments, so the load-bearing ones stop being read; and every comment is a claim about the UI that rots when the UI moves.
When auditing an existing catalog, measure the must-comment tier specifically rather than overall #. coverage — short messages with no comment are the finding, and a headline percentage hides them. This lists every uncommented entry with its #: reference, which is enough to sort by tier at a glance:
awk -v RS='' '/msgid "[^"]/ && !/#\./' src/locales/en/messages.poParagraph mode (RS='') matches against the whole entry, so leave the patterns unanchored — ^msgid only fires on entries that begin with msgid, and most begin with a #: reference line.
t tagged templates cannot carry a commentThis is the single most common way a wrapping pass ends up with no context: the tagged-template form has nowhere to put one.
// ❌ No comment possible — there is no argument to attach one to
<img alt={t`Company logo`} />
// ✅ Object form takes `comment`
<img alt={t({ comment: "Alt text for the logo in the site header", message: "Company logo" })} />The same applies to msg`…` versus msg({ … }), and to plural(count, { … }) used bare.
Decide the comment while wrapping, not afterwards. For anything in the must-comment tier, reach for the object form the first time. The tagged-template form is the natural thing to type, so leaving it until later turns one decision into a mechanical edit across every attribute, placeholder, and toast in the codebase.
Trans has no such limitation: comment is just a prop, so JSX content can always be commented in place.
<Trans comment="Button in the toolbar that returns to the previous page">Back</Trans>Copy inside components/ui/** — shadcn/ui, or any generator-vendored Radix wrapper — is not yours to comment or wrap. shadcn add overwrites those files wholesale, so a macro or a comment added there disappears on the next update, silently and with a green build.
That governs this skill's audit pass too: when a catalog entry's #: reference points into a vendored directory, record it as a known residual and move to the next entry — the file itself stays closed.
If that copy genuinely needs translating, the fix is a project-owned wrapper component that holds the strings and delegates presentation to the primitive — a deliberate design decision for the project, not something a context pass introduces.
A good translator comment includes:
Location: Where in the UI the message appears
Action/Purpose: What happens or what it means
Disambiguation: Clarify part of speech or meaning
They solve different problems — don't mix them up:
comment is advice for the translator. It never changes the message identity.context changes the message ID: the same text with two context values becomes two catalog entries translated independently. Use it only when the same source text genuinely needs different translations ("right" as direction vs. correctness).context as a namespace (auth.login, settings.title). Identical strings with identical meaning should share one catalog entry; namespacing splits them into duplicate translation work.Lingui provides three ways to add translator comments:
t)For JavaScript code outside JSX:
import { t } from "@lingui/core/macro";
// With comment
const backLabel = t({
comment: "Button in the navigation bar that returns to the previous page",
message: "Back",
});
// With comment and variable
const uploadSuccess = t({
comment: "Success message showing the name of the file that was uploaded",
message: `File ${fileName} uploaded successfully`,
});Trans)For JSX elements:
import { Trans } from "@lingui/react/macro";
// With comment
<Trans comment="Button that deletes the selected email message">Delete</Trans>
// With comment in a component
<button>
<Trans comment="Label for button that saves changes to user profile">
Save
</Trans>
</button>defineMessage / msg)For messages defined separately from their usage:
import { defineMessage } from "@lingui/core/macro";
const messages = {
deleteButton: defineMessage({
comment: "Button that permanently removes the item from the database",
message: "Delete",
}),
statusLabel: defineMessage({
comment: "Shows whether the service is currently operational. Values: 'Active', 'Inactive', 'Pending'",
message: "Status: {status}",
}),
};Before (no context):
<button onClick={goBack}>
<Trans>Back</Trans>
</button>After (with context):
<button onClick={goBack}>
<Trans comment="Button in the toolbar that navigates to the previous page">
Back
</Trans>
</button>Before (no context):
const columns = [
{ key: "name", label: t`Name` },
{ key: "status", label: t`Status` },
];After (with context):
const columns = [
{
key: "name",
label: t({
comment: "Column header in the projects table showing project name",
message: "Name"
})
},
{
key: "status",
label: t({
comment: "Column header showing project status: Active, Inactive, or Archived",
message: "Status"
})
},
{
key: "created",
label: t({
comment: "Column header showing the date when the project was created",
message: "Created"
})
},
];Before (ambiguous):
<button onClick={handlePost}>
<Trans>Post</Trans>
</button>After (clarified as verb):
<button onClick={handlePost}>
<Trans comment="Button that publishes the content. Used as a verb (to post), not a noun (a post)">
Post
</Trans>
</button>Before (unclear what count represents):
const message = t`${count} items selected`;After (clarified):
const message = t({
comment: "Shows the number of email messages currently selected in the inbox",
message: `${count} items selected`,
});// Message is clear on its own; adding a comment with location still helps translators
<Trans comment="Validation hint shown below the password field on the sign-up form">
Your password must contain at least 8 characters, including one uppercase letter and one number.
</Trans>When implementing or reviewing Lingui messages:
t({ comment, message }), Trans comment=…) at the moment you wrap, and give it location, purpose, and any disambiguationAfter a batch of i18n work, audit the catalog instead of trusting that comments were added along the way:
lingui extract.po file for entries with no #. line (that's where comment lands)#: reference points into a vendored directory (components/ui/**) and record them as known residualslingui extract and confirm the #. lines appearReport the result as the must-comment tier's coverage plus what you deliberately left alone — "every short label commented, 120 self-explanatory sentences left as-is, 25 vendored residuals" — rather than a single catalog-wide percentage, which cannot distinguish those three.
#. Button in the toolbar that navigates to the previous page
#: src/components/Toolbar.tsx:24
msgid "Back"
msgstr ""© B0und, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .agents/skills/enhanced-message-context of B0und/WikiSpeedrun.
Open the folder on GitHubat commit a03d655
Enhanced Message Context next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Enhanced Message Context this skillB0und/WikiSpeedrun | 133 | — | ~3.3k | Automated safety check: Pass | MIT | |
| Translation Diff ExportDevolutions/UniGetUI | 26k | — | ~1.1k | Automated safety check: Pass | MIT | |
| Sync Translationssymfony/symfony | 31k | — | ~1.9k | Automated safety check: Pass | MIT | |
| Translation Diff ImportDevolutions/UniGetUI | 26k | — | ~750 | Automated safety check: Pass | MIT | |
| Translation Diff TranslateDevolutions/UniGetUI | 26k | — | ~934 | Automated safety check: Pass | MIT | |
| Generate Translationspayloadcms/payload | 45k | — | ~1.1k | Automated safety check: Pass | MIT |
Devolutions/UniGetUI
Compares UniGetUI JSON locale files against English, identifies untranslated or source-changed keys, and generates patch, reference, and handoff files for a target language.
symfony/symfony
Synchronize translation catalogs across maintained Symfony branches: find messages that newer branches added to the English catalogs but that are still missing from the oldest maintained branch…
Devolutions/UniGetUI
Merges translated key-value pairs from a UniGetUI JSON localization patch back into the full language file and validates the merged result.
Devolutions/UniGetUI
Translates a sparse UniGetUI JSON language patch, writes completed entries into the working copy, preserves placeholders and terminology, and prepares the patch for merge-back.
payloadcms/payload
A skill your agent uses when new translation keys are added to packages to generate new translations strings
Narcooo/inkos
Drives long-form fiction, scripts, storyboards, interactive films and long-document translation through InkOS, with every change made by a typed action.
B0und/WikiSpeedrun
Implement internationalization with Lingui in React and JavaScript applications.
B0und/WikiSpeedrun
Audit a Lingui project for hardcoded user-facing strings that were never wrapped in macros.
B0und/WikiSpeedrun
Set up Lingui in a React framework. An agent skill from B0und/WikiSpeedrun.
B0und/WikiSpeedrun
Migrate i18next/react-i18next projects to Lingui. An agent skill from B0und/WikiSpeedrun.
B0und/WikiSpeedrun
Diagnose and fix Lingui SWC plugin compatibility errors with Next.js, Vite, Rspack, or other SWC runtimes.
Categories
Add translator comments to Lingui messages so translations are accurate. Enhanced Message Context is an agent skill from B0und/WikiSpeedrun. Add translator comments to Lingui messages so translations are accurate.
Enhanced Message Context fits situations like: modifying translatable messages; strings are short; ambiguous (Back; placeholders are unclear ({count}.
Run `npx skills add B0und/WikiSpeedrun --skill enhanced-message-context -a claude-code`. Or copy the skill folder (.agents/skills/enhanced-message-context in B0und/WikiSpeedrun) into .claude/skills/enhanced-message-context in your project. Claude Code loads it when a task matches its description.
Run `npx skills add B0und/WikiSpeedrun --skill enhanced-message-context -a codex`. Or copy the skill folder (.agents/skills/enhanced-message-context in B0und/WikiSpeedrun) into .agents/skills/enhanced-message-context in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add B0und/WikiSpeedrun --skill enhanced-message-context -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/enhanced-message-context, .gemini/skills/enhanced-message-context, .github/skills/enhanced-message-context and .opencode/skills/enhanced-message-context in your project.
SKILL.md names no scripts, command-line tools or credentials: Enhanced Message Context is instructions for the agent only.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Enhanced Message Context is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 3.3k tokens (SKILL.md is roughly 13k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Enhanced Message Context: Translation Diff Export (Devolutions/UniGetUI, 26k stars), Sync Translations (symfony/symfony, 31k stars), Translation Diff Import (Devolutions/UniGetUI, 26k stars) and Translation Diff Translate (Devolutions/UniGetUI, 26k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
B0und (a GitHub user) maintains it in B0und/WikiSpeedrun, which has 133 GitHub stars. The repository holds 6 skills in this directory. The repository was last updated on September 19, 2026.
Source: B0und/WikiSpeedrun on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.