Documentation
¶
Overview ¶
Package skill 提供文件拷贝功能
Package skill 提供 Skill 相关功能
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtractSkillName ¶
ExtractSkillName 从仓库 URL 或路径中提取 skill 名称
func ReadSkillDescription ¶ added in v0.10.0
ReadSkillDescription 读取指定 skill 目录中的描述信息 入参: skillDir skill 目录路径 返回: description 字段内容,读取失败或不存在则为空
func ValidateSkillDir ¶
ValidateSkillDir 验证目录是否是有效的 skill 目录 有效的 skill 目录必须包含 SKILL.md 文件
Types ¶
type CopyOptions ¶
CopyOptions 拷贝选项
type SkillInfo ¶
type SkillInfo struct {
Name string // skill 名称(目录名)
Path string // skill 完整路径
Desc string // 从 SKILL.md 提取的描述
}
SkillInfo 表示一个 skill 的信息
func ScanSkills ¶
ScanSkills scans directory recursively for valid skills (directories containing SKILL.md) Supports nested structures common in monorepos (e.g., root/skills/skill-name/SKILL.md)
Click to show internal directories.
Click to hide internal directories.