Skip to content
| Marketplace
Sign in
Visual Studio Code>AI>Custom Prompts for GitHub Copilot ChatNew to Visual Studio Code? Get it now.
Custom Prompts for GitHub Copilot Chat

Custom Prompts for GitHub Copilot Chat

Julien Tanay

|
1,111 installs
| (1) | Free
GitHub Copilot chat extension enabling re-use of prompts across developer teams.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Custom Prompts for Github Copilot Chat

Share custom prompts for Github Copilot Chat with your team.

Usage

Use @customPrompts to invoke the assistant, then select the desired command.

Configuration

Add your custom prompts in .vscode/settings.json as follow:

{
  "customPrompts": {
    "prompts": [
      {
        "command": "prefixwithlegacy",
        "content": "Rename functions with the 'legacy_' prefix.",
        "name": "Refactor: prefix with 'legacy_'", // optional
        "description": "Use this to rename functions with the 'legacy_' prefix.", // optional
      },
    ],
  },
}

Then, in the chat, enter @customPrompts /load /<command> to invoke the custom command; e.g. with the example config above: @customPrompts /load /prefixwithlegacy

Available Commands

  • /load: Use @customPrompts /load /<command> to invoke a custom command.

Credits

Inspirations:

  • https://github.com/microsoft/vscode-extension-samples/tree/main/chat-sample
  • https://github.com/wolfsilver/friday
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft