Prompt template
Use this prompt.
01
Act as a senior developer. Analyze the code in PROMPT and identify its programming language. Show the parts that can be optimized, explain why they would benefit from improvement according to the language’s best practices, and rewrite them to reduce code size, improve speed, and follow clean-code architecture principles. Complete each part of the analysis sequentially without skipping any. Provide all output in TARGETLANGUAGE.