✨ Set up Copilot instructions for Zephyr repository #216
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR implements comprehensive Copilot instructions for the Zephyr repository as requested in issue #XX. The instructions are designed to help AI-assisted development maintain consistency with Zephyr's established patterns and architecture.
What's Added
A new
.github/copilot-instructions.mdfile that provides:Project-Specific Guidance
bin/,profiles/, and category-based module directorieszephyrctl,library.sh,bootstrap.sh, and the module ecosystemDevelopment Standards
set -eufo pipefail), consistent function naming (kebab-case), and proper error handlingQuality Assurance
print-status,print-error, and other library functions for uniform user experiencePractical Examples
The instructions include working code templates based on actual repository patterns:
Why This Matters
Zephyr is a sophisticated Ubuntu customization framework with specific architectural patterns and conventions. These instructions ensure that AI-assisted development:
The instructions are tailored specifically to Zephyr's Bash-based architecture and modular design, providing context that generic coding guidelines cannot offer.
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.