Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions .github/copilot-instructions.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# GitHub Copilot Instructions

Check warning on line 1 in .github/copilot-instructions.md

View workflow job for this annotation

GitHub Actions / Run compliance checks on patch series (PR)

Copyright missing

.github/copilot-instructions.md:1 File has no SPDX-FileCopyrightText header, consider adding one.

Check warning on line 1 in .github/copilot-instructions.md

View workflow job for this annotation

GitHub Actions / Run compliance checks on patch series (PR)

License missing

.github/copilot-instructions.md:1 File has no SPDX-License-Identifier header, consider adding one.

This project follows the coding and contribution guidelines outlined in the [Zephyr Project Documentation](https://docs.zephyrproject.org/latest/). GitHub Copilot should follow these principles when providing suggestions for code completion and reviews:

## Coding Style and Guidelines
- Adhere to the coding style defined in the [Coding Guidelines](https://docs.zephyrproject.org/latest/contribute/coding_guidelines/index.html).
- Ensure code is formatted to meet these style requirements.
- Prefer functions and constructs defined in the guidelines.

## Contribution Guidelines
- Follow the contribution process described in the [Contribution Guide](https://docs.zephyrproject.org/latest/contribute/index.html).
- Maintain consistency with existing code.
- Require commits to follow the format specified in the guidelines.

## Key Practices for Copilot
- Prefer idiomatic Zephyr APIs and patterns where applicable.
- Use documentation examples as the default reference for common tasks.
- Avoid recommendations that diverge from the principles outlined in the Zephyr documentation.

For detailed standards, contributors are expected to review the latest version of the Zephyr Project documentation linked above.
Loading