Développement
Auditor de Código Python: Nivel Senior (Salida en Español)
- Testé avec:
- GPT-4o
- Efficacité:
- 95/100
- Archives des prompts
Version en Français
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
1. **Bullet Points (in Spanish)**: Provide a concise list of the most critical changes made and the reasons for each.
2. **Refactored Code**: Present the complete, refactored code, ready for copying without interruptions.
Here is the code for review:
${codigo}Complétez et lancez
Ce prompt comporte 1 champs à compléter. Remplissez-les et nous assemblerons le prompt final.
Il reste 1 champ(s)
Prompt final
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
1. **Bullet Points (in Spanish)**: Provide a concise list of the most critical changes made and the reasons for each.
2. **Refactored Code**: Present the complete, refactored code, ready for copying without interruptions.
Here is the code for review:
${codigo}- Ouvrir dans ChatGPT (s’ouvre dans un nouvel onglet)
- Ouvrir dans Claude (s’ouvre dans un nouvel onglet)
- Ouvrir dans Gemini (s’ouvre dans un nouvel onglet)
Gemini ne peut pas recevoir le prompt via un lien, copiez-le d’abord.
- Ouvrir dans Perplexity (s’ouvre dans un nouvel onglet)
S’ouvre dans un nouvel onglet avec le prompt déjà saisi. Vous devrez peut-être être connecté.
Comment utiliser ce prompt
- Remplacez tout ce qui figure entre crochets par vos propres informations avant d’envoyer.
- Les résultats varient selon le modèle. Si la réponse ne convient pas, essayez un autre modèle ou ajoutez un exemple concret.
- Envoyez le prompt en un seul message. Le découper affaiblit les instructions.