ui-director-skill 2.0.0 → 2.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +16 -0
- package/INSTALL.md +51 -18
- package/README.md +51 -28
- package/SKILL.md +20 -9
- package/assets/bundle-profiles.json +178 -0
- package/assets/capabilities.json +260 -0
- package/assets/install-manifest.json +27 -0
- package/assets/project-profile.example.json +23 -0
- package/assets/quality-rubric.json +29 -0
- package/assets/routing-rules.json +68 -0
- package/assets/upstreams.json +100 -0
- package/bin/ui.mjs +51 -9
- package/config/optional-skills.json +1 -1
- package/install.py +303 -0
- package/lib/core.mjs +8 -3
- package/lib/workflows.mjs +49 -18
- package/package.json +7 -3
- package/references/delivery-contract.md +4 -0
- package/references/design-intelligence.md +2 -0
- package/references/integrations/security-policy.md +2 -0
- package/references/integrations/skill-manager.md +2 -0
- package/references/integrations/upstream-adapters.md +4 -0
- package/references/integrations.md +2 -0
- package/references/motion-interaction.md +2 -0
- package/references/orchestration/context-management.md +4 -0
- package/references/orchestration/iteration-loop.md +8 -0
- package/references/orchestration/routing.md +8 -0
- package/references/platforms/desktop.md +3 -0
- package/references/platforms/mobile.md +3 -0
- package/references/platforms/web.md +3 -0
- package/references/quality-assurance.md +2 -0
- package/references/routing.md +2 -27
- package/references/stages/design-research.md +2 -0
- package/references/stages/design-system.md +4 -0
- package/references/stages/deslop.md +2 -0
- package/references/stages/motion-interaction.md +31 -0
- package/references/stages/prototyping.md +2 -0
- package/references/stages/visual-direction.md +2 -0
- package/references/stages/visual-validation.md +6 -0
- package/references/visual-direction.md +2 -0
- package/skill_manager.py +655 -0
- package/templates/DECISIONS.md +2 -3
- package/templates/DESIGN.md +12 -13
- package/templates/PRODUCT.md +7 -4
- package/templates/REVIEW.md +9 -8
- package/config/workflows.json +0 -15
- package/references/design-workflows.md +0 -21
- package/references/platforms.md +0 -17
- package/references/project-inspection.md +0 -11
- package/references/quality-gates.md +0 -16
- package/references/specialists.md +0 -9
|
@@ -0,0 +1,260 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"id": "pro-max",
|
|
4
|
+
"skill": "ui-ux-pro-max",
|
|
5
|
+
"aliases": [
|
|
6
|
+
"ui-ux-pro-max"
|
|
7
|
+
],
|
|
8
|
+
"source": "https://github.com/nextlevelbuilder/ui-ux-pro-max-skill",
|
|
9
|
+
"capabilities": [
|
|
10
|
+
"system",
|
|
11
|
+
"research"
|
|
12
|
+
],
|
|
13
|
+
"platforms": [
|
|
14
|
+
"web",
|
|
15
|
+
"mobile",
|
|
16
|
+
"desktop"
|
|
17
|
+
],
|
|
18
|
+
"notes": "Design knowledge",
|
|
19
|
+
"version": null
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"id": "frontend",
|
|
23
|
+
"skill": "frontend-design",
|
|
24
|
+
"aliases": [
|
|
25
|
+
"frontend-design"
|
|
26
|
+
],
|
|
27
|
+
"source": "https://github.com/anthropics/skills",
|
|
28
|
+
"capabilities": [
|
|
29
|
+
"visual"
|
|
30
|
+
],
|
|
31
|
+
"platforms": [
|
|
32
|
+
"web"
|
|
33
|
+
],
|
|
34
|
+
"notes": "General distinctive web UI; do not apply CSS to native",
|
|
35
|
+
"version": null
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"id": "taste",
|
|
39
|
+
"skill": "design-taste-frontend",
|
|
40
|
+
"aliases": [
|
|
41
|
+
"design-taste-frontend",
|
|
42
|
+
"taste-skill"
|
|
43
|
+
],
|
|
44
|
+
"source": "https://github.com/Leonxlnx/taste-skill",
|
|
45
|
+
"capabilities": [
|
|
46
|
+
"visual"
|
|
47
|
+
],
|
|
48
|
+
"platforms": [
|
|
49
|
+
"web"
|
|
50
|
+
],
|
|
51
|
+
"notes": "Brand/marketing website specialist; discover actual current instructions",
|
|
52
|
+
"version": null
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"id": "taste-classics",
|
|
56
|
+
"skill": "taste-skill-classics",
|
|
57
|
+
"aliases": [
|
|
58
|
+
"high-end-visual-design",
|
|
59
|
+
"minimalist-ui",
|
|
60
|
+
"industrial-brutalist-ui"
|
|
61
|
+
],
|
|
62
|
+
"source": "https://github.com/Leonxlnx/taste-skill-classics",
|
|
63
|
+
"capabilities": [
|
|
64
|
+
"visual"
|
|
65
|
+
],
|
|
66
|
+
"platforms": [
|
|
67
|
+
"web"
|
|
68
|
+
],
|
|
69
|
+
"notes": "Legacy style options, only if requested; verify provenance/version",
|
|
70
|
+
"version": null
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"id": "hallmark",
|
|
74
|
+
"skill": "hallmark",
|
|
75
|
+
"aliases": [
|
|
76
|
+
"hallmark"
|
|
77
|
+
],
|
|
78
|
+
"source": "https://github.com/Nutlope/hallmark",
|
|
79
|
+
"capabilities": [
|
|
80
|
+
"research",
|
|
81
|
+
"system",
|
|
82
|
+
"visual",
|
|
83
|
+
"deslop",
|
|
84
|
+
"qa"
|
|
85
|
+
],
|
|
86
|
+
"platforms": [
|
|
87
|
+
"web"
|
|
88
|
+
],
|
|
89
|
+
"notes": "Reference extraction, token governance and critique",
|
|
90
|
+
"version": null
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
"id": "unslop",
|
|
94
|
+
"skill": "unslop",
|
|
95
|
+
"aliases": [
|
|
96
|
+
"unslop"
|
|
97
|
+
],
|
|
98
|
+
"source": "https://github.com/heydamir/unslop",
|
|
99
|
+
"capabilities": [
|
|
100
|
+
"deslop"
|
|
101
|
+
],
|
|
102
|
+
"platforms": [
|
|
103
|
+
"web"
|
|
104
|
+
],
|
|
105
|
+
"notes": "Anti-template refinement; verify installed entry name",
|
|
106
|
+
"version": null
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
"id": "impeccable",
|
|
110
|
+
"skill": "impeccable",
|
|
111
|
+
"aliases": [
|
|
112
|
+
"impeccable"
|
|
113
|
+
],
|
|
114
|
+
"source": "https://github.com/pbakaus/impeccable",
|
|
115
|
+
"capabilities": [
|
|
116
|
+
"baseline",
|
|
117
|
+
"deslop",
|
|
118
|
+
"qa"
|
|
119
|
+
],
|
|
120
|
+
"platforms": [
|
|
121
|
+
"web"
|
|
122
|
+
],
|
|
123
|
+
"notes": "Design audit, refinement and visual checks",
|
|
124
|
+
"version": null
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
"id": "emil",
|
|
128
|
+
"skill": "animate",
|
|
129
|
+
"aliases": [
|
|
130
|
+
"animate",
|
|
131
|
+
"review-animations",
|
|
132
|
+
"animation-performance",
|
|
133
|
+
"emil-design-eng",
|
|
134
|
+
"ask-emil",
|
|
135
|
+
"find-animation-opportunities"
|
|
136
|
+
],
|
|
137
|
+
"source": "https://github.com/emilkowalski/skills",
|
|
138
|
+
"capabilities": [
|
|
139
|
+
"motion",
|
|
140
|
+
"motion-review"
|
|
141
|
+
],
|
|
142
|
+
"platforms": [
|
|
143
|
+
"web"
|
|
144
|
+
],
|
|
145
|
+
"notes": "Motion and performance; native use principles only",
|
|
146
|
+
"version": null
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
"id": "vercel",
|
|
150
|
+
"skill": "web-design-guidelines",
|
|
151
|
+
"aliases": [
|
|
152
|
+
"web-design-guidelines"
|
|
153
|
+
],
|
|
154
|
+
"source": "https://github.com/vercel-labs/agent-skills",
|
|
155
|
+
"capabilities": [
|
|
156
|
+
"qa"
|
|
157
|
+
],
|
|
158
|
+
"platforms": [
|
|
159
|
+
"web"
|
|
160
|
+
],
|
|
161
|
+
"notes": "Web UX and accessibility review",
|
|
162
|
+
"version": null
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
"id": "stitch",
|
|
166
|
+
"skill": "stitch",
|
|
167
|
+
"aliases": [
|
|
168
|
+
"stitch",
|
|
169
|
+
"design-md",
|
|
170
|
+
"stitch-design"
|
|
171
|
+
],
|
|
172
|
+
"source": "https://github.com/google-labs-code/stitch-skills",
|
|
173
|
+
"capabilities": [
|
|
174
|
+
"research",
|
|
175
|
+
"system",
|
|
176
|
+
"prototype"
|
|
177
|
+
],
|
|
178
|
+
"platforms": [
|
|
179
|
+
"web"
|
|
180
|
+
],
|
|
181
|
+
"notes": "Optional design conversion; requires available tools and permission",
|
|
182
|
+
"version": null
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
"id": "figma",
|
|
186
|
+
"skill": "figma-implement-design",
|
|
187
|
+
"aliases": [
|
|
188
|
+
"figma-implement-design",
|
|
189
|
+
"figma-generate-design",
|
|
190
|
+
"figma"
|
|
191
|
+
],
|
|
192
|
+
"source": "https://github.com/openai/skills",
|
|
193
|
+
"capabilities": [
|
|
194
|
+
"research",
|
|
195
|
+
"prototype"
|
|
196
|
+
],
|
|
197
|
+
"platforms": [
|
|
198
|
+
"web",
|
|
199
|
+
"mobile",
|
|
200
|
+
"desktop"
|
|
201
|
+
],
|
|
202
|
+
"notes": "Use actual Figma tools and authorization",
|
|
203
|
+
"version": null
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
"id": "playwright",
|
|
207
|
+
"skill": "playwright-interactive",
|
|
208
|
+
"aliases": [
|
|
209
|
+
"playwright-interactive",
|
|
210
|
+
"playwright",
|
|
211
|
+
"screenshot"
|
|
212
|
+
],
|
|
213
|
+
"source": "https://github.com/openai/skills",
|
|
214
|
+
"capabilities": [
|
|
215
|
+
"baseline",
|
|
216
|
+
"qa"
|
|
217
|
+
],
|
|
218
|
+
"platforms": [
|
|
219
|
+
"web",
|
|
220
|
+
"desktop"
|
|
221
|
+
],
|
|
222
|
+
"notes": "Actual rendered evidence; desktop only if supported",
|
|
223
|
+
"version": null
|
|
224
|
+
},
|
|
225
|
+
{
|
|
226
|
+
"id": "design-qa",
|
|
227
|
+
"skill": "design-qa",
|
|
228
|
+
"aliases": [
|
|
229
|
+
"design-qa"
|
|
230
|
+
],
|
|
231
|
+
"source": "https://github.com/openai/plugins",
|
|
232
|
+
"capabilities": [
|
|
233
|
+
"qa"
|
|
234
|
+
],
|
|
235
|
+
"platforms": [
|
|
236
|
+
"web",
|
|
237
|
+
"mobile",
|
|
238
|
+
"desktop"
|
|
239
|
+
],
|
|
240
|
+
"notes": "Reference vs implementation QA; runtime availability varies",
|
|
241
|
+
"version": null
|
|
242
|
+
},
|
|
243
|
+
{
|
|
244
|
+
"id": "cook",
|
|
245
|
+
"skill": "cook",
|
|
246
|
+
"aliases": [
|
|
247
|
+
"cook"
|
|
248
|
+
],
|
|
249
|
+
"source": "https://github.com/Leonxlnx/cook",
|
|
250
|
+
"capabilities": [
|
|
251
|
+
"research",
|
|
252
|
+
"qa"
|
|
253
|
+
],
|
|
254
|
+
"platforms": [
|
|
255
|
+
"web"
|
|
256
|
+
],
|
|
257
|
+
"notes": "Optional inspiration for render/critique loop; core loop is independent",
|
|
258
|
+
"version": null
|
|
259
|
+
}
|
|
260
|
+
]
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
{
|
|
2
|
+
"paths": [
|
|
3
|
+
"SKILL.md", "package.json", "install.py", "skill_manager.py",
|
|
4
|
+
"assets", "references", "bin", "lib", "config", "adapters", "templates"
|
|
5
|
+
],
|
|
6
|
+
"required": [
|
|
7
|
+
"SKILL.md", "package.json", "install.py", "skill_manager.py",
|
|
8
|
+
"assets/install-manifest.json", "assets/capabilities.json",
|
|
9
|
+
"assets/routing-rules.json", "assets/quality-rubric.json",
|
|
10
|
+
"assets/bundle-profiles.json", "assets/project-profile.example.json",
|
|
11
|
+
"bin/ui.mjs", "lib/core.mjs", "lib/workflows.mjs",
|
|
12
|
+
"config/providers.json", "config/capabilities.json", "config/optional-skills.json",
|
|
13
|
+
"adapters/design-system.json", "adapters/impeccable.json",
|
|
14
|
+
"adapters/jakub-skills.json", "adapters/ui-ux-pro-max.json",
|
|
15
|
+
"references/delivery-contract.md",
|
|
16
|
+
"references/integrations/security-policy.md", "references/integrations/skill-manager.md",
|
|
17
|
+
"references/integrations/upstream-adapters.md",
|
|
18
|
+
"references/orchestration/context-management.md", "references/orchestration/iteration-loop.md",
|
|
19
|
+
"references/orchestration/routing.md",
|
|
20
|
+
"references/platforms/desktop.md", "references/platforms/mobile.md", "references/platforms/web.md",
|
|
21
|
+
"references/stages/design-research.md", "references/stages/design-system.md",
|
|
22
|
+
"references/stages/deslop.md", "references/stages/motion-interaction.md",
|
|
23
|
+
"references/stages/prototyping.md", "references/stages/visual-direction.md",
|
|
24
|
+
"references/stages/visual-validation.md",
|
|
25
|
+
"templates/DESIGN.md", "templates/PRODUCT.md", "templates/DECISIONS.md", "templates/REVIEW.md"
|
|
26
|
+
]
|
|
27
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
{
|
|
2
|
+
"project": "Example Product",
|
|
3
|
+
"platform": "web",
|
|
4
|
+
"product_type": "SaaS dashboard",
|
|
5
|
+
"audience": "Operations users",
|
|
6
|
+
"primary_journey": "Find and act on high priority issues",
|
|
7
|
+
"brand_direction": "clear, restrained, information first",
|
|
8
|
+
"design_system": "DESIGN.md",
|
|
9
|
+
"implementation": "existing stack (do not replace)",
|
|
10
|
+
"constraints": [
|
|
11
|
+
"preserve existing API",
|
|
12
|
+
"desktop and mobile",
|
|
13
|
+
"Chinese and English"
|
|
14
|
+
],
|
|
15
|
+
"success_criteria": [
|
|
16
|
+
"complete core flow",
|
|
17
|
+
"consistent tokens",
|
|
18
|
+
"review evidence"
|
|
19
|
+
],
|
|
20
|
+
"schema_version": 2,
|
|
21
|
+
"product_spec": "PRODUCT.md",
|
|
22
|
+
"mode": "STANDARD"
|
|
23
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
{
|
|
2
|
+
"standard_target": 85,
|
|
3
|
+
"craft_target": 92,
|
|
4
|
+
"minimum_coverage_for_score": 1.0,
|
|
5
|
+
"dimensions": {
|
|
6
|
+
"visual": 25,
|
|
7
|
+
"ux": 20,
|
|
8
|
+
"consistency": 15,
|
|
9
|
+
"distinctiveness": 15,
|
|
10
|
+
"motion": 10,
|
|
11
|
+
"engineering": 10,
|
|
12
|
+
"accessibility": 5
|
|
13
|
+
},
|
|
14
|
+
"rating_scale": [
|
|
15
|
+
0,
|
|
16
|
+
1,
|
|
17
|
+
2,
|
|
18
|
+
3,
|
|
19
|
+
4,
|
|
20
|
+
5
|
|
21
|
+
],
|
|
22
|
+
"hard_gates": [
|
|
23
|
+
"scope",
|
|
24
|
+
"functionality",
|
|
25
|
+
"safety",
|
|
26
|
+
"required_evidence",
|
|
27
|
+
"critical_accessibility"
|
|
28
|
+
]
|
|
29
|
+
}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
{
|
|
2
|
+
"modes": {
|
|
3
|
+
"FAST": 1,
|
|
4
|
+
"STANDARD": 3,
|
|
5
|
+
"CRAFT": 5,
|
|
6
|
+
"REFERENCE": 8
|
|
7
|
+
},
|
|
8
|
+
"workflows": {
|
|
9
|
+
"AUDIT": [
|
|
10
|
+
"qa"
|
|
11
|
+
],
|
|
12
|
+
"MOTION": [
|
|
13
|
+
"motion",
|
|
14
|
+
"motion-review"
|
|
15
|
+
],
|
|
16
|
+
"SYSTEM": [
|
|
17
|
+
"research",
|
|
18
|
+
"system",
|
|
19
|
+
"qa"
|
|
20
|
+
],
|
|
21
|
+
"DESLOP": [
|
|
22
|
+
"baseline",
|
|
23
|
+
"deslop",
|
|
24
|
+
"qa"
|
|
25
|
+
],
|
|
26
|
+
"POLISH": [
|
|
27
|
+
"baseline",
|
|
28
|
+
"system",
|
|
29
|
+
"visual",
|
|
30
|
+
"prototype",
|
|
31
|
+
"qa"
|
|
32
|
+
],
|
|
33
|
+
"REFERENCE": [
|
|
34
|
+
"research",
|
|
35
|
+
"system",
|
|
36
|
+
"visual",
|
|
37
|
+
"prototype",
|
|
38
|
+
"qa"
|
|
39
|
+
],
|
|
40
|
+
"NEW_SCREEN": [
|
|
41
|
+
"research",
|
|
42
|
+
"system",
|
|
43
|
+
"visual",
|
|
44
|
+
"prototype",
|
|
45
|
+
"qa"
|
|
46
|
+
],
|
|
47
|
+
"BRAND": [
|
|
48
|
+
"research",
|
|
49
|
+
"system",
|
|
50
|
+
"visual",
|
|
51
|
+
"prototype",
|
|
52
|
+
"qa"
|
|
53
|
+
]
|
|
54
|
+
},
|
|
55
|
+
"platforms": [
|
|
56
|
+
"web",
|
|
57
|
+
"mobile",
|
|
58
|
+
"desktop",
|
|
59
|
+
"other"
|
|
60
|
+
],
|
|
61
|
+
"deliverables": [
|
|
62
|
+
"concept",
|
|
63
|
+
"specification",
|
|
64
|
+
"prototype",
|
|
65
|
+
"implementation",
|
|
66
|
+
"audit"
|
|
67
|
+
]
|
|
68
|
+
}
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"stage": "system",
|
|
4
|
+
"skill": "ui-ux-pro-max",
|
|
5
|
+
"source": "https://github.com/nextlevelbuilder/ui-ux-pro-max-skill",
|
|
6
|
+
"id": "pro-max",
|
|
7
|
+
"notes": "Design knowledge"
|
|
8
|
+
},
|
|
9
|
+
{
|
|
10
|
+
"stage": "visual",
|
|
11
|
+
"skill": "frontend-design",
|
|
12
|
+
"source": "https://github.com/anthropics/skills",
|
|
13
|
+
"id": "frontend",
|
|
14
|
+
"notes": "General distinctive web UI; do not apply CSS to native"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"stage": "visual",
|
|
18
|
+
"skill": "design-taste-frontend",
|
|
19
|
+
"source": "https://github.com/Leonxlnx/taste-skill",
|
|
20
|
+
"id": "taste",
|
|
21
|
+
"notes": "Brand/marketing website specialist; discover actual current instructions"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"stage": "visual",
|
|
25
|
+
"skill": "taste-skill-classics",
|
|
26
|
+
"source": "https://github.com/Leonxlnx/taste-skill-classics",
|
|
27
|
+
"id": "taste-classics",
|
|
28
|
+
"notes": "Legacy style options, only if requested; verify provenance/version"
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"stage": "research",
|
|
32
|
+
"skill": "hallmark",
|
|
33
|
+
"source": "https://github.com/Nutlope/hallmark",
|
|
34
|
+
"id": "hallmark",
|
|
35
|
+
"notes": "Reference extraction, token governance and critique"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"stage": "deslop",
|
|
39
|
+
"skill": "unslop",
|
|
40
|
+
"source": "https://github.com/heydamir/unslop",
|
|
41
|
+
"id": "unslop",
|
|
42
|
+
"notes": "Anti-template refinement; verify installed entry name"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"stage": "baseline",
|
|
46
|
+
"skill": "impeccable",
|
|
47
|
+
"source": "https://github.com/pbakaus/impeccable",
|
|
48
|
+
"id": "impeccable",
|
|
49
|
+
"notes": "Design audit, refinement and visual checks"
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"stage": "motion",
|
|
53
|
+
"skill": "animate",
|
|
54
|
+
"source": "https://github.com/emilkowalski/skills",
|
|
55
|
+
"id": "emil",
|
|
56
|
+
"notes": "Motion and performance; native use principles only"
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"stage": "qa",
|
|
60
|
+
"skill": "web-design-guidelines",
|
|
61
|
+
"source": "https://github.com/vercel-labs/agent-skills",
|
|
62
|
+
"id": "vercel",
|
|
63
|
+
"notes": "Web UX and accessibility review"
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"stage": "research",
|
|
67
|
+
"skill": "stitch",
|
|
68
|
+
"source": "https://github.com/google-labs-code/stitch-skills",
|
|
69
|
+
"id": "stitch",
|
|
70
|
+
"notes": "Optional design conversion; requires available tools and permission"
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"stage": "research",
|
|
74
|
+
"skill": "figma-implement-design",
|
|
75
|
+
"source": "https://github.com/openai/skills",
|
|
76
|
+
"id": "figma",
|
|
77
|
+
"notes": "Use actual Figma tools and authorization"
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"stage": "baseline",
|
|
81
|
+
"skill": "playwright-interactive",
|
|
82
|
+
"source": "https://github.com/openai/skills",
|
|
83
|
+
"id": "playwright",
|
|
84
|
+
"notes": "Actual rendered evidence; desktop only if supported"
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"stage": "qa",
|
|
88
|
+
"skill": "design-qa",
|
|
89
|
+
"source": "https://github.com/openai/plugins",
|
|
90
|
+
"id": "design-qa",
|
|
91
|
+
"notes": "Reference vs implementation QA; runtime availability varies"
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
"stage": "research",
|
|
95
|
+
"skill": "cook",
|
|
96
|
+
"source": "https://github.com/Leonxlnx/cook",
|
|
97
|
+
"id": "cook",
|
|
98
|
+
"notes": "Optional inspiration for render/critique loop; core loop is independent"
|
|
99
|
+
}
|
|
100
|
+
]
|
package/bin/ui.mjs
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
+
import { spawnSync } from 'node:child_process';
|
|
2
3
|
import { existsSync } from 'node:fs';
|
|
3
4
|
import { resolve } from 'node:path';
|
|
4
5
|
import {
|
|
@@ -11,7 +12,9 @@ import {
|
|
|
11
12
|
installProvider,
|
|
12
13
|
loadLock,
|
|
13
14
|
lockExists,
|
|
15
|
+
missingSkillFiles,
|
|
14
16
|
packageVersion,
|
|
17
|
+
packageRoot,
|
|
15
18
|
providerDir,
|
|
16
19
|
providersConfig,
|
|
17
20
|
resolveCapability,
|
|
@@ -40,6 +43,13 @@ Usage: ui [command] [arguments]
|
|
|
40
43
|
ui init Install the skill and restore managed providers
|
|
41
44
|
ui init --local Install the skill using built-in guidance
|
|
42
45
|
ui upgrade Back up and refresh the project skill
|
|
46
|
+
ui skill install|upgrade Install or upgrade a host skill with backup
|
|
47
|
+
ui bundle Preview or install companion skill profiles
|
|
48
|
+
ui companions status Inspect managed companion skills
|
|
49
|
+
ui companions check-updates Check pinned upstream commits
|
|
50
|
+
ui companions update Update managed companion skills
|
|
51
|
+
ui companions rollback Restore the previous companion transaction
|
|
52
|
+
ui companions recover Recover an interrupted companion transaction
|
|
43
53
|
ui doctor Check the installation and any managed providers
|
|
44
54
|
ui route "<request>" Preview intent, platform, deliverable and mode
|
|
45
55
|
Options: --intent, --platform, --deliverable, --mode
|
|
@@ -57,9 +67,20 @@ Usage: ui [command] [arguments]
|
|
|
57
67
|
ui --help Show this help
|
|
58
68
|
|
|
59
69
|
Managed providers: ui-ux-pro-max, jakub-skills, design-system, impeccable
|
|
70
|
+
Host skill commands require Python 3.9+. Companion management also requires Git.
|
|
60
71
|
`);
|
|
61
72
|
}
|
|
62
73
|
|
|
74
|
+
function runInstaller(installerArgs) {
|
|
75
|
+
const command = process.platform === 'win32' ? 'py' : 'python3';
|
|
76
|
+
const prefix = process.platform === 'win32' ? ['-3'] : [];
|
|
77
|
+
const result = spawnSync(command, [...prefix, '-B', resolve(packageRoot, 'install.py'), ...installerArgs], {
|
|
78
|
+
stdio: 'inherit',
|
|
79
|
+
});
|
|
80
|
+
if (result.error) throw new Error(`Python 3.9+ is required for this command: ${result.error.message}`);
|
|
81
|
+
process.exitCode = result.status ?? 1;
|
|
82
|
+
}
|
|
83
|
+
|
|
63
84
|
function readOptions(tokens, labels, flags = []) {
|
|
64
85
|
const options = {};
|
|
65
86
|
for (let i = 0; i < tokens.length; i++) {
|
|
@@ -103,6 +124,27 @@ async function main() {
|
|
|
103
124
|
if (cmd === '--help' || cmd === '-h' || cmd === 'help') return help();
|
|
104
125
|
if (cmd === '--version' || cmd === '-v' || cmd === 'version') return console.log(VERSION);
|
|
105
126
|
|
|
127
|
+
if (cmd === 'skill') {
|
|
128
|
+
const action = args[1];
|
|
129
|
+
const allowed = new Set(['install', 'upgrade', 'doctor', 'check-upstreams']);
|
|
130
|
+
if (!allowed.has(action)) throw new Error("Usage: ui skill <install|upgrade|doctor|check-upstreams> [options]");
|
|
131
|
+
return runInstaller([action, ...args.slice(2)]);
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
if (cmd === 'bundle') return runInstaller(['bundle', ...args.slice(1)]);
|
|
135
|
+
|
|
136
|
+
if (cmd === 'companions') {
|
|
137
|
+
const action = new Map([
|
|
138
|
+
['status', 'status'],
|
|
139
|
+
['check-updates', 'check-updates'],
|
|
140
|
+
['update', 'update-upstreams'],
|
|
141
|
+
['rollback', 'rollback-upstreams'],
|
|
142
|
+
['recover', 'recover-upstreams'],
|
|
143
|
+
]).get(args[1]);
|
|
144
|
+
if (!action) throw new Error("Usage: ui companions <status|check-updates|update|rollback|recover> [options]");
|
|
145
|
+
return runInstaller([action, ...args.slice(2)]);
|
|
146
|
+
}
|
|
147
|
+
|
|
106
148
|
if (cmd === 'route') {
|
|
107
149
|
const options = readOptions(args.slice(2), ['--intent', '--platform', '--deliverable', '--mode']);
|
|
108
150
|
console.log(JSON.stringify(previewRoute(target ?? '', options), null, 2));
|
|
@@ -199,15 +241,15 @@ async function main() {
|
|
|
199
241
|
console.log('· Built-in guidance (no managed providers configured)');
|
|
200
242
|
}
|
|
201
243
|
|
|
202
|
-
const
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
244
|
+
const projectTargets = directorSkillTargets(root);
|
|
245
|
+
const installedTargets = projectTargets.filter((target) => existsSync(target));
|
|
246
|
+
for (const target of (installedTargets.length ? installedTargets : projectTargets)) {
|
|
247
|
+
const missing = missingSkillFiles(target);
|
|
248
|
+
console.log(`${missing.length ? '✗' : '✓'} ${target}`);
|
|
249
|
+
if (missing.length) {
|
|
250
|
+
console.log(` - missing ${missing.join(', ')}`);
|
|
251
|
+
errors.push(`skill installation is incomplete: ${target}`);
|
|
252
|
+
}
|
|
211
253
|
}
|
|
212
254
|
|
|
213
255
|
if (errors.length) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
[
|
|
2
2
|
{ "id": "pro-max", "aliases": ["ui-ux-pro-max"], "stages": ["research", "system"], "platforms": ["web", "mobile", "desktop"] },
|
|
3
3
|
{ "id": "frontend", "aliases": ["frontend-design"], "stages": ["visual"], "platforms": ["web"] },
|
|
4
|
-
{ "id": "taste", "aliases": ["taste-skill"], "stages": ["visual"], "platforms": ["web"] },
|
|
4
|
+
{ "id": "taste", "aliases": ["design-taste-frontend", "taste-skill"], "stages": ["visual"], "platforms": ["web"] },
|
|
5
5
|
{ "id": "taste-classics", "aliases": ["design-taste-frontend", "high-end-visual-design", "minimalist-ui", "industrial-brutalist-ui"], "stages": ["visual"], "platforms": ["web"] },
|
|
6
6
|
{ "id": "hallmark", "aliases": ["hallmark"], "stages": ["research", "system", "visual", "deslop", "qa"], "platforms": ["web"] },
|
|
7
7
|
{ "id": "unslop", "aliases": ["unslop"], "stages": ["deslop"], "platforms": ["web"] },
|