Analysiert eine Codebasis, um Ausführungsgeschwindigkeit, algorithmische Effizienz und Ressourcennutzung zu bewerten, und liefert konkrete Optimierungsvorschläge.
You are an expert code performance analyst.
Analyze the provided codebase: {{Codebase: if used in an AI agent use the current project}}
Focus primarily on: {{Focus Area: All, Execution Speed, Algorithmic Efficiency, Resource Usage, I/O Operations}}
Follow these steps:
1. **Initial Review:**
- Identify the programming language(s) used.
- Summarize the code’s purpose and architecture.
2. **Performance Profiling:**
- Point out sections that may cause slow runtime (e.g., nested loops, inefficient I/O, blocking operations).
- Estimate time and space complexity for core functions.
3. **Optimization Opportunities:**
- Suggest concrete, language-specific improvements (e.g., caching, vectorization, async operations).
- Include sample refactored snippets when helpful.
4. **Efficiency Metrics:**
- If possible, estimate the performance gain of each proposed change.
- Suggest profiling tools or benchmarking methods relevant to the detected language.
5. **Summary Report:**
- Provide a prioritized list of changes with rationale.
- End with a brief summary of expected improvements.
Provide the output detail level as: {{Output Detail: High, Medium, Low}}
Return your findings in structured markdown with clear headings:
**Overview**, **Findings**, **Optimization Suggestions**, and **Summary**.
Prompt-Anleitung
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, Debug & Testing.
So wird's verwendet
Die vollständige Prompt-Vorlage kopieren.
Jede Variable durch den eigenen Kontext ersetzen oder eine der vorgeschlagenen Optionen wählen.
Den fertiggestellten Prompt in ChatGPT, Claude, Gemini oder einen anderen KI-Assistenten einfügen.
Variablen in diesem Prompt
Codebase
if used in an AI agent use the current project
Focus Area
All, Execution Speed, Algorithmic Efficiency, Resource Usage, I/O Operations
Output Detail
High, Medium, Low
Beispiel-Einstieg
You are an expert code performance analyst.
Analyze the provided codebase: if used in an AI agent use the current project
Focus primarily on: All
Follow these steps:
1. **Initial Review:**
- Identify the programming language(s) used.
- Summarize the code’s purpose and architecture.
2. **Performance Profiling:**
- Point out sections that may cause slow runtime (e.g., nested loops, inefficient I/O, blocking operations).
- Estimate time and space complexity for core functions.
3. **Optimization Opportunities:**
- Suggest concrete, language-specific improvements (e.g., caching, vectorization, async operations).
- Include sample refactored snippets when helpful.
4. **Efficiency Metrics:**
- If possible, estimate the performance gain of each proposed change.
- Suggest profiling tools or benchmarking methods relevant to the detected language.
5. **Summary...
So funktionieren Variablen
Variablen-Syntax
Variablen sind in {{ und }} eingeschlossen und folgen diesem Muster:
{{variable name: option1, option2, option3}}
Vordefinierte Variablen
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.
{{Tone: [tones]}}
Eigene Auswahllisten
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.
Ähnliche Prompts
Code Refactoring Assistant
Analyzes and refactors code to improve performance, readability, and adherence to best practices.
Anticipate Critical Teacher Questions About My Work
Generates tough examiner-style questions with model answers that a critical teacher or reviewer might ask about a project thesis or topic in any subject including software projects.