Przejdź do treści
Biblioteka skilli
Programowanie · Pisanie

changeset

/changeset

Pisze wpisy Changesets dla monorepo JavaScript lub TypeScript, dobiera poziom podbicia dla każdego pakietu i streszcza zmianę.

Repozytorium
claude-skills ↗
Licencja
MIT
Ostatnia zmiana repozytorium
03.11.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
1
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

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

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co robi i kiedy

Pisze wpisy Changesets dla monorepo JavaScript lub TypeScript, dobiera poziom podbicia dla każdego pakietu i streszcza zmianę.

Wyzwalacze z opisu

add a changesetwrite the changesetsbump the packages
Oryginalny opis (EN)

Writes Changesets entries for a JavaScript or TypeScript monorepo. Detects the workspaces from pnpm-workspace.yaml or the package.json workspaces field, finds the packages changed on the branch, skips the ones ignored in .changeset/config.json, picks patch, minor or major for each, and writes a one-line user-facing summary. Use when the user types /changeset, asks to "add a changeset", "write the changesets" or "bump the packages", or before committing a change to a published package in a repo with a .changeset folder.

Jak działa

  1. 1. Check the repo uses Changesets
  2. 2. Find the workspaces
  3. 3. Find the changed packages
  4. 4. Pick the bump
  5. 5. Write the summary
  6. 6. Write the file
  7. 7. Report
Sekcje z nagłówków SKILL.md, w oryginale · 77 linii, 505 słów
Podgląd SKILL.md
---
name: changeset
description: Writes Changesets entries for a JavaScript or TypeScript monorepo. Detects the workspaces from pnpm-workspace.yaml or the package.json workspaces field, finds the packages changed on the branch, skips the ones ignored in .changeset/config.json, picks patch, minor or major for each, and writes a one-line user-facing summary. Use when the user types /changeset, asks to "add a changeset", "write the changesets" or "bump the packages", or before committing a change to a published package in a repo with a .changeset folder.
---

# Changeset

Write one changeset entry per changed package, with the right bump and a summary a user of the package can read.

## 1. Check the repo uses Changesets

The repo needs a `.changeset/` folder with a `config.json`. If it has none, tell the user and stop. Do not set Changesets up unless they ask.

## 2. Find the workspaces

- `pnpm-workspace.yaml`: read the `packages` globs.
- Otherwise, the `workspaces` field of the root `package.json` (an array, or an object with a `packages` array).
- Neither: the repo is a single package. Use the root `package.json`.

Expand the globs to folders that contain a `package.json`, and read each package's `name` and `private` fields.

## 3. Find the changed packages

```bash
base=$(git merge-base HEAD origin/$(gh repo view --json defaultBranchRef -q .defaultBranchRef.name))
git diff --name-only "$base"...HEAD
git diff --name-only HEAD
```

Map each file to the package whose folder contains it. Then drop:
- packages listed in `ignore` in `.changeset/config.json` (entries can be globs);
- private packages, unless `privatePackages.version` is `true` in the config;
- packages whose only changes are tests, stories or docs that are not shipped;
- packages that already have a changeset on this branch for the same change.

If nothing is left, say so and stop.

## 4. Pick the bump

| Change | Bump |
|---|---|
| Bug fix, internal refactor, dependency update, performance work | patch |
| New feature, new option or export, new behaviour that old callers do not notice | minor |
| Removed or renamed export, changed signature, changed default, dropped runtime support | major |

For a package still on `0.x`, a breaking change is a minor bump. When a change could be read two ways, ask the user.

## 5. Write the summary

One line per package, written for the people who use the package. Start with a verb, describe what changed for them, and leave out file names and internals.

| Package | Bump | Summary |
|---|---|---|
| `@acme/storefront` | minor | Show estimated delivery date on the order page |
| `@acme/catalog` | patch | Update date-fns to 4.1.0 |
| `@acme/checkout` | patch | Keep the coupon when the cart is reloaded |
| `@acme/ui` | major | Remove the deprecated `size="xl"` prop from Button |

Packages that changed for the same reason can share one changeset file.

## 6. Write the file

Write the file directly. It is the most reliable way to stay non-interactive:

```markdown
---
"@acme/storefront": minor
"@acme/catalog": patch
---

Show estimated delivery date on the order page
```

Save it as `.changeset/<short-kebab-name>.md`, for example `.changeset/order-page-delivery-date.md`.

If the user prefers the CLI, `pnpm changeset add --empty` (or `npx changeset add --empty`) creates an empty file without prompts. Fill in the front matter and summary afterwards. Never run `changeset` or `changeset add` without `--empty`, because both open prompts.

## 7. Report

List each file written, with its packages, bumps and summary. If the user is about to commit, the `commit` skill reuses the summary as the commit message.

Wersje

RepozytoriumWynikLicencja
Ta strona · ShepardVasNormandy/claude-skills100MIT
withastro/astro100MIT
sl-design-system/components100Apache-2.0
yamcodes/arkenv100MIT
modem-dev/ossrules100MIT
tuanductran/hr-skills100MIT
stormix/transcripts-mcp100MIT
udecode/kitcn96Apache-2.0

Migawka bazy z 13.11.2026 · wersja paczki 981d243e1f79 (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

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

Podobne skille

  • 100changesets
    Pisze wpis changeset dla zmiany w repozytorium z folderem .changeset, dobierając poziom podbicia do tego, czy coś istniało wcześniej.
  • 100changeset-pr
    Tworzy lub poprawia plik .changeset/*.md dla bieżącej gałęzi lub PR, dobiera zakres pakietu i typ wydania oraz sprawdza wynik względem konfiguracji Changesets repozytorium.
  • 100changesets
    Tworzy lub odświeża plik .changeset/<slug>.md dla bieżącej gałęzi albo stwierdza, że changeset nie jest wymagany, zwłaszcza przy zmianach w packages/**.
  • 100writing-changesets
    Pisze changeset opisujący zmianę w repozytorium z changesets, przed zgłoszeniem pull requesta.
  • 100pr-to-main
    Tworzy PR do gałęzi main w monorepo pnpm z Changesets: wskazuje zmienione pakiety i pilnuje, by istniał changeset, bo wydania opierają się na Changesets.
  • 100pr-changeset
    Tworzy changesety dla zmian w pakietach w pull requestach, bo bez nich pipeline wydania nie wie, co i jak wersjonować.

Uwagi i zgłoszenia

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