[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M74ESHW84N1GQ8MEF3VCZ9SW":3,"skill-same:01M74ESHW84N1GQ8MEF3VCZ9SW":47},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":29,"ownerHtmlUrl":30,"ownerBlogUrl":31,"ownerDescription":6,"updatedAt":32,"install":33,"resources":46},"01M74ESHW84N1GQ8MEF3VCZ9SW","pre-changelog",null,"Use before merging a kimi-code release PR to preview the user-facing CLI changelog in Chinese. Reads the changelog that changesets pre-generated in the release PR, then reuses sync-changelog's strip \u002F classify \u002F translate logic to render a Chinese preview. Writes no files.","MoonshotAI\u002Fkimi-code","MoonshotAI","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F129152888?v=4","01M74ERZMTV9BR82QKWAF5NAVA","Moonshot AI","01M74ERZND3KECTZ02YW0FYJSR",8226,"MIT","https:\u002F\u002Fgithub.com\u002FMoonshotAI\u002Fkimi-code\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fpre-changelog\u002FSKILL.md",[],[],"2026-11-11 15:11:14",false,"---\nname: pre-changelog\ndescription: Use before merging a kimi-code release PR to preview the user-facing CLI changelog in Chinese. Reads the changelog that changesets pre-generated in the release PR, then reuses sync-changelog's strip \u002F classify \u002F translate logic to render a Chinese preview. Writes no files.\n---\n\n# Pre-Changelog\n\nPreview the user-facing **Chinese** changelog of an open `kimi-code` release PR **before** it is merged. Read-only: this skill writes no files and commits nothing.\n\nThis skill reuses `sync-changelog`'s strip \u002F classify \u002F translate rules. Read `sync-changelog` first; only the data source (release PR diff instead of a published `CHANGELOG.md`) and the output (preview instead of docs files) differ.\n\n## Workflow\n\n### 1. Locate the release PR\n\nSelect the PR targeting the intended `release\u002F*` branch, not the legacy main version PR. Report its latest head CI link and result alongside the preview.\n\n```bash\ngh pr list --state open --search \"ci: release packages in:title\" \\\n  --json number,title,url,headRefName,baseRefName\n```\n\nPick the one with `headRefName: changeset-release\u002Fmain`; record `number`, `url` as `\u003CRELEASE>`. If none is open, nothing to preview — stop.\n\n### 2. Read the pre-generated CLI changelog block\n\nchangesets already pre-generates `apps\u002Fkimi-code\u002FCHANGELOG.md` inside the release PR. Extract the new version block from the diff:\n\n```bash\ngh api repos\u002FMoonshotAI\u002Fkimi-code\u002Fpulls\u002F\u003CRELEASE>\u002Ffiles \\\n  --jq '.[] | select(.filename==\"apps\u002Fkimi-code\u002FCHANGELOG.md\") | .patch'\n```\n\nTake the added lines (`+`) from the top `## \u003Cversion>` down to (but not including) the next `## `. That is the version block to preview.\n\nIf the CLI changelog is not in the diff (for example an SDK-only release), stop and tell the user — there is no user-facing CLI changelog to preview.\n\n### 3. Render the Chinese preview (reuse `sync-changelog`)\n\nProcess the version block exactly as `sync-changelog` does for the docs site, but only in memory:\n\n- **Strip** (`sync-changelog` step 3): drop the H1, the `### Patch Changes` \u002F `### Minor Changes` \u002F `### Major Changes` subheadings, PR links, and commit-hash links; keep only each entry's body text. The `Thanks [@user](...)!` credit (including the multi-author form) must be removed every time. Within each entry, drop SDK-only and provider-internal sentences (SDK capability mapping \u002F API exposure, provider wire-format mechanics, internal XML markers, hook\u002Fevent payload mechanics such as what an event reports or carries) and keep only the user-facing effect and required constraints.\n- **Merge and deduplicate** (`sync-changelog` step 4): merge micro-tweaks to the same surface into one higher-level entry; when three or more fixes target the same UI area or the same class of problem, merge them into one higher-level fix entry (do not merge broad or genuinely distinct fixes); and drop a server\u002FAPI entry that only backs a web feature already listed.\n- **Collapse low-signal entries** (`sync-changelog` step 4): keep standalone only entries that pass both gates — the reader-action test (the reader must do or re-evaluate something) and the channel test (the product cannot push it into the user's path: hidden controls, habit invalidations, capabilities users would not know to seek — a control merely sitting in the UI is not surfacing, users do not explore). Polish keeps only must-react items; experiences the product shows at the moment of need (recovery cards, post-install guidance) fold. Fixes keep only behavior-change entries (readers must update a habit, config, or workaround); loud failures fold (the fix itself notifies the victim), and silent past damage folds too — the changelog does not repair the past, and a notice that names no locatable instance and no realistic action is noise, not diligence. Section sizes follow density defaults (about 2 polish, 3 fixes) that yield to genuinely qualifying entries — flag the overflow for the reviewer instead of folding to hit the number. Fold everything else into one catch-all line placed last under 修复 — `修复了一些已知问题。` (or `修复了一些已知问题，并做了若干细节优化。` when non-fix entries were also collapsed; when nothing folded is a fix, place it under 优化 instead as `做了若干细节优化和内部改进。`), followed by a separate pointer sentence: `更详细的变更记录见 [GitHub](https:\u002F\u002Fgithub.com\u002FMoonshotAI\u002Fkimi-code\u002Fblob\u002Fmain\u002Fapps\u002Fkimi-code\u002FCHANGELOG.md)。` (file link, no version anchor; before the release PR merges, the target does not yet contain this version's block — expected for a preview).\n- **Classify** (`sync-changelog` step 4): bucket into Features \u002F Bug Fixes \u002F Polish \u002F Refactors \u002F Other; order within each section by reader value (in Polish, user-visible improvements before protocol\u002Finternal adjustments).\n- **Translate** (`sync-changelog` step 6): translate entry bodies to Chinese; keep one sentence per entry with a parallel rhythm within a section; section headings become 新功能 \u002F 修复 \u002F 优化 \u002F 重构 \u002F 其他.\n\nIf an upstream entry is not in English, flag it and stop (changeset entries must be English).\n\n### 4. Output\n\nPrint the preview directly. Use `\u003Cversion>（预览）` as the heading because the version is not released yet. Write `无` for empty sections. Do not write any file.\n\nAfter the preview block, append a reviewer-only section titled `### 审稿参考（不进入文档）`: list every entry folded into the catch-all (short English title, one line each), note any section that exceeds the density defaults, and flag borderline calls for the reviewer to confirm. This breakdown is how reviewers see what was folded — before merge, the catch-all pointer's target does not yet contain the version's block. Never write this section into the docs pages.\n\nThe preview is pasted into chat tools (for example Lark), where relative docs links do not resolve. Rewrite every docs link to its absolute published URL: map `..\u002F\u003Cpath>.md[#anchor]` to `https:\u002F\u002Fmoonshotai.github.io\u002Fkimi-code\u002Fzh\u002F\u003Cpath>.html[#anchor]` — for example `..\u002Fconfiguration\u002Fconfig-files.md#loop-control` → `https:\u002F\u002Fmoonshotai.github.io\u002Fkimi-code\u002Fzh\u002Fconfiguration\u002Fconfig-files.html#loop-control`. Never emit raw relative paths, and never wrap a link in backticks; code-style the link text inside the brackets instead ([`loop_control`](...)).\n\n```\n发版 PR: \u003Curl>\n\n## \u003Cversion>（预览）\n\n### 新功能\n- ...\n\n### 修复\n- ...\n```\n\n## Rules\n\n- Read-only. Never write `CHANGELOG.md`, docs files, or commit anything.\n- Classification, ordering, and translation follow `sync-changelog` exactly — do not reword or reclassify beyond what it specifies.\n- If the release PR has no CLI changelog diff, report it and stop.\n","# Pre-Changelog\n\nPreview the user-facing **Chinese** changelog of an open `kimi-code` release PR **before** it is merged. Read-only: this skill writes no files and commits nothing.\n\nThis skill reuses `sync-changelog`'s strip \u002F classify \u002F translate rules. Read `sync-changelog` first; only the data source (release PR diff instead of a published `CHANGELOG.md`) and the output (preview instead of docs files) differ.\n\n## Workflow\n\n### 1. Locate the release PR\n\nSelect the PR targeting the intended `release\u002F*` branch, not the legacy main version PR. Report its latest head CI link and result alongside the preview.\n\n```bash\ngh pr list --state open --search \"ci: release packages in:title\" \\\n  --json number,title,url,headRefName,baseRefName\n```\n\nPick the one with `headRefName: changeset-release\u002Fmain`; record `number`, `url` as `\u003CRELEASE>`. If none is open, nothing to preview — stop.\n\n### 2. Read the pre-generated CLI changelog block\n\nchangesets already pre-generates `apps\u002Fkimi-code\u002FCHANGELOG.md` inside the release PR. Extract the new version block from the diff:\n\n```bash\ngh api repos\u002FMoonshotAI\u002Fkimi-code\u002Fpulls\u002F\u003CRELEASE>\u002Ffiles \\\n  --jq '.[] | select(.filename==\"apps\u002Fkimi-code\u002FCHANGELOG.md\") | .patch'\n```\n\nTake the added lines (`+`) from the top `## \u003Cversion>` down to (but not including) the next `## `. That is the version block to preview.\n\nIf the CLI changelog is not in the diff (for example an SDK-only release), stop and tell the user — there is no user-facing CLI changelog to preview.\n\n### 3. Render the Chinese preview (reuse `sync-changelog`)\n\nProcess the version block exactly as `sync-changelog` does for the docs site, but only in memory:\n\n- **Strip** (`sync-changelog` step 3): drop the H1, the `### Patch Changes` \u002F `### Minor Changes` \u002F `### Major Changes` subheadings, PR links, and commit-hash links; keep only each entry's body text. The `Thanks [@user](...)!` credit (including the multi-author form) must be removed every time. Within each entry, drop SDK-only and provider-internal sentences (SDK capability mapping \u002F API exposure, provider wire-format mechanics, internal XML markers, hook\u002Fevent payload mechanics such as what an event reports or carries) and keep only the user-facing effect and required constraints.\n- **Merge and deduplicate** (`sync-changelog` step 4): merge micro-tweaks to the same surface into one higher-level entry; when three or more fixes target the same UI area or the same class of problem, merge them into one higher-level fix entry (do not merge broad or genuinely distinct fixes); and drop a server\u002FAPI entry that only backs a web feature already listed.\n- **Collapse low-signal entries** (`sync-changelog` step 4): keep standalone only entries that pass both gates — the reader-action test (the reader must do or re-evaluate something) and the channel test (the product cannot push it into the user's path: hidden controls, habit invalidations, capabilities users would not know to seek — a control merely sitting in the UI is not surfacing, users do not explore). Polish keeps only must-react items; experiences the product shows at the moment of need (recovery cards, post-install guidance) fold. Fixes keep only behavior-change entries (readers must update a habit, config, or workaround); loud failures fold (the fix itself notifies the victim), and silent past damage folds too — the changelog does not repair the past, and a notice that names no locatable instance and no realistic action is noise, not diligence. Section sizes follow density defaults (about 2 polish, 3 fixes) that yield to genuinely qualifying entries — flag the overflow for the reviewer instead of folding to hit the number. Fold everything else into one catch-all line placed last under 修复 — `修复了一些已知问题。` (or `修复了一些已知问题，并做了若干细节优化。` when non-fix entries were also collapsed; when nothing folded is a fix, place it under 优化 instead as `做了若干细节优化和内部改进。`), followed by a separate pointer sentence: `更详细的变更记录见 [GitHub](https:\u002F\u002Fgithub.com\u002FMoonshotAI\u002Fkimi-code\u002Fblob\u002Fmain\u002Fapps\u002Fkimi-code\u002FCHANGELOG.md)。` (file link, no version anchor; before the release PR merges, the target does not yet contain this version's block — expected for a preview).\n- **Classify** (`sync-changelog` step 4): bucket into Features \u002F Bug Fixes \u002F Polish \u002F Refactors \u002F Other; order within each section by reader value (in Polish, user-visible improvements before protocol\u002Finternal adjustments).\n- **Translate** (`sync-changelog` step 6): translate entry bodies to Chinese; keep one sentence per entry with a parallel rhythm within a section; section headings become 新功能 \u002F 修复 \u002F 优化 \u002F 重构 \u002F 其他.\n\nIf an upstream entry is not in English, flag it and stop (changeset entries must be English).\n\n### 4. Output\n\nPrint the preview directly. Use `\u003Cversion>（预览）` as the heading because the version is not released yet. Write `无` for empty sections. Do not write any file.\n\nAfter the preview block, append a reviewer-only section titled `### 审稿参考（不进入文档）`: list every entry folded into the catch-all (short English title, one line each), note any section that exceeds the density defaults, and flag borderline calls for the reviewer to confirm. This breakdown is how reviewers see what was folded — before merge, the catch-all pointer's target does not yet contain the version's block. Never write this section into the docs pages.\n\nThe preview is pasted into chat tools (for example Lark), where relative docs links do not resolve. Rewrite every docs link to its absolute published URL: map `..\u002F\u003Cpath>.md[#anchor]` to `https:\u002F\u002Fmoonshotai.github.io\u002Fkimi-code\u002Fzh\u002F\u003Cpath>.html[#anchor]` — for example `..\u002Fconfiguration\u002Fconfig-files.md#loop-control` → `https:\u002F\u002Fmoonshotai.github.io\u002Fkimi-code\u002Fzh\u002Fconfiguration\u002Fconfig-files.html#loop-control`. Never emit raw relative paths, and never wrap a link in backticks; code-style the link text inside the brackets instead ([`loop_control`](...)).\n\n```\n发版 PR: \u003Curl>\n\n## \u003Cversion>（预览）\n\n### 新功能\n- ...\n\n### 修复\n- ...\n```\n\n## Rules\n\n- Read-only. Never write `CHANGELOG.md`, docs files, or commit anything.\n- Classification, ordering, and translation follow `sync-changelog` exactly — do not reword or reclassify beyond what it specifies.\n- If the release PR has no CLI changelog diff, report it and stop.\n",{"name":5,"description":7},"main","54a9e51fcb0531c4dff816e492a8e6d0a598641e",".agents\u002Fskills\u002Fpre-changelog",1377,"https:\u002F\u002Fgithub.com\u002FMoonshotAI\u002Fkimi-code","https:\u002F\u002Fwww.kimi.com\u002Fcode\u002Fdocs\u002F","https:\u002F\u002Fgithub.com\u002FMoonshotAI","https:\u002F\u002Fmoonshot.ai","2026-11-14 19:55:03",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add MoonshotAI\u002Fkimi-code --skill pre-changelog",{"tool":39,"command":40},"bunx","bunx skills add MoonshotAI\u002Fkimi-code --skill pre-changelog",{"tool":42,"command":43},"pnpm","pnpm dlx skills add MoonshotAI\u002Fkimi-code --skill pre-changelog","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FMoonshotAI\u002Fkimi-code\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fpre-changelog\u002FSKILL.md",true,[],[48,55,61,68,75,82],{"skillNo":49,"name":50,"nameZh":6,"description":51,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":52,"categories":53,"keywords":54,"publishedAt":19},"01M74ETAEBHZ0QS6Y4BT29PKNF","golden-skill","Golden fixture skill","https:\u002F\u002Fgithub.com\u002FMoonshotAI\u002Fkimi-code\u002Fblob\u002Fmain\u002Fpackages\u002Fmigration-legacy\u002Ftest\u002Ffixtures\u002Fgolden\u002F.kimi\u002Fskills\u002Fgolden-skill\u002FSKILL.md",[],[],{"skillNo":56,"name":57,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":58,"categories":59,"keywords":60,"publishedAt":19},"01M74ET9QF6YK6KD5KM2W4XPBD","tools","https:\u002F\u002Fgithub.com\u002FMoonshotAI\u002Fkimi-code\u002Fblob\u002Fmain\u002Fpackages\u002Fagent-core-v2\u002Fsrc\u002Ffeatures\u002Fskill\u002Ftools\u002Fskill.md",[],[],{"skillNo":62,"name":63,"nameZh":6,"description":64,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":65,"categories":66,"keywords":67,"publishedAt":19},"01M74ET7K1MXGBYV91558T1VMC","review","Analyze the available skill set and recommend candidate groups that could be consolidated into sub-skill bundles. Read-only — proposes a plan, does not move files.","https:\u002F\u002Fgithub.com\u002FMoonshotAI\u002Fkimi-code\u002Fblob\u002Fmain\u002Fpackages\u002Fagent-core-v2\u002Fsrc\u002Ffeatures\u002Fskill\u002Fcatalog\u002Fbuiltin\u002Fsub-skill\u002Freview\u002FSKILL.md",[],[],{"skillNo":69,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":19},"01M74ET2KQ5CC4JCFGBSG0YXM3","consolidate","Apply an approved sub-skill grouping by moving user-specified skills into a parent bundle, with timestamped backups of every modified directory.","https:\u002F\u002Fgithub.com\u002FMoonshotAI\u002Fkimi-code\u002Fblob\u002Fmain\u002Fpackages\u002Fagent-core-v2\u002Fsrc\u002Ffeatures\u002Fskill\u002Fcatalog\u002Fbuiltin\u002Fsub-skill\u002Fconsolidate\u002FSKILL.md",[],[],{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":19},"01M74ET036WTFZ4XH9KC2M84KQ","sub-skill","Discover and reorganize the skill inventory into hierarchical sub-skill bundles. Use when the user asks to review, group, or consolidate skills into a parent bundle.","https:\u002F\u002Fgithub.com\u002FMoonshotAI\u002Fkimi-code\u002Fblob\u002Fmain\u002Fpackages\u002Fagent-core-v2\u002Fsrc\u002Ffeatures\u002Fskill\u002Fcatalog\u002Fbuiltin\u002Fsub-skill\u002FSKILL.md",[],[],{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":19},"01M74ESXAT6AX5YG29SN3WY83J","write-tui","Use when writing or modifying the kimi-code terminal UI in apps\u002Fkimi-code\u002Fsrc\u002Ftui — components, dialogs\u002Fselectors, slash commands, themes, streaming render, or the KimiTUI controllers. Covers the architecture, where new features go, test placement, the theme system mechanics, and the dialog interaction\u002Fvisual spec (DESIGN.md).","https:\u002F\u002Fgithub.com\u002FMoonshotAI\u002Fkimi-code\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fwrite-tui\u002FSKILL.md",[],[]]