code-translation

Translate source code between Python, JavaScript/TypeScript, Java, Go, Rust, and C/C++.

142|14|Updated Feb 14, 2026
One-click install
npx skills add https://github.com/ArabelaTso/Skills-4-SE --skill code-translation-arabelatso
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: code-translation
Source: https://github.com/ArabelaTso/Skills-4-SE/tree/main/skills/code-translation
Command: npx skills add https://github.com/ArabelaTso/Skills-4-SE --skill code-translation-arabelatso

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill automates the conversion of source code from one programming language to another, ensuring functionality and semantic integrity are preserved.

Core Features & Use Cases

  • Cross-Language Code Conversion: Translate functions, classes, or entire modules between Python, JavaScript/TypeScript, Java, Go, Rust, and C/C++.
  • Project Migration: Assist in migrating legacy codebases to modern languages.
  • Idiomatic Translation: Ensures the translated code adheres to the conventions and best practices of the target language.
  • Use Case: You have a Python utility function that needs to be integrated into a Node.js backend; this Skill can translate it accurately.

Quick Start

Use the code-translation skill to convert the provided Python code snippet into idiomatic JavaScript.

Frequently Asked Questions about code-translation

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I translate Python code to JavaScript?

To translate Python code to JavaScript, this Skill automates cross-language conversion while preserving functionality and semantics. It ensures the translated output adheres to idiomatic JavaScript conventions and best practices.

Does code translation support migrating legacy codebases to Rust or Go?

Code translation supports migrating legacy codebases to Rust or Go by leveraging language-specific patterns and strategies. It facilitates direct translation and idiomatic adaptation for C/C++ and Java projects.

What is the best way to convert a Java class to idiomatic TypeScript?

The best way to convert a Java class to idiomatic TypeScript is using automated code translation that applies language-specific guides. This ensures semantic integrity while adapting the code to target language conventions.

Can I translate an entire module between C/C++ and Python?

You can translate an entire module between C/C++ and Python by applying the code migration functionality. It preserves the original semantics and leverages language-specific patterns for accurate cross-language conversion.

Why does the translated code follow specific programming language conventions?

Translated code follows specific programming language conventions because the Skill performs idiomatic adaptation. It leverages language-specific patterns, guides, and strategies to ensure the output matches the target language's best practices.