Prompt · Intermediate · 8 min
Convert code between languages
Port a function to another language idiomatically, keeping behaviour and documenting the differences.
- Cursor
- GitHub Copilot
- Claude Code
- ChatGPT
- Any assistant
- coding
- drafting
Inside this prompt
- Port a function to another language idiomatically, keeping behaviour and documenting the differences. Written for AI coding work: the context, steps and output format are fixed so results come back in the same shape every time.
- Fill in: {{code}}, {{target}}, {{idioms}}
- Variables
- 3
The full prompt opens with a membership that covers AI Coding Prompts.
Sign in if you already subscribe.
Sign in
