Answer: To create your first prompt file, save the provided code explanation prompt as explain-code.prompt.md in your .github/prompts folder, then in Visual Studio Code display the Copilot Chat view and enter /explain-code. Status: Confirmed Entry: tool/github-copilot/memory-and-context/create-first-prompt-file Revision: 3 Digest: sha256:99ae099c109612ac (changes whenever the content changes) Timeline: Created: 2026-11-13T03:34:18Z Last changed: 2026-11-19T13:10:17Z (availability: public preview → —) Last verified: 2026-11-20T13:16:38Z Next check: 2026-11-21T13:16:38Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of file name | explain-code.prompt.md | [1] | 2026-11-20 folder | .github/prompts | [1] | 2026-11-20 invocation command | /explain-code | [1] | 2026-11-20 supported IDEs | VS Code, Visual Studio, and JetBrains IDEs | [1] | 2026-11-20 Sources: [1] GitHub. "Your first prompt file - GitHub Docs". https://docs.github.com/en/copilot/tutorials/customization-library/prompt-files/your-first-prompt-file Role: primary. Accessed: 2026-11-20T13:16:38Z Quote: "Save the prompt file above as explain-code.prompt.md in your .github/prompts folder." (Supports: file name, folder) Quote: "In Visual Studio Code, display the Copilot Chat view and enter /explain-code ." (Supports: invocation command) Quote: "Prompt files are only available in VS Code, Visual Studio, and JetBrains IDEs." (Supports: supported IDEs) Snapshot SHA-256: 17f1859d6e09e1b77fe49a614e97ef352021f8688e447b295f3c5d8f0a95e810 (captured 2026-11-18T13:13:20Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-18T13:13:20Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T13:16:38Z. No independent second source is configured for this entry Last successful check: 2026-11-20T13:16:38Z Last attempt: 2026-11-20T13:16:38Z Notes and limitations: Extracted automatically from a single official source (section "Your first prompt file"). Related: https://latestn.com/tool/github-copilot/memory-and-context/create-path-specific-custom-instructions How do I create path-specific custom instructions for GitHub Copilot CLI? https://latestn.com/tool/github-copilot/memory-and-context/create-path-specific-instructions How do I create path-specific custom instructions for GitHub Copilot? https://latestn.com/tool/github-copilot/memory-and-context/create-repository-wide-custom-instructions How do I create repository-wide custom instructions for GitHub Copilot CLI? https://latestn.com/tool/github-copilot/memory-and-context/continue-vs-new-conversation When should I continue a GitHub Copilot Chat conversation versus start a new one? https://latestn.com/tool/github-copilot/memory-and-context/copilot-spaces-test-suggestions How can I use GitHub Copilot Spaces to improve test suggestions? https://latestn.com/tool/github-copilot/memory-and-context/create-first-custom-instructions How do I create my first custom instructions for GitHub Copilot? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-19T13:10:17Z | changed | availability: public preview → — | [1] 2026-11-17T13:37:01Z | changed | availability: — → public preview | [1] 2026-11-17T13:37:01Z | changed | availability status: public preview → — | [1] 2026-11-13T03:34:18Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/github-copilot/memory-and-context/create-first-prompt-file/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/github-copilot/memory-and-context/create-first-prompt-file POST: https://latestn.com/dispute/tool/github-copilot/memory-and-context/create-first-prompt-file with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/github-copilot/memory-and-context/create-first-prompt-file?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I create my first prompt file in GitHub Copilot? Revision 3, last verified 2026-11-20T13:16:38Z. https://latestn.com/tool/github-copilot/memory-and-context/create-first-prompt-file (accessed 2026-11-21T09:54:54Z). @misc{LatestN_tool_github_copilot_memory_and_context_create_first_prompt_file_r3, title = {How do I create my first prompt file in GitHub Copilot?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/github-copilot/memory-and-context/create-first-prompt-file}}, note = {Revision 3; digest sha256:99ae099c109612ac; last verified 2026-11-20T13:16:38Z; accessed 2026-11-21T09:54:54Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/github-copilot/memory-and-context/create-first-prompt-file