-
Notifications
You must be signed in to change notification settings - Fork 8.4k
github: Add copilot-instructions.md #101442
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
base: main
Are you sure you want to change the base?
Conversation
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.
Pull request overview
This PR adds a GitHub Copilot instructions file to configure how Copilot performs code reviews and provides suggestions for the project. The file directs Copilot to follow Zephyr Project's coding and contribution guidelines when reviewing code and making suggestions.
- Adds copilot-instructions.md file in the .github directory
- References Zephyr Project documentation for coding style and contribution guidelines
- Provides specific instructions for Copilot to prefer idiomatic Zephyr APIs and patterns
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Add the copilot-instructions.md that Github Copilot will use when performing e.g. code review, as defined by https://docs.github.com/en/copilot/how-tos/use-copilot-agents/request-a-code-review/use-code-review The content of the file is generated by https://github.com/copilot based on a few inputs, and can be modified/extended as we want. The purpose of adding the file is to improve the quality and process of using Github Copilot for reviews, and help catch more "trivial" issues and help users to more easily follow the contribution and coding guidelines. Signed-off-by: Emil Gydesen <[email protected]>
b50d6e4 to
e5dec91
Compare
|
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.
Pull request overview
Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.



Add the copilot-instructions.md that Github Copilot will use when performing e.g. code review, as defined by https://docs.github.com/en/copilot/how-tos/use-copilot-agents/request-a-code-review/use-code-review
The content of the file is generated by https://github.com/copilot based on a few inputs, and can be modified/extended as we want.
The purpose of adding the file is to improve the quality and process of using Github Copilot for reviews, and help catch more "trivial" issues and help users to more easily follow the contribution and coding guidelines.