Skip to content

feat(skills): register flow skills as /skill: slash commands#664

Merged
stdrc merged 2 commits into
mainfrom
rc/flow-as-skill-as-well
Jan 21, 2026
Merged

feat(skills): register flow skills as /skill: slash commands#664
stdrc merged 2 commits into
mainfrom
rc/flow-as-skill-as-well

Conversation

@stdrc

@stdrc stdrc commented Jan 21, 2026

Copy link
Copy Markdown
Contributor

Summary

Flow skills can now be invoked via /skill:<name> commands in addition to /flow:<name> commands.

  • /flow:<name>: Executes the flow, processing nodes from BEGIN to END
  • /skill:<name>: Loads the SKILL.md content as a prompt without auto-executing the flow

This provides more flexibility for users who want to reference flow skill content without triggering the automated workflow.

Changes

  • Code: Update kimisoul.py to register flow skills as /skill: commands
  • Tests: Add test verifying flow skills register both /skill: and /flow: commands
  • Docs: Update skills and slash-commands documentation (zh/en)
  • Changelog: Add entry for the new feature

stdrc added 2 commits January 21, 2026 19:40
Signed-off-by: Richard Chien <stdrc@outlook.com>
Signed-off-by: Richard Chien <stdrc@outlook.com>
Copilot AI review requested due to automatic review settings January 21, 2026 11:58

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 the ability to invoke flow skills via /skill:<name> commands in addition to the existing /flow:<name> commands, providing users with two ways to interact with flow skills depending on their needs.

Changes:

  • Updated skill registration logic to include flow skills in /skill: command registration
  • Added test coverage to verify both command types are registered for flow skills
  • Updated documentation (English and Chinese) to explain the dual invocation methods

Reviewed changes

Copilot reviewed 9 out of 9 changed files in this pull request and generated no comments.

Show a summary per file
File Description
src/kimi_cli/soul/kimisoul.py Modified skill type filter to register flow skills as /skill: commands
tests/test_kimisoul_slash_commands.py Added test verifying flow skills register both /skill: and /flow: commands
docs/en/reference/slash-commands.md Documented that /skill: works for flow skills without auto-executing
docs/zh/reference/slash-commands.md Chinese documentation for the new dual invocation behavior
docs/en/customization/skills.md Added examples showing both invocation methods for flow skills
docs/zh/customization/skills.md Chinese documentation with dual invocation examples
docs/en/release-notes/changelog.md Added changelog entry for the new feature
docs/zh/release-notes/changelog.md Chinese changelog entry for the new feature
CHANGELOG.md Main changelog entry documenting the feature

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

@stdrc
stdrc merged commit 017b2f2 into main Jan 21, 2026
17 checks passed
@stdrc
stdrc deleted the rc/flow-as-skill-as-well branch January 21, 2026 12:05
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.

2 participants