Command Palette

Search for a command to run...

Назад к скиллам
скилл № 76217

gen-changesets

Use when generating changesets in the kimi-code repository, including package bump selection, internal package and CLI bundle handling, bump levels, major…

БесплатноБез исполняемых скриптов
P-A-N-52от P-A-N-52★ 47 звёзд на GitHub

Установить gen-changesets в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Об этом скилле

Generate Changesets

kimi-code uses changesets to manage versions and changelogs. The current user-facing published package is:

  • @moonshot-ai/kimi-code: the CLI

All other @moonshot-ai/* packages are treated as internal packages, including @moonshot-ai/kimi-code-sdk, agent-core, kosong, kaos, kimi-code-oauth, kimi-telemetry, and migration-legacy.

@moonshot-ai/pi-tui is a special internal package: it is a private fork (private: true) that is never published, but it keeps its own changelog through changesets. It is an exception to Core Rule 4 — see the dedicated section below.

Only the CLI changelog gets a curated, user-facing presentation (the docs-site changelog sync). The SDK and other internal package changelogs are raw changesets output kept for version history — nobody curates them, so write those entries honestly and technically; their wording does not need to suit end users.

Core Rules

  1. Inspect the actual changes first. Use git status / git diff --name-only to identify which packages were actually changed.
  2. List packages that changesets can release. If a changed package is ignored in .changeset/config.json, do not put that ignored package in frontmatter together with a non-ignored package; changesets rejects mixed ignored/non-ignored frontmatter.
  3. Map ignored internal changes to the affected released package. If an ignored internal package changes CLI output or behavior, list @moonshot-ai/kimi-code and describe the actual user-visible or release-artifact change in the changelog text.
  4. Internal package source changes that enter the CLI bundle must manually list the CLI — when they get a changeset at all. @moonshot-ai/kimi-code inline-bundles @moonshot-ai/* source, but those internal packages are devDependencies from the CLI's perspective, so changesets will not automatically propagate bumps. If a change enters the CLI output and is user-perceivable, list @moonshot-ai/kimi-code. See rule 6 for when to skip the changeset entirely.
  5. Docs-only and tests-only changes usually do not need a changeset. README, internal docs, and test/ changes that do not enter package output do not trigger a CLI bump.
  6. Skip changes users cannot perceive — write no changeset at all. The CLI changelog is user-facing; a changeset is a changelog entry, not a shipping gate. Internal changes merged to main still ship in the next release triggered by any user-facing changeset, so skipping the changeset loses nothing. Do not write changesets for:
    • agent-core-v2 internal architecture: new services, refactors, config-persistence or journal/wire mechanisms.
    • kap-server WebSocket / REST protocol changes consumed only by the bundled web UI, kimi-inspect, or other dev tooling (new endpoints, subscribe protocols, stream baselines).
    • Behavior that only takes effect on the experimental engine (e.g. experimental kimi -p), unless it exposes documented user configuration such as a config.toml section or env vars that also work on a shipped surface (TUI or kimi web).
    • When unsure whether users can perceive a change, ask before writing.
  7. @moonshot-ai/vis / vis-server / vis-web are ignored by changesets and should not be handled. @moonshot-ai/kimi-inspect (a private dev app that never ships) is likewise ignored and must never appear in a changeset frontmatter.

Workflow

  1. List the changed packages and check whether each one is ignored by .changeset/config.json.
  2. Decide whether the change is user-perceivable (Core Rule 6); if not, stop — no changeset.
  3. Choose a bump level for each package.
  4. If an ignored internal package change enters the CLI bundle, put @moonshot-ai/kimi-code in frontmatter instead of mixing the ignored package into the same changeset.
  5. Create a short kebab-case file under .changeset/.
  6. Split unrelated changes into separate changesets; keep one logical change in one file.

Before a release, review the accumulated .changeset/ entries against Core Rule 6 and prune non-user-facing ones; the release PR regenerates from .changeset/ on main, so deleting a changeset removes its changelog entry without affecting the shipped code.

Format:

---
"<package A>": patch
"<package B>": minor
---

<English changelog entry>

Bump Levels

Level When to use
patch Bug fixes; build/package fixes; internal refactors that do not change behavior; wording tweaks; small dependency upgrades; small improvements to existing features with limited user-facing impact (e.g. a new keyboard shortcut, a flag alias, a minor UX tweak)
minor A substantial new user-facing feature, such as a new slash command, a new built-in tool, or a new mode
major Breaking changes: incompatible config changes, renamed or removed commands/arguments, behavior semantics changes, and similar

When in doubt between patch and minor: if the change improves an existing feature and th

Полный SKILL.md на GitHub

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл gen-changesets?

Use when generating changesets in the kimi-code repository, including package bump selection, internal package and CLI bundle handling, bump levels, major confirmation, and English changelog wording.

Как установить скилл gen-changesets?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл gen-changesets запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить gen-changesets с