Skip to content

feat(skills): add kimi-cli-help built-in skill#595

Merged
stdrc merged 4 commits into
mainfrom
feat/kimi-cli-help-skill
Jan 9, 2026
Merged

feat(skills): add kimi-cli-help built-in skill#595
stdrc merged 4 commits into
mainfrom
feat/kimi-cli-help-skill

Conversation

@xxchan

@xxchan xxchan commented Jan 9, 2026

Copy link
Copy Markdown
Contributor

Summary

Add a new built-in skill kimi-cli-help to help users with Kimi CLI usage, configuration, and troubleshooting questions.

Strategy

The skill guides the agent to:

  1. Prefer official documentation for most questions - fetches from https://moonshotai.github.io/kimi-cli/
  2. Read local source when in kimi-cli project itself, or when user is developing with kimi-cli as a library
  3. Clone and explore source for complex internals not covered in docs (asks user for confirmation first)

Includes

  • Topic mapping table for quick navigation to relevant doc pages
  • Support for both English and Chinese documentation
  • Repository URL for source code exploration when needed

Add a skill to help users with Kimi CLI usage, configuration, and
troubleshooting questions by consulting official documentation and
source code when appropriate.
Copilot AI review requested due to automatic review settings January 9, 2026 03:54
@xxchan
xxchan requested a review from stdrc January 9, 2026 03:55

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: ab9838382e

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +35 to +39
| Installation, first run | `/en/guides/getting-started.md` |
| Config files | `/en/configuration/config-files.md` |
| Providers, models | `/en/configuration/providers.md` |
| Environment variables | `/en/configuration/env-vars.md` |
| Slash commands | `/en/reference/slash-commands.md` |

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Point topic map to real doc URLs

The topic mapping hardcodes .md paths (e.g., /en/guides/getting-started.md), but the docs site is built with VitePress and links to extensionless or .html routes (see docs/.vitepress/config.ts and README.md links). If the skill uses this table instead of llms.txt, these .md URLs will 404 and the help flow will fail to load docs. Consider switching the mapping to the published routes (e.g., /en/guides/getting-started or .html).

Useful? React with 👍 / 👎.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds a new built-in skill kimi-cli-help that provides the agent with structured guidance for answering user questions about Kimi CLI. The skill defines a three-tier strategy: prefer official documentation, read local source when in the project, and clone/explore source for complex internals (with user confirmation).

Key Changes

  • New skill with comprehensive documentation index and topic mapping table
  • Strategy for when to consult docs vs. source code
  • Support for both English and Chinese documentation paths

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/kimi_cli/skills/kimi-cli-help/SKILL.md
@stdrc
stdrc merged commit da79400 into main Jan 9, 2026
8 checks passed
@stdrc
stdrc deleted the feat/kimi-cli-help-skill branch January 9, 2026 14:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants