Agent skill

I18n

by Pixeval in Pixeval/Pixeval

Pixeval 国际化资源维护规范,涵盖用户可见字符串、JSON/Markdown 资源、XAML/C 引用、非默认语言增删规则以及 Language.tt 生成验证。Use when adding, moving, removing, or changing localized text in Pixeval.

GPL-3.0Auto-check passedFrontend & Design

Install I18n

skills CLI
$ npx skills add Pixeval/Pixeval --skill i18n -a claude-code

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

GitHub CLI
$ gh skill install Pixeval/Pixeval i18n --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/Pixeval/Pixeval.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/i18n .claude/skills/i18n && 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
i18n
GitHub stars
3.2k
Token cost
~349 tokens
SKILL.md length
62 words
Files
1
Skills in repo
5
Repo updated
First seen
Licence
GPL-3.0

At a glance

Pixeval 国际化资源维护规范,涵盖用户可见字符串、JSON/Markdown 资源、XAML/C 引用、非默认语言增删规则以及 Language.tt 生成验证。Use when adding, moving, removing, or changing localized text in Pixeval.

  • Works in 6 steps: 使用 rg 搜索待修改的旧资源键、硬编码文本和所有语言文件中的对应条目。 → 将通用文案放入默认语言下合适的共享资源文件,只在 zh-Hans… → 更新 XAML 和 C# 引用,使用生成的 *Resources 常量。 → …
  • Changing localized text in Pixeval
  • SKILL.md covers Rules, References and Workflow
  • Calls dotnet and git

What it does

I18n is an agent skill from Pixeval/Pixeval. Pixeval 国际化资源维护规范,涵盖用户可见字符串、JSON/Markdown 资源、XAML/C 引用、非默认语言增删规则以及 Language.tt 生成验证。Use when adding, moving, removing, or changing localized text in Pixeval.

Its SKILL.md is about 350 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 Frontend & Design, covering Internationalization. It works with C#. The repository describes itself as: Wow. Yet another Pixiv client! The licence is GPL-3.0.

When your agent uses it

  • Changing localized text in Pixeval
  • Tasks that involve Internationalization

Example prompts

  • “/i18n”

Workflow steps

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

  1. 使用 rg 搜索待修改的旧资源键、硬编码文本和所有语言文件中的对应条目。
  2. 将通用文案放入默认语言下合适的共享资源文件,只在 zh-Hans 新增或修改中文值,并在所有存在对应条目的非默认语言文件中删除该条目;若父对象因此为空则一并删除空对象。
  3. 更新 XAML 和 C# 引用,使用生成的 *Resources 常量。
  4. 运行 T4 重新生成语言资源类
  5. 校验所有修改过的 JSON 可以解析,并确认旧资源键和不应保留的硬编码文本不再被引用。运行最小相关验证
  6. 检查 git diff --check,只保留本次 i18n 变更和必要的生成文件变更。

What it can do on your machine

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

    • dotnet
    • git

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

  • Network

    No URLs in SKILL.md. Its commands use git, 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

I18n loads about 349 tokens when it runs. Until then it costs about 41 tokens; SKILL.md has 62 words of instructions outside code blocks.

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

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 Pixeval/Pixeval at commit 30f113f, republished under its GPL-3.0 licence (© Pixeval). 62 words, ~349 tokens.

