Repository navigation
docs: Guide PR descriptions toward a TL;DR, Why, and What changes - #152
Merged
Merged
Conversation
doistbot
reviewed
Dec 4, 2026
doistbot
left a comment
Member
There was a problem hiding this comment.
This PR adds a pull request description template and a matching AGENTS.md section guiding descriptions toward a short TL;DR, Why, and What changes. No inline issues were flagged; the template's guidance lines up with existing repo conventions, and reviewers found no security or reuse concerns since the change is documentation-only.
I also left one optional follow-up note in the details below.
Optional follow-up note (1)
AGENTS.md:122: This paragraph forbids naming symbols outright, but the template it points at (
.github/PULL_REQUEST_TEMPLATE.md, line 11) carves out an exception: "A refactor may name the symbol it moves or renames when that is the point of the PR." Since the PR argues agents follow AGENTS.md more reliably than template comments, a rename PR written from these rules would cut the one name the template allows, and a reviewer reading both gets two answers. Add the same exception here, e.g. "…unless a refactor's point is the symbol it moves or renames".
This was referenced Dec 4, 2026
docs: Guide PR descriptions toward a TL;DR, Why, and What changes
todoist/todoist-sdk-typescript#808
Merged
Merged
3 tasks
gnapse
added a commit
to todoist/todoist-mcp
that referenced
this pull request
Dec 4, 2026
## ⚡ TL;DR PR descriptions now open with a short TL;DR, then explain why the PR exists and what changes, in plain words. This replaces the template's single "Short description". ## 🤔 Why Agents write most of our PR descriptions, and they're hard to follow. They mix the cause, the mechanism and the fix. Code names and unexplained project terms creep in, so reviewers read the diff to understand the description. ## 🛠 What changes - The "Short description" becomes three sections: **TL;DR** (one or two sentences), **Why** and **What changes**. "Closes #..." moves into a new **Reference** section, and a **Test plan** section is added. - The template is written for a teammate who has never worked on this part of Todoist MCP. Descriptions name only what the models and clients calling its tools see: tool and parameter names. Internal files, functions, types and modules stay out. - The limit is "fits on one screen". The template also says the PR title sets the release version, and asks for a "Not verified:" line in the Test plan. - AGENTS.md gets a short section with the same rules and a re-read pass before opening the PR. Agents follow AGENTS.md more reliably than template comments. - The checklist asks to register new tools in every place AGENTS.md lists. It replaces an item that pointed to registration code the tool registry has since replaced. - The same template goes to the Todoist and Comms MCP servers, CLIs and SDKs. Each copy differs only where the repo does: what callers see, how to try a change, and the examples. It follows the same change in comms-web and todoist-web. Trade-off: a TL;DR and a Why can repeat each other. The template tells authors not to. ## 🔗 Reference Same change in the other repos: - todoist/todoist-cli#739 - todoist/todoist-sdk-typescript#808 - todoist/comms-mcp#135 - todoist/comms-cli#152 - todoist/comms-sdk-typescript#174 ## 🧪 Test plan 1. On this branch, ask Claude Code or Codex to write a description for a merged PR from its diff alone. - [ ] It opens with a TL;DR of one or two sentences. - [ ] TL;DR, Why and What changes name no internal files, functions or types. - [ ] Project terms are explained the first time they appear. Not verified: nobody has run step 1 yet.
gnapse
added a commit
to todoist/todoist-cli
that referenced
this pull request
Dec 4, 2026
## ⚡ TL;DR PR descriptions now open with a short TL;DR, then explain why the PR exists and what changes, in plain words. This repo had no PR template, so this adds one. ## 🤔 Why Agents write most of our PR descriptions, and they're hard to follow. They mix the cause, the mechanism and the fix. Code names and unexplained project terms creep in, so reviewers read the diff to understand the description. ## 🛠 What changes - A new template with five sections: **TL;DR** (one or two sentences), **Why**, **What changes**, **Reference** and **Test plan**. - The template is written for a teammate who has never worked on this part of the Todoist CLI. Descriptions name only what the people, scripts and agents running it see: commands, flags and `--json` fields. Internal files, functions, types and modules stay out. - The limit is "fits on one screen". The template also says the PR title sets the release version, and asks for a "Not verified:" line in the Test plan. - AGENTS.md gets a short section with the same rules and a re-read pass before opening the PR. Agents follow AGENTS.md more reliably than template comments. - The same template goes to the Todoist and Comms MCP servers, CLIs and SDKs. Each copy differs only where the repo does: what callers see, how to try a change, and the examples. It follows the same change in comms-web and todoist-web. Trade-off: a TL;DR and a Why can repeat each other. The template tells authors not to. ## 🔗 Reference Same change in the other repos: - todoist/todoist-mcp#829 - todoist/todoist-sdk-typescript#808 - todoist/comms-mcp#135 - todoist/comms-cli#152 - todoist/comms-sdk-typescript#174 ## 🧪 Test plan 1. On this branch, ask Claude Code or Codex to write a description for a merged PR from its diff alone. - [ ] It opens with a TL;DR of one or two sentences. - [ ] TL;DR, Why and What changes name no internal files, functions or types. - [ ] Project terms are explained the first time they appear. Not verified: nobody has run step 1 yet.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
⚡ TL;DR
PR descriptions now open with a short TL;DR, then explain why the PR exists and what changes, in plain words. This repo had no PR template, so this adds one.
🤔 Why
Agents write most of our PR descriptions, and they're hard to follow. They mix the cause, the mechanism and the fix. Code names and unexplained project terms creep in, so reviewers read the diff to understand the description.
🛠 What changes
--jsonfields. Internal files, functions, types and modules stay out.Trade-off: a TL;DR and a Why can repeat each other. The template tells authors not to.
🔗 Reference
Same change in the other repos:
🧪 Test plan
Not verified: nobody has run step 1 yet.