Agent skill

Translate

by vechain in vechain/x-app-template

Manages translation files for react-i18next. An agent skill from vechain/x-app-template.

MITAuto-check passedWriting & Content

Install Translate

skills CLI
$ npx skills add vechain/x-app-template --skill translate -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install vechain/x-app-template translate --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/vechain/x-app-template.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/translate .claude/skills/translate && rm -rf skills-src

Use ~/.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/

Facts

Skill name
translate
GitHub stars
450
Token cost
~1.2k tokens
SKILL.md length
511 words
Files
1
Skills in repo
11
Repo updated
First seen
Licence
MIT

At a glance

Manages translation files for react-i18next. An agent skill from vechain/x-app-template.

  • Works in 3 steps: Add the new key to en.json with the… → Add the same key to ALL other language… → After adding to all files, sort ALL…
  • Tasks that involve Translation
  • SKILL.md covers Translation Files, When Adding New Translation Keys, When Removing Translation Keys and Sorting Rules, plus 5 more sections
  • Calls node

What it does

Translate is an agent skill from vechain/x-app-template. Manages translation files for react-i18next. Adds/removes keys across 15 languages, keeps files sorted, enforces fixed-word rules, and verifies sync with en.json.

Its SKILL.md is about 1.2k 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. It works with React. The repository describes itself as: Vechain VeBetterDAO X-App template. The licence is MIT.

When your agent uses it

  • Tasks that involve Translation

Example prompts

  • “Use the translate skill to manage translation files for react-i18next. An agent skill from vechain/x-app-template”
  • “/translate”

Requirements

  • Node.js

Workflow steps

3 steps, taken from the first numbered list in SKILL.md.

  1. Add the new key to en.json with the English value
  2. Add the same key to ALL other language files with the correct translation for the language of the file
  3. After adding to all files, sort ALL translation files alphabetically by key (case-insensitive)

What it can do on your machine

Read from SKILL.md and the folder at commit 8692b6a. It shows what the files ask for, not the result of running them.

  • Tool permissions

    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.

  • Runs code

    Shell commands in SKILL.md call:

    • node

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • github.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Translate loads about 1.2k tokens when it runs. Until then it costs about 43 tokens; SKILL.md has 511 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~43
When it runs · the whole SKILL.md, loaded when a task matches
~1.2k

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.

Safety

Auto-check passed

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.

SKILL.md

The full file from vechain/x-app-template at commit 8692b6a, republished under its MIT licence (© vechain). 511 words, ~1,156 tokens.

