AI CodingThrive Editorial

30 KI-Prompts für Full-Stack-Anwendungen

Ein Full-Stack-Auftrag umfasst Daten, API und Oberfläche. Diese Prompts begrenzen den Umfang auf einen Nutzerablauf und verlangen Migrationen, Berechtigungen und Tests vor einer ausgearbeiteten Demo.

15 Min. LesezeitAktualisiert
Konzept einer Full-Stack-Anwendung mit Oberflächen-, Dienst- und Datenschichten.

Die Kurzfassung

  • Ein Full-Stack-Auftrag umfasst Daten, API und Oberfläche. Diese Prompts begrenzen den Umfang auf einen Nutzerablauf und verlangen Migrationen, Berechtigungen und Tests vor einer ausgearbeiteten Demo.
  • 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 Full-Stack-Auftrag umfasst Daten, API und Oberfläche. Diese Prompts begrenzen den Umfang auf einen Nutzerablauf und verlangen Migrationen, Berechtigungen und Tests vor einer ausgearbeiteten Demo.

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 Funktion für gespeicherte Suchen

Help with a saved search feature 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. Ein Ablauf für Teameinladungen

Help with a team invite flow 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 Ansicht der Rechnungshistorie

Help with a billing history view 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 Kommentarverlauf

Help with a comment thread 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. Ein Dokument-Upload

Help with a document upload 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. Ein Bewerbungs-Tracker

Help with a job application tracker 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 Benachrichtigungseinstellung

Help with a notification preference 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 mehrstufiges Onboarding

Help with a multi-step onboarding 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. Eine Warteschlange für administrative Freigaben

Help with an admin approval queue 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 Export von Nutzerdaten

Help with an export of user data 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.

Saved-search app architecture concept connecting phone interface, service and database.

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 Funktion für gespeicherte Suchen

Help with a saved search feature 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. Ein Ablauf für Teameinladungen

Help with a team invite flow 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 Ansicht der Rechnungshistorie

Help with a billing history view 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 Kommentarverlauf

Help with a comment thread 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. Ein Dokument-Upload

Help with a document upload 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. Ein Bewerbungs-Tracker

Help with a job application tracker 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 Benachrichtigungseinstellung

Help with a notification preference 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 mehrstufiges Onboarding

Help with a multi-step onboarding 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. Eine Warteschlange für administrative Freigaben

Help with an admin approval queue 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 Export von Nutzerdaten

Help with an export of user data 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.

Three-step code workflow: brief the work, inspect the result, edit and verify.

Prompts für Grenzfalltests

Diese Gruppe behandelt Grenzfalltests. Gib deinen tatsächlichen Quellcode und Testbefehl an, bevor du die Antwort übernimmst.

21. Eine Funktion für gespeicherte Suchen

Help with a saved search feature 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. Ein Ablauf für Teameinladungen

Help with a team invite flow 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 Ansicht der Rechnungshistorie

Help with a billing history view 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 Kommentarverlauf

Help with a comment thread 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. Ein Dokument-Upload

Help with a document upload 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. Ein Bewerbungs-Tracker

Help with a job application tracker 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 Benachrichtigungseinstellung

Help with a notification preference 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 mehrstufiges Onboarding

Help with a multi-step onboarding 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. Eine Warteschlange für administrative Freigaben

Help with an admin approval queue 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 Export von Nutzerdaten

Help with an export of user data 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

Weiterlesen

Mehr aus dem Journal

Alle Artikel