skills/skills.volces.com/python-to-go-converter

python-to-go-converter

SKILL.md

SKILL.md — Python to Go Converter

Overview

This skill automatically converts Python source code to idiomatic, compilable Go code. It handles type mappings, import translations, and produces clean Go output suitable for performance-critical applications.

Capabilities

  • Convert Python source files to Go with preserved functionality
  • Intelligent Python-to-Go type mapping (int, str, list, dict, classes, etc.)
  • Translate common Python standard library imports to Go equivalents
  • Generate properly formatted Go code with comments
  • Provide detailed error diagnostics for unsupported Python features
  • CLI interface for batch conversion and agent integration
  • Support for functions, classes, control flow, and basic data structures

Installation

The skill is installed as part of an OpenClaw skill package. Ensure dependencies are met (Python 3.8+, go compiler in PATH).

Installs
10
First Seen
Apr 9, 2026