AI CodingThrive Editorial

30 prompts d’IA pour créer des applications full stack

Une demande full stack concerne les données, l’API et l’interface. Ces prompts se limitent à un parcours utilisateur et demandent les migrations, les permissions et les tests avant une démonstration soignée.

16 min de lectureMise à jour
Concept d’application full stack montrant les couches d’interface, de services et de données.

La version courte

  • Une demande full stack concerne les données, l’API et l’interface. Ces prompts se limitent à un parcours utilisateur et demandent les migrations, les permissions et les tests avant une démonstration soignée.
  • Ne transmettez jamais d’identifiants, de données client privées ou de dépôts propriétaires complets à un assistant non autorisé. Exécutez les commandes et les tests proposés dans votre environnement. Un correctif plausible ne prouve pas que la modification fonctionne.

Une demande full stack concerne les données, l’API et l’interface. Ces prompts se limitent à un parcours utilisateur et demandent les migrations, les permissions et les tests avant une démonstration soignée.

Ne transmettez jamais d’identifiants, de données client privées ou de dépôts propriétaires complets à un assistant non autorisé. Exécutez les commandes et les tests proposés dans votre environnement. Un correctif plausible ne prouve pas que la modification fonctionne.

Comment utiliser cette collection

Choisissez la tâche la plus proche de votre travail. Copiez le prompt, remplacez la scène ou le contexte générique par vos informations et conservez les contraintes utiles pour évaluer le résultat. Modifiez une variable à la fois afin d’identifier ce qui s’améliore.

Cette méthode reprend les recommandations du guide de prompt engineering de GitHub Copilot : fournir un contexte précis et vérifier la réponse, sans supposer qu’un premier résultat soigné est correct.

Prompts de diagnostic

Cette série porte sur le diagnostic. Fournissez votre code et votre commande de test avant de valider la réponse.

1. Une fonctionnalité de recherche enregistrée

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.

Vérification : Exécutez le scénario de reproduction proposé avant d’appliquer un correctif.

2. Un parcours d’invitation d’équipe

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.

Vérification : Exécutez le scénario de reproduction proposé avant d’appliquer un correctif.

3. Une vue de l’historique de facturation

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.

Vérification : Exécutez le scénario de reproduction proposé avant d’appliquer un correctif.

4. Un fil de commentaires

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.

Vérification : Exécutez le scénario de reproduction proposé avant d’appliquer un correctif.

5. Un téléversement de document

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.

Vérification : Exécutez le scénario de reproduction proposé avant d’appliquer un correctif.

6. Un suivi de candidatures

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.

Vérification : Exécutez le scénario de reproduction proposé avant d’appliquer un correctif.

7. Une préférence de notification

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.

Vérification : Exécutez le scénario de reproduction proposé avant d’appliquer un correctif.

8. Une prise en main en plusieurs étapes

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.

Vérification : Exécutez le scénario de reproduction proposé avant d’appliquer un correctif.

9. Une file d’approbation administrative

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.

Vérification : Exécutez le scénario de reproduction proposé avant d’appliquer un correctif.

10. Un export des données utilisateur

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.

Vérification : Exécutez le scénario de reproduction proposé avant d’appliquer un correctif.

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

Prompts de mise en œuvre

Cette série porte sur la mise en œuvre. Fournissez votre code et votre commande de test avant de valider la réponse.

11. Une fonctionnalité de recherche enregistrée

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.

Vérification : Vérifiez que le diff ne contient ni modification hors sujet ni accès aux données non prévu.

12. Un parcours d’invitation d’équipe

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.

Vérification : Vérifiez que le diff ne contient ni modification hors sujet ni accès aux données non prévu.

13. Une vue de l’historique de facturation

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.

Vérification : Vérifiez que le diff ne contient ni modification hors sujet ni accès aux données non prévu.

14. Un fil de commentaires

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.

Vérification : Vérifiez que le diff ne contient ni modification hors sujet ni accès aux données non prévu.

15. Un téléversement de document

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.

Vérification : Vérifiez que le diff ne contient ni modification hors sujet ni accès aux données non prévu.

16. Un suivi de candidatures

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.

Vérification : Vérifiez que le diff ne contient ni modification hors sujet ni accès aux données non prévu.

17. Une préférence de notification

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.

Vérification : Vérifiez que le diff ne contient ni modification hors sujet ni accès aux données non prévu.

18. Une prise en main en plusieurs étapes

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.

Vérification : Vérifiez que le diff ne contient ni modification hors sujet ni accès aux données non prévu.

19. Une file d’approbation administrative

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.

Vérification : Vérifiez que le diff ne contient ni modification hors sujet ni accès aux données non prévu.

20. Un export des données utilisateur

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.

Vérification : Vérifiez que le diff ne contient ni modification hors sujet ni accès aux données non prévu.

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

Prompts de test des limites

Cette série porte sur les tests de limites. Fournissez votre code et votre commande de test avant de valider la réponse.

21. Une fonctionnalité de recherche enregistrée

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.

Vérification : Exécutez les tests et, si possible, vérifiez qu’ils échouent avant le correctif.

22. Un parcours d’invitation d’équipe

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.

Vérification : Exécutez les tests et, si possible, vérifiez qu’ils échouent avant le correctif.

23. Une vue de l’historique de facturation

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.

Vérification : Exécutez les tests et, si possible, vérifiez qu’ils échouent avant le correctif.

24. Un fil de commentaires

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.

Vérification : Exécutez les tests et, si possible, vérifiez qu’ils échouent avant le correctif.

25. Un téléversement de document

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.

Vérification : Exécutez les tests et, si possible, vérifiez qu’ils échouent avant le correctif.

26. Un suivi de candidatures

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.

Vérification : Exécutez les tests et, si possible, vérifiez qu’ils échouent avant le correctif.

27. Une préférence de notification

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.

Vérification : Exécutez les tests et, si possible, vérifiez qu’ils échouent avant le correctif.

28. Une prise en main en plusieurs étapes

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.

Vérification : Exécutez les tests et, si possible, vérifiez qu’ils échouent avant le correctif.

29. Une file d’approbation administrative

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.

Vérification : Exécutez les tests et, si possible, vérifiez qu’ils échouent avant le correctif.

30. Un export des données utilisateur

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.

Vérification : Exécutez les tests et, si possible, vérifiez qu’ils échouent avant le correctif.

Que vérifier avant d’utiliser le résultat

Ne transmettez jamais d’identifiants, de données client privées ou de dépôts propriétaires complets à un assistant non autorisé. Exécutez les commandes et les tests proposés dans votre environnement. Un correctif plausible ne prouve pas que la modification fonctionne.

Si le résultat ne répond pas à la tâche, raccourcissez le prompt et précisez l’information ou la contrainte manquante. Conservez la version utilisée pour pouvoir reproduire le visuel final ou la modification du code.

Pour aller plus loin

Poursuivre avec un guide associé

Mise en pratique

Votre prochaine étape

Vous avez une question ou une correction?

Contacter Thrive

Continuez à lire

Pour en savoir plus sur le journal

Tous les articles