skill-i18n
SKILL.mdやREADME.mdファイルを多言語に翻訳することで、あなたのスキルを世界中の人々に共有し、国際的なビジネスチャンスを広げるのを支援するSkill。
📜 元の英語説明(参考)
Translate SKILL.md and README.md files into multiple languages for sharing skills internationally
🇯🇵 日本人クリエイター向け解説
SKILL.mdやREADME.mdファイルを多言語に翻訳することで、あなたのスキルを世界中の人々に共有し、国際的なビジネスチャンスを広げるのを支援するSkill。
※ jpskill.com 編集部が日本のビジネス現場向けに補足した解説です。Skill本体の挙動とは独立した参考情報です。
下記のコマンドをコピーしてターミナル(Mac/Linux)または PowerShell(Windows)に貼り付けてください。 ダウンロード → 解凍 → 配置まで全自動。
mkdir -p ~/.claude/skills && cd ~/.claude/skills && curl -L -o skill-i18n.zip https://jpskill.com/download/19193.zip && unzip -o skill-i18n.zip && rm skill-i18n.zip
$d = "$env:USERPROFILE\.claude\skills"; ni -Force -ItemType Directory $d | Out-Null; iwr https://jpskill.com/download/19193.zip -OutFile "$d\skill-i18n.zip"; Expand-Archive "$d\skill-i18n.zip" -DestinationPath $d -Force; ri "$d\skill-i18n.zip"
完了後、Claude Code を再起動 → 普通に「動画プロンプト作って」のように話しかけるだけで自動発動します。
💾 手動でダウンロードしたい(コマンドが難しい人向け)
- 1. 下の青いボタンを押して
skill-i18n.zipをダウンロード - 2. ZIPファイルをダブルクリックで解凍 →
skill-i18nフォルダができる - 3. そのフォルダを
C:\Users\あなたの名前\.claude\skills\(Win)または~/.claude/skills/(Mac)へ移動 - 4. Claude Code を再起動
⚠️ ダウンロード・利用は自己責任でお願いします。当サイトは内容・動作・安全性について責任を負いません。
🎯 このSkillでできること
下記の説明文を読むと、このSkillがあなたに何をしてくれるかが分かります。Claudeにこの分野の依頼をすると、自動で発動します。
📦 インストール方法 (3ステップ)
- 1. 上の「ダウンロード」ボタンを押して .skill ファイルを取得
- 2. ファイル名の拡張子を .skill から .zip に変えて展開(macは自動展開可)
- 3. 展開してできたフォルダを、ホームフォルダの
.claude/skills/に置く- · macOS / Linux:
~/.claude/skills/ - · Windows:
%USERPROFILE%\.claude\skills\
- · macOS / Linux:
Claude Code を再起動すれば完了。「このSkillを使って…」と話しかけなくても、関連する依頼で自動的に呼び出されます。
詳しい使い方ガイドを見る →- 最終更新
- 2026-05-18
- 取得日時
- 2026-05-18
- 同梱ファイル
- 1
📖 Skill本文(日本語訳)
※ 原文(英語/中国語)を Gemini で日本語化したものです。Claude 自身は原文を読みます。誤訳がある場合は原文をご確認ください。
Skill i18n
スキル文書ファイル(SKILL.md、README.md)を多言語に翻訳し、国際的なユーザーとスキルを共有しやすくします。
使用方法
| コマンド | 説明 |
|---|---|
/skill-i18n |
現在のスキルディレクトリ内のファイルを翻訳します |
/skill-i18n <skill-name> |
指定されたスキルのファイルを翻訳します |
/skill-i18n config |
デフォルトの言語とファイルタイプを設定します |
/skill-i18n --lang zh-CN,ja |
指定された言語に翻訳します(統合用) |
/skill-i18n --files SKILL.md,README.md |
指定されたファイルを翻訳します |
サポートされている言語
| 言語 | コード | 出力ファイル |
|---|---|---|
| 简体中文 | zh-CN |
SKILL.zh-CN.md |
| 日本語 | ja |
SKILL.ja.md |
| 한국어 | ko |
SKILL.ko.md |
| Español | es |
SKILL.es.md |
| Custom | ユーザー定義 | SKILL.<code>.md |
設定
すべての設定は ~/.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"]
}
}
}
設定フィールド:
| フィールド | 説明 | デフォルト |
|---|---|---|
default_languages |
デフォルトで翻訳する言語 | ["zh-CN", "ja"] |
default_files |
デフォルトで翻訳するファイル | ["SKILL.md"] |
skills_config |
スキルごとの設定 | {} |
実行ステップ
コマンド: /skill-i18n
現在のスキルディレクトリ内のファイルを翻訳します。
-
現在のディレクトリを検出
# 現在のディレクトリに SKILL.md が含まれているか確認 if [ ! -f SKILL.md ]; then echo "Error: SKILL.md not found in current directory" exit 1 fi -
設定をロード
# 設定ファイルを読み込む CONFIG=$(cat ~/.claude/skill-i18n-config.json 2>/dev/null || echo '{}') # ディレクトリからスキル名を取得 SKILL_NAME=$(basename "$(pwd)") # スキル固有の設定を確認 SKILL_CONFIG=$(echo "$CONFIG" | jq -r ".skills_config[\"$SKILL_NAME\"] // null") -
初回実行時の選択(設定がない場合)
このスキルに設定が存在しない場合、TUI選択を表示します。
{ "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" } ] } ] } -
設定を保存
# 今後の実行のために選択内容を設定に保存 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 -
翻訳を実行
- 選択されたファイルと各言語について、翻訳を生成します。
- 以下の「翻訳ルール」セクションを参照してください。
コマンド: /skill-i18n <skill-name>
指定されたスキルのファイルを翻訳します。
-
スキルロケーションを検索
# 一般的な場所を検索 SKILL_PATH="" # ~/.claude/skills/ を確認 if [ -d ~/.claude/skills/"$SKILL_NAME" ]; then SKILL_PATH=~/.claude/skills/"$SKILL_NAME" fi # コードリポジトリを確認(設定されている場合) 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 -
翻訳を実行(デフォルトコマンドと同じ)
コマンド: /skill-i18n config
デフォルト設定を構成します。
-
現在の設定を表示
echo "Current configuration:" cat ~/.claude/skill-i18n-config.json | jq . -
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" } ] } ] } -
設定ファイルを更新
コマンドラインフラグ
他のスキル(例: share-skill)との統合用です。
| フラグ | 説明 | 例 |
|---|---|---|
--lang <codes> |
コンマ区切りの言語コード | --lang zh-CN,ja,ko |
--files <names> |
コンマ区切りのファイル名 | --files SKILL.md,README.md |
--skill <name> |
ターゲットスキル名 | --skill port-allocator |
--no-prompt |
TUIをスキップし、フラグ/設定を直接使用 | 自動化されたワークフロー用 |
--overwrite |
既存の翻訳を上書き | 確認をスキップ |
優先順位:
- コマンドラインフラグ(最優先)
skills_config内のスキル固有の設定- グローバルな
default_languagesおよびdefault_files - 対話型TUI選択(設定が存在しない場合)
統合例:
# share-skill は内部で skill-i18n を呼び出します
/skill-i18n --lang zh-CN,ja --files SKILL.md --skill port-allocator --no-prompt
翻訳ルール
変更せずに保持
これらの要素は翻訳してはなりません。
- コードブロック (
bash,json など) - ファイルパス
📜 原文 SKILL.md(Claudeが読む英語/中国語)を展開
Skill i18n
Translate skill documentation files (SKILL.md, README.md) into multiple languages, making it easier to share skills with international users.
Usage
| Command | Description |
|---|---|
/skill-i18n |
Translate files in current skill directory |
/skill-i18n <skill-name> |
Translate files for specified skill |
/skill-i18n config |
Configure default languages and file types |
/skill-i18n --lang zh-CN,ja |
Translate to specified languages (for integration) |
/skill-i18n --files SKILL.md,README.md |
Translate specified files |
Supported Languages
| Language | Code | Output File |
|---|---|---|
| 简体中文 | zh-CN |
SKILL.zh-CN.md |
| 日本語 | ja |
SKILL.ja.md |
| 한국어 | ko |
SKILL.ko.md |
| Español | es |
SKILL.es.md |
| Custom | User-defined | SKILL.<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:
| Field | Description | Default |
|---|---|---|
default_languages |
Languages to translate by default | ["zh-CN", "ja"] |
default_files |
Files to translate by default | ["SKILL.md"] |
skills_config |
Per-skill configuration | {} |
Execution Steps
Command: /skill-i18n
Translate files in current skill directory:
-
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 -
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") -
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" } ] } ] } -
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 -
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:
-
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 -
Execute translation (same as default command)
Command: /skill-i18n config
Configure default settings:
-
Show current configuration
echo "Current configuration:" cat ~/.claude/skill-i18n-config.json | jq . -
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" } ] } ] } -
Update configuration file
Command-Line Flags
For integration with other skills (e.g., share-skill):
| Flag | Description | Example |
|---|---|---|
--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-prompt |
Skip TUI, use flags/config directly | For automated workflows |
--overwrite |
Overwrite existing translations | Skip confirmation |
Priority order:
- Command-line flags (highest priority)
- Skill-specific config in
skills_config - Global
default_languagesanddefault_files - 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:
| Language | Emoji Usage | Example |
|---|---|---|
| Chinese (zh-CN) | Common | ✅ 正确 / ❌ 错误 |
| Japanese (ja) | Minimal | 正しい / 間違い |
| Korean (ko) | Moderate | ✅ 올바름 / ❌ 잘못됨 |
| Spanish (es) | Minimal | Correcto / 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:
- Check if skill-i18n is available
- Load language configuration
- Call skill-i18n to generate translations
- Include translated files in documentation site
Notes
- Source file safety - Never overwrite the source
SKILL.mdfile - First-run prompt - First translation requires language selection
- Per-skill config - Different skills can have different language settings
- Incremental updates - Only translate when source file is newer than translations
- Integration-friendly - Command-line flags allow other skills to call skill-i18n