gen-changesets
Skill53 starsChanged 14 days agoMITView on GitHub
Use when generating changesets in the kimi-code repository — deciding whether to write one, which package to list, the bump level, the wording, and the confirmation workflow.
- Reads credentials
1 other project uses a version of this, 1 of them edited.
Adopted by
Most recently taken up by
- MoonshotAI/kimi-codeedited, first seen Oct 8, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 1
- MoonshotAI/kimi-code★ 8.2k78% same
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository12 other files it gives its agents.
- AGENTS.mdAGENTS.md
- docs/AGENTS.mdAGENTS.md
- agent-core-devSkill
- agent-core-reviewSkill
- gen-docsSkill
- kiki-docs-catchupSkill
- kiki-docsSkill
- kiki-docs-writingSkill
- pre-changelogSkill
- sync-changelogSkill
- translate-docsSkill
- write-tuiSkill
The file
We split this skill into the rules it gives an agent
9 rules. About 0 are common, 3 are distinctive, and 6 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 17
When you are unsure whether users can perceive a change, ask first.
- Very specific: line 19
Do write: user-perceivable new features or behavior changes, and internal-package changes that fix a user-useful bug or change CLI …
- Very specific: line 23
Create a short kebab-case file under .changeset/:
- Very specific: line 37
No file, class, or function names, and no PR numbers.
- Very specific: line 51
Never mix packages ignored in .changeset/config.json with non-ignored packages in one frontmatter.
- Distinctive: line 56
Run git status / git diff --name-only to see which packages actually changed.
- Very specific: line 59
Write the sentence yourself and commit it with the change.
- Distinctive: line 60
Do not guess at changes you do not understand: finish the parts that are clear, then list what is unclear and ask whether you may dig into …
- Very specific: line 62
Before a release, review the accumulated .changeset/ entries and delete the non-user-facing ones — the release PR regenerates from …
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Generate Changesets
The only user-facing published package is the CLI: @kiki/cli. All other @moonshot-ai/* packages (sdk, agent-core, kosong, kaos, oauth, telemetry, and so on) are internal.
1. Whether to Write
Rule of thumb: if users cannot perceive the change, write no changeset. A changeset is a user-facing changelog entry, not a shipping gate — internal changes merged to main ship with the next release anyway, so skipping loses nothing.
Do not write:
- Docs-only or tests-only changes that never enter the shipped artifact.
- Changes internal to core/server packages — architecture, protocols, refactors, config/journal/wire mechanics — unless they fix a bug users care about.
- When you are unsure whether users can perceive a change, ask first.
Do write: user-perceivable new features or behavior changes, and internal-package changes that fix a user-useful bug or change CLI output/behavior (list @kiki/cli for those).
2. What to Write
Create a short kebab-case file under .changeset/:
---
"@kiki/cli": patch
---
Fix occasional loss of tool call results in long conversations.Wording:
- One short, user-facing English sentence that states only what changed. Drop trailing clauses that explain the cause, the benefit, or the mechanism.
- New features: say plainly what it is plus one line on how to use it, e.g.
Add the /foo slash command to list active sessions. Run /foo to see them. - Experimental features: also state how to enable them (the flag, config key, or env var).
- No file, class, or function names, and no PR numbers. No vague words like refactor, optimize, or improve. No real internal identifiers — use neutral placeholders such as
example.comorYOUR_API_KEY. - Internal packages' own changelogs (such as the sdk) are not curated for end users — write those entries honestly and technically.
- One logical change per changeset; split unrelated changes into separate files.
3. Bump Level
patch: bug fixes, small improvements, configuration additions to existing features — when in doubt, use this.minor: a real new capability users could not do before (a new slash command, a new subcommand, a new mode).major: never write it. If you think a change qualifies, stop and ask the user; without explicit approval fall back tominor, or topatchifminoris also unclear.
4. Which Package
- An internal change enters the CLI bundle and is user-perceivable → list
@kiki/cli. - An internal change does not enter the CLI or is not user-perceivable → write nothing; if it is written, list only that internal package.
- Never mix packages ignored in
.changeset/config.jsonwith non-ignored packages in one frontmatter. - pi-tui exception: pi-tui-only changes list
@kiki/pi-tui; if the same change is also visible to CLI users, write a separate CLI changeset (two files, never mixed).
5. Workflow
- Run
git status/git diff --name-onlyto see which packages actually changed. - Apply section 1; if no changeset is needed, stop.
- Pick the package and the bump, and write the one sentence.
- Write the sentence yourself and commit it with the change; the requester reviews it when integrating the work. Only a
majorbump needs explicit confirmation before committing (section 3). - Do not guess at changes you do not understand: finish the parts that are clear, then list what is unclear and ask whether you may dig into the code.
Before a release, review the accumulated .changeset/ entries and delete the non-user-facing ones — the release PR regenerates from .changeset/ on main, so deleting a file removes its changelog entry without touching shipped code.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

