AI SummaryThese instructions are derived from and apply to all AI-assisted contributions to the Zephyr RTOS repository. the file's native comment syntax:
Install
Copy this and paste it into Claude Code, Cursor, or any AI assistant:
I want to add the "zephyr — Copilot Instructions" prompt rules to my project. Repository: https://github.com/zephyrproject-rtos/zephyr Please read the repo to find the rules/prompt file, then: 1. Download it to the correct location (.cursorrules, .windsurfrules, .github/prompts/, or project root — based on the file type) 2. If there's an existing rules file, merge the new rules in rather than overwriting 3. Confirm what was added
Description
Primary Git Repository for the Zephyr Project. Zephyr is a new generation, scalable, optimized, secure RTOS for multiple hardware architectures.
Prerequisites
• All contributions target the main branch via GitHub Pull Requests. • Familiarity with CMake, Git, and GitHub is assumed. ---
Zephyr Project — Copilot Instructions
These instructions are derived from doc/contribute/ and apply to all AI-assisted contributions to the Zephyr RTOS repository.
Licensing & File Headers
• All new files must use Apache 2.0 and include SPDX headers at the very top using the file's native comment syntax: ` SPDX-FileCopyrightText: Copyright The Zephyr Project Contributors SPDX-License-Identifier: Apache-2.0 ` The copyright statement may refer to the individual or organization who authored the contribution but "Copyright The Zephyr Project Contributors" is always the preferred form. • External code under a license other than Apache 2.0 requires TSC + governing board approval before integration. ---
Developer Certificate of Origin (DCO)
• Every commit requires a Signed-off-by line — only humans may add this; AI agents should not add Signed-off-by tags unless explicitly requested by humans. • The human submitter is responsible for reviewing all AI-generated code, ensuring license compliance, and signing off. • Use a real legal name and real email address (no pseudonyms, no noreply addresses). Do not add a Co-authored-by tag to commit messages. When AI tools are used, add an attribution tag in the commit message: ` Assisted-by: [Agent Name]:[Model Version] [Tool1] [Tool2] ` Example: ` Assisted-by: Claude:claude-opus-4.6 coccinelle ` Basic tools (git, gcc, make, editors) should not be listed. ---
Discussion
Health Signals
My Fox Den
Community Rating
Sign in to rate this booster
Works With
Any AI assistant that accepts custom rules or system prompts