mirror of
https://github.com/instructkr/claw-code.git
synced 2026-11-21 00:00:00 +08:00
feat(skills): implement bundled skills registry and skill chaining support (#3324)
- Add SkillOrigin::Bundled variant to support bundled skills registry - Implement bundled_skill_root() function for discovering bundled skills - Update skill discovery to include bundled skills from standard install paths - Create example bundled skills (example-skill, chain-example) - Add comprehensive tests for bundled skills discovery and metadata - Bundled skills follow same directory structure as plugins - Skills can now chain/invoke other skills using standard dispatch mechanisms - Maintains backward compatibility with existing SkillsDir and LegacyCommandsDir
This commit is contained in:
1 parent
09f3b366ba
commit
cd04270a17
4 files changed
+253
-5
No files matched your search
@@ -0,0 +1,20 @@
|
||||
---
|
||||
name: "chain-example"
|
||||
description: "Example bundled skill that chains to other skills"
|
||||
---
|
||||
|
||||
# Chain Example Skill
|
||||
|
||||
This skill demonstrates skill chaining capability, where one skill can invoke another skill.
|
||||
|
||||
## Usage
|
||||
|
||||
```
|
||||
/skill chain-example
|
||||
```
|
||||
|
||||
This skill chains by invoking `/skill example-skill` internally.
|
||||
|
||||
## Description
|
||||
|
||||
This skill serves as a test case for skill chaining feature in the bundled skills registry (#3324).
|
||||
Reference in new issue
Block a user