mcpField
C
creating-changesets

creating-changesets

github.com/saleorDevelopment3094 installsUpdated 10w ago
Repository

About creating-changesets

A skill for creating Changesets that follow a project's release conventions. It helps maintainers choose package version bumps, write release notes, and prepare changes for the Changesets release workflow.

Key features

  1. 01Guidance for patch, minor, and major bumps
  2. 02Interactive and manual Changeset creation
  3. 03Markdown format examples
  4. 04Release workflow and status checks
  5. 05Common mistakes and scenario guidance

Use cases

  1. 01Recording a completed feature or fix
  2. 02Preparing changes before a pull request
  3. 03Documenting breaking changes
  4. 04Checking pending version bumps

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/saleor/configurator --skill creating-changesets

After installing, type/creating-changesetsin Claude Code to confirm it loaded.

Bundled filesreferences/scenarios.md

Details

From the project README

Changeset & Release Manager

Overview

Automate the creation of changesets following project conventions, ensuring proper version bumps and well-documented release notes.

When to Use

  • After completing a feature or fix
  • Before creating a PR
  • When preparing a release
  • To document breaking changes

What is a Changeset?

A changeset is a markdown file in the .changeset/ directory that describes:

  1. Which packages are affected
  2. What type of version bump (patch/minor/major)
  3. A description of the change

Changeset Types

TypeWhen to UseVersion Change
patchBug fixes, documentation, refactoring, dependency updates1.0.0 → 1.0.1
minorNew features, non-breaking enhancements1.0.0 → 1.1.0
majorBreaking changes, API modifications1.0.0 → 2.0.0

Decision Guide

Use patch for:
  • Bug fixes that don't change behavior
  • Documentation updates
  • Internal refactoring (no API changes)
  • Dependency updates (non-breaking)
  • Performance improvements
  • Code style/linting fixes
Use minor for:
  • New features
  • New CLI commands
  • New configuration options
  • Enhanced functionality
  • New entity types support
  • Non-breaking API additions
Use major for:
  • Breaking configuration changes
  • Removed features or commands
  • Changed CLI interface
  • Required migration steps
  • Node.js version requirement changes

Creating a Changeset

Interactive Method
pnpm changeset

Follow the prompts:

  1. Select affected packages (space to select)
  2. Choose bump type for each package
  3. Write a summary of changes
Manual Method

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
File Format
---
"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

Release Workflow

1. Create Changeset
pnpm changeset
git add .changeset/
git commit -m "chore: add changeset for feature"
2. PR and Review
  • Changeset is part of the PR
  • Reviewers can suggest bump type changes
3. Merge to Main
  • Changesets action creates "Version Packages" PR
  • This PR updates version and CHANGELOG
4. Merge Version PR
  • Triggers npm publish
  • Creates GitHub release

Checking Status

# See what changesets exist
npx changeset status

# Preview version bump
npx changeset version --dry-run

Common Mistakes

MistakeIssueFix
Wrong bump typeUnexpected versionReview decision guide above
Vague descriptionPoor CHANGELOGBe specific about changes
Missing changesetNo release notesAlways add before PR
Multiple changesetsFragmented notesCombine related changes
Not including contextHard to understandExplain why not just what

Common Scenarios

For detailed examples of common scenarios including:

  • Bug fixes, new features, breaking changes
  • Multiple related changes
  • Consolidated changesets
  • Pre-release versions
  • Best practices for descriptions

See Scenarios & Examples

References

Related Skills

  • CI/CD automation: See managing-github-ci for release workflow integration
  • Pre-commit validation: See validating-pre-commit for quality gates before committing

Comments

Markdown supported