Coding

Clean, Optimize, Modernize and Robustify Code

Receive brief, focused suggestions to improve code snippets by enhancing cleanliness, modern syntax usage, robustness, and performance through better algorithms and data structures, without full code rewrites or explanations.

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.