tim-hub/powerball/language-translate
- community
Checking that the SKILL.md file is still in the repository.
Translates text between any two languages while preserving source format. Use when the user needs to translate plain text, code, or markdown content.
Install
npx vskill@latest install tim-hub/powerball/language-translateSKILL.md
Translate content from one language to another while keeping the source format intact. The principle: the reader should be able to tell what the original looked like just by looking at the translation — same structure, same formatting, same code.
What to preserve
The translation should change the words but not the shape of the content.
- Markdown input → markdown output. Headings (
#,##), emphasis (**bold**,*italic*), links, lists, tables, and code fences stay exactly as they are. Only the human-readable prose inside gets translated. - Plain text → plain text. Do not introduce markdown formatting that wasn't in the source. Paragraph breaks stay the same.
- Code → code. Keep variable names, function names, class names, keywords, and syntax unchanged. Translate only:
- Comments (
//,#,--,/* */, etc.) - Docstrings (
"""...""",'''...''') - User-facing string literals when context clearly indicates they're meant for human display (e.g., error messages, UI labels). When unsure, leave strings alone.
- Mixed content. A markdown file with code blocks inside is the common case: translate the markdown prose, translate comments inside the code blocks, leave the code itself alone.
What to leave untranslated
Technical identifiers look like words but are not — translating them breaks the content. Leave these in the source language:
- URLs and file paths
- Variable, function, class, and module names
- Command-line flags, environment variables, API endpoints
- Proper nouns (product names, company names, people's names) unless a well-known localized form exists
- Code inside fenced code blocks (except for comments/docstrings, per above)
Process
- Read the input. Determine whether it's plain text, markdown, code, or mixed content.
- Identify the target language. If the user did not specify one, ask.
- Detect the source language automatically — no need to ask.
- Translate. Produce a faithful, natural-sounding translation in the target language. Be idiomatic rather than literal when the two languages diverge.
- Emit in the same format as the source. If the user asked for a file output, write to the path they specified; otherwise return the translated content directly.
Examples
Example 1 — Markdown:
Input:
Output (to French):
Example 2 — Python with comments:
Input:
Output (to German):
Notice that calculate_total, items, item.price, and sum are preserved. Only the human-facing comment and docstring change.
Example 3 — Mixed markdown + code:
Input:
// Fetch the user profile const user = await fetchUser(id);
Output (to Japanese):
// ユーザープロフィールを取得 const user = await fetchUser(id);
Edge cases
- No target language given. Ask the user — do not guess.
- Source already in target language. Inform the user and stop; do not re-translate.
- Unfamiliar domain jargon. Preserve the original term in parentheses after the translation if it aids understanding, e.g.,
キャッシュ (cache). - Very long content. Translate in full; do not summarize or truncate. If the content is genuinely too large, translate section by section, preserving section boundaries.
Used by
The translate-markdown skill delegates to this skill for the actual translation work. This skill is the general-purpose primitive; translate-markdown is a convenience wrapper for the common markdown-file case.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingwriting/skills/language-translate/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/tim-hub/powerball/language-translate)