Download SKILL.mdSave it as .claude/skills/i18n/SKILL.md (or your agent's skills folder).
name
i18n
description
Pixeval 国际化资源维护规范,涵盖用户可见字符串、JSON/Markdown 资源、XAML/C# 引用、非默认语言增删规则以及 Language.tt 生成验证。Use when adding, moving, removing, or changing localized text in Pixeval.

Pixeval i18n

维护 Pixeval 的用户可见文本时,遵循资源、引用、生成和验证的完整流程。

Rules

  • 将所有需要翻译的用户可见文本放入 src/Pixeval/i18n,只有不需要翻译的专有名词等可以保留为字面量。
  • 按语义选择资源文件,避免在页面资源中重复定义跨页面使用的文案。
  • 优先复用已有资源键。移动文案时删除旧键,不保留页面资源中的重复键或兼容别名。
  • 以 zh-Hans 作为默认语言和资源键来源。新增或迁移字符串时只在 zh-Hans 添加中文值。
  • 不要为 en-US、fr-FR、ru-RU 或其他非默认语言新增字符串、补翻译或创建缺失的资源文件。新增、修改、迁移或删除资源时,非默认语言只删除对应的资源条目;若父对象因此为空则一并删除空对象,保留无关的既有内容。
  • 不要手动编辑生成的 src/Pixeval/i18n/Language.cs。

References

在 C# 中通过生成的资源类获取文本:

csharp
I18NManager.GetResource(BlockedContentResources.BlockTag)

在 XAML 中通过 I18N 标记扩展引用资源:

xml
{I18N {x:Static pixeval:BlockedContentResources.BlockTag}}

不要把资源路径写成字符串,也不要使用未生成的裸资源名。

Workflow

  1. 使用 rg 搜索待修改的旧资源键、硬编码文本和所有语言文件中的对应条目。

  2. 将通用文案放入默认语言下合适的共享资源文件,只在 zh-Hans 新增或修改中文值,并在所有存在对应条目的非默认语言文件中删除该条目;若父对象因此为空则一并删除空对象。

  3. 更新 XAML 和 C# 引用,使用生成的 *Resources 常量。

  4. 运行 T4 重新生成语言资源类:

    powershell
    t4 src/Pixeval/i18n/Language.tt
  5. 校验所有修改过的 JSON 可以解析,并确认旧资源键和不应保留的硬编码文本不再被引用。运行最小相关验证:

    powershell
    dotnet build src/Pixeval/Pixeval.csproj --no-restore -v:minimal
    dotnet test src/Pixeval.Tests/Pixeval.Tests.csproj --no-restore -v:minimal
  6. 检查 git diff --check,只保留本次 i18n 变更和必要的生成文件变更。

© Pixeval, GPL-3.0. 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/i18n of Pixeval/Pixeval.

Open the folder on GitHubat commit 30f113f

Compare with similar skills

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

I18n compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
I18n this skillPixeval/Pixeval3.2k—~349Automated safety check: PassGPL-3.0
Localizationjame581/GodotPrompter792—~3.2kAutomated safety check: PassMIT
Translation Source SyncDevolutions/UniGetUI26k—~1.2kAutomated 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

Similar skills

  • Localization

    jame581/GodotPrompter

    A skill your agent uses when implementing localization (i18n/l10n) — TranslationServer, CSV/PO translation files, locale switching, RTL support, and pluralization in Godot 4.3+

    792 GitHub stars~3.2k tokensUpdated yesterday
    Frontend & DesignAuto-check passed
  • Translation Source Sync

    Devolutions/UniGetUI

    Synchronizes the UniGetUI English language file with source-code usage, identifies missing translation keys, removes unused entries, reports localization drift, and can reorder locale files to match…

    26k GitHub stars~1.2k tokensUpdated today
    Writing & ContentAuto-check passed
  • 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 13 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

More from Pixeval/Pixeval

  • Format Style

    Pixeval/Pixeval

    工程代码格式化风格指引

    3.2k GitHub stars~1.2k tokensUpdated yesterday
    Auto-check passed
  • Code Style

    Pixeval/Pixeval

    工程代码编写风格指引(不含简单的格式化风格)

    3.2k GitHub stars~730 tokensUpdated yesterday
    Auto-check passed
  • Pixeval MCP

    Pixeval/Pixeval

    Pixeval MCP 维护指南。仅当修订 MCP 功能相关时需要读取并遵守。

    3.2k GitHub stars~608 tokensUpdated yesterday
    Auto-check passed
  • Tools

    Pixeval/Pixeval

    代码工具选择

    3.2k GitHub stars~217 tokensUpdated yesterday
    Auto-check passed

Works with

Questions about I18n

What does I18n do?

Pixeval 国际化资源维护规范,涵盖用户可见字符串、JSON/Markdown 资源、XAML/C 引用、非默认语言增删规则以及 Language.tt 生成验证。Use when adding, moving, removing, or changing localized text in Pixeval. I18n is an agent skill from Pixeval/Pixeval.tt 生成验证。Use when adding, moving, removing, or changing localized text in Pixeval.

When should I use I18n?

I18n fits situations like: changing localized text in Pixeval; tasks that involve Internationalization.

How do I install I18n in Claude Code?

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

How do I install I18n in Codex?

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

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

What does I18n need to run?

Going by SKILL.md and its folder, I18n needs the command-line tools its instructions call (dotnet and git).

Does I18n access the network?

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

Is I18n 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 I18n use?

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

How many tokens does I18n use?

About 349 tokens (SKILL.md is roughly 1.4k 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 I18n?

Skills that share tags, products or a category with I18n: Localization (jame581/GodotPrompter, 792 stars), Translation Source Sync (Devolutions/UniGetUI, 26k stars), Impeccable (bestofjs/bestofjs, 3.1k stars) and Chatbox i18n Translator (chatboxai/chatbox, 42k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains I18n?

Pixeval (a GitHub organization) maintains it in Pixeval/Pixeval, which has 3,163 GitHub stars. The repository holds 5 skills in this directory. The repository was last updated on October 6, 2026.

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