Skip to content

docs: Clarify comment and PR-body guidelines for agents#21596

Merged
mydea merged 1 commit into
developfrom
chore/update-claude-guidelines
Jun 17, 2026
Merged

docs: Clarify comment and PR-body guidelines for agents#21596
mydea merged 1 commit into
developfrom
chore/update-claude-guidelines

Conversation

@mydea

@mydea mydea commented Jun 17, 2026

Copy link
Copy Markdown
Member

Two clarifications to the agent guidelines in AGENTS.md (surfaced as CLAUDE.md):

  • Comments explain why, not what. Adds a Coding Standards rule that comments should never restate what the code does or describe the change being made — only the non-obvious reasoning warrants a comment.
  • Omit the "Summary" heading in PR bodies. PR descriptions should lead with the summary text directly rather than under a ## Summary header. The existing Root cause guidance is kept.

🤖 Generated with Claude Code

Document two conventions in AGENTS.md (CLAUDE.md): comments must explain why
not what, and PR bodies should omit the "Summary" heading.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@mydea mydea requested review from JPeer264, Lms24 and andreiborza June 17, 2026 07:58
@mydea mydea merged commit e408422 into develop Jun 17, 2026
37 checks passed
@mydea mydea deleted the chore/update-claude-guidelines branch June 17, 2026 09:03
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