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

  • Coding Agent Task Brief with Guardrails, Test Plan, and Rollback Steps

    Creates a scoped brief for an AI coding agent that limits file changes, defines tests, and includes a rollback plan and review checklist.

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.