-
Notifications
You must be signed in to change notification settings - Fork 1.6k
✨ (chore): Introduced project instructions file to guide AI tooling and IDEs. #5038
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
✨ (chore): Introduced project instructions file to guide AI tooling and IDEs. #5038
Conversation
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: camilamacedo86 The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
a815cd3 to
04fdca0
Compare
|
c/c @vitorfloriano |
04fdca0 to
655fb21
Compare
vitorfloriano
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@camilamacedo86 I'm not sure if copilot-instructions.md will be considered by other AI tools.
For example, Gemini uses a file named GEMINI.md placed in root. Claude uses a CLAUDE.md file also placed in root.
It seems that there is no standard way of passing project instructions to AI. Some use .instructions.md or INSTRUCTIONS.md in root for that, but it's not a recognized practice.
| // SetTemplateDefaults implements machinery.Template | ||
| func (f *CopilotInstructions) SetTemplateDefaults() error { | ||
| if f.Path == "" { | ||
| f.Path = filepath.Join(".github", "copilot_instructions.md") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| f.Path = filepath.Join(".github", "copilot_instructions.md") | |
| f.Path = filepath.Join(".github", "copilot-instructions.md") |
|
Yep, I think might not be a good idea |
This PR introduces Copilot-style instructions directly into the repository. While inspired by GitHub Copilot, these instructions are designed to be tool-agnostic, making them usable by a wide range of AI-assisted development tools and IDE integrations.
Benefits