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★ 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
- Inspect the actual changes first. Use
git status/git diff --name-onlyto identify which packages were actually changed. - 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. - Map ignored internal changes to the affected released package. If an ignored internal package changes CLI output or behavior, list
@moonshot-ai/kimi-codeand describe the actual user-visible or release-artifact change in the changelog text. - Internal package source changes that enter the CLI bundle must manually list the CLI — when they get a changeset at all.
@moonshot-ai/kimi-codeinline-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. - 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. - 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
mainstill ship in the next release triggered by any user-facing changeset, so skipping the changeset loses nothing. Do not write changesets for:agent-core-v2internal architecture: new services, refactors, config-persistence or journal/wire mechanisms.kap-serverWebSocket / 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 aconfig.tomlsection or env vars that also work on a shipped surface (TUI orkimi web). - When unsure whether users can perceive a change, ask before writing.
@moonshot-ai/vis/vis-server/vis-webare 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
- List the changed packages and check whether each one is ignored by
.changeset/config.json. - Decide whether the change is user-perceivable (Core Rule 6); if not, stop — no changeset.
- Choose a bump level for each package.
- If an ignored internal package change enters the CLI bundle, put
@moonshot-ai/kimi-codein frontmatter instead of mixing the ignored package into the same changeset. - Create a short kebab-case file under
.changeset/. - 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
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
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), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
AnthropicGuide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
academy-guide
AnthropicStop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
internal-comms
AnthropicA set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
skill-development
AnthropicThis skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…