Answer: You teach Copilot your project's conventions by using repository custom instructions, which give Copilot persistent context about your project's structure, coding standards, and how to build and test code. You can ask Copilot cloud agent to generate a copilot-instructions.md file, then review the generated file and merge the pull request. Status: Confirmed Entry: tool/github-copilot/memory-and-context/teach-project-conventions Revision: 3 Digest: sha256:fbb1294e2cfb8e38 (changes whenever the content changes) Timeline: Created: 2026-11-13T03:26:53Z Last changed: 2026-11-19T13:00:20Z (Final step: — → Review the generated file and merge the pull request.) Last verified: 2026-11-20T13:06:40Z Next check: 2026-11-21T13:06:40Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of Method | Repository custom instructions | [1] | 2026-11-20 File to generate | .github/copilot-instructions.md | [1] | 2026-11-20 Agent URL | github.com/copilot/agents | [1] | 2026-11-20 Final step | Review the generated file and merge the pull request. | [1] | 2026-11-20 Sources: [1] GitHub. "Customize Copilot for your project - GitHub Docs". https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview Role: primary. Accessed: 2026-11-20T13:06:40Z Quote: "Repository custom instructions give Copilot persistent context about your project" (Supports: Method) Quote: "adding a .github/copilot-instructions.md file" (Supports: File to generate) Quote: "Go to github.com/copilot/agents ." (Supports: Agent URL) Quote: "Review the generated file and merge the pull request." (Supports: Final step) Snapshot SHA-256: 01aac58edc5b1db79dc4eb10d3b325932a050970800ab1c9e2cff40e1ca855c4 (captured 2026-11-18T13:01:31Z) 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:01:31Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T13:06:40Z. No independent second source is configured for this entry Last successful check: 2026-11-20T13:06:40Z Last attempt: 2026-11-20T13:06:40Z Notes and limitations: Extracted automatically from a single official source (section "Step 1: Teach Copilot your project's conventions"). Related: https://latestn.com/tool/github-copilot/memory-and-context/test-custom-instructions How do I test that my GitHub Copilot custom instructions are working? https://latestn.com/tool/github-copilot/memory-and-context/types-of-memories What types of memories does GitHub Copilot Memory store? https://latestn.com/tool/github-copilot/memory-and-context/use-copilot-spaces-in-ide How do I use GitHub Copilot Spaces in my IDE? https://latestn.com/tool/github-copilot/memory-and-context/set-global-and-repo-instructions How do I set global and repository-specific custom instructions in the GitHub Copilot app? https://latestn.com/tool/github-copilot/memory-and-context/set-up-custom-instructions How do I set up custom instructions for my team in GitHub Copilot? https://latestn.com/tool/github-copilot/memory-and-context/skills-vs-custom-instructions What is the difference between agent skills and custom instructions in GitHub Copilot CLI? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-19T13:00:20Z | changed | Final step: — → Review the generated file and merge the pull request. | [1] 2026-11-19T13:00:20Z | changed | Agent URL: — → github.com/copilot/agents | [1] 2026-11-19T13:00:20Z | changed | File to generate: — → .github/copilot-instructions.md | [1] 2026-11-19T13:00:20Z | changed | Method: — → Repository custom instructions | [1] 2026-11-19T13:00:20Z | changed | final step: Review the generated file and merge the pull request. → — | [1] 2026-11-19T13:00:20Z | changed | agent URL: github.com/copilot/agents → — | [1] 2026-11-19T13:00:20Z | changed | file: .github/copilot-instructions.md → — | [1] 2026-11-19T13:00:20Z | changed | method: Repository custom instructions → — | [1] 2026-11-17T13:24:04Z | changed | final step: — → Review the generated file and merge the pull request. | [1] 2026-11-17T13:24:04Z | changed | agent URL: — → github.com/copilot/agents | [1] 2026-11-17T13:24:04Z | changed | file: — → .github/copilot-instructions.md | [1] 2026-11-17T13:24:04Z | changed | method: — → Repository custom instructions | [1] 2026-11-17T13:24:04Z | changed | Final step: Review the generated file and merge the pull request. → — | [1] 2026-11-17T13:24:04Z | changed | Agent URL: github.com/copilot/agents → — | [1] 2026-11-17T13:24:04Z | changed | File to generate: .github/copilot-instructions.md → — | [1] 2026-11-17T13:24:04Z | changed | Method: Repository custom instructions → — | [1] 2026-11-13T03:26:53Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/github-copilot/memory-and-context/teach-project-conventions/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/teach-project-conventions POST: https://latestn.com/dispute/tool/github-copilot/memory-and-context/teach-project-conventions with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/github-copilot/memory-and-context/teach-project-conventions?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I teach GitHub Copilot my project's conventions? Revision 3, last verified 2026-11-20T13:06:40Z. https://latestn.com/tool/github-copilot/memory-and-context/teach-project-conventions (accessed 2026-11-21T09:54:41Z). @misc{LatestN_tool_github_copilot_memory_and_context_teach_project_conventions_r3, title = {How do I teach GitHub Copilot my project's conventions?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/github-copilot/memory-and-context/teach-project-conventions}}, note = {Revision 3; digest sha256:fbb1294e2cfb8e38; last verified 2026-11-20T13:06:40Z; accessed 2026-11-21T09:54:41Z} } 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/teach-project-conventions