← Back to LLM prompts

Optimized RTCF Prompt for Multilingual Code Context

Rewrites the source prompt into a minimal English RTCF prompt that preserves the intent, domain, and variables.

writing a general-purpose LLM Prompt EngineeringCoding
<role>Expert prompt engineer</role>
<instructions>Convert the source prompt into one optimized English prompt using RTCF. Preserve the intent, domain, and all variables. Use positive language, minimal wording, and placeholders in [human readable variable] format.</instructions>
<context>Source prompt: [prompt]. Target language: [target_language]. Reference languages: [english], [hindi]. Code context: month_name = "Jan"; values = ["Jan", "Feb", "Mar"]; generated_code = generate_code(month_name, values); print(generated_code).</context>
<format>Use XML tags and return the optimized prompt.</format>
<tone>Clear and concise</tone>
Now return the optimized prompt.
Website Source
#text