-
Notifications
You must be signed in to change notification settings - Fork 10.6k
Expand file tree
/
Copy pathopen-design.json
More file actions
156 lines (156 loc) · 5.4 KB
/
Copy pathopen-design.json
File metadata and controls
156 lines (156 loc) · 5.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
{
"$schema": "https://open-design.ai/schemas/plugin.v1.json",
"specVersion": "1.0.0",
"name": "od-figma-migration",
"title": "Figma migration (default scenario)",
"title_i18n": {
"en": "Figma migration (default scenario)",
"zh-CN": "Figma 迁移(默认场景)",
"zh-TW": "Figma 遷移(預設場景)",
"ja": "Figma マイグレーション(デフォルトシナリオ)",
"ko": "Figma 마이그레이션 (기본 시나리오)",
"de": "Figma-Migration (Standard-Szenario)",
"fr": "Migration Figma (scénario par défaut)",
"ru": "Миграция Figma (сценарий по умолчанию)",
"es": "Migración de Figma (escenario predeterminado)",
"pt-BR": "Migração do Figma (cenário padrão)",
"it": "Migrazione Figma (scenario predefinito)",
"vi": "Di trú Figma (kịch bản mặc định)",
"pl": "Migracja Figma (scenariusz domyślny)",
"id": "Migrasi Figma (skenario default)",
"nl": "Figma-migratie (standaardscenario)",
"ar": "ترحيل Figma (السيناريو الافتراضي)",
"tr": "Figma taşıma (varsayılan senaryo)",
"uk": "Міграція Figma (типовий сценарій)"
},
"version": "0.1.0",
"publishedAt": "2026-05-09T14:52:59Z",
"description": "Default reference pipeline for the figma-migration taskKind.",
"description_i18n": {
"en": "Default reference pipeline for the figma-migration taskKind.",
"zh-CN": "figma-migration taskKind 的默认参考流水线。",
"zh-TW": "figma-migration taskKind 的預設參考流水線。",
"ja": "figma-migration taskKind 用のデフォルトリファレンスパイプライン。",
"ko": "figma-migration taskKind을 위한 기본 레퍼런스 파이프라인.",
"de": "Standard-Referenzpipeline für den figma-migration taskKind.",
"fr": "Pipeline de référence par défaut pour le taskKind figma-migration.",
"ru": "Эталонный конвейер по умолчанию для taskKind figma-migration.",
"es": "Pipeline de referencia por defecto para el taskKind figma-migration.",
"pt-BR": "Pipeline de referência padrão para o taskKind figma-migration.",
"it": "Pipeline di riferimento predefinita per il taskKind figma-migration.",
"vi": "Pipeline tham chiếu mặc định cho taskKind figma-migration.",
"pl": "Domyślny pipeline referencyjny dla taskKind figma-migration.",
"id": "Pipeline referensi default untuk taskKind figma-migration.",
"nl": "Standaard-referentiepipeline voor de figma-migration taskKind.",
"ar": "خط المعالجة المرجعي الافتراضي لـ taskKind figma-migration.",
"tr": "figma-migration taskKind için varsayılan referans pipeline.",
"uk": "Типовий референс-конвеєр для taskKind figma-migration."
},
"license": "MIT",
"author": {
"name": "OpenDesign",
"url": "https://github.com/nexu-io"
},
"homepage": "https://github.com/nexu-io/open-design/tree/main/plugins/_official/scenarios/od-figma-migration",
"tags": [
"scenario",
"first-party",
"figma-migration",
"phase-6"
],
"compat": {
"agentSkills": [
{
"path": "./SKILL.md"
}
]
},
"od": {
"kind": "scenario",
"taskKind": "figma-migration",
"scenario": "figma-migration",
"mode": "scenario",
"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"
}
]
},
"connectors": {
"required": [
{
"id": "figma",
"tools": [
"files.get"
]
}
]
},
"capabilities": [
"prompt:inject",
"connector:figma",
"network"
],
"useCase": {
"query": {
"en": "Migrate the Figma file at {{figmaUrl}} into a {{targetStack}} component. Extract the design tokens, generate the markup, and self-critique against the design system until the score converges.",
"zh-CN": "使用这个插件完成以下任务:Migrate the Figma file at {{figmaUrl}} into a {{targetStack}} component. Extract the design tokens, generate the markup, and self-critique against the design system until the score converges."
},
"exampleOutputs": [
{
"path": "./examples/dashboard-card.html",
"title": "Dashboard card from Figma"
}
]
},
"inputs": [
{
"name": "figmaUrl",
"type": "string",
"required": true,
"label": "Figma file URL",
"placeholder": "https://www.figma.com/file/abc/Dashboard"
},
{
"name": "targetStack",
"type": "string",
"required": false,
"label": "Target stack",
"placeholder": "React 18 + Tailwind",
"default": "React 18 + Tailwind"
},
{
"name": "frameName",
"type": "string",
"required": false,
"label": "Frame to extract",
"placeholder": "Dashboard / Card / Active sessions"
}
]
}
}