// "Creates changesets for semantic versioning and automates release notes. Determines correct version bump type (patch/minor/major) and generates well-documented changelog entries. Triggers on: add changeset, create changeset, version bump, prepare release, CHANGELOG, breaking change, pnpm changeset."
| name | creating-changesets |
| description | Creates changesets for semantic versioning and automates release notes. Determines correct version bump type (patch/minor/major) and generates well-documented changelog entries. Triggers on: add changeset, create changeset, version bump, prepare release, CHANGELOG, breaking change, pnpm changeset. |
| allowed-tools | Read, Grep, Glob, Write, Edit, Bash(git:*), Bash(npx changeset:*) |
Automate the creation of changesets following project conventions, ensuring proper version bumps and well-documented release notes.
A changeset is a markdown file in the .changeset/ directory that describes:
| Type | When to Use | Version Change |
|---|---|---|
patch | Bug fixes, documentation, refactoring, dependency updates | 1.0.0 โ 1.0.1 |
minor | New features, non-breaking enhancements | 1.0.0 โ 1.1.0 |
major | Breaking changes, API modifications | 1.0.0 โ 2.0.0 |
patch for:minor for:major for:pnpm changeset
Follow the prompts:
Create a file in .changeset/ with a random name:
---
"@saleor/configurator": minor
---
Add support for reference attributes with entityType field
- Attributes of type REFERENCE now require an entityType field
- Introspection properly captures entity type references
- Deploy correctly handles reference attribute creation
---
"package-name": patch|minor|major
---
Short description of the change (shown in CHANGELOG)
Optional longer description with:
- Bullet points for details
- Code examples if needed
- Migration instructions for breaking changes
pnpm changeset
git add .changeset/
git commit -m "chore: add changeset for feature"
# See what changesets exist
npx changeset status
# Preview version bump
npx changeset version --dry-run
| Mistake | Issue | Fix |
|---|---|---|
| Wrong bump type | Unexpected version | Review decision guide above |
| Vague description | Poor CHANGELOG | Be specific about changes |
| Missing changeset | No release notes | Always add before PR |
| Multiple changesets | Fragmented notes | Combine related changes |
| Not including context | Hard to understand | Explain why not just what |
For detailed examples of common scenarios including:
{baseDir}/.changeset/config.json - Changeset configuration{baseDir}/CHANGELOG.md - Generated changelogmanaging-github-ci for release workflow integrationvalidating-pre-commit for quality gates before committing