Answer: The page provides core custom instructions to start with, including a Markdown block for writing functions that tells GitHub Copilot to add descriptive JSDoc comments, include input validation, use early returns for error conditions, add meaningful variable names, and include at least one example usage in comments. Status: Confirmed Entry: tool/github-copilot/memory-and-context/create-first-custom-instructions Revision: 3 Digest: sha256:82a2a0d435643134 (changes whenever the content changes) Timeline: Created: 2026-11-13T03:34:10Z Last changed: 2026-11-18T13:13:07Z (instruction 5: — → Include at least one example usage in comments) Last verified: 2026-11-20T13:16:27Z Next check: 2026-11-21T13:16:27Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of instruction topic | writing functions | [1] | 2026-11-20 format | Markdown | [1] | 2026-11-20 instruction 1 | Add descriptive JSDoc comments | [1] | 2026-11-20 instruction 2 | Include input validation | [1] | 2026-11-20 instruction 3 | Use early returns for error conditions | [1] | 2026-11-20 instruction 4 | Add meaningful variable names | [1] | 2026-11-20 instruction 5 | Include at least one example usage in comments | [1] | 2026-11-20 Sources: [1] GitHub. "Your first custom instructions - GitHub Docs". https://docs.github.com/en/copilot/tutorials/customization-library/custom-instructions/your-first-custom-instructions Role: primary. Accessed: 2026-11-20T13:16:27Z Quote: "Instructions on writing functions" (Supports: instruction topic) Quote: "Instructions on writing functions Markdown" (Supports: format) Quote: "- Add descriptive JSDoc comments" (Supports: instruction 1) Quote: "- Include input validation" (Supports: instruction 2) Quote: "- Use early returns for error conditions" (Supports: instruction 3) Quote: "- Add meaningful variable names" (Supports: instruction 4) Quote: "- Include at least one example usage in comments" (Supports: instruction 5) Snapshot SHA-256: f24ffc06e71ef4c28c9447c1f41632eeb87e81874e0701d3faf2e6287117a83d (captured 2026-11-18T13:13:09Z) 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:07Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T13:16:27Z. No independent second source is configured for this entry Last successful check: 2026-11-20T13:16:27Z Last attempt: 2026-11-20T13:16:27Z Notes and limitations: Extracted automatically from a single official source (section "Your first instructions"). Related: 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/github-copilot/memory-and-context/context-info-breakdown How do I get an on-demand context breakdown with session.metadata.contextInfo in the GitHub Copilot SDK? 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/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-18T13:13:07Z | changed | instruction 5: — → Include at least one example usage in comments | [1] 2026-11-18T13:13:07Z | changed | instruction 4: — → Add meaningful variable names | [1] 2026-11-18T13:13:07Z | changed | instruction 3: — → Use early returns for error conditions | [1] 2026-11-18T13:13:07Z | changed | instruction 2: — → Include input validation | [1] 2026-11-18T13:13:07Z | changed | instruction 1: — → Add descriptive JSDoc comments | [1] 2026-11-18T13:13:07Z | changed | format: — → Markdown | [1] 2026-11-18T13:13:07Z | changed | instruction topic: — → writing functions | [1] 2026-11-18T13:13:07Z | changed | fifth instruction: Include at least one example usage in comments → — | [1] 2026-11-18T13:13:07Z | changed | fourth instruction: Add meaningful variable names → — | [1] 2026-11-18T13:13:07Z | changed | third instruction: Use early returns for error conditions → — | [1] 2026-11-18T13:13:07Z | changed | second instruction: Include input validation → — | [1] 2026-11-18T13:13:07Z | changed | first instruction: Add descriptive JSDoc comments → — | [1] 2026-11-18T13:13:07Z | changed | instruction format: Markdown → — | [1] 2026-11-16T13:01:04Z | changed | fifth instruction: — → Include at least one example usage in comments | [1] 2026-11-16T13:01:04Z | changed | fourth instruction: — → Add meaningful variable names | [1] 2026-11-16T13:01:04Z | changed | third instruction: — → Use early returns for error conditions | [1] 2026-11-16T13:01:04Z | changed | second instruction: — → Include input validation | [1] 2026-11-16T13:01:04Z | changed | first instruction: — → Add descriptive JSDoc comments | [1] 2026-11-16T13:01:04Z | changed | instruction format: — → Markdown | [1] 2026-11-16T13:01:04Z | changed | example usage: Include at least one example usage in comments → — | [1] 2026-11-16T13:01:04Z | changed | variable names: Add meaningful variable names → — | [1] 2026-11-16T13:01:04Z | changed | early returns: Use early returns for error conditions → — | [1] 2026-11-16T13:01:04Z | changed | input validation: Include input validation → — | [1] 2026-11-16T13:01:04Z | changed | JSDoc comments: Add descriptive JSDoc comments → — | [1] 2026-11-16T13:01:04Z | changed | instruction topic: writing functions → — | [1] 2026-11-13T03:34:10Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/github-copilot/memory-and-context/create-first-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-first-custom-instructions POST: https://latestn.com/dispute/tool/github-copilot/memory-and-context/create-first-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-first-custom-instructions?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I create my first custom instructions for GitHub Copilot? Revision 3, last verified 2026-11-20T13:16:27Z. https://latestn.com/tool/github-copilot/memory-and-context/create-first-custom-instructions (accessed 2026-11-21T09:53:51Z). @misc{LatestN_tool_github_copilot_memory_and_context_create_first_custom_instructions_r3, title = {How do I create my first custom instructions for GitHub Copilot?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/github-copilot/memory-and-context/create-first-custom-instructions}}, note = {Revision 3; digest sha256:82a2a0d435643134; last verified 2026-11-20T13:16:27Z; accessed 2026-11-21T09:53:51Z} } 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-custom-instructions