From the course: AI-Powered Development: GitHub Copilot in Visual Studio Code

Unlock this course with a free trial

Join today to access over 25,500 courses taught by industry experts.

Postmortems and prompt refinement

Postmortems and prompt refinement

ChatTPT and other generative AI tools are good at a lot of things, writing assistance, image generation, answering coding questions, and even creating prototypes. Here's a thought, why not use them to help sculpt our agent prompts? There are a few ways this can come in handy. Before the first prototype, if you're not sure how to phrase your request, you could ask chat something like, I want to use Copilot Agent to create an application that reads the contents of a MIDI file and displays them on a Windows UI screen. How should I phrase that prompt? I tried that. Here is an example in Microsoft Copilot and it gave me a couple of good examples including starting with a C-sharp WPF application. Here's the same prompt in Google Gemini. The idea here is to use another generative AI to brainstorm ahead of time. This helps clarify what or building, surface potential pitfalls, and shape a more effective prompt for Copilot Agent. After a failed attempt is another opportunity to fine-tune the…

Contents