Die Kurzfassung
- Ein gutes Code-Review benennt ein konkretes Risiko und zeigt, wie es sich überprüfen lässt. Diese Prompts behandeln Korrektheit, Sicherheit und Wartbarkeit getrennt, statt nur ein allgemeines Urteil zu verlangen.
- Gib niemals Zugangsdaten, private Kundendaten oder vollständige proprietäre Repositorys an einen nicht freigegebenen Assistenten weiter. Führe vorgeschlagene Befehle und Tests in deiner eigenen Umgebung aus. Ein plausibler Patch belegt noch nicht, dass die Änderung funktioniert.
Ein gutes Code-Review benennt ein konkretes Risiko und zeigt, wie es sich überprüfen lässt. Diese Prompts behandeln Korrektheit, Sicherheit und Wartbarkeit getrennt, statt nur ein allgemeines Urteil zu verlangen.
Gib niemals Zugangsdaten, private Kundendaten oder vollständige proprietäre Repositorys an einen nicht freigegebenen Assistenten weiter. Führe vorgeschlagene Befehle und Tests in deiner eigenen Umgebung aus. Ein plausibler Patch belegt noch nicht, dass die Änderung funktioniert.
So nutzt du diese Sammlung
Wähle die Aufgabe, die deiner Arbeit am nächsten kommt. Kopiere den Prompt und ersetze die allgemeine Szene oder den Code-Kontext durch deine eigenen Angaben. Behalte die Vorgaben bei, mit denen du das Ergebnis prüfen kannst. Ändere jeweils eine Variable, damit du erkennst, was besser geworden ist.
Der Ansatz folgt dem Leitfaden zum Prompt Engineering mit GitHub Copilot: Gib konkreten Kontext an und prüfe die Ausgabe, statt einen überzeugend formulierten ersten Entwurf ungeprüft zu übernehmen.
Prompts für die Fehlerdiagnose
Diese Gruppe behandelt die Fehlerdiagnose. Gib deinen tatsächlichen Quellcode und Testbefehl an, bevor du die Antwort übernimmst.
1. Eine Änderung der Authentifizierung
Help with an authentication change in my existing codebase. Ask for the relevant file, expected behavior, actual behavior and test command if I have not supplied them. Then state competing hypotheses, request a minimal reproduction and identify evidence that separates them. Preserve public interfaces unless evidence requires a change. Show assumptions, a focused diff and the exact command I should run. Do not invent files, test results or security guarantees.Prüfung: Führe die vorgeschlagene Fehlerreproduktion aus, bevor du einen Patch anwendest.
2. Eine Schema-Migration
Help with a schema migration in my existing codebase. Ask for the relevant file, expected behavior, actual behavior and test command if I have not supplied them. Then state competing hypotheses, request a minimal reproduction and identify evidence that separates them. Preserve public interfaces unless evidence requires a change. Show assumptions, a focused diff and the exact command I should run. Do not invent files, test results or security guarantees.Prüfung: Führe die vorgeschlagene Fehlerreproduktion aus, bevor du einen Patch anwendest.
3. Eine Änderung der API-Paginierung
Help with an API pagination update in my existing codebase. Ask for the relevant file, expected behavior, actual behavior and test command if I have not supplied them. Then state competing hypotheses, request a minimal reproduction and identify evidence that separates them. Preserve public interfaces unless evidence requires a change. Show assumptions, a focused diff and the exact command I should run. Do not invent files, test results or security guarantees.Prüfung: Führe die vorgeschlagene Fehlerreproduktion aus, bevor du einen Patch anwendest.
4. Ein Hintergrundprozess für eine Warteschlange
Help with a background queue worker in my existing codebase. Ask for the relevant file, expected behavior, actual behavior and test command if I have not supplied them. Then state competing hypotheses, request a minimal reproduction and identify evidence that separates them. Preserve public interfaces unless evidence requires a change. Show assumptions, a focused diff and the exact command I should run. Do not invent files, test results or security guarantees.Prüfung: Führe die vorgeschlagene Fehlerreproduktion aus, bevor du einen Patch anwendest.
5. Eine Route für Datei-Uploads
Help with a file upload route in my existing codebase. Ask for the relevant file, expected behavior, actual behavior and test command if I have not supplied them. Then state competing hypotheses, request a minimal reproduction and identify evidence that separates them. Preserve public interfaces unless evidence requires a change. Show assumptions, a focused diff and the exact command I should run. Do not invent files, test results or security guarantees.Prüfung: Führe die vorgeschlagene Fehlerreproduktion aus, bevor du einen Patch anwendest.
6. Eine Änderung der Formularvalidierung
Help with a form validation change in my existing codebase. Ask for the relevant file, expected behavior, actual behavior and test command if I have not supplied them. Then state competing hypotheses, request a minimal reproduction and identify evidence that separates them. Preserve public interfaces unless evidence requires a change. Show assumptions, a focused diff and the exact command I should run. Do not invent files, test results or security guarantees.Prüfung: Führe die vorgeschlagene Fehlerreproduktion aus, bevor du einen Patch anwendest.
7. Eine Cache-Schicht
Help with a caching layer in my existing codebase. Ask for the relevant file, expected behavior, actual behavior and test command if I have not supplied them. Then state competing hypotheses, request a minimal reproduction and identify evidence that separates them. Preserve public interfaces unless evidence requires a change. Show assumptions, a focused diff and the exact command I should run. Do not invent files, test results or security guarantees.Prüfung: Führe die vorgeschlagene Fehlerreproduktion aus, bevor du einen Patch anwendest.
8. Ein Zahlungs-Webhook
Help with a payment webhook in my existing codebase. Ask for the relevant file, expected behavior, actual behavior and test command if I have not supplied them. Then state competing hypotheses, request a minimal reproduction and identify evidence that separates them. Preserve public interfaces unless evidence requires a change. Show assumptions, a focused diff and the exact command I should run. Do not invent files, test results or security guarantees.Prüfung: Führe die vorgeschlagene Fehlerreproduktion aus, bevor du einen Patch anwendest.
9. Ein Update einer Abhängigkeit
Help with a dependency upgrade in my existing codebase. Ask for the relevant file, expected behavior, actual behavior and test command if I have not supplied them. Then state competing hypotheses, request a minimal reproduction and identify evidence that separates them. Preserve public interfaces unless evidence requires a change. Show assumptions, a focused diff and the exact command I should run. Do not invent files, test results or security guarantees.Prüfung: Führe die vorgeschlagene Fehlerreproduktion aus, bevor du einen Patch anwendest.
10. Ein Refactoring des clientseitigen Zustands
Help with a client-side state refactor in my existing codebase. Ask for the relevant file, expected behavior, actual behavior and test command if I have not supplied them. Then state competing hypotheses, request a minimal reproduction and identify evidence that separates them. Preserve public interfaces unless evidence requires a change. Show assumptions, a focused diff and the exact command I should run. Do not invent files, test results or security guarantees.Prüfung: Führe die vorgeschlagene Fehlerreproduktion aus, bevor du einen Patch anwendest.

