Skip to content

Agents: tighten the pull request description rules - #339

Draft
ericholscher wants to merge 2 commits into
mainfrom
claude/amazing-turing-7m4a0y-pr-descriptions
Draft

ericholscher wants to merge 2 commits into
mainfrom
claude/amazing-turing-7m4a0y-pr-descriptions

Conversation

@ericholscher

@ericholscher ericholscher commented Oct 26, 2026 •

Copy link
Copy Markdown
Member

🤖 Generated with Claude Code · session

The current rules say what a PR description should be about but not how long it should be or where it should stop, so agent-written descriptions still come out at 150–200 words with a paragraph of roadmap ("this is the first of several…"), links to unrelated PRs, and open questions left for the reviewer to answer. Two docs PRs on readthedocs.org this week needed a rewrite for exactly that, and the rewritten versions were half the length with nothing lost.

The new section keeps the existing rules and adds the three that bound the problem: a fixed order (problem, approach and what the diff doesn't show, what the reviewer has to do), a cap of about 120 words, and "describe only this PR". It also says to state a choice rather than ask about it, and moves the AI-generated note from a footer to the first line so reviewers see it before reading.

Once merged, sync-agents.sh --apply pushes it to the sibling repos.

Give the description a fixed order (problem, approach, what the reviewer
must do), a length cap, and a scope rule so agents stop writing roadmap
context and open questions into PR bodies.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019qNu2BuxS1RBohnVdGovpF
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