Browse curated AI prompts for GitHub Copilot.
Let Copilot explain failing test output and propose fixes.
Use Copilot to isolate bugs by adding targeted logging and diagnostic output.
Use Copilot to write integration tests around your most important API endpoint.
Add missing unit tests to existing business logic using Copilot as a test generator.
Modernize legacy callback patterns into async/await using Copilot.
Break a large legacy function into small, testable pieces using Copilot.
Create a new service module with interface, implementation, and tests using Copilot.
Turn a feature ticket into a structured plan, files, and implementation using Copilot.
Step-by-step workflow for creating React components
Complete workflow for building a production-ready REST API
Ask Copilot to rewrite code to follow your project’s style and conventions.
Use Copilot to look for common security pitfalls in a code snippet.
Ask Copilot to review a diff and point out issues, smells, and improvements.
Have Copilot generate migration scripts for schema changes based on a before/after view.
Use Copilot to diagnose and optimize a slow SQL query, including index suggestions.
Ask Copilot to translate a human requirement into a SQL SELECT query.
Have Copilot model UI states as a simple state machine, instead of scattered booleans.
Prompt Copilot to build a form with React Hook Form and schema validation.
Use Copilot to generate a responsive layout in React + Tailwind from a textual brief.
Turn a human-readable domain description into Prisma models and relationships.