← 返回列表
全部 Skill›内容与媒体 Content & Media›od-figma-migration

od-figma-migration

作者 @nexu-io · 语言 en
Default reference pipeline for the figma-migration taskKind — figma-extract → token-map → generate → critique.
内容与媒体 Content & Media设计需海外环境待翻译
最近源活动
—
检测 SKILL.md 语言
en
星标 ★
109,191
分支 Fork
0
安装选项
提示
指令
使用 AI 助手安装
将下面的提示复制到你正在使用的 AI 助手中。
下载完整 Skill 目录(含全部配套文件)。 下载压缩包 ↓
SKILL.md 原文预览

od-figma-migration (scenario)

Spec §1 / §10.1 / §21.3.1 / §23.3.3: the canonical figma-migration

flow. The pipeline is sequenced so each stage's output is the next

stage's input — figma-extract writes figma/tree.json,

token-map writes token-map/colors.json (etc.), and generate

reads both before producing the HTML artifact.

Default pipeline

{
  "stages": [
    { "id": "extract",  "atoms": ["figma-extract"] },
    { "id": "tokens",   "atoms": ["token-map"] },
    { "id": "generate", "atoms": ["file-write", "live-artifact"] },
    {
      "id": "critique", "atoms": ["critique-theater"],
      "repeat": true,
      "until": "critique.score>=4 || iterations>=3"
    }
  ]
}

Required GenUI surfaces

The scenario expects two oauth-prompt / form surfaces from the

plugin layer:

  • figma-oauth — oauth.route='connector', connectorId='figma',

persists at the project tier so multi-conversation work doesn't

re-prompt.

  • file-pick — kind='form', captures the Figma file URL on the

first turn so figma-extract knows where to read.

The daemon auto-derives the figma-oauth surface when

od.connectors.required[].id='figma' is declared and the connector

isn't yet authorised (spec §10.3.1 implicit oauth-prompt rule).

评论
Nnexu-io
nexu-io
nexu-io/open-design
查看 GitHub 仓库 查看作者的其他 Skill
来源信息
作者@nexu-io
所属大类内容与媒体 Content & Media / 设计
国内可用性需海外环境
最近源活动—
风险提示无
提示:风险标签为程序静态扫描结果,仅作提示,不代表安全认证。安装前请阅读 SKILL.md 及其引用的脚本、权限,自行判断是否可信。