mcpField
G
gen-docs

gen-docs

github.com/moonshotaiDevelopment11.4k52 installsUpdated 5w ago
Repository

About gen-docs

gen-docs is a skill for updating Kimi Code CLI user documentation after code changes. It guides a page-by-page review against recent commits and project documentation rules, then synchronizes English and Chinese docs.

Key features

  1. 01Review recent commits and staged changes
  2. 02Check code changes for user-facing effects
  3. 03Update documentation page by page
  4. 04Sync the English changelog
  5. 05Synchronize Chinese and English docs

Use cases

  1. 01Update user docs after product changes
  2. 02Verify documentation against actual code behavior

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/moonshotai/kimi-cli --skill gen-docs

After installing, type/gen-docsin Claude Code to confirm it loaded.

Details

From the project README

现在我们正在为当前项目 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 进行双语同步。

Comments

Markdown supported