Skip to content

docs: PR description guidelines - #10707

Merged
chrisgervang merged 1 commit into
masterfrom
chr/pr-description-guidelines
Sep 20, 2026
Merged

chrisgervang merged 1 commit into
masterfrom
chr/pr-description-guidelines

Conversation

@chrisgervang

@chrisgervang chrisgervang commented Sep 13, 2026 •

Copy link
Copy Markdown
Collaborator

For #10701

Background

The PR template says which headings to use but not what a good description looks like, and AGENTS.md asks agents for "goals, changes and validation", which is where the long generated descriptions come from. This PR documents the style maintainers already use, with examples from PRs merged between 2016 and 2024, and points the template and AGENTS.md at it.

Change List

  • dev-docs/pr-description-guidelines.md: structure, rules, examples, rewrites, notes for AI assistants
  • .github/pull_request_template.md: comments point to the guidelines
  • AGENTS.md: add "Pull Request Descriptions"; "Ready For Merge" follows the guidelines
  • CONTRIBUTING.md: link the guidelines

This description was drafted by an AI coding agent following the proposed guidelines.


Note

Low Risk
Documentation and contributor-process changes only; no runtime, API, or build behavior changes.

Overview
Adds dev-docs/pr-description-guidelines.md as the canonical style for deck.gl PR descriptions: required template sections (issue link, optional Background, Change List), length and bullet rules, how to record verification, and what to omit (extra sections, file tables, reviewer checkboxes). It includes historical PR examples, before/after rewrites, and a short section for AI assistants.

.github/pull_request_template.md comments now point at that doc and spell out when to use optional Background, Change List bullets, screenshots, and TODO.

AGENTS.md gains a Pull Request Descriptions section aligned with the guidelines and replaces vague “goals, changes and validation” merge handoff text with instructions to follow the template and guidelines.

CONTRIBUTING.md links the new doc in the PR prep list.

Reviewed by Cursor Bugbot for commit 07db528. Bugbot is set up for automated code reviews on this repo. Configure here.

Comment thread .github/pull_request_template.md Resolved
Comment thread .github/pull_request_template.md Resolved
Comment thread dev-docs/pr-description-guidelines.md Resolved
@coveralls

coveralls commented Sep 13, 2026 •

Copy link
Copy Markdown

Coverage Status

coverage: 82.483%. remained the same — chr/pr-description-guidelines into master

@greptile-apps

greptile-apps Bot commented Sep 14, 2026 •

Copy link
Copy Markdown

RetriggerConfidence Score: 5/5

The documentation-only PR appears safe to merge with no outstanding actionable findings.

Summary

This PR establishes concise pull-request description guidance and connects it to the contributor and agent workflows.

  • Adds structure, rules, examples, rewrites, and AI-assistant guidance
  • Updates the pull-request template with concise contextual instructions
  • Aligns merge-readiness instructions with the new guidelines
  • Links the guidelines from the contribution documentation

Reviews (5) · Last reviewed commit: "docs: PR description guidelines"

Comment thread AGENTS.md Resolved
Comment thread .github/pull_request_template.md Resolved
Comment thread .github/pull_request_template.md Resolved
@felixpalmer

Copy link
Copy Markdown
Collaborator

@chrisgervang I appreciate your input here, but it feels a bit backwards to me. The problem of verbose PR description has come about because people are using AI to draft them. Pre-2025 it was rare for somebody to just post a wall of text as they had to type it!

Adding 400 lines of guidelines on how to write a PR description has precisely one audience: AI. No human is going to read and remember all this. The way the text is written assumes in numerous places that it indeed will be AI writing PR descriptions (no surprise, given I strongly suspect it is AI-drafted 😄 ).

The PR template is pretty clear in what is expected in a PR message and people didn't have trouble following the pattern in the past.

In general we should as a TSC come to an agreement on what we want:

  • PR descriptions written by humans (my preference), OR
  • PR descriptions written by AI

@chrisgervang @Pessimistress @ibgreen it would be good to get your vote here. If I'm in the minority here it would be good to know

@chrisgervang

Copy link
Copy Markdown
Collaborator Author

Well, yeah - it includes hundreds of lines of quotation that I wanted to include and it was drafted by AI.

It was a reasoning and research exercise - the tokens went through over a hundred PR descriptions over the last decade, pre-AI, to reason about what contributors do (it's a skill the models are very good at). And then I am going through it to rewrite weird text until it's something that seems good to go..

You could say I've assimilated (and in some cases resigned) to the new habits that the majority of engineers around me have adopted.

The optimist in me thinks there are big improvements we can make with these new tools.. and we need to invest more time into creating an environment in which good code and development practices are followed.

long walls of text, lazy communication, and poorly written comments are very annoying to review.

AIs can write useful and easy to read descriptions with good guidance.. I don't actually believe another person's AI will write a better summary because they don't know why someone is making this change.

Comment thread dev-docs/pr-description-guidelines.md Resolved
@felixpalmer

Copy link
Copy Markdown
Collaborator

OK well so we can move forward, why don't we merge this and see how the PR descriptions evolve over the next months. I'm out until the end of the year anyway, and there doesn't seem to be a strong support in the TSC to mandate human written descriptions, so I don't see the harm in better guiding the LLMs

Comment thread AGENTS.md Resolved
Comment thread dev-docs/pr-description-guidelines.md Resolved
Comment thread dev-docs/pr-description-guidelines.md Resolved
Comment thread dev-docs/pr-description-guidelines.md Resolved
Comment thread dev-docs/pr-description-guidelines.md Resolved
@chrisgervang
chrisgervang changed the base branch from felix/ai-policy to master September 19, 2026 03:27
Add dev-docs/pr-description-guidelines.md based on descriptions from PRs
merged between 2016 and 2024, point the PR template and AGENTS.md at it,
and link it from CONTRIBUTING.md.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01FxTrx7YCgJTjgKsAMxu2st
@chrisgervang chrisgervang mentioned this pull request Oct 7, 2026
53 of 66 tasks
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