Skip to content

Create github-copilot-custom-instructions.md#24

Closed
rajbos wants to merge 6 commits intogithub:mainfrom
rajbos:main
Closed

Create github-copilot-custom-instructions.md#24
rajbos wants to merge 6 commits intogithub:mainfrom
rajbos:main

Conversation

@rajbos
Copy link
Copy Markdown

@rajbos rajbos commented Jul 2, 2025

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.

@aaronpowell aaronpowell requested a review from Copilot July 3, 2025 01:22
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.md with 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"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This matches the title, it'd be preferable if they aren't the same.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any proposed text? I am blanking on how to differentiate 😄

@jamesmontemagno
Copy link
Copy Markdown
Contributor

@aaronpowell in insiders now the team has a prompt built in so I don't think this is needed anymore.

@aaronpowell
Copy link
Copy Markdown
Contributor

@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"
Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any proposed text? I am blanking on how to differentiate 😄

@rajbos
Copy link
Copy Markdown
Author

rajbos commented Jul 8, 2025

@aaronpowell
Copy link
Copy Markdown
Contributor

Yep, with the feature now built into the VS Code experience, I'm going to close this PR.

@aaronpowell aaronpowell closed this Jul 9, 2025
github-actions bot added a commit that referenced this pull request Apr 3, 2026
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants