Skip to content

.github: add basic copilot.md pointing to .agent/rules#10694

Open
kv2019i wants to merge 1 commit intothesofproject:mainfrom
kv2019i:202604-add-copilot-instructions
Open

.github: add basic copilot.md pointing to .agent/rules#10694
kv2019i wants to merge 1 commit intothesofproject:mainfrom
kv2019i:202604-add-copilot-instructions

Conversation

@kv2019i
Copy link
Copy Markdown
Collaborator

@kv2019i kv2019i commented Apr 10, 2026

Commit 07f53cb ("agent: add basic workflows for agents") added rules in .agent/rules. As Copilot doesn't at least currently automatically pick up .agent/rules, add a separate .github instruction file pointing copilot to the .agent/rules, so we have a single place for mandatory agent guidance. If a single convention is established in the industry, we can drop these, but for now it's not the case.

Commit 07f53cb ("agent: add basic workflows for agents") added
rules in .agent/rules. As Copilot doesn't at least currently automatically
pick up .agent/rules, add a separate .github instruction file pointing
copilot to the .agent/rules, so we have a single place for mandatory
agent guidance. If a single convention is established in the industry,
we can drop these, but for now it's not the case.

Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
@kv2019i kv2019i requested a review from dbaluta as a code owner April 10, 2026 13:32
Copilot AI review requested due to automatic review settings April 10, 2026 13:32
@kv2019i kv2019i requested a review from lgirdwood as a code owner April 10, 2026 13:32
@kv2019i kv2019i requested a review from abonislawski April 10, 2026 13:32
Copy link
Copy Markdown
Contributor

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

Adds a GitHub Copilot instruction file under .github/instructions/ to direct Copilot to use the authoritative repository agent guidance maintained in .agent/rules/, keeping mandatory guidance centralized.

Changes:

  • Introduces .github/instructions/copilot.md with mandatory guidance to consult .agent/rules/ first
  • Defines expected behavior and output constraints aligned with the rules directory

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

You are GitHub Copilot operating in this repository.

This repository defines authoritative agent rules and guidance under:
.agent/rules/
Copy link

Copilot AI Apr 10, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line 4 references .agent/rules/ without inline-code formatting, while later references use backticks. For consistency/readability, consider formatting the path on line 4 the same way (e.g., inline code, and/or a Markdown link).

Suggested change
.agent/rules/
`.agent/rules/`

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants