Skip to content

Extend Copilot code review guidelines - #11904

Merged
stephanos merged 7 commits into
mainfrom
stephanos/extend-prompt
Sep 2, 2026
Merged

Extend Copilot code review guidelines#11904
stephanos merged 7 commits into
mainfrom
stephanos/extend-prompt

Conversation

@stephanos

@stephanos stephanos commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

WISOTT

@stephanos
stephanos marked this pull request as ready for review September 2, 2026 19:36
@stephanos
stephanos requested review from a team as code owners September 2, 2026 19:36
@github-actions

github-actions Bot commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

Claude finished @stephanos's task in 1m 51s —— View job


Reviewed 1 file, 3 findings.
stephanos/extend-prompt

Comment thread .github/copilot-instructions.md Outdated
Comment thread .github/copilot-instructions.md Outdated
Comment thread .github/copilot-instructions.md Outdated

@chrsmith chrsmith left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Needs a PR description, of course ;) But these updates all look good to me. Though I left one opinion as a comment.

Comment thread .github/copilot-instructions.md Outdated

## 7. Code comments

- Write standalone comments as full sentences that start with a capital letter and end with punctuation. End-of-line comments may be sentence fragments.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I think this is a good rule to add, but I'd relax the language slightly. e.g. if you are using a comment to identify a stanza of code it doesn't need to be a complete sentence.

e.g.

...

// Validation
...

Or when writing a table driven test, having a comment to break up lists of things like // Positive tests. Arguably that is a complete sentence, but I don't think we want the AI to be nagging people about putting a period at the end of it.

How about: "For non-trivial comments..."?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Yeah good point! Basically it should be saying "if it looks like a sentence, make it a sentence".

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I added some exceptions there now, we can adjust if it's overzealous.

@stephanos
stephanos enabled auto-merge (squash) September 2, 2026 21:14
@stephanos
stephanos merged commit 07a9dc3 into main Sep 2, 2026
55 checks passed
@stephanos
stephanos deleted the stephanos/extend-prompt branch September 2, 2026 21:19
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