Create github-copilot-custom-instructions.md#24
Create github-copilot-custom-instructions.md#24rajbos wants to merge 6 commits intogithub:mainfrom rajbos:main
Conversation
There was a problem hiding this comment.
Pull Request Overview
This PR adds a new custom instructions file for GitHub Copilot to guide code suggestions and enforce repository conventions.
- Introduces
prompts/github-copilot-custom-instructions.mdwith front matter and detailed guidance. - Specifies coding guidelines, working practices, and file-ignore rules for Copilot.
| --- | ||
| mode: "ask, edit, agent" | ||
| tools: ["codebase", "editFiles", "problems"] | ||
| description: "Create a GitHub Copilot Custom instructions file" |
There was a problem hiding this comment.
This matches the title, it'd be preferable if they aren't the same.
There was a problem hiding this comment.
Any proposed text? I am blanking on how to differentiate 😄
|
@aaronpowell in insiders now the team has a prompt built in so I don't think this is needed anymore. |
oh really? I must've missed that in the recent update notes. Got a link to the issue tracking it? |
| --- | ||
| mode: "ask, edit, agent" | ||
| tools: ["codebase", "editFiles", "problems"] | ||
| description: "Create a GitHub Copilot Custom instructions file" |
There was a problem hiding this comment.
Any proposed text? I am blanking on how to differentiate 😄
|
I guess it this feature, now to find the announcement / release. It's for this 😁 |
|
Yep, with the feature now built into the VS Code experience, I'm going to close this PR. |
Syncs Learning Hub mirror with upstream github/copilot-cli-for-beginners commit 6ea4d0623687e8235ceb7fa0e2be37cefd024071 (PR #43, PR #24 recovery). Changes applied: - Replace 'Copilot coding agent' with 'GitHub Copilot cloud agent' (01, 03, 05) - Add /new and /rewind commands to context management section (02) - Update context usage example to 62k/200k tokens (02) - Reorder and expand slash command reference tables (01) - Update /allow-all description to include [on|off|show] options (01) - Add /clear, /new, /rewind to Session command table (01) - Update /rename description (01) - Update context efficiency tips table with /rewind row (02) - Update best practices and summary to include new commands (01, 02) - Update demo intro text for Demo 1 (01) - Bump lastUpdated to 2026-04-03 on all modified pages Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This pull request introduces a new custom instructions file for GitHub Copilot, aimed at improving the quality and relevance of AI-generated suggestions. The file provides detailed guidance on coding practices, repository-specific conventions, and exclusions to ensure focused and meaningful changes.
Enhancements to GitHub Copilot Custom Instructions:
prompts/github-copilot-custom-instructions.md: Added a new file to define custom instructions for GitHub Copilot, including guidelines for coding practices, preferred workflows, and repository-specific conventions. It also includes directives to avoid irrelevant changes, such as fixing unrelated issues or modifying temporary files.