Skip to content

Conversation

@Thalley
Copy link
Contributor

@Thalley Thalley commented Dec 22, 2025

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.

Copy link

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 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]>
@sonarqubecloud
Copy link

Copy link

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

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants