Translate source code between programming languages at function, class, and module levels while preserving behavior and generating verification tests. Use when translating code from one language to another (e.g., "translate this Python module to JavaScript", "convert this Java class to C#", "port this code to Go and generate tests"), migrating codebases between languages, or creating equivalent implementations across different technology stacks. Handles idiom adaptation, standard library mappings, and test generation.
89
85%
Does it follow best practices?
Impact
96%
1.03xAverage score across 3 eval scenarios
Risky
Do not use without reviewing
Python to Go translation with idiom adaptation
Structs with receiver methods
100%
100%
Error return values
100%
100%
Explicit loops instead of comprehensions
100%
100%
Go naming conventions
100%
100%
Go test package used
100%
100%
Error handling pattern
100%
100%
Stdlib mapping: file and JSON
100%
100%
Tests cover edge cases
100%
100%
Translation Summary: Mappings section
80%
100%
Translation Summary: Transformations section
80%
100%
Python to TypeScript translation with decorator and type handling
snake_case to camelCase
100%
100%
Comprehension to map/filter
0%
0%
Decorator to higher-order function
100%
100%
TypeScript type annotations
100%
100%
async/await preserved
100%
100%
aiohttp mapped to fetch
100%
100%
Jest test structure
100%
100%
Tests cover edge cases
100%
100%
Translation Summary: Mappings section
70%
100%
Translation Summary: Transformations section
80%
90%
Java to C# translation with collections and property migration
PascalCase method names
100%
100%
C# auto-properties
100%
100%
ArrayList to List<T>
100%
100%
HashMap to Dictionary<K,V>
100%
100%
LINQ instead of Streams
100%
100%
@FunctionalInterface to delegate/Func
100%
100%
@Override documented or converted
100%
100%
C# test framework used
100%
100%
Translation Summary: Mappings section
100%
100%
Translation Summary: Transformations section
100%
100%
0f00a4f
Table of Contents
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.