La versione breve
- Una richiesta full stack coinvolge dati, API e interfaccia. Questi prompt mantengono un solo percorso utente nel perimetro e richiedono migrazioni, permessi e test prima della demo.
- Non incollare credenziali, dati privati dei clienti o interi repository proprietari in un assistente non autorizzato. Esegui i comandi e i test proposti nel tuo ambiente. Una patch plausibile non dimostra che la modifica funzioni.
Una richiesta full stack coinvolge dati, API e interfaccia. Questi prompt mantengono un solo percorso utente nel perimetro e richiedono migrazioni, permessi e test prima della demo.
Non incollare credenziali, dati privati dei clienti o interi repository proprietari in un assistente non autorizzato. Esegui i comandi e i test proposti nel tuo ambiente. Una patch plausibile non dimostra che la modifica funzioni.
Come usare questa raccolta
Scegli l'attività più vicina al tuo lavoro. Copia il prompt, sostituisci la scena generica o il contesto del codice con i tuoi dati e mantieni i vincoli utili a valutare il risultato. Modifica una variabile alla volta per capire cosa migliora.
Il metodo segue la guida al prompt engineering di GitHub Copilot: fornisci un contesto preciso e controlla il risultato, senza dare per corretta una prima bozza ben presentata.
Prompt per la diagnosi
Questa sezione riguarda la diagnosi dei problemi. Fornisci il codice reale e il comando di test prima di accettare la risposta.
1. Una funzione per salvare le ricerche
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.Verifica: Esegui il caso di riproduzione proposto prima di applicare una patch.
2. Un percorso per invitare membri del team
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.Verifica: Esegui il caso di riproduzione proposto prima di applicare una patch.
3. Una schermata dello storico di fatturazione
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.Verifica: Esegui il caso di riproduzione proposto prima di applicare una patch.
4. Una discussione di commenti
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.Verifica: Esegui il caso di riproduzione proposto prima di applicare una patch.
5. Il caricamento di un documento
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.Verifica: Esegui il caso di riproduzione proposto prima di applicare una patch.
6. Uno strumento per seguire le candidature
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.Verifica: Esegui il caso di riproduzione proposto prima di applicare una patch.
7. Una preferenza per le notifiche
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.Verifica: Esegui il caso di riproduzione proposto prima di applicare una patch.
8. Un onboarding in più passaggi
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.Verifica: Esegui il caso di riproduzione proposto prima di applicare una patch.
9. Una coda di approvazioni per gli amministratori
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.Verifica: Esegui il caso di riproduzione proposto prima di applicare una patch.
10. Un'esportazione dei dati utente
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.Verifica: Esegui il caso di riproduzione proposto prima di applicare una patch.

Prompt per l'implementazione
Questa sezione riguarda l'implementazione. Fornisci il codice reale e il comando di test prima di accettare la risposta.
11. Una funzione per salvare le ricerche
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.Verifica: Controlla nella patch le modifiche non pertinenti e gli accessi ai dati non previsti.
12. Un percorso per invitare membri del team
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.Verifica: Controlla nella patch le modifiche non pertinenti e gli accessi ai dati non previsti.
13. Una schermata dello storico di fatturazione
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.Verifica: Controlla nella patch le modifiche non pertinenti e gli accessi ai dati non previsti.
14. Una discussione di commenti
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.Verifica: Controlla nella patch le modifiche non pertinenti e gli accessi ai dati non previsti.
15. Il caricamento di un documento
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.Verifica: Controlla nella patch le modifiche non pertinenti e gli accessi ai dati non previsti.
16. Uno strumento per seguire le candidature
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.Verifica: Controlla nella patch le modifiche non pertinenti e gli accessi ai dati non previsti.
17. Una preferenza per le notifiche
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.Verifica: Controlla nella patch le modifiche non pertinenti e gli accessi ai dati non previsti.
18. Un onboarding in più passaggi
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.Verifica: Controlla nella patch le modifiche non pertinenti e gli accessi ai dati non previsti.
19. Una coda di approvazioni per gli amministratori
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.Verifica: Controlla nella patch le modifiche non pertinenti e gli accessi ai dati non previsti.
20. Un'esportazione dei dati utente
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.Verifica: Controlla nella patch le modifiche non pertinenti e gli accessi ai dati non previsti.

Prompt per i casi limite
Questa sezione riguarda i test dei casi limite. Fornisci il codice reale e il comando di test prima di accettare la risposta.
21. Una funzione per salvare le ricerche
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.Verifica: Esegui i test e, quando possibile, verifica che falliscano prima della correzione.
22. Un percorso per invitare membri del team
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.Verifica: Esegui i test e, quando possibile, verifica che falliscano prima della correzione.
23. Una schermata dello storico di fatturazione
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.Verifica: Esegui i test e, quando possibile, verifica che falliscano prima della correzione.
24. Una discussione di commenti
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.Verifica: Esegui i test e, quando possibile, verifica che falliscano prima della correzione.
25. Il caricamento di un documento
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.Verifica: Esegui i test e, quando possibile, verifica che falliscano prima della correzione.
26. Uno strumento per seguire le candidature
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.Verifica: Esegui i test e, quando possibile, verifica che falliscano prima della correzione.
27. Una preferenza per le notifiche
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.Verifica: Esegui i test e, quando possibile, verifica che falliscano prima della correzione.
28. Un onboarding in più passaggi
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.Verifica: Esegui i test e, quando possibile, verifica che falliscano prima della correzione.
29. Una coda di approvazioni per gli amministratori
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.Verifica: Esegui i test e, quando possibile, verifica che falliscano prima della correzione.
30. Un'esportazione dei dati utente
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.Verifica: Esegui i test e, quando possibile, verifica che falliscano prima della correzione.
Cosa verificare prima di usare il risultato
Non incollare credenziali, dati privati dei clienti o interi repository proprietari in un assistente non autorizzato. Esegui i comandi e i test proposti nel tuo ambiente. Una patch plausibile non dimostra che la modifica funzioni.
Se il risultato non risponde al compito, accorcia il prompt e precisa il fatto o il vincolo mancante. Conserva la versione usata per poter riprodurre il contenuto finale o la modifica al codice.
Approfondimenti
Continua con una guida correlata
Mettilo in pratica
Il prossimo passo
Hai una domanda o una correzione?
Contatta Thrive


