Ideale per
- Partire da un prompt strutturato e riutilizzabile invece di una chat vuota.
- Adattare il prompt ai propri input mantenendo intatto l'intento originale.
- Flussi di lavoro legati a Software Development.
Refattorizza il codice per migliorarne chiarezza e manutenibilità usando specifiche linee guida e standard del settore.
Analyze the following code to improve its readability and maintainability:
{{Code: if used in an AI agent use the current project}}
Target Language: {{Language:[programming_languages]}}
Style Guide: {{Style Guide: Clean Code, PEP8, Google Style Guide, Airbnb Style Guide, SOLID Principles, KISS, DRY}}
Strictly focus on the following:
1. Rename variables and functions to be more descriptive and intuitive according to the {{Style Guide}} philosophy.
2. Break down complex, nested logic into flatter, more readable structures.
3. Remove any redundant logic or unnecessary comments.
4. Ensure the refactored code follows the standard style conventions for {{Language:[programming_languages]}}.
Provide the refactored code and a bulleted list of the specific readability improvements made.
if used in an AI agent use the current project
[programming_languages]
Clean Code, PEP8, Google Style Guide, Airbnb Style Guide, SOLID Principles, KISS, DRY
Analyze the following code to improve its readability and maintainability: if used in an AI agent use the current project Target Language: [programming_languages] Style Guide: Clean Code Strictly focus on the following: 1. Rename variables and functions to be more descriptive and intuitive according to the Clean Code philosophy. 2. Break down complex, nested logic into flatter, more readable structures. 3. Remove any redundant logic or unnecessary comments. 4. Ensure the refactored code follows the standard style conventions for [programming_languages]. Provide the refactored code and a bulleted list of the specific readability improvements made.
Le variabili sono racchiuse tra {{ e }} e seguono questo schema:
Una selezione può fare riferimento a un elenco di variabili predefinito usando le parentesi quadre. Appaiono in [arancione] e forniscono valori di uso comune come colori, toni o lingue.
Puoi anche fornire un elenco di scelte in linea, separate da virgole.
Suggerimento: non hai bisogno dell'app PUCO per usare questi prompt! Copia semplicemente il modello e sostituisci ogni sezione {{…}} con il tuo testo direttamente in ChatGPT, Claude, Gemini o qualsiasi altro assistente IA.