Heya HN!<p>I'm exploring ways to integrate GitHub Copilot more effectively into my daily development work across different domains: web, backend, and mobile app development. My idea is to create a "prompt book" for each domain, containing common tasks and queries. This would allow me to quickly use Copilot to generate detailed code snippets based on a curated list of prompts tailored to the task at hand.<p>As an example Copilot for security has a prompt book pre-built by MS for security tasks:
https://learn.microsoft.com/en-us/security-copilot/using-promptbooks<p>In the domain of backend programming this could help with:<p><pre><code> - stub code for endpoints
- stub code for common file types
- stub code for types of integration and unit testing
- answer common questions like whether an API change is breaking
- give tips on common logging and error handling cases
</code></pre>
It's all meant to help speed up development but a strong understanding of the material is still required to avoid wonkiness.<p>I'm curious to know if anyone in the community has experience creating or using prompt books with Copilot. Are there existing resources out there, or has anyone found this approach beneficial for their development workflow? Any insights, examples, or resources you could share would be greatly appreciated. :D