From 3743b97a1c07fe19adadaed8073624c0347eb459 Mon Sep 17 00:00:00 2001 From: Aaron Powell Date: Thu, 3 Jul 2025 11:20:34 +1000 Subject: [PATCH] Adding instructions to the Code Review agent (#31) Following the guide from https://docs.github.com/en/copilot/how-tos/agents/copilot-code-review/using-copilot-code-review\#customizing-copilots-reviews-with-custom-instructions --- .github/copilot-instructions.md | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 .github/copilot-instructions.md diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.md new file mode 100644 index 0000000..f97de89 --- /dev/null +++ b/.github/copilot-instructions.md @@ -0,0 +1,7 @@ +When performing a code review, validate that there are changes in the `README.md` file that match the changes in the pull request. If there are no changes, or if the changes do not match, then the pull request is not ready to be merged. + +When performing a code review, ensure that the values in the front matter are wrapped in single quotes. + +When performing a code review, ensure that the `description` field in the front matter is not empty. + +When performing a code review on a `.instructions.md` file, ensure there is an `applyTo` property in the front matter that specifies the file or files to which the instructions apply.