GitHub Copilot prompts

10 prompts

Prompts for GitHub Copilot in your editor and on GitHub. They suit Copilot Chat and agent mode: explaining code, writing tests, reviewing a pull request or carrying out a change across several files.

1 result

  • Codex Writes an AGENTS.md for This Repository From the Real Setup

    Has Codex inspect your repository and write a short, accurate AGENTS.md with the real build, test and lint commands, conventions and boundaries, checked by actually running them.

About GitHub Copilot prompts

Where do I use these prompts in Copilot?

In Copilot Chat in VS Code, Visual Studio or a JetBrains IDE, or in agent mode for changes across files. Some also work on GitHub.com, for example when you ask Copilot about a pull request.

Can I share standing instructions with my team?

Yes. Put them in .github/copilot-instructions.md in the repository and Copilot adds them to every chat there. Keep one-off task prompts like these in the chat itself.

How do I point Copilot at the right code?

Open or select the relevant files, or reference them with # in Copilot Chat, before you paste the prompt. The blanks in each prompt name the context it needs.