Skip to content

Commit 8301f33

Browse files
committed
add vscode github copilot chat modes and prompts examples
1 parent 76657c8 commit 8301f33

File tree

1 file changed

+31
-3
lines changed

1 file changed

+31
-3
lines changed

docs/posts/2025/2025-08-31-vibe-coding-cheat-sheet.md

Lines changed: 31 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,41 @@ date:
1414

1515
# Vibe coding cheat sheet
1616

17-
Some useful patterns for Vibe coding. This blog will be regularly updated with new tips and tricks.
17+
Some useful patterns for Vibe coding. This blog will be regularly updated with new tips.
1818

1919
<!-- more -->
2020

21-
## Github Copilot instructions
21+
## Github Copilot Instructions
2222

23-
[Azure SDK for Python copilot instructions](https://github.com/Azure/azure-sdk-for-python/blob/main/.github/copilot-instructions.md)
23+
[Custom instructions](https://code.visualstudio.com/docs/copilot/customization/custom-instructions?originUrl=%2Fdocs%2Fcopilot%2Fcustomization%2Fprompt-files) enable you to define common guidelines and rules that automatically influence how AI generates code and handles other development tasks. Instead of manually including context in every chat prompt, specify custom instructions in a Markdown file to ensure consistent AI responses that align with your coding practices and project requirements.
24+
25+
VSCode supports:
26+
27+
- A single instruction file at `.github/copilot-instructions.md`
28+
- Multiple instruction files (`domain.instructions.md`) in the `.github/instructions` folder
29+
30+
Examples:
31+
32+
- [Azure SDK for Python copilot instructions](https://github.com/Azure/azure-sdk-for-python/blob/main/.github/copilot-instructions.md)
33+
- Example to add multiple instruction files: [microsoft/vscode-jupyter: Component-Specific Instructions](https://github.com/microsoft/vscode-jupyter/blob/main/.github/copilot-instructions.md)
34+
35+
## Github Copilot Chat Modes
36+
37+
[VSCode chat modes](https://code.visualstudio.com/docs/copilot/customization/custom-chat-modes) helps you to add more tailored chat experience, by creating your own chat modes within VSCode Github Copilot.
38+
39+
Examples:
40+
41+
- [microsoft/vscode-jupyter: bugix chatmode](https://github.com/microsoft/vscode-jupyter/blob/main/.github/chatmodes/bugfix.chatmode.md)
42+
- https://github.com/dfinke/awesome-copilot-chatmodes/
43+
44+
## Github Copilot Prompt files
45+
46+
VSCode Github Copilot Prompt helps you to create [reusable prompt templates for Github Copilot chat](https://code.visualstudio.com/docs/copilot/customization/prompt-files) in the `.github/prompts` folder.
47+
48+
Examples:
49+
50+
- [microsoft/vscode-jupyter: prompts](https://github.com/microsoft/vscode-jupyter/tree/main/.github/prompts)
51+
- [Azure/azure-sdk-for-python: prompts](https://github.com/Azure/azure-sdk-for-python/tree/main/.github/prompts)
2452

2553
## Claude Code rules
2654

0 commit comments

Comments
 (0)