Skip to content
Back to the public prompt library
Working With AI ToolsWorking With AI Tools10 min lesson

GitHub Copilot — The AI That Lives in Your Editor

Set up GitHub Copilot for inline code completions and AI-assisted development in VS Code.

ai-toolsgithub-copilotvs-codecode-completion
Copy-ready prompt
"I'm using GitHub Copilot in VS Code.
Help me get better suggestions for this task: [describe task].
Tell me:
1. what comments or function names I should write first
2. which related files I should open for context
3. when Copilot is likely enough and when I should switch to a stronger multi-file tool
4. what I must review manually before I accept a suggestion"

Prompt FAQ

Questions to answer before you paste it

When should I use the GitHub Copilot — The AI That Lives in Your Editor prompt?

Set up GitHub Copilot for inline code completions and AI-assisted development in VS Code. Use it when you need a safer starting point than a blank prompt and you want the agent to stay inside explicit constraints.

Should I paste this prompt exactly as written?

No. Treat it as a safe starter. Replace the task, files, constraints, and verification details with your actual context before you run it.

What should I do after the agent answers?

Read the diff, run the checks, and stop after one reviewable step. If you need deeper context, open the lesson that explains the reasoning behind the prompt.

Related prompts worth copying next

Working With AI Tools

Bolt.new and Lovable — Instant Full-Stack Apps

Build complete web applications from a text prompt with Bolt.new and Lovable.

Open prompt page
Working With AI Tools

Breaking Big Ideas into Small Tasks — The Decomposition Pattern

Learn why small, focused prompts produce better code than trying to build everything at once.

Open prompt page
Working With AI Tools

Chain-of-Thought — Making AI Think Step by Step

Use chain-of-thought prompting to get AI to reason through complex coding problems.

Open prompt page