CLSkills
💻/convert

Rewrites code in another language idiomatically — not transliterated.

Category: Coding & Technical

Before / After

Without /convert

Convert this Python to Go.

With /convert

/convert [paste Python] → Go

What changes in Claude's response

Most conversion prompts produce Python written in Go syntax — exceptions become panics, comprehensions become for loops with append, classes become structs with methods. /convert produces actual Go: errors as return values, channels for the things that should be channels, no unnecessary pointers. The output reads like a Go developer wrote it, not a Python developer typing slowly.

When NOT to use /convert

Skip /convert for languages where you don't know the idioms — you won't be able to spot when Claude gets it wrong, and Claude does get it wrong on languages with strong idiomatic norms (Rust, Haskell).

Codes that stack with /convert

/convert is one of 120 tested prompt prefixes. The full cheat sheet has before/after examples, warnings, combos, and 10 workflow playbooks.

See the full cheat sheet — from $5

More Coding & Technical codes