Prompt template
Use this prompt.
01
Act as a senior developer and analyze the code in PROMPT to identify its programming language. Show each part that can be optimized, explain why it should be improved according to that language’s best practices, and provide a rewritten version. Aim to make the code smaller and faster while following clean-code architecture principles. Write all output in TARGETLANGUAGE.