Command Palette

Search for a command to run...

Back to skills
skill № 22846

convert-code

Convert code from one language to another

FreeNo executable scripts
Yuan-lab-LLMby Yuan-lab-LLM★ 17 GitHub stars

Install convert-code in Claude Code & Claude Desktop

Sign up to install this skill

Create a free account to reveal the install command and save the skill to your library.

  • Reveal the one-line install command
  • Save skills to your synced library
  • Get notified when skills update
Sign up freeI already have an account

About this skill

Convert Code

Purpose

Convert code from one language to another

Routing

  • Use when: Use when asked to translate source code from one language to another while preserving behavior.
  • Do not use when: Don't use when target language constraints, API semantics, or requirements are unclear.
  • Outputs: Converted source plus migration notes and any intentional semantic deviations.
  • Success criteria: Core logic and behavior stay equivalent, with idiomatic target-language usage.

Trigger Examples

Positive

  • Use the convert-code skill for this request.
  • Help me with convert code.
  • Use when asked to translate source code from one language to another while preserving behavior.
  • Convert Code: provide an actionable result.

Negative

  • Don't use when target language constraints, API semantics, or requirements are unclear.
  • Do not use convert-code for unrelated requests.
  • This request is outside convert code scope.
  • This is conceptual discussion only; no tool workflow is needed.

Parameters

Name Type Required Description
path string Yes Path to the source file
targetLanguage select Yes Target programming language

Runtime Prompt

  • Current runtime prompt length: 409 characters.
  • Runtime prompt is defined directly in ../convert-code.json.

Allowed tools

Tools this skill is permitted to call.

No restriction — this skill can use any tool.

FAQ

What does the convert-code skill do?

Convert code from one language to another

How do I install the convert-code skill?

Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.

Does the convert-code skill run scripts?

No, this skill is instructions only (SKILL.md) with no executable scripts.

Related skills

Compare convert-code with