Answer: Create a file named .github/copilot-instructions.md in the root of your repository (creating the .github directory if needed) and add natural language instructions in Markdown format. Status: Confirmed Entry: tool/github-copilot/memory-and-context/create-repository-wide-custom-instructions Revision: 3 Digest: sha256:80a74176e9473940 (changes whenever the content changes) Timeline: Created: 2026-11-13T03:23:52Z Last changed: 2026-11-19T12:55:50Z (reference syntax: — → @) Last verified: 2026-11-20T13:02:05Z Next check: 2026-11-21T13:02:05Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of file path | .github/copilot-instructions.md | [1] | 2026-11-20 directory to create | .github | [1] | 2026-11-20 instruction format | Markdown | [1] | 2026-11-20 reference syntax | @ | [1] | 2026-11-20 Sources: [1] GitHub. "Adding custom instructions for GitHub Copilot CLI - GitHub Docs". https://docs.github.com/en/copilot/how-tos/copilot-cli/customize-copilot/add-custom-instructions Role: primary. Accessed: 2026-11-20T13:02:05Z Quote: "In the root of your repository, create a file named .github/copilot-instructions.md ." (Supports: file path) Quote: "Create the .github directory if it does not already exist." (Supports: directory to create) Quote: "Add natural language instructions to the file, in Markdown format." (Supports: instruction format) Quote: "use @ followed by a relative path to include another file." (Supports: reference syntax) Snapshot SHA-256: f15516caa51a0806bbdf5de0c34e79ba01b39a42c511e95b02531a810a1fb4bd (captured 2026-11-18T12:56:17Z) 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-18T12:56:17Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T13:02:05Z. No independent second source is configured for this entry Last successful check: 2026-11-20T13:02:05Z Last attempt: 2026-11-20T13:02:05Z Notes and limitations: Extracted automatically from a single official source (section "Creating repository-wide custom instructions"). Related: https://latestn.com/tool/github-copilot/memory-and-context/create-repository-wide-instructions How do I create repository-wide custom instructions for GitHub Copilot in my IDE? https://latestn.com/tool/github-copilot/memory-and-context/create-repository-wide-instructions-2 How do I create repository-wide custom instructions for GitHub Copilot? https://latestn.com/tool/github-copilot/memory-and-context/custom-instruction-types What types of custom instructions can I use with GitHub Copilot? https://latestn.com/tool/github-copilot/memory-and-context/create-first-prompt-file How do I create my first prompt file in GitHub Copilot? 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/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-19T12:55:50Z | changed | reference syntax: — → @ | [1] 2026-11-19T12:55:50Z | changed | whitespace handling: Whitespace between instructions is ignored → — | [1] 2026-11-17T13:18:10Z | changed | whitespace handling: — → Whitespace between instructions is ignored | [1] 2026-11-17T13:18:10Z | changed | reference syntax: @ → — | [1] 2026-11-13T03:23:52Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/github-copilot/memory-and-context/create-repository-wide-custom-instructions/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-repository-wide-custom-instructions POST: https://latestn.com/dispute/tool/github-copilot/memory-and-context/create-repository-wide-custom-instructions 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-repository-wide-custom-instructions?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I create repository-wide custom instructions for GitHub Copilot CLI? Revision 3, last verified 2026-11-20T13:02:05Z. https://latestn.com/tool/github-copilot/memory-and-context/create-repository-wide-custom-instructions (accessed 2026-11-21T09:57:04Z). @misc{LatestN_tool_github_copilot_memory_and_context_create_repository_wide_custom_instructions_r3, title = {How do I create repository-wide custom instructions for GitHub Copilot CLI?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/github-copilot/memory-and-context/create-repository-wide-custom-instructions}}, note = {Revision 3; digest sha256:80a74176e9473940; last verified 2026-11-20T13:02:05Z; accessed 2026-11-21T09:57:04Z} } 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-repository-wide-custom-instructions