Przejdź do treści
Biblioteka skilli
Programowanie · Automatyzacja

creating-changesets

/creating-changesets

Tworzy changesets do semantycznego wersjonowania: przygotowanie wydań, dobór podniesienia wersji patch, minor lub major, wpisy changelogu i dokumentacja zmian łamiących.

Repozytorium
configurator ↗
Licencja
BSD-3-Clause
Ostatnia zmiana repozytorium
17.08.2026

Ocena i bezpieczeństwo

100/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
2
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
1
Przestarzałość

Brak sygnałów. Repozytorium zmienione 17.08.2026, bez odwołań do wycofanych modeli i API.

Licencja

BSD-3-Clause, otwarta.

Co robi i kiedy

Tworzy changesets do semantycznego wersjonowania: przygotowanie wydań, dobór podniesienia wersji patch, minor lub major, wpisy changelogu i dokumentacja zmian łamiących.

Oryginalny opis (EN)

Creates changesets for semantic versioning. Use when adding changesets, preparing releases, determining version bumps (patch/minor/major), generating changelog entries, or documenting breaking changes.

Jak działa

  1. Overview
  2. When to Use
  3. What is a Changeset?
  4. Changeset Types
  5. Decision Guide
  6. Creating a Changeset
  7. Release Workflow
  8. Checking Status
  9. Common Mistakes
  10. Common Scenarios
Sekcje z nagłówków SKILL.md, w oryginale · 165 linii, 587 słów
Podgląd SKILL.md
---
name: creating-changesets
description: "Creates changesets for semantic versioning. Use when adding changesets, preparing releases, determining version bumps (patch/minor/major), generating changelog entries, or documenting breaking changes."
allowed-tools: "Read, Grep, Glob, Write, Edit, Bash(git:*), Bash(npx changeset:*)"
metadata:
  author: Ollie Shop
  version: 1.0.0
compatibility: "Claude Code with Node.js >=20, pnpm, TypeScript 5.5+"
---

# 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

| 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 |

## 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

```bash
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:

```markdown
---
"@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

```markdown
---
"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

```bash
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

```bash
# See what changesets exist
npx changeset status

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

## Common Mistakes

| 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* |

## 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/scenarios.md)**

## References

- `{baseDir}/.changeset/config.json` - Changeset configuration
- `{baseDir}/CHANGELOG.md` - Generated changelog
- Changesets docs: https://github.com/changesets/changesets

## 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
Pliki w paczce (2)
  • SKILL.md 4 KB
  • references/scenarios.md 4 KB

Wersje

W bazie nie ma innych skilli o nazwie creating-changesets.

Migawka bazy z 28.10.2026 · wersja paczki a2943fb881ee (skrót SHA-256 całej paczki)

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 100changeset
    Tworzy changesety dla semantycznego wersjonowania: dobiera podbicie wersji (patch, minor, major), generuje wpisy changelogu, przygotowuje wydania i dokumentuje zmiany łamiące.
  • 100semver-recommender
    Analizuje zmiany w kodzie, różnice kontraktów API i historię commitów, aby zarekomendować następną wersję SemVer (MAJOR, MINOR lub PATCH) z uzasadnieniem i wykrywaniem zmian łamiących.
  • 80Angular Major Changelog Risk Review
    Przegląda wpisy w changelogu poprawek i mniejszych wydań bieżącej wersji Angulara przed kolejnym przeskokiem, zwłaszcza przy wersji 16 przed 17.
  • 100changelog
    Pomaga pisać changelog i notatki do wydań dla użytkowników: co w nich umieścić, semantic versioning i dokumentowanie zmian łamiących zgodność.
  • 100changesets
    Opisuje pisanie changesetów w monorepo Portable Text Editor: dobór poziomu wersji, zasadę odzwierciedlania commita, styl dla konsumentów i changesety API, z przykładami z historii repozytorium.
  • 100changesets
    Zarządza wersjami i changelogami pakietów JavaScript i TypeScript oraz monorepo przez małe pliki markdown, w tym semantic versioning, wydania wielu pakietów i publikację do npm.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.