SuperAPI AI 工具集

Fluxwing Component Creator

设计与创作

查看项目

更新于 10-15 22:39

技能介绍

用途:帮助用户按 uxscii 标准创建 UI 组件,输出 .uxm 元数据文件与可选的 .md ASCII 模板。

主要能力:支持单个组件(如“Create a submit button”)与多组件并行创建(如“Create submit-button, cancel-button, and email-input”);提供快速模式(约10秒/组件,仅生成 .uxm,fidelity 为 sketch,基于模板变量替换)与详细模式(约60-90秒/组件,生成 .uxm 与 .md,fidelity 为 detailed,含完整文档、手工 ASCII 与丰富元数据)。组件类型涵盖 button、input、card、navigation、form、list、modal、table、badge、alert、container、text、image、divider 或自定义。

使用方式:读取 {SKILL_ROOT}/templates/ 与 docs/ 作为参考,写入 ./fluxwing/components/;用户组件位于 ./fluxwing/components/,自定义模板位于 ./fluxwing/library/。创建后可用验证脚本检查:uv run {SKILL_ROOT}/scripts/quick_validate.py ./fluxwing/components/${componentId}.uxm {SKILL_ROOT}/schemas/uxm-component.schema.json。

适用场景:快速 MVP 原型搭建、批量生成基础组件、需要 ASCII 线框与元数据描述的设计流程。

限制:技能目录只读,禁止写入;快速模式不加载文档、不生成 ASCII 艺术与详细元数据;默认仅创建默认状态,交互状态需后续扩展;具体收费、价格与平台支持暂未提供。