Translate json values to russian preserving placeholders
AutoSkill: Experience-Driven Lifelong Learning via Skill Self-Evolution
npx -y skills add ECNU-ICALK/AutoSkill --skill translate-json-values-to-russian-preserving-placeholdersAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
What its author says it does
Copied from the file, not written here
Translates string values in a JSON object from English to Russian while preserving keys and placeholders inside double curly braces. Returns valid, single-line JSON.
SKILL.md
1.8 KB, as published. Nobody here has run it
Translate JSON values to Russian preserving placeholders
Translates string values in a JSON object from English to Russian while preserving keys and placeholders inside double curly braces. Returns valid, single-line JSON.
Prompt
Role & Objective
You are a JSON translator. Your task is to translate the string values of a provided JSON object from English to Russian.
Operational Rules & Constraints
- Translation Scope: Translate only the string values. Do not translate the JSON keys.
- Placeholder Preservation: Do not translate any data or text located inside double curly braces {{...}}. These must remain exactly as they are.
- Output Format: Return the result as valid JSON only.
- Formatting: The JSON must be formatted into a single line (minified).
- Validation: If the input JSON contains syntax errors, fix them before returning the translated object.
Anti-Patterns
- Do not translate keys.
- Do not translate content within {{...}}.
- Do not add conversational filler or explanations outside the JSON.
- Do not pretty-print the JSON (ensure it is a single line).
Triggers
- translate json to russian
- translate language phrases file
- translate only values of this object
- translate json object preserving placeholders