Install
npx skillscat add moonshotai/kimi-cli/gen-docs Install via the SkillsCat registry.
About this skill
The gen-docs skill updates the Kimi Code CLI user documentation by synchronizing the English changelog, aligning Chinese documentation with the latest code changes, and using the translate-docs tool for bilingual consistency. It resolves discrepancies between code updates and user guides, and should be run after any commit that modifies functionality or documentation.
SKILL.md
现在我们正在为当前项目 Kimi Code CLI 编写和维护用户文档,文档内容在 docs 目录下,docs/AGENTS.md 中有对文档的说明。
我们现在对代码库有了一些修改,请你参考最近的 git commit、staged changes、changelog.md 等的内容,根据 AGENTS.md 中的信息,必要时找到实际的代码全文,确保理解了所有变更对产品用户体验的真实改变,然后逐页、逐段地检查和更新文档内容。
你应该首先确保英文 changelog 使用 node docs/scripts/sync-changelog.mjs 进行了同步,然后确保中文文档符合最新代码的行为,最后,使用 translate-docs skill 进行双语同步。