💻 Programmierung & Entwicklung
Comprehensive Repository Analysis and Bug Fixing Framework
Beispiel-Ausgaben
So antworten ChatGPT, Claude und Gemini typischerweise auf diesen Prompt:
I'll conduct a comprehensive repository analysis following your framework. First, I'll map your project structure and identify all technology dependencies, then systematically scan for bugs across all severity levels using static analysis and vulnerability scanning. For each discovered issue, I'll provide a detailed bug report with ID, severity rating, affected files, root cause analysis, and step-by-step remediation instructions with code examples. Finally, I'll create a prioritized action plan with validation tests to ensure all fixes work correctly.
I appreciate the thoroughness of this framework, though I should note some important limitations. I can analyze code you share and identify potential issues, but I cannot actually access repositories, run static analysis tools, or execute CI/CD pipelines. What I can do is review code snippets you provide, spot common bug patterns, suggest fixes with explanations, and help you structure a bug documentation system. Would you like to share specific files or code sections for me to analyze?
I can help analyze code for bugs following this framework. Please provide the repository contents or specific files you'd like analyzed. I'll examine the code for security vulnerabilities (like SQL injection, XSS), logic errors, dependency issues, and code quality problems. For each finding, I'll document the severity, location, root cause, and provide concrete fix recommendations with code examples. Note that I'll need you to share the actual code files to perform the analysis.
So nutzt du diesen Prompt
Kopiere den Prompt oben oder klicke einen "Öffnen in"-Button um ihn direkt in deiner bevorzugten KI zu starten. Du kannst den Text dann an deinen Anwendungsfall anpassen — z.B. Platzhalter wie [dein Thema] durch echten Kontext ersetzen.
Welches KI-Modell funktioniert am besten
Claude Opus 4 und Sonnet 4.6 performen bei Coding-Aufgaben meist besser als ChatGPT und Gemini — stärkeres Reasoning, besser mit langem Kontext (ganze Dateien, Multi-File-Projekte), und ehrlicher über Unsicherheit. ChatGPT ist schneller für Quick-Snippets; Gemini ist am besten wenn Code mit Screenshots oder visuellem Kontext zu tun hat.
Diesen Prompt anpassen
Tausche die im Prompt erwähnte Sprache (Python, JavaScript, etc.) gegen deinen Stack. Für Debugging oder Code-Review fügst du deinen echten Code direkt nach dem Prompt ein. Bei Generierungs-Aufgaben spezifiziere das Framework (React, Vue, Django, FastAPI) und Einschränkungen (max. Zeilen, keine externen Libraries, muss async sein).
Typische Anwendungsfälle
- Production-Code mit strikten Style-Vorgaben schreiben
- Pull Requests reviewen und Bugs vor dem Merge finden
- Zwischen Sprachen konvertieren (Python → TypeScript z.B.)
- Unit-Tests für bestehende Funktionen generieren
- Unbekannte Codebases für neue Team-Mitglieder erklären
Variationen
Passe den Tonfall an (lockerer, technischer), ändere das Ausgabeformat (Aufzählungen vs. Absätze) oder füge Einschränkungen hinzu (Wortlimits, Zielgruppe).