AgentSkillsCN

component-catalog

如何获取 Vivid 组件的相关元数据。可用于列出可用组件,或查询各组件的 API 接口。

SKILL.md
--- frontmatter
name: component-catalog
description: How to access metadata about Vivid components. Use to list available components or query their API.

The API of all components is defined in libs/components/metadata.json. Since the file is very large, always use scripting (e.g. with jq) to extract just the data that you need.

The content of the file has type { componentDefs: ComponentDef[]; }. Read libs/wrapper-gen/src/common/ComponentDef.ts for the definition of ComponentDef.