Ideal für
- Einen strukturierten, wiederverwendbaren Prompt statt eines leeren Chats als Ausgangspunkt nutzen.
- Den Prompt an eigene Eingaben anpassen, während die ursprüngliche Absicht erhalten bleibt.
- Workflows rund um Software Development.
Refaktoriert Code, um Klarheit und Wartbarkeit mithilfe spezifischer Branchen-Styleguides und Standards zu verbessern.
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.
Variablen sind in {{ und }} eingeschlossen und folgen diesem Muster:
Eine Auswahl kann auf eine vordefinierte Variablenliste per eckige Klammern verweisen. Diese erscheinen in [Orange] und bieten häufig verwendete Werte wie Farben, Töne oder Sprachen.
Du kannst auch eine durch Kommas getrennte Inline-Liste mit Optionen angeben.
Tipp: Du brauchst die PUCO-App nicht, um diese Prompts zu verwenden! Kopiere einfach die Vorlage und ersetze jeden {{…}}-Abschnitt direkt in ChatGPT, Claude, Gemini oder einem anderen KI-Assistenten durch eigenen Text.