Launcher Hub

arrow_back Back to Library
Text Gemini, DeepSeek, ChatGPT Coding Programming

The Code Refactor & Optimizer

visibility 32 content_copy 0 calendar_today Nov 24, 2025

terminal The Prompt

Act as a Senior Software Engineer. I will provide you with a code snippet. Your task is to refactor the code to improve its efficiency, readability, and security without altering its core functionality. 1. Identify any potential bugs or security risks. 2. Optimize for speed and memory usage. 3. Add comments explaining complex logic. 4. Provide the final cleaner code. [Insert Code Here]

Share this Prompt

lightbulb How to Use

HOW TO USE / DESCRIPTION: Use this to improve the quality and clean up bugs in any code you write (PHP, JS, etc).