
Gen Docs
Update Kimi Code CLI user documentation after meaningful code changes that affect...
Install
npx skills add MoonshotAI/kimi-code --skill gen-docs -g -a claude-code -y- Repository
- MoonshotAI/kimi-code8.1k
- Category
- Writing
- Updated
- 3d ago
- License
- MIT
- Context cost
- Lightabout 1,148 tokens
- Runs scripts
- No, instructions only
What it does
Update Kimi Code CLI user documentation after meaningful code changes that affect product behavior or user experience.
Gen Docs
Overview
This repository maintains bilingual user documentation under docs/. docs/en/ and docs/zh/ are mirrored pairs for most pages; update both in the same change. Changelog is the exception, English is the source, and Chinese is translated from English.
Use this skill to update the corresponding documentation whenever the codebase has changes that affect product behavior or user experience.
For a full pre-release audit of all pages (detecting hallucinations and coverage gaps), use the audit-docs skill instead.
Prerequisites
This skill depends on the following being in place. If any are missing, stop and report to the user before continuing:
docs/directory withdocs/zh/,docs/en/, anddocs/.vitepress/config.tsset up (VitePress site).docs/AGENTS.mdstyle guide, defines source-of-truth rules, terminology table, typography, and writing style.docs/scripts/sync-changelog.mjs, auto-syncs rootCHANGELOG.mdtodocs/en/release-notes/changelog.md.translate-docsskill in.agents/skills/, handles bilingual synchronization.
Workflow
-
Inspect changes
git log main..HEAD --oneline, commits on the current branchgit diff main..HEAD --stat, file-level scopels .changeset/*.md(excludingREADME.md), pending changeset entries- Read
CHANGELOG.mdand any subpackagepackages/*/CHANGELOG.mdfor already-recorded entries.
-
Understand user-facing impact
For each change, read the actual implementation when needed; do not infer behavior from commit messages or PR titles alone. Skip:
- Internal refactors with no externally visible behavior change
- Tests, CI, type-only changes
- Tooling / build-system changes that do not change how users invoke the CLI
If after the scan you conclude there is no user-facing impact, say so and stop.
-
Sync English changelog
Run:
node docs/scripts/sync-changelog.mjs
