https://code.visualstudio.com/docs/copilot/copilot-customization#_reusable-prompt-files-experimental
To enable prompt files, configure the chat.promptFiles VS Code setting. By default, prompt files are located in the .github/prompts directory of your workspace. You can also specify additional folders where prompt files are located.
Set the chat.promptFiles setting to true for the .github/prompts directory.
Create a .prompt.md file in the .github/prompts directory of your workspace.
Alternatively, use the Create Prompt command from the Command Palette (Ctrl+Shift+P).
Write prompt instructions by using Markdown formatting.
Within a prompt file, reference additional workspace files as Markdown links (index), or as #file:../index.ts references within the prompt file.
You can also reference other .prompt.md files to create a hierarchy of prompts, with reusable prompts that can be shared across multiple prompt files.
github.copilot.chat.codeGeneration.useInstructionFiles: controls whether code instructions from .github/copilot-instructions.md are added to Copilot requests.
github.copilot.chat.codeGeneration.instructions (Experimental): set of instructions that will be added to Copilot requests that generate code.
github.copilot.chat.testGeneration.instructions (Experimental): set of instructions that will be added to Copilot requests that generate tests.
github.copilot.chat.reviewSelection.instructions (Preview): set of instructions that will be added to Copilot requests for reviewing the current editor selection.
github.copilot.chat.commitMessageGeneration.instructions (Experimental): set of instructions that will be added to Copilot requests that generate commit messages.
github.copilot.chat.pullRequestDescriptionGeneration.instructions (Experimental): set of instructions that will be added to Copilot requests that generate pull request titles and descriptions
https://github.com/jacwu/servers/blob/main/README.md
Git, GitHub, FileSystem
https://devblogs.microsoft.com/dotnet/using-github-models-and-dotnet-to-build-generative-ai-apps/
using Azure;
using Azure.AI.Inference;
using Azure.Identity;
var endpoint = "https://models.inference.ai.azure.com";
var token = Environment.GetEnvironmentVariable("GH-TOKEN"); // Your GitHub Access Token
var client = new ChatCompletionsClient(new Uri(endpoint), new AzureKeyCredential(token));
var chatHistory = new List<ChatRequestMessage>
{
new ChatRequestSystemMessage("You are a helpful assistant that knows about AI")
};
while(true)
{
Console.Write("You: ");
var userMessage = Console.ReadLine();
// Exit loop
if (userMessage.StartsWith("/q"))
{
break;
}
chatHistory.Add(new ChatRequestUserMessage(userMessage));
var options = new ChatCompletionsOptions(chatHistory)
{
Model = "Phi-3-medium-4k-instruct"
};
ChatCompletions? response = await client.CompleteAsync(options);
ChatResponseMessage? assistantMessage = response.Choices.First().Message;
chatHistory.Add(new ChatRequestAssistantMessage(assistantMessage));
Console.WriteLine($"Assistant: {assistantMessage.Content}");
}
https://github.com/davidortinau
https://dev.to/davidortinau/boosting-github-copilot-accuracy-3ja
https://github.com/microsoft/genaiscript/blob/185183d79e77e7ad9baa5169c4ada7e706140497/README.md
https://github.com/blackbaud/skyux/blob/main/.github/prompts/add-scss-override.prompt.md
https://github.com/blackbaud/skyux/blob/main/.github/prompts/scss-override-mixins.prompt.md
https://github.com/blackbaud/skyux/blob/main/.github/prompts/setup-tokenization.prompt.md
https://github.com/jeastham1993/PlantBasedPizza/blob/main/.github/prompts/refactor.prompt.md?plain=1
https://github.com/wilfredinni/django-starter-template/blob/main/.github/prompts/test-view.prompt.md
https://github.com/wilfredinni/django-starter-template/blob/main/.github/copilot-instructions.md
https://github.com/sirkirby/unifi-network-rules/blob/main/.github/prompts/general.prompt.md?plain=1
https://github.com/epam/edp-cluster-add-ons/blob/main/.github/prompts/devops.prompt.md?plain=1
https://github.com/jhd3197/Cacao/blob/main/.github/prompts/commit_gen.prompt.md?plain=1
https://github.com/Blueprints-org/blueprints/blob/main/.github/prompts/casus_tests.prompt.md
https://github.com/Blueprints-org/blueprints/blob/main/.github/prompts/comparison_formula.prompt.md
https://github.com/Blueprints-org/blueprints/blob/main/.github/prompts/comparison_tests.prompt.md
https://github.com/Blueprints-org/blueprints/blob/main/.github/prompts/equation_formula.prompt.md
https://github.com/Blueprints-org/blueprints/blob/main/.github/prompts/equation_tests.prompt.md
https://github.com/jacwu/devbox-teamcustomization-template/blob/main/README.md
https://github.com/github-copilot-resources/copilot-metrics-viewer
https://github.com/github-copilot-resources/copilot-metrics-viewer-power-bi
https://github.com/jacwu/github-materials/tree/main
https://github.com/jacwu/github-materials/blob/main/.github/prompts/form.prompt.md?plain=1
https://github.com/jacwu/github-materials/blob/main/.github/copilot-code-generation-instructions.md
https://github.com/jacwu/github-materials/blob/main/.github/copilot-code-review-instructions.md
https://github.com/jacwu/github-materials/blob/main/.github/copilot-commit-message-instructions.md
https://github.com/jacwu/github-materials/blob/main/.github/copilot-test-generation-instructions.md
https://github.com/jacwu/github-materials/blob/main/github-feature-status/copilot-ide-features.md
https://github.com/jacwu/github-materials/blob/main/github-feature-status/copilot-web-features.md
https://github.com/jacwu/github-materials/blob/main/scenarios/database/prompt.md
https://github.com/jacwu/github-materials/blob/main/scenarios/ui-automation/story.md
https://github.com/jacwu/github-materials/blob/main/features/agent/prompt.md
https://github.com/jacwu/github-materials/blob/main/features/mcp/mcp_server.py
https://github.com/mahata/hono-react-template/blob/main/.github/prompts/react-form.prompt.md https://github.com/mahata/hono-react-template/blob/main/.github/prompts/security-api.prompt.m
https://github.com/raffertyuy/github-copilot-prompts/blob/main/README.md
https://github.com/raffertyuy/github-copilot-prompts/blob/main/.github/copilot-instructions.md
https://github.com/raffertyuy/github-copilot-prompts/blob/main/.github/prompts/unit-tester.prompt.md
https://github.com/raffertyuy/github-copilot-extension-aisearch
https://github.com/JonnyHeavey/ngx-govuk-frontend/blob/main/.github/prompts/copilot.md?plain=1
https://github.com/rendermagix/houdini2chat/blob/main/.github/prompts/.prompt.md?plain=1
https://github.com/rubytaiwan/codespaces-rails-izcc-2025/blob/main/.github/copilot-instructions.md
Struct Automated Project Generator
https://github.com/httpdss/struct/blob/main/README.md
https://github.com/httpdss/struct/blob/main/.github/prompts/struct.prompt.md?plain=1
changelog
list of mcp applications
https://github.com/PrashamTrivedi/valtown-mcp-server/blob/main/mcp.txt
Python / nbdev / json-ld
https://github.com/LA3D/cogitarelink/blob/main/.github/copilot-instructions.md
https://github.com/LA3D/cogitarelink/blob/main/.github/prompts/nbdev.md?plain=1
https://github.com/Cliveo/power-platform-prompts/blob/main/README.md
Table of contents
https://github.com/Cliveo/power-platform-prompts/blob/main/.github/prompts/Prompt.prompt.md
https://github.com/Cliveo/power-platform-prompts/blob/main/.github/prompts/roles.prompt.md?plain=1
https://github.com/Cliveo/power-platform-prompts/blob/main/.github/prompts/Prompt.prompt.md
https://github.com/Cliveo/power-platform-prompts/blob/main/.github/prompts/NFR/nfr.prompt.md
https://github.com/Cliveo/power-platform-prompts/blob/main/.github/prompts/audit/attribute.prompt.md
https://github.com/Cliveo/power-platform-prompts/blob/main/.github/prompts/audit/security.prompt.md
https://github.com/EA31337/ansible-role-metatrader/blob/master/.github/copilot-instructions.md
https://github.com/LuxciumProject/monorepo-one/blob/main/.github/copilot-instructions.md
https://github.com/LuxciumProject/monorepo-one/blob/main/.github/prompts/ci-cd-testing.prompt.md
https://github.com/LuxciumProject/monorepo-one/blob/main/.github/prompts/code-quality.prompt.md
https://github.com/LuxciumProject/monorepo-one/blob/main/.github/prompts/documentation.prompt.md
https://github.com/LuxciumProject/monorepo-one/blob/main/.github/prompts/monorepo-setup.prompt.md
https://github.com/LuxciumProject/monorepo-one/blob/main/.github/prompts/rush-pnpm.prompt.md
https://github.com/LuxciumProject/monorepo-one/blob/main/.github/prompts/security.prompt.md
https://github.com/LuxciumProject/monorepo-one/blob/main/.github/instructions.md
https://github.com/LuxciumProject/monorepo-one/blob/main/.github/tooling-configuration-guide.md
https://github.com/AndreRatzenberger/cursor-rules/blob/main/.github/copilot-instructions.md
https://github.com/AndreRatzenberger/cursor-rules/blob/main/.cursor/rules/command-rules.mdc
https://github.com/AndreRatzenberger/cursor-rules/blob/main/.cursor/rules/on-load-rule.mdc
https://github.com/AndreRatzenberger/pilot-rules/blob/master/README.md
https://github.com/AndreRatzenberger/pilot-rules
https://whiteducksoftware.github.io/flock/
https://github.com/whiteducksoftware/flock
https://github.com/whiteducksoftware/flock/blob/master/.project/planning_prompt.md
https://github.com/theepicsaxguy/homelab/blob/main/.github/prompts/AutomateEnvironment.prompt.md
https://github.com/theepicsaxguy/homelab/blob/main/.github/prompts/kubernetes.prompt.md
https://github.com/theepicsaxguy/homelab/blob/main/.github/prompts/project-documentation.prompt.md
https://github.com/theepicsaxguy/argocd-app-of-apps/blob/main/README.md
https://github.com/theepicsaxguy/argocd-app-of-apps/blob/main/setup-proxmox.md
https://github.com/theepicsaxguy/argocd-app-of-apps/blob/main/.github/.copilot-instructions.md%20
https://github.com/gitleaks/gitleaks
https://github.com/theepicsaxguy/homelab/blob/main/.github/copilot-instructions.md
https://github.com/theepicsaxguy/homelab/blob/main/.github/commit-convention.md
https://github.com/Kitsune-Studios/WA-Bot-Template/blob/main/.github/prompts/agent.md?plain=1
https://github.com/Kitsune-Studios/WA-Bot-Template/blob/main/.github/prompts/improvements.md
https://github.com/nergal-perm/qs-java/blob/master/.github/prompts/generic.prompt.md
https://github.com/benleane83/contoso-co-eShop/blob/main/.github/copilot-instructions.md
https://github.com/Azure-Samples/eShopOnAzure
https://github.com/carlosferreyra/playground/blob/main/.github/prompts/python-guidelines.md
https://github.com/carlosferreyra/playground/blob/main/.github/copilot-instructions.md
https://github.com/Balastrong/github-copilot-demos/blob/main/.github/copilot-instructions-example.md
Image to Code
https://github.com/Balastrong/github-copilot-demos/blob/main/.github/prompts/read-image.prompt.md
https://github.com/enveng-group/dev_greenova/blob/main/.github/copilot-instructions.md
https://github.com/enveng-group/dev_greenova/blob/main/.github/.copilot-test-instructions.md
https://github.com/enveng-group/dev_greenova/blob/main/.github/.copilot-review-instructions.md
https://github.com/enveng-group/dev_greenova/blob/main/.github/prompts/code-review.prompt.md
https://github.com/enveng-group/dev_greenova/blob/main/.github/prompts/technical-writing.prompt.md
https://github.com/enveng-group/dev_greenova/blob/main/.github/prompts/github-issue.prompt.md
https://github.com/enveng-group/dev_greenova/blob/main/.github/prompts/code-review.prompt.md
https://github.com/enveng-group/dev_greenova/blob/main/README.md
https://github.com/greysquirr3l/lashes/blob/main/.github/prompts/TESTING_GO.md?plain=1
https://github.com/greysquirr3l/lashes/blob/main/.github/prompts/GITHUB_CICD.md
https://github.com/greysquirr3l/lashes/blob/main/.github/prompts/OSSF_SECURITY_BASELINES.md
https://github.com/greysquirr3l/lashes/blob/main/.github/copilot-instructions.md
https://github.com/greysquirr3l/lashes/blob/main/.github/copilot-instructions.yml
https://github.com/r4topunk/mycommunity-app/blob/main/.github/prompts/expo.prompt.md?plain=1
https://github.com/r4topunk/mycommunity-app/blob/main/.github/prompts/ui-ux.prompt.md
https://github.com/bobrossrtx/demi-website/blob/master/.github/prompts/changelog.prompt.md
https://github.com/bobrossrtx/demi-website/blob/master/.github/prompts/new-doc.prompt.md
micromamba / uv / unittest
https://github.com/CCSun21/himatcal/blob/main/.github/prompts/dev_env.prompt.md
https://github.com/CCSun21/himatcal/blob/main/.github/prompts/code_test.prompt.md