Skip to content

Agents: add PR description guidance on rationale over restatement#307

Merged
ericholscher merged 6 commits into
mainfrom
claude/agents-pr-description-guidelines-OMdXH
Jun 2, 2026
Merged

Agents: add PR description guidance on rationale over restatement#307
ericholscher merged 6 commits into
mainfrom
claude/agents-pr-description-guidelines-OMdXH

Conversation

@ericholscher
Copy link
Copy Markdown
Member

@ericholscher ericholscher commented Jun 2, 2026

AGENTS.md is copied into every production repo, so its PR section shapes every agent-written PR. The guidance was loose enough to produce bloated descriptions that just restate the diff — and, twice in this PR's own history, duplicate "generated by AI" footers. This sharpens that section to ask for the why over a restatement of the what, and fixes the footer rule so a second one never gets appended. A few stale lines in the surrounding text are corrected in passing.

AGENTS.md is the canonical copy and there's no separate CLAUDE.md here, so this is the only place to change.

@ericholscher ericholscher marked this pull request as ready for review June 2, 2026 05:45
@ericholscher ericholscher requested a review from a team as a code owner June 2, 2026 05:45
@ericholscher ericholscher requested a review from agjohnson June 2, 2026 05:45
Comment thread AGENTS.md
- Use Django conventions and best practices
- Use type hints for function signatures
- Write clear, concise docstrings for public functions and classes
- Run linters and formatters using `tox -e pre-commit` before committing code
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

There were multiple mentions of pre-commit so removed this to make it explicit.

Comment thread AGENTS.md Outdated
@ericholscher ericholscher merged commit f78fcfb into main Jun 2, 2026
@ericholscher ericholscher deleted the claude/agents-pr-description-guidelines-OMdXH branch June 2, 2026 15:08
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.

3 participants