You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
chore(claude): Add changelog updating to PR and standalone skills (#926)
## Summary
Integrates changelog updating into the Claude Code PR creation workflow
and adds a standalone `/update-changelogs` skill. Moves the changelog
documentation from the README into a dedicated file at
`docs/contributing/updating-changelogs.md` so it can be referenced by
both skills and human contributors.
- Add a mandatory "Update changelogs" phase (Phase 4) to the PR skill,
before PR creation
- Add a standalone `update-changelogs` skill for ad-hoc changelog
updates
- Move changelog documentation from `README.md` to
`docs/contributing/updating-changelogs.md` with minor wording
improvements
- Update `.gitignore` to track `docs/contributing/`
## Testing
These changes are to documentation and Claude Code skill definitions.
Verified that:
- The relative links from skill files to the changelog docs resolve
correctly
- The `.gitignore` change correctly tracks the new `docs/contributing/`
directory
- The README link to the extracted documentation is valid
🤖 Generated with [Claude Code](https://claude.com/claude-code)
<!-- CURSOR_SUMMARY -->
---
> [!NOTE]
> **Low Risk**
> Low risk: changes are limited to documentation, Claude skill
instructions, and `.gitignore` rules with no runtime code or release
logic changes.
>
> **Overview**
> Adds a mandatory **"Update changelogs"** phase to the
`.claude/skills/pr` workflow, requiring contributors to follow
`docs/contributing/updating-changelogs.md` and commit changelog updates
before running `gh pr create`.
>
> Introduces a standalone `.claude/skills/update-changelogs` skill for
ad-hoc changelog updates, moves the changelog guidance from `README.md`
into `docs/contributing/updating-changelogs.md`, and updates
`.gitignore` so `docs/contributing/` is tracked.
>
> <sup>Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit
d4c0024. Bugbot is set up for automated
code reviews on this repo. Configure
[here](https://www.cursor.com/dashboard/bugbot).</sup>
<!-- /CURSOR_SUMMARY -->
Copy file name to clipboardExpand all lines: .claude/skills/pr/SKILL.md
+9-3Lines changed: 9 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -107,14 +107,20 @@ Otherwise, after all launched subagents complete:
107
107
- Abort
108
108
4. If there are no blockers, briefly summarize the findings and proceed.
109
109
110
-
## Phase 4: Create the PR
110
+
## Phase 4: Update changelogs
111
111
112
-
5. Run `gh pr create` to create a pull request. The PR body should include:
112
+
**MANDATORY — DO NOT SKIP.** Each PR must update changelogs for all packages with consumer-facing changes.
113
+
Read the instructions in [`docs/contributing/updating-changelogs.md`](../../../docs/contributing/updating-changelogs.md) and follow them to the letter.
114
+
Commit the changes to the current branch with the commit message "docs: Update changelogs" before creating the PR.
115
+
116
+
## Phase 5: Create the PR
117
+
118
+
1. Run `gh pr create` to create a pull request. The PR body should include:
113
119
114
120
- A brief narrative description of the PR
115
121
- A summary of the changes (bullet points)
116
122
- A brief description of how the code is tested (narrative, not a checklist)
117
123
118
124
**If this is a stacked PR**, add `--draft` to create it as a draft PR.
119
125
120
-
6. Return the PR URL and any relevant information. If a review was performed, include the review summary.
126
+
2. Return the PR URL and any relevant information. If a review was performed, include the review summary.
description: Updates changelogs for all packages with consumer-facing changes.
4
+
---
5
+
6
+
When asked to update changelogs, follow these steps:
7
+
8
+
1. Read the instructions in [`docs/contributing/updating-changelogs.md`](../../../docs/contributing/updating-changelogs.md) and follow them to the letter.
9
+
2. Commit the changes to the current branch with the commit message "docs: Update changelogs" before creating the PR.
0 commit comments