diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.md index 3bc651eb2f2..f43cefaacaa 100644 --- a/.github/copilot-instructions.md +++ b/.github/copilot-instructions.md @@ -6,6 +6,7 @@ - Start review comments with a short, one-sentence summary of the suggested fix. - Do not add comments about code style, formatting or linting issues. +- The main review status comment should be inside a collapsible section with the summary as title. No header sections outside of the collapsible section. # GitHub Copilot & Claude Code Instructions diff --git a/script/gen_copilot_instructions.py b/script/gen_copilot_instructions.py index ed8c75d18f5..b0bb41db0b8 100755 --- a/script/gen_copilot_instructions.py +++ b/script/gen_copilot_instructions.py @@ -23,6 +23,7 @@ COPILOT_SPECIFIC_INSTRUCTIONS = """ - Start review comments with a short, one-sentence summary of the suggested fix. - Do not add comments about code style, formatting or linting issues. +- The main review status comment should be inside a collapsible section with the summary as title. No header sections outside of the collapsible section. """