translate-code

Community

Translate code between Python, Stata, and R.

AuthorAndreaMentasti
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill automates the translation of analysis scripts between Python, Stata, and R, ensuring that the logic, output, and project conventions are preserved across languages.

Core Features & Use Cases

  • Faithful Translation: Converts code while maintaining identical logic, variable names, filters, transformations, and output structure.
  • Syntax and Boilerplate Handling: Adapts code to the specific syntax, paths, and standard boilerplate of the target language (Python, Stata, or R).
  • Use Case: You have a data analysis script in Python and need to port it to Stata for a colleague who primarily uses that language. This Skill will perform the conversion, ensuring the Stata script produces the same results and adheres to Stata's project conventions.

Quick Start

Use the translate-code skill to convert the file 'analysis.py' to R.

Dependency Matrix

Required Modules

None required

Components

scriptsreferences

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: translate-code
Download link: https://github.com/AndreaMentasti/tweet-election/archive/main.zip#translate-code

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.