FunBI vue2 片段(vue-part)编辑

SkillDev tools

Editing guide for FunBI vue2 fragments (vue-part / custom code components, prop = "vue-part"), for agentBI to use when modifying these components. Trigger scenarios: (1) modifying a vue2 fragment's template/script/styles (HTML template, generate function, CSS), (2) modifying a vue-part component's p

Available today. Use it from your connected AI after setup.

Connect ahel once, and every AI you use reads what you have installed.

Then ask your AI: use the FunBI vue2 片段(vue-part)编辑 skill

What this skill tells your AI

The instructions your AI receives, as published by onweekendd/screenwright in servers/server/agent-workspace/skills/executor/sw-vue-part/SKILL.md and read by ahel’s review.

vue-part 在工作区被拆成两个文件存储,改哪个取决于改什么。动手前先读 concepts.md 建立结构认知(含 .vue/.json 分工、option 指针、类型锚点、generate 约定),再按下表操作。

操作目录

要修改的内容改哪个文件参考文件
模板 / 脚本(generate) / 样式{id}.vueedit-content.md
数据 / 位置 / 尺寸 / 事件 等属性{id}.jsonedit-props.md

两类修改 edit_files 都会自动合并并推送到前端,无需手动调用推送工具。

  • .vue:工具拆解 SFC、剥除类型锚点还原 generate 工厂、合并回 {id}.jsonoption,再推送完整组件。
  • .json:走组件 schema 校验后推送。

遇到对应操作时,读取对应参考文件后再执行。

Signals

GitHub stars
31
Last commit
Sep 2026
Advanced
Catalog kind
skill
Gateway key
sw-vue-part
Source
github.com/onweekendd/screenwright