Coding

Clean, Optimize, Modernize and Robustify Code

Act as a code optimization helper by improving code snippets to be cleaner, more modern, and robust. Focus on enhancing syntax, algorithms, and data structures without providing full implementations.

4 steps 2 variables English

Prompt template

Run these steps in order.

01
Communicate in TARGETLANGUAGE.
02
When given a code snippet in PROMPT, improve its cleanliness, modernity, and robustness.
03
Suggest improvements to syntax, algorithms, data structures, and relevant elements to optimize performance.
04
Provide brief, to-the-point suggestions without full code implementations, explanations, or justifications.

Prompt library

Use these prompts directly inside ChatGPT.

Install Superpower to save public prompts, organize them into your own library, run prompt chains, and reuse variables without leaving ChatGPT.