Agent skill

Check I18n Keys

by WrBug in WrBug/PolyHermes

检查前端多语言 key 完整性。当用户要求检查 i18n、多语言缺失、翻译 key 或运行 check-i18n 时使用。

MITAuto-check passedFrontend & Design

Install Check I18n Keys

skills CLI
$ npx skills add WrBug/PolyHermes --skill check-i18n-keys -a claude-code

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

GitHub CLI
$ gh skill install WrBug/PolyHermes check-i18n-keys --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/WrBug/PolyHermes.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.cursor/skills/frontend/check-i18n-keys .claude/skills/check-i18n-keys && 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
check-i18n-keys
GitHub stars
229
Token cost
~231 tokens
SKILL.md length
60 words
Files
6 (incl. scripts)
Skills in repo
2
Repo updated
First seen
Licence
MIT

At a glance

检查前端多语言 key 完整性。当用户要求检查 i18n、多语言缺失、翻译 key 或运行 check-i18n 时使用。

  • Works in 3 steps: 运行检查脚本(在项目仓库根目录下执行) → 脚本行为 → 结果处理
  • Tasks that involve Internationalization
  • SKILL.md covers 使用时机, 指令 and 可选目录说明
  • Runs TypeScript scripts from its folder; calls npm

What it does

Check I18n Keys is an agent skill from WrBug/PolyHermes. 检查前端多语言 key 完整性。当用户要求检查 i18n、多语言缺失、翻译 key 或运行 check-i18n 时使用。

Its SKILL.md is about 230 tokens, which your agent loads only when the skill is triggered. The skill folder holds 6 other files, including scripts (for example `scripts/check-i18n-keys.ts`, `scripts/package-lock.json` and `scripts/package.json`).

It sits in Frontend & Design, covering Internationalization. The repository describes itself as: 一个功能强大的 Polymarket 预测市场跟单交易系统,支持自动化跟单、多账户管理、实时订单推送和统计分析。 The licence is MIT.

When your agent uses it

  • Tasks that involve Internationalization

Example prompts

  • “/check-i18n-keys”

Requirements

  • Node.js

Workflow steps

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

  1. 运行检查脚本(在项目仓库根目录下执行)
  2. 脚本行为
  3. 结果处理

What it can do on your machine

Read from SKILL.md and the folder at commit 1087591. 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

    Ships 5 files in scripts/ (TypeScript), which the agent can run.

    Shell commands in SKILL.md call:

    • npm

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

  • Network

    No URLs in SKILL.md. Its commands use npm, which can reach the network depending on how they are called.

    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

Check I18n Keys loads about 231 tokens when it runs. Until then it costs about 19 tokens; SKILL.md has 60 words of instructions outside code blocks.

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

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); the scripts in this folder are not scanned.

SKILL.md

The full file from WrBug/PolyHermes at commit 1087591, republished under its MIT licence (© WrBug). 60 words, ~231 tokens.

