dev: Add commenting guidelines for LLM contributors (#9077)

This commit is contained in:
Michael Genson authored and GitHub committed 2026-11-08 17:29:11 +00:00
1 parent 924da30f9c
commit a87abe2f9e
1 file changed
+2
+2
View File
@@ -31,6 +31,8 @@ This guidance applies to all contributor prose. It includes pull request titles,
- Limit procedures to 20 words per sentence. Limit descriptions to 25 words per sentence.
- Put one instruction in each sentence.
- Do not use idioms, metaphors, or hedging.
- Never write transient comments or comments that document point-in-time intent (e.g. notes about what changed, why an edit was made, or what was there before).
- Write comments that document what the code does only when the code is not self-documenting.
The goal is text that each reviewer can understand in one read.