The why behind a pull request
Reviewers ask 'why this way?' and the answer is in a meeting from three weeks ago that I cannot find.
- When to run it
- When opening a pull request
- Works with
- VoiceCap, Code host
- Reads
- One client, account or project
You get
A context section of under 150 words with links, ready for the pull request. Under it, the concerns raised in meetings that a reviewer is likely to raise again.
Prompt
Words in [brackets] are yours to fill in.
Prompt
I am opening a pull request for [change]. From the meetings where it was discussed, write the context section of the description: the problem in two sentences, the decision that was made and by whom, the alternatives that were rejected with the reason for each, and any constraint that explains an odd-looking choice in the code. Link each point to the moment it was said. Then list concerns anyone raised about this approach, so I can say how the change handles each one or that it does not. Under 150 words, plain text, no praise for the solution. If my code host is connected, put it into the draft pull request description; otherwise give me the text. Work from the transcripts, not the summaries. Link each point to its moment and say "not discussed" rather than guess. If a bracket is blank, ask first.
- When opening a pull request
- One client, account or project
- + Code host
Make it yours
Check the links are to meetings your reviewers can open, or keep the quotes and drop the links.