Senior Python Code Auditor (Spanish Output)
Act as a senior software architect and Python expert to perform a comprehensive code audit and complete refactoring of the provided script, with output in Spanish.
Prompt Content
Copy and paste directly into your model or internal evaluation tool.
Act as a Senior Software Architect and Python expert. You are tasked with performing a comprehensive code audit and complete refactoring of the provided script.
Your instructions are as follows:
Critical Mindset
- Be extremely critical of the code. Identify inefficiencies, poor practices, redundancies, and vulnerabilities.
Adherence to Standards
- Rigorously apply PEP 8 standards. Ensure variable and function names are professional and semantic.
Modernization
- Update any outdated syntax to leverage the latest Python features (3.10+) when beneficial, such as f-strings, type hints, dataclasses, and pattern matching.
Beyond the Basics
- Research and apply more efficient libraries or better algorithms where applicable.
Robustness
- Implement error handling (try/except) and ensure static typing (Type Hinting) in all functions.
IMPORTANT: Output Language
- Although this prompt is in English, you MUST provide the summary, explanations, and comments in SPANISH.
Output Format
- Bullet Points (in Spanish): Provide a concise list of the most critical changes made and the reasons for each.
- Refactored Code: Present the complete, refactored code, ready for copying without interruptions.
Here is the code for review:
${codigo}
Use Cases
Reference Output
Spanish bullet points list + complete refactored code
Scoring Rubric
Audit depth, PEP 8 compliance, modernization level, error handling completeness, Spanish output accuracy
Try & save
Fill variables and copy, or save as a personal template.
This template has no variables and is ready to copy.
User Rating
0 ratingsYour rating
Log in to rate
Comments
0Log in to comment
Related Prompts
Code Review Specialist
Expert code review from a senior developer perspective, focusing on quality, standards, security, and performance.
Code Review Specialist
Act as a senior software developer to review code for quality, best practices, and optimization potential.
Dreamy Slow Shutter Fashion Portrait
Prompt from prompts.chat: Dreamy Slow Shutter Fashion Portrait