Token导航 LogoToken导航TokenDH.com
研究检索执行命令github未标认证来源可访问clear审计通过

skill-i18n国际化技能

Agent Skill

skill-i18n 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

760

周安装

32

GitHub Stars

236

下载量

266
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:skill-i18n(国际化技能)
来源仓库:https://github.com/guo-yu/skills
仓库路径:skills/skill-i18n
安装命令:
npx skills add https://github.com/guo-yu/skills --skill skill-i18n
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/guo-yu/skills --skill skill-i18n

简介

skill-i18n 用于查找、检索和筛选相关信息,适合在多语言或国际化内容管理中提供支持。

  • 可根据语言标签、区域或关键词筛选内容,提升本地化信息处理效率。
  • 通过 npx skills add 命令从 GitHub 仓库安装,需确认仓库路径与访问权限。
  • 使用前建议检查维护状态,避免依赖已失效或存在兼容性问题功能。
  • 注意是否涉及外部翻译服务调用,确保符合本地网络与权限策略。

SKILL.md

Skill i18n

Translate skill documentation files (SKILL.md, README.md) into multiple languages, making it easier to share skills with international users.

Usage

CommandDescription
/skill-i18nTranslate files in current skill directory
/skill-i18n <skill-name>Translate files for specified skill
/skill-i18n configConfigure default languages and file types
/skill-i18n --lang zh-CN,jaTranslate to specified languages (for integration)
/skill-i18n --files SKILL.md,README.mdTranslate specified files

Supported Languages

LanguageCodeOutput File
简体中文zh-CNSKILL.zh-CN.md
日本語jaSKILL.ja.md
한국어koSKILL.ko.md
EspañolesSKILL.es.md
CustomUser-definedSKILL.<code>.md

Configuration

All settings are stored in ~/.claude/skill-i18n-config.json:

{
  "default_languages": ["zh-CN", "ja"],
  "default_files": ["SKILL.md"],
  "skills_config": {
    "port-allocator": {
      "languages": ["zh-CN", "ja", "ko"],
      "files": ["SKILL.md", "README.md"]
    }
  }
}

Configuration Fields:

FieldDescriptionDefault
default_languagesLanguages to translate by default["zh-CN", "ja"]
default_filesFiles to translate by default["SKILL.md"]
skills_configPer-skill configuration{}

Execution Steps

Command: /skill-i18n

Translate files in current skill directory:

  1. Detect current directory # Check if current directory contains SKILL.md if [! -f SKILL.md]; then echo "Error: SKILL.md not found in current directory" exit 1 fi
  2. Load configuration # Read config file CONFIG=$(cat ~/.claude/skill-i18n-config.json 2>/dev/null || echo '{}') # Get skill name from directory SKILL_NAME=$(basename "$(pwd)") # Check for skill-specific config SKILL_CONFIG=$(echo "$CONFIG" | jq -r ".skills_config[\"$SKILL_NAME\"] // null")
  3. First-run selection (if no config) If no configuration exists for this skill, show TUI selection: {"questions": [{"question": "Which languages should be generated?", "header": "Languages", "multiSelect": true, "options": [{"label": "简体中文 (zh-CN)", "description": "Simplified Chinese"}, {"label": "日本語 (ja)", "description": "Japanese"}, {"label": "한국어 (ko)", "description": "Korean"}, {"label": "Español (es)", "description": "Spanish"}]}, {"question": "Which files should be translated?", "header": "Files", "multiSelect": true, "options": [{"label": "SKILL.md", "description": "Skill documentation (recommended)"}, {"label": "README.md", "description": "Repository readme"}]}]}
  4. Save configuration # Save selection to config for future runs jq --arg skill "$SKILL_NAME" \ --argjson langs '["zh-CN", "ja"]' \ --argjson files '["SKILL.md"]' \ '.skills_config[$skill] = {"languages": $langs, "files": $files}' \ ~/.claude/skill-i18n-config.json > tmp.json && mv tmp.json ~/.claude/skill-i18n-config.json
  5. Execute translation

- For each selected file and language, generate translation - See "Translation Rules" section below

Command: /skill-i18n <skill-name>

Translate files for specified skill:

  1. Search skill location # Search in common locations SKILL_PATH="" # Check ~/.claude/skills/ if [-d ~/.claude/skills/"$SKILL_NAME"]; then SKILL_PATH=~/.claude/skills/"$SKILL_NAME" fi # Check code repository (if configured) if [-z "$SKILL_PATH"] && [-d ~/Codes/skills/"$SKILL_NAME"]; then SKILL_PATH=~/Codes/skills/"$SKILL_NAME" fi if [-z "$SKILL_PATH"]; then echo "Error: Skill '$SKILL_NAME' not found" exit 1 fi
  2. Execute translation (same as default command)

