Skills

Sync Changelog

Use after a release succeeds, when maintainers need to sync apps/kimi-code/CHANGELOG.md...

Install

npx skills add MoonshotAI/kimi-code --skill sync-changelog -g -a claude-code -y
Repository
MoonshotAI/kimi-code8.1k
Category
Git and review
Updated
3d ago
License
MIT
Context cost
Mediumabout 3,000 tokens
Runs scripts
No, instructions only

What it does

Use after a release succeeds, when maintainers need to sync apps/kimi-code/CHANGELOG.md into docs/en/release-notes/changelog.md and docs/zh/release-notes/changelog.md, then open a PR on a dedicated branch.

Sync Changelog

Overview

kimi-code uses changesets for versioning. Each package gets its own CHANGELOG.md. The user-facing CLI package, @moonshot-ai/kimi-code, writes its changelog here:

apps/kimi-code/CHANGELOG.md

This file is the only upstream source for the documentation-site changelog. Internal package changelogs such as packages/*/CHANGELOG.md do not go into the documentation site.

After the release flow finishes (Release PR merged → Version Packages completed → npm publish succeeded), maintainers manually run this skill to copy the new CLI changelog entries into the docs site, translate the English increment into Chinese, wait for an optional human review, then commit on a dedicated branch and open a PR.

When To Use

  • A new version has been published to npm.
  • The top of apps/kimi-code/CHANGELOG.md contains version blocks that are not yet in docs/en/release-notes/changelog.md.
  • The gen-docs flow does not run this automatically; maintainers must explicitly do it after release.

Do not run this before the Release PR is merged. At that point, changesets has not yet written the new version into apps/kimi-code/CHANGELOG.md.

Source And Targets

FileRoleEdited by
apps/kimi-code/CHANGELOG.mdOnly upstream source, generated by changesetsNever edit manually
docs/en/release-notes/changelog.mdEnglish docs changelog; source of truth for docsThis skill
docs/zh/release-notes/changelog.mdChinese docs changelog, translated from EnglishThis skill, following translate-docs

Core rule: the English docs changelog is the source of truth, and Chinese is translated from English. This matches translate-docs.

Preconditions

Before editing, confirm:

  • The released version exists on npm (npm view @moonshot-ai/kimi-code versions --json) or has a matching GitHub Release tag.
  • The top of apps/kimi-code/CHANGELOG.md is that new version.
Read the whole SKILL.md on GitHub

More in Git and review