Prompts für die Implementierung
Diese Gruppe behandelt die Implementierung. Gib deinen tatsächlichen Quellcode und Testbefehl an, bevor du die Antwort übernimmst.
11. Eine Änderung der Authentifizierung
Help with an authentication change in my existing codebase. Ask for the relevant file, expected behavior, actual behavior and test command if I have not supplied them. Then make the smallest change that satisfies the stated behavior and show a focused diff. Preserve public interfaces unless evidence requires a change. Show assumptions, a focused diff and the exact command I should run. Do not invent files, test results or security guarantees.Prüfung: Prüfe den Diff auf Änderungen außerhalb des Auftrags und unbeabsichtigte Datenzugriffe.
12. Eine Schema-Migration
Help with a schema migration in my existing codebase. Ask for the relevant file, expected behavior, actual behavior and test command if I have not supplied them. Then make the smallest change that satisfies the stated behavior and show a focused diff. Preserve public interfaces unless evidence requires a change. Show assumptions, a focused diff and the exact command I should run. Do not invent files, test results or security guarantees.Prüfung: Prüfe den Diff auf Änderungen außerhalb des Auftrags und unbeabsichtigte Datenzugriffe.
13. Eine Änderung der API-Paginierung
Help with an API pagination update in my existing codebase. Ask for the relevant file, expected behavior, actual behavior and test command if I have not supplied them. Then make the smallest change that satisfies the stated behavior and show a focused diff. Preserve public interfaces unless evidence requires a change. Show assumptions, a focused diff and the exact command I should run. Do not invent files, test results or security guarantees.Prüfung: Prüfe den Diff auf Änderungen außerhalb des Auftrags und unbeabsichtigte Datenzugriffe.
14. Ein Hintergrundprozess für eine Warteschlange
Help with a background queue worker in my existing codebase. Ask for the relevant file, expected behavior, actual behavior and test command if I have not supplied them. Then make the smallest change that satisfies the stated behavior and show a focused diff. Preserve public interfaces unless evidence requires a change. Show assumptions, a focused diff and the exact command I should run. Do not invent files, test results or security guarantees.Prüfung: Prüfe den Diff auf Änderungen außerhalb des Auftrags und unbeabsichtigte Datenzugriffe.
15. Eine Route für Datei-Uploads
Help with a file upload route in my existing codebase. Ask for the relevant file, expected behavior, actual behavior and test command if I have not supplied them. Then make the smallest change that satisfies the stated behavior and show a focused diff. Preserve public interfaces unless evidence requires a change. Show assumptions, a focused diff and the exact command I should run. Do not invent files, test results or security guarantees.Prüfung: Prüfe den Diff auf Änderungen außerhalb des Auftrags und unbeabsichtigte Datenzugriffe.
16. Eine Änderung der Formularvalidierung
Help with a form validation change in my existing codebase. Ask for the relevant file, expected behavior, actual behavior and test command if I have not supplied them. Then make the smallest change that satisfies the stated behavior and show a focused diff. Preserve public interfaces unless evidence requires a change. Show assumptions, a focused diff and the exact command I should run. Do not invent files, test results or security guarantees.Prüfung: Prüfe den Diff auf Änderungen außerhalb des Auftrags und unbeabsichtigte Datenzugriffe.
17. Eine Cache-Schicht
Help with a caching layer in my existing codebase. Ask for the relevant file, expected behavior, actual behavior and test command if I have not supplied them. Then make the smallest change that satisfies the stated behavior and show a focused diff. Preserve public interfaces unless evidence requires a change. Show assumptions, a focused diff and the exact command I should run. Do not invent files, test results or security guarantees.Prüfung: Prüfe den Diff auf Änderungen außerhalb des Auftrags und unbeabsichtigte Datenzugriffe.
18. Ein Zahlungs-Webhook
Help with a payment webhook in my existing codebase. Ask for the relevant file, expected behavior, actual behavior and test command if I have not supplied them. Then make the smallest change that satisfies the stated behavior and show a focused diff. Preserve public interfaces unless evidence requires a change. Show assumptions, a focused diff and the exact command I should run. Do not invent files, test results or security guarantees.Prüfung: Prüfe den Diff auf Änderungen außerhalb des Auftrags und unbeabsichtigte Datenzugriffe.
19. Ein Update einer Abhängigkeit
Help with a dependency upgrade in my existing codebase. Ask for the relevant file, expected behavior, actual behavior and test command if I have not supplied them. Then make the smallest change that satisfies the stated behavior and show a focused diff. Preserve public interfaces unless evidence requires a change. Show assumptions, a focused diff and the exact command I should run. Do not invent files, test results or security guarantees.Prüfung: Prüfe den Diff auf Änderungen außerhalb des Auftrags und unbeabsichtigte Datenzugriffe.
20. Ein Refactoring des clientseitigen Zustands
Help with a client-side state refactor in my existing codebase. Ask for the relevant file, expected behavior, actual behavior and test command if I have not supplied them. Then make the smallest change that satisfies the stated behavior and show a focused diff. Preserve public interfaces unless evidence requires a change. Show assumptions, a focused diff and the exact command I should run. Do not invent files, test results or security guarantees.Prüfung: Prüfe den Diff auf Änderungen außerhalb des Auftrags und unbeabsichtigte Datenzugriffe.

