.agents/skills/gen-rust/SKILL.md
Sync Rust implementation with Python changes (exclude UI/login) by reviewing recent changes, mapping modules, porting logic, and updating tests.
npx skillsauth add moonshotai/kimi-cli gen-rustInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Use this skill when the user wants Rust (kagent/kosong/kaos) to stay logically identical to Python (kimi_cli/kosong/kaos), excluding UI and login/auth. This includes code and tests: Rust behavior and tests must be fully synchronized with Python changes.
Note: The Rust binary is named kagent. User-facing CLI/output text in Rust must use kagent
instead of kimi to match the Rust command name.
Review recent changes to understand what needs syncing:
# Check staged changes
git diff --cached --name-only
git diff --cached -- src packages
# Check recent commits
git log --oneline -20 -- src packages
git diff HEAD~20..HEAD -- src packages
# Review CHANGELOG.md for context
head -50 CHANGELOG.md
Common mappings:
src/kimi_cli/llm.py -> rust/kagent/src/llm.rssrc/kimi_cli/soul/* -> rust/kagent/src/soul/*src/kimi_cli/tools/* -> rust/kagent/src/tools/*src/kimi_cli/utils/* -> rust/kagent/src/utils/*src/kimi_cli/wire/* -> rust/kagent/src/wire/*packages/kosong/* -> rust/kosong/*packages/kaos/* -> rust/kaos/*rg to find existing analogs and references.KIMI_E2E_WIRE_CMD (do not rewrite E2E in Rust). All E2E cases must pass or the gap must be documented.cargo test -p kagent --test <name>), then full suite if asked.KIMI_E2E_WIRE_CMD), and ensure they pass.llm.py: it often changes model capability logic.KIMI_E2E_WIRE_CMDtools
Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that extends Kimi's capabilities with specialized knowledge, workflows, or tool integrations.
tools
Answer Kimi Code CLI usage, configuration, and troubleshooting questions. Use when user asks about Kimi Code CLI installation, setup, configuration, slash commands, keyboard shortcuts, MCP integration, providers, environment variables, how something works internally, or any questions about Kimi Code CLI itself.
tools
Sample plugin demonstrating the Skills + Tools model. Includes a Python tool (greeting) and a TypeScript tool (calculator).
testing
Audit all git worktrees in the current project. Use when the user asks about worktree status, which branches are merged, which have uncommitted changes, or which worktrees can be safely cleaned up.