-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Learn Customization Course #9665
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 2 commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
5840179
Initial commit
theReynald 38647d0
Added episodes 2 - 7
theReynald 5be051a
Added docs for Ep 8 & Updated toc.json sequence / card summary
theReynald ab48045
Moved Repo Analyzer image to Testing the App section
theReynald 01c52d3
Updated code based on reviews - 1st iteration
theReynald ec0c8a0
Renamed image files to match new sequence and updated files to correc…
theReynald eaa5e0f
Addressed suggestions with copilot:
theReynald 211352b
Addressed 2nd round of comments. Also updated image the referenced Ch…
theReynald File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,100 @@ | ||
| --- | ||
| ContentId: b1c2d3e4-f5a6-7b8c-9d0e-1f2a3b4c5d6e | ||
| DateApproved: 04/17/2026 | ||
| MetaDescription: Learn why customization matters for getting the most out of GitHub Copilot in VS Code. | ||
| MetaSocialImage: ../images/shared/agent-first-development-social.png | ||
| --- | ||
|
|
||
| # Why customization matters | ||
|
theReynald marked this conversation as resolved.
Outdated
|
||
|
|
||
| Introduction to the Customization | ||
|
theReynald marked this conversation as resolved.
Outdated
|
||
|
|
||
| <!-- IMAGE PLACEHOLDER - YouTube thumbnail embed showing the Customization UI --> | ||
|
|
||
| Most developers are using VS Code the same way: open chat, type something, and hope for a good result. Sometimes it works. Sometimes it doesn't. | ||
|
|
||
| But here's the problem. They never configure it. | ||
|
|
||
| VS Code is no longer just an editor. It's an environment where you can define how AI works across your entire workflow. And if you're not doing that, you're essentially starting from scratch every time. | ||
|
|
||
| This guide covers what customization is, why it matters, and how to use the Customization UI in VS Code. | ||
|
theReynald marked this conversation as resolved.
Outdated
|
||
|
|
||
| Before you start: you'll need VS Code Insiders installed and the GitHub Copilot and GitHub Copilot Chat extensions set up and signed in. | ||
|
theReynald marked this conversation as resolved.
|
||
|
|
||
| ## What is Customization? | ||
|
theReynald marked this conversation as resolved.
Outdated
|
||
|
|
||
| Customization in VS Code Copilot Chat lets you define how the AI behaves, responds, and operates within your workflow. | ||
|
theReynald marked this conversation as resolved.
Outdated
|
||
|
|
||
| Instead of relying on one-off prompts, you can create reusable building blocks: | ||
|
|
||
| - **Agents** - specialized modes for different tasks | ||
| - **Skills** - domain-specific capabilities and workflows | ||
| - **Instructions** - persistent rules and coding conventions | ||
| - **Prompts** - reusable prompt templates | ||
| - **Hooks** - automated actions triggered by events | ||
|
|
||
| We'll cover the above in depth in later guides, but for now, just note that together these allow you to shape Copilot into a context-aware assistant that follows your standards, understands your project, and automates repetitive work. | ||
|
|
||
| ## Why Customization Matters | ||
|
theReynald marked this conversation as resolved.
Outdated
|
||
|
|
||
| You may ask yourself: Is customization really needed? Why not just jump into doing the work without it? Without customization, every interaction looks like this: | ||
|
|
||
| - You restate context | ||
| - You restate expectations | ||
| - You restate how you want things done | ||
|
|
||
| This leads to: | ||
|
|
||
| - Inconsistent results | ||
| - More effort | ||
| - More trial and error | ||
|
|
||
| Customization changes that. It allows you to: | ||
|
|
||
| - Define behavior once | ||
| - Reuse it across your workflow | ||
| - Get consistent, higher-quality outputs | ||
|
|
||
| Instead of prompting better, you're building a system that works for you. | ||
|
|
||
| ## The Customization UI | ||
|
theReynald marked this conversation as resolved.
Outdated
|
||
|
|
||
| VS Code provides a single place to manage all customization features. | ||
|
|
||
| To get started: | ||
|
|
||
| 1. Open Copilot Chat (click the Chat icon). | ||
|
theReynald marked this conversation as resolved.
Outdated
|
||
| 2. Click the Configure (gear) icon in the Chat panel header. | ||
|
theReynald marked this conversation as resolved.
Outdated
theReynald marked this conversation as resolved.
Outdated
|
||
|
|
||
| <!-- IMAGE PLACEHOLDER - Chat screenshot --> | ||
|  | ||
|
theReynald marked this conversation as resolved.
Outdated
|
||
|
|
||
| This opens the Customization UI. | ||
|
|
||
| <!-- IMAGE PLACEHOLDER - Customization UI screenshot --> | ||
|  | ||
|
theReynald marked this conversation as resolved.
Outdated
|
||
| From here, you can create and manage: | ||
|
|
||
| - Agents | ||
| - Skills | ||
| - Custom instructions | ||
| - Prompt files | ||
| - Hooks | ||
|
|
||
| Instead of searching across folders, everything is centralized for easier discovery and management. | ||
|
|
||
| The Customization UI brings everything into one place. It makes it easier to define how your development environment behaves, not just what it generates. That's the shift. | ||
|
theReynald marked this conversation as resolved.
Outdated
|
||
|
|
||
| Instead of interacting with AI one prompt at a time, you're building a system that consistently works the way you want. | ||
|
|
||
| ## What's Next | ||
|
|
||
| You now understand what customization is and how the Customization UI brings it all together. | ||
|
|
||
| To learn more about each customization type and how to use them effectively, continue with the customization guides and videos in this series. | ||
|
|
||
| ## Learn more | ||
| - [Download VS Code](https://code.visualstudio.com/) | ||
|
theReynald marked this conversation as resolved.
Outdated
|
||
| - Set up GitHub Copilot in VS Code | ||
| - Copilot Chat panel docs | ||
|
theReynald marked this conversation as resolved.
Outdated
|
||
| - Choosing an AI model for Copilot Chat | ||
|
theReynald marked this conversation as resolved.
Outdated
theReynald marked this conversation as resolved.
Outdated
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,162 @@ | ||
| --- | ||
| ContentId: c2d3e4f5-a6b7-8c9d-0e1f-2a3b4c5d6e7f | ||
| DateApproved: 04/17/2026 | ||
| MetaDescription: Learn how to use prompt files to customize GitHub Copilot in VS Code. | ||
| MetaSocialImage: ../images/shared/agent-first-development-social.png | ||
| --- | ||
|
|
||
| # **Introduction to Prompt Files** | ||
|
theReynald marked this conversation as resolved.
Outdated
|
||
|
|
||
| IMAGE PLACEHOLDER — YouTube thumbnail embed showing Prompt Files UI | ||
|
|
||
| If you’re constantly repeating prompts, you’re doing too much. | ||
|
|
||
| Most developers still rely on typing instructions over and over in chat. It works sometimes, but it’s inefficient and inconsistent. There’s a better way to handle repeatable workflows. | ||
|
|
||
|
theReynald marked this conversation as resolved.
Outdated
|
||
| This guide covers what prompt files are, why they matter, and how to use them effectively in VS Code. | ||
|
|
||
| --- | ||
|
|
||
| ## **What Are Prompt Files?** | ||
|
theReynald marked this conversation as resolved.
Outdated
|
||
|
|
||
| [Prompt files](https://code.visualstudio.com/docs/copilot/customization/prompt-files) are reusable markdown files that define instructions or context for chat sessions. | ||
|
theReynald marked this conversation as resolved.
Outdated
|
||
|
|
||
| Instead of rewriting the same prompt repeatedly, you create it once and reference it whenever needed. This allows you to standardize workflows across projects or even across teams. | ||
|
|
||
| They act as reusable building blocks for common tasks you perform during development. | ||
|
|
||
| --- | ||
|
|
||
| ## **Why Prompt Files Matter** | ||
|
theReynald marked this conversation as resolved.
Outdated
|
||
|
|
||
| Without prompt files, every interaction looks the same: | ||
|
|
||
| - You restate the task | ||
| - You restate the context | ||
| - You restate how you want it done | ||
|
|
||
| This leads to: | ||
|
|
||
| - repetitive work | ||
| - inconsistent outputs | ||
| - slower workflows | ||
|
|
||
| Prompt files solve this by letting you define instructions once and reuse them whenever needed. | ||
|
|
||
| Instead of prompting better, you’re building a system that works for you. | ||
|
|
||
| --- | ||
|
|
||
| ## **Example: Quiz Your Codebase** | ||
|
|
||
| One practical use of prompt files is learning or reviewing code. | ||
|
|
||
| In this example, a prompt file was created to quiz you on the currently open files in your project. | ||
|
|
||
|  | ||
|
theReynald marked this conversation as resolved.
Outdated
|
||
| This prompt filet: | ||
|
theReynald marked this conversation as resolved.
Outdated
theReynald marked this conversation as resolved.
Outdated
|
||
|
|
||
| - analyzes the current code context | ||
| - generates multiple choice questions | ||
| - helps reinforce understanding of unfamiliar code | ||
|
|
||
| Once created, you can trigger it directly from chat using `/quiz-open-files`. | ||
|
|
||
|  | ||
|
|
||
| Instead of manually writing a long prompt every time, the logic is already defined and ready to reuse. | ||
|
|
||
| --- | ||
|
|
||
| ## **When Prompt Files Make Sense** | ||
|
|
||
| Prompt files are most useful when: | ||
|
|
||
| - you repeat the same task multiple times | ||
| - the prompt contains detailed instructions | ||
| - you want consistent results across files or projects | ||
|
|
||
| If something is only done once, a prompt file may not be necessary. | ||
|
|
||
| But for repeated workflows, they become extremely valuable. | ||
|
|
||
| --- | ||
|
|
||
| ## **Creating a Prompt File** | ||
|
|
||
| You can create prompt files directly from the chat interface. | ||
|
|
||
|  | ||
|
|
||
| Start by triggering the create command and defining your intent. | ||
|
|
||
| For example, you might create a prompt to: | ||
|
|
||
| - simplify and reduce bloated code | ||
| - explain what changes were made | ||
| - apply only to open files | ||
|
|
||
| Once created, the prompt file is stored and can be reused instantly. | ||
|
|
||
| You can review and modify it at any time from the Customization UI. | ||
|
|
||
| --- | ||
|
|
||
| ## **Workspace vs User-Level Prompts** | ||
|
|
||
| By default, prompt files may be created at the workspace level. | ||
|
|
||
| This means they are tied to a specific project. | ||
|
|
||
| If you want to reuse them across multiple projects, move them to the user level instead. | ||
|
|
||
| This allows you to build a personal library of reusable AI workflows. | ||
|
|
||
|  | ||
|
|
||
| --- | ||
|
|
||
| ## **Example: Refactoring Code** | ||
|
|
||
| A prompt file can also be used to improve code quality. | ||
|
|
||
| For example: | ||
|
|
||
| - reduce bloated code | ||
| - simplify logic | ||
| - explain optimizations | ||
|
|
||
| When executed, the AI not only updates the code but also explains what was changed and why. | ||
|
|
||
| This makes it easier to evaluate different models and approaches based on efficiency and clarity. | ||
|
|
||
| --- | ||
|
|
||
| ## **The Bigger Shift** | ||
|
|
||
| The real value of prompt files is not just convenience. | ||
|
|
||
| It’s the shift from: | ||
|
|
||
| **one-off prompting → reusable systems** | ||
|
|
||
| Instead of rewriting instructions every time, you define them once and reuse them across your workflow. | ||
|
|
||
| This leads to faster development and more consistent AI behavior. | ||
|
|
||
| --- | ||
|
|
||
| ## **What’s Next** | ||
|
|
||
| Prompt files are just one part of the customization system. | ||
|
|
||
| If you want even more control over how AI behaves, the next step is exploring custom instructions. | ||
|
|
||
| --- | ||
|
|
||
| ## **Learn more** | ||
|
|
||
| - [Download VS Code](https://code.visualstudio.com/) | ||
|
theReynald marked this conversation as resolved.
Outdated
|
||
| - [Set up GitHub Copilot in VS Code](https://code.visualstudio.com/docs/copilot/setup) | ||
| - [Copilot Chat panel docs](https://code.visualstudio.com/docs/copilot/chat/copilot-chat) | ||
|
theReynald marked this conversation as resolved.
Outdated
|
||
| - [Choosing an AI model for Copilot Chat](https://docs.github.com/copilot/using-github-copilot/ai-models/changing-the-ai-model-for-copilot-chat) | ||
|
theReynald marked this conversation as resolved.
Outdated
|
||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.