registry.schema.json — 注册中心索引

用于注册中心 API 响应(skills.json),定义技能索引数据结构。

顶层字段:

字段类型必填说明
updated_atstring是ISO 8601 最后更新时间戳(如 2026-07-17T12:00:00.000Z)
sourcesSourceEntry[]是按源仓库分组的技能

SourceEntry(sources[]):

字段类型必填说明
sourcestring是源名称(如 org/repo)
urlstring否源仓库 URL
commit_hashstring否同步时源仓库的最新 commit hash(SHA)
skillsSkillEntry[]是该源下可用的技能

SkillEntry(sources[].skills[]):

字段类型必填默认值说明
namestring是—技能名称
pathstring是—SKILL.md 相对于仓库根目录的路径(如 skills/vue/SKILL.md 或根目录级别的 my-skill/SKILL.md)
descriptionstring否""技能描述
versionstring否""技能版本