Download SKILL.mdSave it as .claude/skills/check-i18n-keys/SKILL.md (or your agent's skills folder). This skill also uses 5 other files; get the full folder from GitHub.
name
check-i18n-keys
description
检查前端多语言 key 完整性。当用户要求检查 i18n、多语言缺失、翻译 key 或运行 check-i18n 时使用。

Check I18n Keys

检查前端代码中使用的 i18n key 是否在所有语言文件(zh-CN、zh-TW、en)中存在,并报告缺失或语言间不一致的 key。

使用时机

  • 用户要求「检查多语言」「检查 i18n」「扫一下 key」「多语言缺失」时
  • 用户要求运行多语言检查或执行 check-i18n 时
  • 在修改或新增前端文案后,需要确认三语言 key 一致时

指令

  1. 运行检查脚本(在项目仓库根目录下执行):

    bash
    cd .cursor/skills/frontend/check-i18n-keys/scripts && npm install && npm run check-i18n

    首次运行需先 npm install,之后可直接 npm run check-i18n。

  2. 脚本行为:

    • 扫描 frontend/ 下所有 .ts、.tsx、.js、.jsx(排除 node_modules、dist、build、*.d.ts)
    • 提取代码中 t('key') / t("key") 的 key
    • 与 frontend/src/locales/{zh-CN,zh-TW,en}/common.json 对比
    • 报告:代码中使用但某语言 JSON 缺失的 key;某语言有而另一语言没有的 key(不一致)
  3. 结果处理:

    • 若有缺失或不一致,退出码为 1;可根据报告在对应 common.json 中补全 key
    • 脚本路径:scripts/check-i18n-keys.ts(相对本 skill 根目录)

可选目录说明

  • scripts/:可执行检查脚本,Agent 按上述命令调用。

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

Files

SKILL.md and 5 other files (scripts) in .cursor/skills/frontend/check-i18n-keys of WrBug/PolyHermes.

  • SKILL.md
  • scripts/.gitignore
  • scripts/check-i18n-keys.ts
  • scripts/package-lock.json
  • scripts/package.json
  • scripts/tsconfig.json

Open the folder on GitHubat commit 1087591

Compare with similar skills

Check I18n Keys 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.

Check I18n Keys compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Check I18n Keys this skillWrBug/PolyHermes229—~231Automated safety check: PassMIT
Impeccablebestofjs/bestofjs3.1k27 repos~2.6kAutomated safety check: PassMIT
Chatbox i18n Translatorchatboxai/chatbox42k—~508Automated safety check: PassGPL-3.0
Internationalization Workflow with i18niOfficeAI/AionUi33k1 repos~1.9kAutomated safety check: PassApache-2.0
Enforce Rules For I18nmoeru-ai/airi50k—~1.5kAutomated safety check: PassMIT
Claude Desktop Chinese Localizationjavaht/claude-desktop-zh-cn7.5k—~1.6kAutomated safety check: PassMIT

Similar skills

  • Impeccable

    bestofjs/bestofjs

    A skill your agent uses when the user wants to design, redesign, shape, critique, audit, polish, clarify, distill, harden, optimize, adapt, animate, colorize, extract, or otherwise improve a…

    3.1k GitHub starsUsed in 27 repos~2.6k tokens
    Frontend & DesignAuto-check passed
  • Chatbox i18n Translator

    chatboxai/chatbox

    Translates new or changed i18n keys from a Chatbox Pro diff, staged changes or a commit range, writing the locale JSON files directly with a built-in glossary.

    42k GitHub stars~508 tokensUpdated 15 days ago
    Frontend & DesignAuto-check passed
  • Standards for keeping all user-facing text translatable: read the i18n config first, use namespaced keys, reuse shared strings and follow the key naming rules.

    33k GitHub starsUsed in 1 repo~1.9k tokens
    Frontend & DesignAuto-check passed
  • Review pending AIRI translations on Crowdin in a batch, then sync them into the repository.

    50k GitHub stars~1.5k tokensUpdated today
    Frontend & DesignAuto-check passed
  • Claude Desktop Chinese Localization

    javaht/claude-desktop-zh-cn

    Adds missing Simplified and Traditional Chinese translations to the Claude Desktop Chinese patch across three layers, then checks how many mappings actually hit.

    7.5k GitHub stars~1.6k tokensUpdated 4 days ago
    Frontend & DesignAuto-check passed
  • Taro UI Guide

    jd-opensource/taro-ui

    Guides installing, configuring, styling and using taro-ui (At* components) in Taro apps for WeChat, Alipay, H5 and React Native.

    4.7k GitHub stars~1.3k tokensUpdated 14 days ago
    Frontend & DesignAuto-check passed

More from WrBug/PolyHermes

  • Create Release

    WrBug/PolyHermes

    创建 PolyHermes 项目的 GitHub Release。当用户要求发布版本、创建 release、打 tag 或发布新版本时使用。

    229 GitHub stars~1.3k tokensUpdated 4 mo ago
    Auto-check passed

Questions about Check I18n Keys

What does Check I18n Keys do?

检查前端多语言 key 完整性。当用户要求检查 i18n、多语言缺失、翻译 key 或运行 check-i18n 时使用。. Check I18n Keys is an agent skill from WrBug/PolyHermes.

When should I use Check I18n Keys?

Check I18n Keys fits situations like: tasks that involve Internationalization.

How do I install Check I18n Keys in Claude Code?

Run `npx skills add WrBug/PolyHermes --skill check-i18n-keys -a claude-code`. Or copy the skill folder (.cursor/skills/frontend/check-i18n-keys in WrBug/PolyHermes) into .claude/skills/check-i18n-keys in your project. Claude Code loads it when a task matches its description.

How do I install Check I18n Keys in Codex?

Run `npx skills add WrBug/PolyHermes --skill check-i18n-keys -a codex`. Or copy the skill folder (.cursor/skills/frontend/check-i18n-keys in WrBug/PolyHermes) into .agents/skills/check-i18n-keys in your project. Codex loads it when a task matches its description.

Can I use Check I18n Keys 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 WrBug/PolyHermes --skill check-i18n-keys -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/check-i18n-keys, .gemini/skills/check-i18n-keys, .github/skills/check-i18n-keys and .opencode/skills/check-i18n-keys in your project.

What does Check I18n Keys need to run?

Going by SKILL.md and its folder, Check I18n Keys needs TypeScript for the scripts in its folder and the command-line tools its instructions call (npm). Our summary lists: Node.js.

Does Check I18n Keys access the network?

SKILL.md contains no URLs. Its commands use npm, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Check I18n Keys 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. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Check I18n Keys use?

Check I18n Keys is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Check I18n Keys use?

About 231 tokens (SKILL.md is roughly 924 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 Check I18n Keys?

Skills that share tags, products or a category with Check I18n Keys: Impeccable (bestofjs/bestofjs, 3.1k stars), Chatbox i18n Translator (chatboxai/chatbox, 42k stars), Internationalization Workflow with i18n (iOfficeAI/AionUi, 33k stars) and Enforce Rules For I18n (moeru-ai/airi, 50k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Check I18n Keys?

WrBug (a GitHub user) maintains it in WrBug/PolyHermes, which has 229 GitHub stars. The repository holds 2 skills in this directory. The repository was last updated on May 26, 2026.

Source: WrBug/PolyHermes on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.