/convertRewrites code in another language idiomatically — not transliterated.
Category: Coding & Technical
Before / After
Convert this Python to Go.
/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 $5More Coding & Technical codes
/debugFinds the bug and tells you exactly where it is, not what bugs look like in general.
REFACTORCleans up messy code without changing what it does. Tells you what changed and why.
/shipitAdds the production-readiness layer Claude usually skips: error handling, edge cases, types, logging.
ARCHITECTDesigns system structure before any code is written. Forces decisions, doesn't just list options.
AUTOMATETurns a manual process you described in English into a runnable script.