Download SKILL.mdSave it as .claude/skills/translate/SKILL.md (or your agent's skills folder).
name
translate
description
Manages translation files for react-i18next. Adds/removes keys across 15 languages, keeps files sorted, enforces fixed-word rules, and verifies sync with en.json.
license
MIT

Translate Skill

Manages translation files in apps/frontend/src/i18n/languages/.

Translation Files

  • 15 languages: en (source), de, es, fr, hi, it, ja, ko, nl, pt, sv, tr, tw, vi, zh
  • Format: flat JSON key-value pairs (keys = English phrases)
  • Interpolation: {{variableName}}
  • Library: react-i18next configured in apps/frontend/src/i18n/index.tsx
  • Language list defined in apps/frontend/src/i18n/index.tsx (languages array)

When Adding New Translation Keys

  1. Add the new key to en.json with the English value
  2. Add the same key to ALL other language files with the correct translation for the language of the file
  3. After adding to all files, sort ALL translation files alphabetically by key (case-insensitive)

When Removing Translation Keys

  1. Remove the key from ALL 15 language files
  2. Files should remain sorted after removal

Sorting Rules

  • All translation JSON files MUST have keys sorted alphabetically (case-insensitive)
  • Sorting applies to ALL language files, not just en.json
  • After any modification, verify keys are sorted

Sort Procedure

For each .json file in apps/frontend/src/i18n/languages/:

  1. Parse the JSON
  2. Get all keys and sort them case-insensitively
  3. Rebuild the object with sorted keys
  4. Write back with 2-space indentation and trailing newline

Use a Node.js script or jq to sort. Example with Node.js:

bash
node -e "
const fs = require('fs');
const glob = require('glob');
const files = glob.sync('apps/frontend/src/i18n/languages/*.json');
files.forEach(f => {
  const obj = JSON.parse(fs.readFileSync(f, 'utf8'));
  const sorted = Object.keys(obj)
    .sort((a, b) => a.localeCompare(b, undefined, { sensitivity: 'base' }))
    .reduce((acc, key) => { acc[key] = obj[key]; return acc; }, {});
  fs.writeFileSync(f, JSON.stringify(sorted, null, 2) + '\n');
});
"

Sync Check

After any translation change, verify:

  • en.json has all keys that exist in code (search for t("...") usage)
  • All non-English files have the EXACT same keys as en.json
  • Missing keys in non-English files get the correct translation for the language of the file
  • Extra keys in non-English files (not in en.json) should be removed
  • All files are sorted alphabetically by key

Fixed Words

See apps/frontend/src/i18n/fixedWords.json. Grouped by language code ("all" applies to every language).

Two use cases:

  1. Untranslated words — value equals the English word (e.g. "round": "round" keeps "round" in English for Italian)
  2. Fixed translations — value is the mandatory translation for that concept (e.g. "endorsement": "supporto" means always use "supporto" for endorsement in Italian)

When translating, ALWAYS check this file first. If a word has a fixed translation for the target language, use it consistently in every sentence.

Show full SKILL.md (176 more words)Show less

VeChain Kit: bi-directional language sync

If the app uses @vechain/vechain-kit, keep Kit UI language in sync with the host app:

  • App → Kit: Inside VeChainKitProvider, subscribe to i18n.on("languageChanged", ...) and call setLanguage(lng) from useCurrentLanguage() so when the user changes language in the app (e.g. footer selector), Kit updates.
  • Kit → App: Pass language={i18n.language} and onLanguageChange={(lng) => i18n.changeLanguage(lng)} into VeChainKitProvider so when the user changes language in Kit (e.g. wallet modal), the app updates.

See the vechain-kit skill reference translations-vechain-kit.md for the full implementation pattern.

Pre-commit and ESLint (missing / unused keys)

  • Unused keys in en.json: Run a script that finds keys in en.json never used in code (t("..."), i18nKey="...") and exit non-zero so pre-commit fails. Run when en.json or code is staged.
  • Missing keys in other locales: Run a script that compares each locale's keys to en.json and fails if any locale has missing or extra keys. Run when any translation file is staged or in CI.
  • ESLint: Optionally add eslint-plugin-i18next (or similar) to flag missing keys in the editor/lint.

See the vechain-kit skill reference translations-vechain-kit.md for a short summary table.

© vechain, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .agents/skills/translate of vechain/x-app-template.

Open the folder on GitHubat commit 8692b6a

Compare with similar skills

Translate 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.

Translate compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Translate this skillvechain/x-app-template450—~1.2kAutomated safety check: PassMIT
Technology Searchfreestylefly/wesight944—~3.3kAutomated safety check: PassMIT
Manage Translationsgraphif/project-graph4.5k—~126Automated safety check: PassNone
Cometchat React V7 Featurescometchat/cometchat-skills131—~3.3kAutomated safety check: PassMIT
Lingui Best PracticesB0und/WikiSpeedrun1332 repos~4.2kAutomated safety check: PassMIT
I18next Localizationi18next/i18next-cli242—~1.6kAutomated safety check: PassMIT

Similar skills

  • Technology Search

    freestylefly/wesight

    Search tech blogs, developer forums, and IT media (TechCrunch, Hacker News, 36氪, etc.) for software and hardware industry updates with heat ranking and EN↔CN translation.

    944 GitHub stars~3.3k tokensUpdated 8 days ago
    Writing & ContentAuto-check passed
  • Manage Translations

    graphif/project-graph

    指导如何在 Project Graph 项目中管理多语言翻译。当需要添加新翻译、更新现有翻译或了解翻译系统结构时使用此技能。

    4.5k GitHub stars~126 tokensUpdated today
    Writing & ContentAuto-check passed
  • Cometchat React V7 Features

    cometchat/cometchat-skills

    Enable a specific CometChat feature in a React v7 app — reactions, polls, stickers, mentions, translation, link preview, smart replies and other AI, calls, push notifications, moderation.

    131 GitHub stars~3.3k tokensUpdated 4 days ago
    MobileAuto-check passed
  • Lingui Best Practices

    B0und/WikiSpeedrun

    Implement internationalization with Lingui in React and JavaScript applications.

    133 GitHub starsUsed in 2 repos~4.2k tokens
    Frontend & DesignAuto-check passed
  • I18next Localization

    i18next/i18next-cli

    Takes an app from hardcoded strings to a localized, continuously translated one with i18next (Locize optional): stack detection, config, wrapping strings in t(), key extraction, Locize sync, and AI…

    242 GitHub stars~1.6k tokensUpdated yesterday
    Frontend & DesignAuto-check passed
  • Add Language

    ZoneMinder/zmNinjaNg

    A skill your agent uses when adding a new interface language (locale) to the app, or when asked to translate the UI into another language.

    110 GitHub stars~1.1k tokensUpdated 3 days ago
    Frontend & DesignAuto-check passed

More from vechain/x-app-template

All 11 skills in this repo
  • Create Vechain Dapp

    vechain/x-app-template

    Scaffold a VeChain dApp with Next.js, VeChain Kit, Chakra UI v3, and GitHub Pages deployment.

    450 GitHub stars~1.8k tokensUpdated 2 mo ago
    Auto-check passed
  • Secure GitHub Actions

    vechain/x-app-template

    Secure GitHub Actions workflows against supply-chain, privilege, and shell-injection risks.

    450 GitHub stars~1.2k tokensUpdated 2 mo ago
    Auto-check passed
  • Frontend

    vechain/x-app-template

    Generic frontend development patterns for VeChain dApps — React Query, Turborepo architecture, state management, Chakra UI, i18n, loading states, and transaction UX.

    450 GitHub stars~1.1k tokensUpdated 2 mo ago
    Auto-check passed
  • Smart Contract Development

    vechain/x-app-template

    Solidity smart contract development on VeChainThor — Hardhat setup, ERC-20/721 patterns, upgradeable contracts, gas optimization, testing with Thor Solo, security auditing, and ABI codegen.

    450 GitHub stars~1.1k tokensUpdated 2 mo ago
    Auto-check passed
  • Vebetterdao

    vechain/x-app-template

    VeBetterDAO and X2Earn app development — B3TR/VOT3 tokens, reward distribution, sustainability proofs, app submission, governance, VeVote, quadratic funding, B3MO Quests, and navigators.

    450 GitHub stars~1.1k tokensUpdated 2 mo ago
    Auto-check passed
  • Vechain Core

    vechain/x-app-template

    Core VeChain development — SDK usage, fee delegation (VIP-191), multi-clause transactions, dual-token model, legacy migration, and general VeChainThor development patterns.

    450 GitHub stars~1.2k tokensUpdated 2 mo ago
    Auto-check passed

Works with

Questions about Translate

What does Translate do?

Manages translation files for react-i18next. An agent skill from vechain/x-app-template. Translate is an agent skill from vechain/x-app-template. Manages translation files for react-i18next.

When should I use Translate?

Translate fits situations like: tasks that involve Translation.

How do I install Translate in Claude Code?

Run `npx skills add vechain/x-app-template --skill translate -a claude-code`. Or copy the skill folder (.agents/skills/translate in vechain/x-app-template) into .claude/skills/translate in your project. Claude Code loads it when a task matches its description.

How do I install Translate in Codex?

Run `npx skills add vechain/x-app-template --skill translate -a codex`. Or copy the skill folder (.agents/skills/translate in vechain/x-app-template) into .agents/skills/translate in your project. Codex loads it when a task matches its description.

Can I use Translate in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add vechain/x-app-template --skill translate -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/translate, .gemini/skills/translate, .github/skills/translate and .opencode/skills/translate in your project.

What does Translate need to run?

Going by SKILL.md and its folder, Translate needs the command-line tools its instructions call (node). Our summary lists: Node.js.

Does Translate access the network?

SKILL.md names 1 domain. As links in the text: github.com. This is read from the text; nothing was executed.

Is Translate safe to install?

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.

What licence does Translate use?

Translate is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Translate use?

About 1.2k tokens (SKILL.md is roughly 4.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Translate?

Skills that share tags, products or a category with Translate: Technology Search (freestylefly/wesight, 944 stars), Manage Translations (graphif/project-graph, 4.5k stars), Cometchat React V7 Features (cometchat/cometchat-skills, 131 stars) and Lingui Best Practices (B0und/WikiSpeedrun, 133 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Translate?

vechain (a GitHub organization) maintains it in vechain/x-app-template, which has 450 GitHub stars. The repository holds 11 skills in this directory. The repository was last updated on July 20, 2026.

Source: vechain/x-app-template on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.