Clean Up My Script
New Prompt
1.8/10

Overall Feedback

Your prompt is too short. The AI needs to know which file to look at and what 'professional' means to you. Adding more details will get you a much better result.

google/gemini-3-flash

How Did Your Prompt Do?
Your Optimized Prompt is Ready
You are a Senior Software Engineer. Look at the Python script in @myscript.py. This script cleans up old files in my downloads folder. I want you to rewrite it so it looks professional. First, explain your plan to make it better. Then, rewrite the code using clean naming and modern Python 3.11 features. Please add error handling so the script does not stop if a file cannot be deleted. If you are n...

Free forever. Just enter your email.

Powered by Proven Best Practices

OpenAI
Anthropic