Commit 464cabf
Add structured PR template and write-pr-description skill (#673)
## Summary
Replaces the free-form PR template with a structured three-section
format and
adds a `/write-pr-description` Claude command so agents and contributors
can
generate high-quality PR descriptions automatically.
## Why
The current PR template asks contributors to answer "what" and "why" but
provides little structure beyond that. In practice, PR descriptions vary
widely
in quality and organization, making reviews harder and reducing the
long-term
value of the git history.
A structured template (Summary / Why / What Changed) gives contributors
a clear
framework to follow, while the Claude command automates the process for
agent
workflows — reading the diff, analyzing the change, and producing a
description
that follows the template.
## What changed
### Interface changes
None.
### Behavioral changes
None. This only affects PR description authoring, not SDK behavior.
### Internal changes
- **`.github/PULL_REQUEST_TEMPLATE.md`** — Rewritten with three sections
(Summary, Why, What Changed) and ordered sub-sections under "What
Changed":
Interface changes → Behavioral changes → Internal changes. Includes
inline
guidance and examples in HTML comments so it works standalone for
non-Claude
contributors.
- **`.claude/commands/write-pr-description.md`** — New Claude command
(invocable
via `/write-pr-description`) with a four-phase workflow: gather context
→
analyze → write → update PR. References the PR template as the single
source
of truth for structure.
## How is this tested?
N/A — no code changes, only documentation and tooling configuration.
NO_CHANGELOG=true
Signed-off-by: Ubuntu <renaud.hartert@databricks.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>1 parent 0b809d2 commit 464cabf
File tree
2 files changed
+143
-20
lines changed- .claude/commands
- .github
2 files changed
+143
-20
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
2 | 7 | | |
3 | | - | |
4 | | - | |
| 8 | + | |
5 | 9 | | |
6 | | - | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
7 | 13 | | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
14 | 19 | | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
19 | 63 | | |
20 | 64 | | |
21 | 65 | | |
22 | | - | |
23 | | - | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
24 | 69 | | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
0 commit comments