Prompts für Grenzfalltests
Diese Gruppe behandelt Grenzfalltests. Gib deinen tatsächlichen Quellcode und Testbefehl an, bevor du die Antwort übernimmst.
21. Eine Änderung der Authentifizierung
Help with an authentication change in my existing codebase. Ask for the relevant file, expected behavior, actual behavior and test command if I have not supplied them. Then add unit or integration cases for empty, invalid and concurrent inputs as appropriate. Preserve public interfaces unless evidence requires a change. Show assumptions, a focused diff and the exact command I should run. Do not invent files, test results or security guarantees.Prüfung: Führe die Tests aus und prüfe nach Möglichkeit, ob sie vor der Fehlerbehebung fehlschlagen.
22. Eine Schema-Migration
Help with a schema migration in my existing codebase. Ask for the relevant file, expected behavior, actual behavior and test command if I have not supplied them. Then add unit or integration cases for empty, invalid and concurrent inputs as appropriate. Preserve public interfaces unless evidence requires a change. Show assumptions, a focused diff and the exact command I should run. Do not invent files, test results or security guarantees.Prüfung: Führe die Tests aus und prüfe nach Möglichkeit, ob sie vor der Fehlerbehebung fehlschlagen.
23. Eine Änderung der API-Paginierung
Help with an API pagination update in my existing codebase. Ask for the relevant file, expected behavior, actual behavior and test command if I have not supplied them. Then add unit or integration cases for empty, invalid and concurrent inputs as appropriate. Preserve public interfaces unless evidence requires a change. Show assumptions, a focused diff and the exact command I should run. Do not invent files, test results or security guarantees.Prüfung: Führe die Tests aus und prüfe nach Möglichkeit, ob sie vor der Fehlerbehebung fehlschlagen.
24. Ein Hintergrundprozess für eine Warteschlange
Help with a background queue worker in my existing codebase. Ask for the relevant file, expected behavior, actual behavior and test command if I have not supplied them. Then add unit or integration cases for empty, invalid and concurrent inputs as appropriate. Preserve public interfaces unless evidence requires a change. Show assumptions, a focused diff and the exact command I should run. Do not invent files, test results or security guarantees.Prüfung: Führe die Tests aus und prüfe nach Möglichkeit, ob sie vor der Fehlerbehebung fehlschlagen.
25. Eine Route für Datei-Uploads
Help with a file upload route in my existing codebase. Ask for the relevant file, expected behavior, actual behavior and test command if I have not supplied them. Then add unit or integration cases for empty, invalid and concurrent inputs as appropriate. Preserve public interfaces unless evidence requires a change. Show assumptions, a focused diff and the exact command I should run. Do not invent files, test results or security guarantees.Prüfung: Führe die Tests aus und prüfe nach Möglichkeit, ob sie vor der Fehlerbehebung fehlschlagen.
26. Eine Änderung der Formularvalidierung
Help with a form validation change in my existing codebase. Ask for the relevant file, expected behavior, actual behavior and test command if I have not supplied them. Then add unit or integration cases for empty, invalid and concurrent inputs as appropriate. Preserve public interfaces unless evidence requires a change. Show assumptions, a focused diff and the exact command I should run. Do not invent files, test results or security guarantees.Prüfung: Führe die Tests aus und prüfe nach Möglichkeit, ob sie vor der Fehlerbehebung fehlschlagen.
27. Eine Cache-Schicht
Help with a caching layer in my existing codebase. Ask for the relevant file, expected behavior, actual behavior and test command if I have not supplied them. Then add unit or integration cases for empty, invalid and concurrent inputs as appropriate. Preserve public interfaces unless evidence requires a change. Show assumptions, a focused diff and the exact command I should run. Do not invent files, test results or security guarantees.Prüfung: Führe die Tests aus und prüfe nach Möglichkeit, ob sie vor der Fehlerbehebung fehlschlagen.
28. Ein Zahlungs-Webhook
Help with a payment webhook in my existing codebase. Ask for the relevant file, expected behavior, actual behavior and test command if I have not supplied them. Then add unit or integration cases for empty, invalid and concurrent inputs as appropriate. Preserve public interfaces unless evidence requires a change. Show assumptions, a focused diff and the exact command I should run. Do not invent files, test results or security guarantees.Prüfung: Führe die Tests aus und prüfe nach Möglichkeit, ob sie vor der Fehlerbehebung fehlschlagen.
29. Ein Update einer Abhängigkeit
Help with a dependency upgrade in my existing codebase. Ask for the relevant file, expected behavior, actual behavior and test command if I have not supplied them. Then add unit or integration cases for empty, invalid and concurrent inputs as appropriate. Preserve public interfaces unless evidence requires a change. Show assumptions, a focused diff and the exact command I should run. Do not invent files, test results or security guarantees.Prüfung: Führe die Tests aus und prüfe nach Möglichkeit, ob sie vor der Fehlerbehebung fehlschlagen.
30. Ein Refactoring des clientseitigen Zustands
Help with a client-side state refactor in my existing codebase. Ask for the relevant file, expected behavior, actual behavior and test command if I have not supplied them. Then add unit or integration cases for empty, invalid and concurrent inputs as appropriate. Preserve public interfaces unless evidence requires a change. Show assumptions, a focused diff and the exact command I should run. Do not invent files, test results or security guarantees.Prüfung: Führe die Tests aus und prüfe nach Möglichkeit, ob sie vor der Fehlerbehebung fehlschlagen.
Was du vor der Verwendung des Ergebnisses prüfen solltest
Gib niemals Zugangsdaten, private Kundendaten oder vollständige proprietäre Repositorys an einen nicht freigegebenen Assistenten weiter. Führe vorgeschlagene Befehle und Tests in deiner eigenen Umgebung aus. Ein plausibler Patch belegt noch nicht, dass die Änderung funktioniert.
Wenn die Ausgabe die Aufgabe verfehlt, kürze den Prompt und ergänze die fehlende Angabe oder Vorgabe. Halte fest, welche Version du verwendet hast, damit sich das fertige Material oder die Code-Änderung reproduzieren lässt.
Weiterführende Informationen
Mit einem verwandten Leitfaden fortfahren
Setzen Sie es in die Praxis um
Dein nächster Schritt
Hast du eine Frage oder Korrektur?
Thrive kontaktieren


