grimoire-wizard 0.3.0 → 0.4.0
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/README.md +173 -18
- package/dist/cli.js +503 -97
- package/dist/cli.js.map +1 -1
- package/dist/index.d.ts +107 -3
- package/dist/index.js +832 -367
- package/dist/index.js.map +1 -1
- package/examples/json/all-features.json +66 -0
- package/examples/json/appstore-screenshot-wizard.json +362 -0
- package/examples/json/appstore-upload.json +104 -0
- package/examples/json/basic.json +72 -0
- package/examples/json/batch-generate.json +186 -0
- package/examples/json/brief-builder.json +519 -0
- package/examples/json/conditional.json +155 -0
- package/examples/json/cost-analyzer.json +83 -0
- package/examples/json/demo.json +130 -0
- package/examples/json/scraper-selector.json +63 -0
- package/examples/json/themed-catppuccin.json +39 -0
- package/examples/json/themed.json +103 -0
- package/examples/json/with-checks.json +47 -0
- package/examples/yaml/appstore-screenshot-wizard.yaml +321 -0
- package/examples/yaml/appstore-upload.yaml +84 -0
- package/examples/yaml/batch-generate.yaml +156 -0
- package/examples/yaml/brief-builder.yaml +429 -0
- package/examples/yaml/cost-analyzer.yaml +69 -0
- package/examples/yaml/pipeline.yaml +35 -0
- package/examples/yaml/scraper-selector.yaml +52 -0
- package/examples/yaml/themed-catppuccin.yaml +31 -0
- package/package.json +5 -1
- /package/examples/{all-features.yaml → yaml/all-features.yaml} +0 -0
- /package/examples/{base.yaml → yaml/base.yaml} +0 -0
- /package/examples/{basic.yaml → yaml/basic.yaml} +0 -0
- /package/examples/{conditional.yaml → yaml/conditional.yaml} +0 -0
- /package/examples/{demo.yaml → yaml/demo.yaml} +0 -0
- /package/examples/{ebay-mcp-setup.yaml → yaml/ebay-mcp-setup.yaml} +0 -0
- /package/examples/{extended.yaml → yaml/extended.yaml} +0 -0
- /package/examples/{themed.yaml → yaml/themed.yaml} +0 -0
- /package/examples/{with-checks.yaml → yaml/with-checks.yaml} +0 -0
|
@@ -0,0 +1,186 @@
|
|
|
1
|
+
{
|
|
2
|
+
"meta": {
|
|
3
|
+
"name": "Batch Generation Setup",
|
|
4
|
+
"description": "Configure batch generation for multiple apps",
|
|
5
|
+
"version": "1.0.0"
|
|
6
|
+
},
|
|
7
|
+
"theme": {
|
|
8
|
+
"preset": "nord"
|
|
9
|
+
},
|
|
10
|
+
"steps": [
|
|
11
|
+
{
|
|
12
|
+
"id": "shared-image-model",
|
|
13
|
+
"type": "select",
|
|
14
|
+
"group": "Shared Settings",
|
|
15
|
+
"message": "Default image generation model",
|
|
16
|
+
"options": [
|
|
17
|
+
{ "value": "gemini-3.1-flash-image-preview", "label": "Flash (Fast & Cheap)", "hint": "Near-Pro quality at ~$0.067/img" },
|
|
18
|
+
{ "value": "gemini-3-pro-image-preview", "label": "Pro (Best Quality)", "hint": "Top quality, 94% text accuracy" }
|
|
19
|
+
],
|
|
20
|
+
"default": "gemini-3.1-flash-image-preview"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"id": "shared-text-model",
|
|
24
|
+
"type": "select",
|
|
25
|
+
"group": "Shared Settings",
|
|
26
|
+
"message": "Default text model",
|
|
27
|
+
"options": [
|
|
28
|
+
{ "value": "gemini-2.5-flash", "label": "Gemini Flash (Fast)" },
|
|
29
|
+
{ "value": "gemini-2.5-pro", "label": "Gemini Pro (Best Prompts)" }
|
|
30
|
+
],
|
|
31
|
+
"default": "gemini-2.5-flash"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"id": "shared-count",
|
|
35
|
+
"type": "number",
|
|
36
|
+
"group": "Shared Settings",
|
|
37
|
+
"message": "Default screenshot count per app",
|
|
38
|
+
"default": 10,
|
|
39
|
+
"min": 1,
|
|
40
|
+
"max": 50
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"id": "shared-providers",
|
|
44
|
+
"type": "multiselect",
|
|
45
|
+
"group": "Shared Settings",
|
|
46
|
+
"message": "Default providers",
|
|
47
|
+
"options": [
|
|
48
|
+
{ "value": "gemini", "label": "Gemini" },
|
|
49
|
+
{ "value": "openai", "label": "OpenAI" }
|
|
50
|
+
],
|
|
51
|
+
"default": ["gemini"],
|
|
52
|
+
"min": 1
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"id": "shared-device-targets",
|
|
56
|
+
"type": "multiselect",
|
|
57
|
+
"group": "Shared Settings",
|
|
58
|
+
"message": "Default device targets",
|
|
59
|
+
"options": [
|
|
60
|
+
{ "value": "iphone", "label": "iPhone" },
|
|
61
|
+
{ "value": "ipad", "label": "iPad" },
|
|
62
|
+
{ "value": "watch", "label": "Apple Watch" },
|
|
63
|
+
{ "value": "android-phone", "label": "Android Phone" },
|
|
64
|
+
{ "value": "android-tablet", "label": "Android Tablet" }
|
|
65
|
+
],
|
|
66
|
+
"default": ["iphone"],
|
|
67
|
+
"min": 1
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"id": "app-1-note",
|
|
71
|
+
"type": "note",
|
|
72
|
+
"group": "App 1",
|
|
73
|
+
"message": "First App Configuration",
|
|
74
|
+
"description": "Configure the first app in the batch"
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"id": "app-1-name",
|
|
78
|
+
"type": "text",
|
|
79
|
+
"group": "App 1",
|
|
80
|
+
"message": "App 1 name",
|
|
81
|
+
"validate": [
|
|
82
|
+
{ "rule": "required" }
|
|
83
|
+
]
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"id": "app-1-description",
|
|
87
|
+
"type": "text",
|
|
88
|
+
"group": "App 1",
|
|
89
|
+
"message": "App 1 description",
|
|
90
|
+
"validate": [
|
|
91
|
+
{ "rule": "required" },
|
|
92
|
+
{ "rule": "minLength", "value": 10 }
|
|
93
|
+
]
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
"id": "app-1-visual-style",
|
|
97
|
+
"type": "select",
|
|
98
|
+
"group": "App 1",
|
|
99
|
+
"message": "App 1 visual style",
|
|
100
|
+
"options": [
|
|
101
|
+
{ "value": "auto", "label": "Auto (AI picks)" },
|
|
102
|
+
{ "value": "photorealistic", "label": "Photorealistic" },
|
|
103
|
+
{ "value": "3d-cartoon", "label": "3D Cartoon" },
|
|
104
|
+
{ "value": "isometric", "label": "Isometric" },
|
|
105
|
+
{ "value": "claymorphism", "label": "Claymorphism" },
|
|
106
|
+
{ "value": "flat-2d", "label": "Flat 2D" },
|
|
107
|
+
{ "value": "illustration", "label": "Illustration" }
|
|
108
|
+
],
|
|
109
|
+
"default": "auto"
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
"id": "app-1-count",
|
|
113
|
+
"type": "number",
|
|
114
|
+
"group": "App 1",
|
|
115
|
+
"message": "App 1 screenshot count (leave default to use shared)",
|
|
116
|
+
"default": 10,
|
|
117
|
+
"min": 1,
|
|
118
|
+
"max": 50
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
"id": "add-app-2",
|
|
122
|
+
"type": "confirm",
|
|
123
|
+
"group": "App 2",
|
|
124
|
+
"message": "Add a second app to the batch?",
|
|
125
|
+
"default": false
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
"id": "app-2-name",
|
|
129
|
+
"type": "text",
|
|
130
|
+
"group": "App 2",
|
|
131
|
+
"message": "App 2 name",
|
|
132
|
+
"when": {
|
|
133
|
+
"field": "add-app-2",
|
|
134
|
+
"equals": true
|
|
135
|
+
},
|
|
136
|
+
"validate": [
|
|
137
|
+
{ "rule": "required" }
|
|
138
|
+
]
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
"id": "app-2-description",
|
|
142
|
+
"type": "text",
|
|
143
|
+
"group": "App 2",
|
|
144
|
+
"message": "App 2 description",
|
|
145
|
+
"when": {
|
|
146
|
+
"field": "add-app-2",
|
|
147
|
+
"equals": true
|
|
148
|
+
},
|
|
149
|
+
"validate": [
|
|
150
|
+
{ "rule": "required" },
|
|
151
|
+
{ "rule": "minLength", "value": 10 }
|
|
152
|
+
]
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
"id": "app-2-visual-style",
|
|
156
|
+
"type": "select",
|
|
157
|
+
"group": "App 2",
|
|
158
|
+
"message": "App 2 visual style",
|
|
159
|
+
"when": {
|
|
160
|
+
"field": "add-app-2",
|
|
161
|
+
"equals": true
|
|
162
|
+
},
|
|
163
|
+
"options": [
|
|
164
|
+
{ "value": "auto", "label": "Auto (AI picks)" },
|
|
165
|
+
{ "value": "photorealistic", "label": "Photorealistic" },
|
|
166
|
+
{ "value": "3d-cartoon", "label": "3D Cartoon" },
|
|
167
|
+
{ "value": "isometric", "label": "Isometric" },
|
|
168
|
+
{ "value": "claymorphism", "label": "Claymorphism" },
|
|
169
|
+
{ "value": "flat-2d", "label": "Flat 2D" },
|
|
170
|
+
{ "value": "illustration", "label": "Illustration" }
|
|
171
|
+
],
|
|
172
|
+
"default": "auto"
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
"id": "confirm-batch",
|
|
176
|
+
"type": "confirm",
|
|
177
|
+
"group": "Confirmation",
|
|
178
|
+
"message": "Generate batch config file?",
|
|
179
|
+
"default": true
|
|
180
|
+
}
|
|
181
|
+
],
|
|
182
|
+
"output": {
|
|
183
|
+
"format": "json",
|
|
184
|
+
"path": "batch-config.json"
|
|
185
|
+
}
|
|
186
|
+
}
|
|
@@ -0,0 +1,519 @@
|
|
|
1
|
+
{
|
|
2
|
+
"meta": {
|
|
3
|
+
"name": "Concept Brief Builder",
|
|
4
|
+
"description": "Create a design concept brief for AI-powered screenshot generation",
|
|
5
|
+
"version": "1.0.0",
|
|
6
|
+
"review": true
|
|
7
|
+
},
|
|
8
|
+
"theme": {
|
|
9
|
+
"preset": "dracula"
|
|
10
|
+
},
|
|
11
|
+
"steps": [
|
|
12
|
+
{
|
|
13
|
+
"id": "platform",
|
|
14
|
+
"type": "select",
|
|
15
|
+
"group": "Platform",
|
|
16
|
+
"message": "Platform type",
|
|
17
|
+
"options": [
|
|
18
|
+
{ "value": "mobile-ios", "label": "iOS App", "hint": "iPhone and iPad" },
|
|
19
|
+
{ "value": "mobile-android", "label": "Android App", "hint": "Android phone and tablet" },
|
|
20
|
+
{ "value": "mobile-game", "label": "Mobile Game", "hint": "iOS or Android game" },
|
|
21
|
+
{ "value": "web-saas", "label": "Web SaaS", "hint": "Web application / SaaS" },
|
|
22
|
+
{ "value": "landing-page", "label": "Landing Page", "hint": "Marketing landing page" },
|
|
23
|
+
{ "value": "desktop-app", "label": "Desktop App", "hint": "macOS or Windows app" }
|
|
24
|
+
]
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"id": "product-name",
|
|
28
|
+
"type": "text",
|
|
29
|
+
"group": "Product Info",
|
|
30
|
+
"message": "Product name",
|
|
31
|
+
"validate": [
|
|
32
|
+
{ "rule": "required" }
|
|
33
|
+
]
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"id": "product-description",
|
|
37
|
+
"type": "text",
|
|
38
|
+
"group": "Product Info",
|
|
39
|
+
"message": "Product description",
|
|
40
|
+
"validate": [
|
|
41
|
+
{ "rule": "required" },
|
|
42
|
+
{ "rule": "minLength", "value": 10 }
|
|
43
|
+
]
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"id": "targets-ios",
|
|
47
|
+
"type": "multiselect",
|
|
48
|
+
"group": "Target Dimensions",
|
|
49
|
+
"message": "Target dimensions",
|
|
50
|
+
"when": {
|
|
51
|
+
"field": "platform",
|
|
52
|
+
"equals": "mobile-ios"
|
|
53
|
+
},
|
|
54
|
+
"options": [
|
|
55
|
+
{ "value": "iphone-6.7", "label": "iPhone 6.7\"" },
|
|
56
|
+
{ "value": "ipad-pro", "label": "iPad Pro" }
|
|
57
|
+
],
|
|
58
|
+
"min": 1
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"id": "targets-android",
|
|
62
|
+
"type": "multiselect",
|
|
63
|
+
"group": "Target Dimensions",
|
|
64
|
+
"message": "Target dimensions",
|
|
65
|
+
"when": {
|
|
66
|
+
"field": "platform",
|
|
67
|
+
"equals": "mobile-android"
|
|
68
|
+
},
|
|
69
|
+
"options": [
|
|
70
|
+
{ "value": "android-phone", "label": "Android Phone" },
|
|
71
|
+
{ "value": "android-7-tablet", "label": "Android 7\" Tablet" },
|
|
72
|
+
{ "value": "android-10-tablet", "label": "Android 10\" Tablet" }
|
|
73
|
+
],
|
|
74
|
+
"min": 1
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"id": "targets-game",
|
|
78
|
+
"type": "multiselect",
|
|
79
|
+
"group": "Target Dimensions",
|
|
80
|
+
"message": "Target dimensions",
|
|
81
|
+
"when": {
|
|
82
|
+
"field": "platform",
|
|
83
|
+
"equals": "mobile-game"
|
|
84
|
+
},
|
|
85
|
+
"options": [
|
|
86
|
+
{ "value": "iphone-6.7", "label": "iPhone 6.7\"" },
|
|
87
|
+
{ "value": "ipad-pro", "label": "iPad Pro" },
|
|
88
|
+
{ "value": "android-phone", "label": "Android Phone" },
|
|
89
|
+
{ "value": "android-7-tablet", "label": "Android 7\" Tablet" }
|
|
90
|
+
],
|
|
91
|
+
"min": 1
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
"id": "targets-web",
|
|
95
|
+
"type": "multiselect",
|
|
96
|
+
"group": "Target Dimensions",
|
|
97
|
+
"message": "Target dimensions",
|
|
98
|
+
"when": {
|
|
99
|
+
"any": [
|
|
100
|
+
{ "field": "platform", "equals": "web-saas" },
|
|
101
|
+
{ "field": "platform", "equals": "landing-page" }
|
|
102
|
+
]
|
|
103
|
+
},
|
|
104
|
+
"options": [
|
|
105
|
+
{ "value": "desktop-1920", "label": "Desktop 1920px" },
|
|
106
|
+
{ "value": "tablet-1024", "label": "Tablet 1024px" },
|
|
107
|
+
{ "value": "mobile-390", "label": "Mobile 390px" }
|
|
108
|
+
],
|
|
109
|
+
"min": 1
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
"id": "targets-desktop",
|
|
113
|
+
"type": "multiselect",
|
|
114
|
+
"group": "Target Dimensions",
|
|
115
|
+
"message": "Target dimensions",
|
|
116
|
+
"when": {
|
|
117
|
+
"field": "platform",
|
|
118
|
+
"equals": "desktop-app"
|
|
119
|
+
},
|
|
120
|
+
"options": [
|
|
121
|
+
{ "value": "macos-2880x1800", "label": "macOS 2880x1800" },
|
|
122
|
+
{ "value": "windows-2560x1440", "label": "Windows 2560x1440" }
|
|
123
|
+
],
|
|
124
|
+
"min": 1
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
"id": "font-family",
|
|
128
|
+
"type": "text",
|
|
129
|
+
"group": "Design System",
|
|
130
|
+
"message": "Font family",
|
|
131
|
+
"default": "Inter, system-ui",
|
|
132
|
+
"placeholder": "e.g., SF Pro, Roboto, Inter"
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
"id": "color-primary",
|
|
136
|
+
"type": "text",
|
|
137
|
+
"group": "Design System",
|
|
138
|
+
"message": "Primary color",
|
|
139
|
+
"default": "#6366F1"
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
"id": "color-secondary",
|
|
143
|
+
"type": "text",
|
|
144
|
+
"group": "Design System",
|
|
145
|
+
"message": "Secondary color",
|
|
146
|
+
"default": "#EC4899"
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
"id": "color-accent",
|
|
150
|
+
"type": "text",
|
|
151
|
+
"group": "Design System",
|
|
152
|
+
"message": "Accent color",
|
|
153
|
+
"default": "#10B981"
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
"id": "color-background",
|
|
157
|
+
"type": "text",
|
|
158
|
+
"group": "Design System",
|
|
159
|
+
"message": "Background color",
|
|
160
|
+
"default": "#FAFAFA"
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
"id": "color-surface",
|
|
164
|
+
"type": "text",
|
|
165
|
+
"group": "Design System",
|
|
166
|
+
"message": "Surface color",
|
|
167
|
+
"default": "#FFFFFF"
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
"id": "color-text",
|
|
171
|
+
"type": "text",
|
|
172
|
+
"group": "Design System",
|
|
173
|
+
"message": "Text color",
|
|
174
|
+
"default": "#111827"
|
|
175
|
+
},
|
|
176
|
+
{
|
|
177
|
+
"id": "color-text-secondary",
|
|
178
|
+
"type": "text",
|
|
179
|
+
"group": "Design System",
|
|
180
|
+
"message": "Secondary text color",
|
|
181
|
+
"default": "#6B7280"
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
"id": "corner-radius",
|
|
185
|
+
"type": "select",
|
|
186
|
+
"group": "Design System",
|
|
187
|
+
"message": "Corner radius",
|
|
188
|
+
"default": "rounded",
|
|
189
|
+
"options": [
|
|
190
|
+
{ "value": "sharp", "label": "Sharp (0-2px)", "hint": "Minimal rounding" },
|
|
191
|
+
{ "value": "rounded", "label": "Rounded (8-12px)", "hint": "Standard corners" },
|
|
192
|
+
{ "value": "pill", "label": "Pill (999px)", "hint": "Fully rounded" }
|
|
193
|
+
]
|
|
194
|
+
},
|
|
195
|
+
{
|
|
196
|
+
"id": "button-style",
|
|
197
|
+
"type": "text",
|
|
198
|
+
"group": "Design System",
|
|
199
|
+
"message": "Button style",
|
|
200
|
+
"default": "filled with label"
|
|
201
|
+
},
|
|
202
|
+
{
|
|
203
|
+
"id": "card-style",
|
|
204
|
+
"type": "text",
|
|
205
|
+
"group": "Design System",
|
|
206
|
+
"message": "Card style",
|
|
207
|
+
"default": "elevated with shadow"
|
|
208
|
+
},
|
|
209
|
+
{
|
|
210
|
+
"id": "spacing",
|
|
211
|
+
"type": "select",
|
|
212
|
+
"group": "Design System",
|
|
213
|
+
"message": "Spacing",
|
|
214
|
+
"default": "comfortable",
|
|
215
|
+
"options": [
|
|
216
|
+
{ "value": "compact", "label": "Compact", "hint": "Dense layout" },
|
|
217
|
+
{ "value": "comfortable", "label": "Comfortable", "hint": "Balanced whitespace" },
|
|
218
|
+
{ "value": "spacious", "label": "Spacious", "hint": "Generous whitespace" }
|
|
219
|
+
]
|
|
220
|
+
},
|
|
221
|
+
{
|
|
222
|
+
"id": "mood",
|
|
223
|
+
"type": "text",
|
|
224
|
+
"group": "Design Direction",
|
|
225
|
+
"message": "Design mood",
|
|
226
|
+
"placeholder": "e.g., vibrant-competitive, calm-professional",
|
|
227
|
+
"validate": [
|
|
228
|
+
{ "rule": "required" }
|
|
229
|
+
]
|
|
230
|
+
},
|
|
231
|
+
{
|
|
232
|
+
"id": "references",
|
|
233
|
+
"type": "text",
|
|
234
|
+
"group": "Design Direction",
|
|
235
|
+
"message": "Style references",
|
|
236
|
+
"placeholder": "Comma-separated app names for style inspiration",
|
|
237
|
+
"default": "",
|
|
238
|
+
"required": false
|
|
239
|
+
},
|
|
240
|
+
{
|
|
241
|
+
"id": "screen-1-name",
|
|
242
|
+
"type": "text",
|
|
243
|
+
"group": "Screens",
|
|
244
|
+
"message": "Screen 1 name",
|
|
245
|
+
"validate": [
|
|
246
|
+
{ "rule": "required" }
|
|
247
|
+
]
|
|
248
|
+
},
|
|
249
|
+
{
|
|
250
|
+
"id": "screen-1-description",
|
|
251
|
+
"type": "text",
|
|
252
|
+
"group": "Screens",
|
|
253
|
+
"message": "Screen 1 description",
|
|
254
|
+
"validate": [
|
|
255
|
+
{ "rule": "required" },
|
|
256
|
+
{ "rule": "minLength", "value": 5 }
|
|
257
|
+
]
|
|
258
|
+
},
|
|
259
|
+
{
|
|
260
|
+
"id": "screen-1-elements",
|
|
261
|
+
"type": "text",
|
|
262
|
+
"group": "Screens",
|
|
263
|
+
"message": "Screen 1 UI elements",
|
|
264
|
+
"placeholder": "Comma-separated UI elements",
|
|
265
|
+
"validate": [
|
|
266
|
+
{ "rule": "required" }
|
|
267
|
+
]
|
|
268
|
+
},
|
|
269
|
+
{
|
|
270
|
+
"id": "screen-2-name",
|
|
271
|
+
"type": "text",
|
|
272
|
+
"group": "Screens",
|
|
273
|
+
"message": "Screen 2 name",
|
|
274
|
+
"validate": [
|
|
275
|
+
{ "rule": "required" }
|
|
276
|
+
]
|
|
277
|
+
},
|
|
278
|
+
{
|
|
279
|
+
"id": "screen-2-description",
|
|
280
|
+
"type": "text",
|
|
281
|
+
"group": "Screens",
|
|
282
|
+
"message": "Screen 2 description",
|
|
283
|
+
"validate": [
|
|
284
|
+
{ "rule": "required" },
|
|
285
|
+
{ "rule": "minLength", "value": 5 }
|
|
286
|
+
]
|
|
287
|
+
},
|
|
288
|
+
{
|
|
289
|
+
"id": "screen-2-elements",
|
|
290
|
+
"type": "text",
|
|
291
|
+
"group": "Screens",
|
|
292
|
+
"message": "Screen 2 UI elements",
|
|
293
|
+
"placeholder": "Comma-separated UI elements",
|
|
294
|
+
"validate": [
|
|
295
|
+
{ "rule": "required" }
|
|
296
|
+
]
|
|
297
|
+
},
|
|
298
|
+
{
|
|
299
|
+
"id": "add-more-screens",
|
|
300
|
+
"type": "confirm",
|
|
301
|
+
"group": "Screens",
|
|
302
|
+
"message": "Add more screen definitions in the output file?",
|
|
303
|
+
"default": false
|
|
304
|
+
},
|
|
305
|
+
{
|
|
306
|
+
"id": "character-1-archetype",
|
|
307
|
+
"type": "text",
|
|
308
|
+
"group": "Game-Specific",
|
|
309
|
+
"message": "Character 1 archetype",
|
|
310
|
+
"when": {
|
|
311
|
+
"field": "platform",
|
|
312
|
+
"equals": "mobile-game"
|
|
313
|
+
},
|
|
314
|
+
"validate": [
|
|
315
|
+
{ "rule": "required" }
|
|
316
|
+
]
|
|
317
|
+
},
|
|
318
|
+
{
|
|
319
|
+
"id": "character-1-traits",
|
|
320
|
+
"type": "text",
|
|
321
|
+
"group": "Game-Specific",
|
|
322
|
+
"message": "Character 1 traits",
|
|
323
|
+
"when": {
|
|
324
|
+
"field": "platform",
|
|
325
|
+
"equals": "mobile-game"
|
|
326
|
+
},
|
|
327
|
+
"validate": [
|
|
328
|
+
{ "rule": "required" }
|
|
329
|
+
]
|
|
330
|
+
},
|
|
331
|
+
{
|
|
332
|
+
"id": "character-1-ability",
|
|
333
|
+
"type": "text",
|
|
334
|
+
"group": "Game-Specific",
|
|
335
|
+
"message": "Character 1 special ability",
|
|
336
|
+
"when": {
|
|
337
|
+
"field": "platform",
|
|
338
|
+
"equals": "mobile-game"
|
|
339
|
+
},
|
|
340
|
+
"validate": [
|
|
341
|
+
{ "rule": "required" }
|
|
342
|
+
]
|
|
343
|
+
},
|
|
344
|
+
{
|
|
345
|
+
"id": "character-1-visual",
|
|
346
|
+
"type": "text",
|
|
347
|
+
"group": "Game-Specific",
|
|
348
|
+
"message": "Character 1 visual description",
|
|
349
|
+
"when": {
|
|
350
|
+
"field": "platform",
|
|
351
|
+
"equals": "mobile-game"
|
|
352
|
+
},
|
|
353
|
+
"validate": [
|
|
354
|
+
{ "rule": "required" }
|
|
355
|
+
]
|
|
356
|
+
},
|
|
357
|
+
{
|
|
358
|
+
"id": "game-stats",
|
|
359
|
+
"type": "text",
|
|
360
|
+
"group": "Game-Specific",
|
|
361
|
+
"message": "Game stats",
|
|
362
|
+
"when": {
|
|
363
|
+
"field": "platform",
|
|
364
|
+
"equals": "mobile-game"
|
|
365
|
+
},
|
|
366
|
+
"placeholder": "Comma-separated stats (e.g., HP, Attack, Defense)",
|
|
367
|
+
"validate": [
|
|
368
|
+
{ "rule": "required" }
|
|
369
|
+
]
|
|
370
|
+
},
|
|
371
|
+
{
|
|
372
|
+
"id": "game-obstacles",
|
|
373
|
+
"type": "text",
|
|
374
|
+
"group": "Game-Specific",
|
|
375
|
+
"message": "Obstacles",
|
|
376
|
+
"when": {
|
|
377
|
+
"field": "platform",
|
|
378
|
+
"equals": "mobile-game"
|
|
379
|
+
},
|
|
380
|
+
"placeholder": "Comma-separated obstacles",
|
|
381
|
+
"validate": [
|
|
382
|
+
{ "rule": "required" }
|
|
383
|
+
]
|
|
384
|
+
},
|
|
385
|
+
{
|
|
386
|
+
"id": "game-resources",
|
|
387
|
+
"type": "text",
|
|
388
|
+
"group": "Game-Specific",
|
|
389
|
+
"message": "Resources",
|
|
390
|
+
"when": {
|
|
391
|
+
"field": "platform",
|
|
392
|
+
"equals": "mobile-game"
|
|
393
|
+
},
|
|
394
|
+
"placeholder": "Comma-separated resources",
|
|
395
|
+
"validate": [
|
|
396
|
+
{ "rule": "required" }
|
|
397
|
+
]
|
|
398
|
+
},
|
|
399
|
+
{
|
|
400
|
+
"id": "game-win-condition",
|
|
401
|
+
"type": "text",
|
|
402
|
+
"group": "Game-Specific",
|
|
403
|
+
"message": "Win condition",
|
|
404
|
+
"when": {
|
|
405
|
+
"field": "platform",
|
|
406
|
+
"equals": "mobile-game"
|
|
407
|
+
},
|
|
408
|
+
"validate": [
|
|
409
|
+
{ "rule": "required" }
|
|
410
|
+
]
|
|
411
|
+
},
|
|
412
|
+
{
|
|
413
|
+
"id": "has-multiplayer",
|
|
414
|
+
"type": "confirm",
|
|
415
|
+
"group": "Game-Specific",
|
|
416
|
+
"message": "Has multiplayer?",
|
|
417
|
+
"when": {
|
|
418
|
+
"field": "platform",
|
|
419
|
+
"equals": "mobile-game"
|
|
420
|
+
},
|
|
421
|
+
"default": false
|
|
422
|
+
},
|
|
423
|
+
{
|
|
424
|
+
"id": "max-players",
|
|
425
|
+
"type": "number",
|
|
426
|
+
"group": "Game-Specific",
|
|
427
|
+
"message": "Max players",
|
|
428
|
+
"when": {
|
|
429
|
+
"all": [
|
|
430
|
+
{ "field": "platform", "equals": "mobile-game" },
|
|
431
|
+
{ "field": "has-multiplayer", "equals": true }
|
|
432
|
+
]
|
|
433
|
+
},
|
|
434
|
+
"default": 4,
|
|
435
|
+
"min": 2,
|
|
436
|
+
"max": 100
|
|
437
|
+
},
|
|
438
|
+
{
|
|
439
|
+
"id": "multiplayer-mode",
|
|
440
|
+
"type": "text",
|
|
441
|
+
"group": "Game-Specific",
|
|
442
|
+
"message": "Multiplayer mode",
|
|
443
|
+
"when": {
|
|
444
|
+
"all": [
|
|
445
|
+
{ "field": "platform", "equals": "mobile-game" },
|
|
446
|
+
{ "field": "has-multiplayer", "equals": true }
|
|
447
|
+
]
|
|
448
|
+
},
|
|
449
|
+
"default": "co-op",
|
|
450
|
+
"placeholder": "e.g., co-op, PvP"
|
|
451
|
+
},
|
|
452
|
+
{
|
|
453
|
+
"id": "online-multiplayer",
|
|
454
|
+
"type": "confirm",
|
|
455
|
+
"group": "Game-Specific",
|
|
456
|
+
"message": "Online multiplayer?",
|
|
457
|
+
"when": {
|
|
458
|
+
"all": [
|
|
459
|
+
{ "field": "platform", "equals": "mobile-game" },
|
|
460
|
+
{ "field": "has-multiplayer", "equals": true }
|
|
461
|
+
]
|
|
462
|
+
},
|
|
463
|
+
"default": true
|
|
464
|
+
},
|
|
465
|
+
{
|
|
466
|
+
"id": "web-layout",
|
|
467
|
+
"type": "text",
|
|
468
|
+
"group": "Web-Specific",
|
|
469
|
+
"message": "Layout",
|
|
470
|
+
"when": {
|
|
471
|
+
"any": [
|
|
472
|
+
{ "field": "platform", "equals": "web-saas" },
|
|
473
|
+
{ "field": "platform", "equals": "landing-page" }
|
|
474
|
+
]
|
|
475
|
+
},
|
|
476
|
+
"placeholder": "e.g., sidebar, top-nav",
|
|
477
|
+
"validate": [
|
|
478
|
+
{ "rule": "required" }
|
|
479
|
+
]
|
|
480
|
+
},
|
|
481
|
+
{
|
|
482
|
+
"id": "web-features",
|
|
483
|
+
"type": "text",
|
|
484
|
+
"group": "Web-Specific",
|
|
485
|
+
"message": "Key features",
|
|
486
|
+
"when": {
|
|
487
|
+
"any": [
|
|
488
|
+
{ "field": "platform", "equals": "web-saas" },
|
|
489
|
+
{ "field": "platform", "equals": "landing-page" }
|
|
490
|
+
]
|
|
491
|
+
},
|
|
492
|
+
"placeholder": "Comma-separated features",
|
|
493
|
+
"validate": [
|
|
494
|
+
{ "rule": "required" }
|
|
495
|
+
]
|
|
496
|
+
},
|
|
497
|
+
{
|
|
498
|
+
"id": "brief-name",
|
|
499
|
+
"type": "text",
|
|
500
|
+
"group": "Save Brief",
|
|
501
|
+
"message": "Save brief as",
|
|
502
|
+
"placeholder": "my-app-brief",
|
|
503
|
+
"validate": [
|
|
504
|
+
{ "rule": "required" }
|
|
505
|
+
]
|
|
506
|
+
},
|
|
507
|
+
{
|
|
508
|
+
"id": "confirm-brief",
|
|
509
|
+
"type": "confirm",
|
|
510
|
+
"group": "Save Brief",
|
|
511
|
+
"message": "Confirm brief?",
|
|
512
|
+
"default": true
|
|
513
|
+
}
|
|
514
|
+
],
|
|
515
|
+
"output": {
|
|
516
|
+
"format": "yaml",
|
|
517
|
+
"path": "concept-brief.yaml"
|
|
518
|
+
}
|
|
519
|
+
}
|