pr-changeset
Create changesets for package changes in pull requests. Use whenever you modify code in any package (packages/*). Required before committing changes to packages. Handles versioning with patch for bug fixes, minor for features, and major only when explicitly requested.
Security Assessment
About pr-changeset
The pr-changeset skill automates the creation of changeset files in pull requests when changes are made to packages under the 'packages/*' directory. This skill ensures that the release pipeline can identify what has been modified and how to appropriately version it. It simplifies the process by generating changeset files for bug fixes, new features, or documentation changes, allowing the versioning process to be handled smoothly. Without the changeset, the release pipeline would not know what changes occurred or how to version them correctly.
FAQ
How does the pr-changeset skill determine which version bump to apply?
The skill analyzes the modified files to classify the changes as either bug fixes (patch), feature improvements (minor), or breaking changes (major). If the change is not a breaking change, it will either apply a patch or minor bump based on the nature of the change.
Can I use this skill for changes outside of the packages/* directory?
No, this skill specifically tracks and creates changesets for files modified within the 'packages/*' directory. Changes outside this directory will not trigger a changeset.
What if I forget to include a changeset?
The release pipeline will not process the changes correctly without a changeset. This skill ensures that every change is accompanied by a changeset to enable proper versioning and changelog generation.
Are there any special requirements for the changeset file format?
Yes, the changeset file must follow a specific markdown format, including a list of modified packages and their version bump type. The file name must be a randomly generated combination of three words followed by '.md'.
Is this skill compatible with all git workflows?
Yes, this skill works within any git-based workflow as long as changes are made to the 'packages/*' directory and the appropriate commands (such as 'git status' or 'git diff') are used to identify modified packages.
Install pr-changeset
Quick Setup:
- Copy the skill folder to
.claude/skills/ - Claude will automatically detect and use the skill
Repository
OpenSaasAU/stack