Command: /skill-i18n config

Configure default settings:

  1. Show current configuration echo "Current configuration:" cat ~/.claude/skill-i18n-config.json | jq.
  2. Interactive configuration via AskUserQuestion {"questions": [{"question": "Select default languages for new skills:", "header": "Defaults", "multiSelect": true, "options": [{"label": "简体中文 (zh-CN)", "description": "Simplified Chinese"}, {"label": "日本語 (ja)", "description": "Japanese"}, {"label": "한국어 (ko)", "description": "Korean"}, {"label": "Español (es)", "description": "Spanish"}]}]}
  3. Update configuration file

Command-Line Flags

For integration with other skills (e.g., share-skill):

FlagDescriptionExample
--lang <codes>Comma-separated language codes--lang zh-CN,ja,ko
--files <names>Comma-separated file names--files SKILL.md,README.md
--skill <name>Target skill name--skill port-allocator
--no-promptSkip TUI, use flags/config directlyFor automated workflows
--overwriteOverwrite existing translationsSkip confirmation

Priority order:

  1. Command-line flags (highest priority)
  2. Skill-specific config in skills_config
  3. Global default_languages and default_files
  4. Interactive TUI selection (if no config exists)

Example integration:

# share-skill calls skill-i18n internally
/skill-i18n --lang zh-CN,ja --files SKILL.md --skill port-allocator --no-prompt

Translation Rules

Preserve Unchanged

These elements must NOT be translated:

  • Code blocks (bash,json, etc.)
  • File paths (~/.claude/settings.json, ~/Codes/skills/)
  • Command names (/port-allocator, /skill-i18n, git push)
  • Technical identifiers (variable names, JSON keys)
  • URLs and links

Translate Naturally

  • Adapt sentence structure to target language
  • Use appropriate formality level:

- Japanese: Polite form (です/ます) - Chinese: Standard written form - Korean: Polite form (합니다/습니다) - Spanish: Formal usted form

  • Localize examples where appropriate

Frontmatter Handling

---
name: port-allocator          # Keep unchanged (identifier)
description: Translate this   # Translate to target language
---

Style Adaptation

Different languages may use different visual styles:

LanguageEmoji UsageExample
Chinese (zh-CN)Common✅ 正确 / ❌ 错误
Japanese (ja)Minimal正しい / 間違い
Korean (ko)Moderate✅ 올바름 / ❌ 잘못됨
Spanish (es)MinimalCorrecto / Incorrecto

Follow existing translation patterns in the project if available.

Output Format

Translation Success

Translation complete

Skill: port-allocator
Source: SKILL.md

Generated:
  - SKILL.zh-CN.md (简体中文)
  - SKILL.ja.md (日本語)

Config saved for: port-allocator
Next run will auto-translate to: zh-CN, ja

Existing Files Detected

Existing translations detected:
  - SKILL.zh-CN.md (modified 2 days ago)
  - SKILL.ja.md (modified 2 days ago)

Options:
  [ ] Overwrite all
  [ ] Skip existing
  [ ] Select individually

Configuration Saved

Configuration updated

Default languages: zh-CN, ja
Default files: SKILL.md

Skill-specific config:
  port-allocator: zh-CN, ja, ko (SKILL.md, README.md)
  share-skill: zh-CN, ja (SKILL.md)

Integration with share-skill

skill-i18n integrates with share-skill for documentation generation:

# share-skill docs with i18n
/share-skill docs --i18n

# This internally calls:
/skill-i18n --lang <configured-langs> --files SKILL.md --no-prompt

When share-skill detects --i18n flag:

  1. Check if skill-i18n is available
  2. Load language configuration
  3. Call skill-i18n to generate translations
  4. Include translated files in documentation site

Notes

  1. Source file safety - Never overwrite the source SKILL.md file
  2. First-run prompt - First translation requires language selection
  3. Per-skill config - Different skills can have different language settings
  4. Incremental updates - Only translate when source file is newer than translations
  5. Integration-friendly - Command-line flags allow other skills to call skill-i18n

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Claude Code

29.1%
按下载量换算77

Antigravity

24.15%
按下载量换算64

Codex

17.7%
按下载量换算47

OpenCode

13.5%
按下载量换算36

Gemini CLI

8.8%
按下载量换算23

windsurf

3.31%
按下载量换算9

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/guo-yu/skills --skill skill-i18n;npx skills add guo-yu/skills --skill "skill-i18n" 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。

来源信息

继续浏览同类 Skills