Answer: Create a file named .github/copilot-instructions.md in the root of your repository, creating the .github directory if needed, then add natural language instructions in Markdown format. Status: Confirmed Entry: tool/github-copilot/memory-and-context/create-repository-wide-instructions Revision: 2 Digest: sha256:ef2d73c29d1e4c07 (changes whenever the content changes) Timeline: Created: 2026-11-13T03:25:23Z Last changed: 2026-11-17T13:21:06Z (instruction format: — → Markdown) Last verified: 2026-11-20T13:04:20Z Next check: 2026-11-21T13:04:20Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of file path | .github/copilot-instructions.md | [1] | 2026-11-20 location | root of your repository | [1] | 2026-11-20 directory to create | .github | [1] | 2026-11-20 instruction format | Markdown | [1] | 2026-11-20 Sources: [1] GitHub. "Adding repository custom instructions for GitHub Copilot in your IDE - GitHub Docs". https://docs.github.com/en/copilot/how-tos/copilot-in-your-ide/customize-copilot/configure-custom-instructions/add-repository-instructions-in-your-ide Role: primary. Accessed: 2026-11-20T13:04:20Z Quote: "create a file named .github/copilot-instructions.md" (Supports: file path) Quote: "In the root of your repository, create a file named .github/copilot-instructions.md" (Supports: location) 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) Snapshot SHA-256: fa9b24c45e87550551b175ca30e491916ac4db53a1a36e3282ac8cbfd410f27a (captured 2026-11-18T12:58:50Z) 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:58:50Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T13:04:20Z. No independent second source is configured for this entry Last successful check: 2026-11-20T13:04:20Z Last attempt: 2026-11-20T13:04:20Z 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-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/custom-instruction-types-2 What types of custom instructions does GitHub Copilot CLI support? 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/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-17T13:21:06Z | changed | instruction format: — → Markdown | [1] 2026-11-17T13:21:06Z | changed | directory to create: — → .github | [1] 2026-11-17T13:21:06Z | changed | format: Markdown → — | [1] 2026-11-13T03:25:23Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/github-copilot/memory-and-context/create-repository-wide-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-instructions POST: https://latestn.com/dispute/tool/github-copilot/memory-and-context/create-repository-wide-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-instructions?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I create repository-wide custom instructions for GitHub Copilot in my IDE? Revision 2, last verified 2026-11-20T13:04:20Z. https://latestn.com/tool/github-copilot/memory-and-context/create-repository-wide-instructions (accessed 2026-11-21T10:00:34Z). @misc{LatestN_tool_github_copilot_memory_and_context_create_repository_wide_instructions_r2, title = {How do I create repository-wide custom instructions for GitHub Copilot in my IDE?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/github-copilot/memory-and-context/create-repository-wide-instructions}}, note = {Revision 2; digest sha256:ef2d73c29d1e4c07; last verified 2026-11-20T13:04:20Z; accessed 2026-11-21T10:00:34Z} } 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-instructions