@thanh01.pmt/presentation-kit 0.2.17 → 0.3.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.
Files changed (70) hide show
  1. package/README.md +26 -0
  2. package/dist/ai/index.cjs +33 -28
  3. package/dist/ai/index.cjs.map +1 -1
  4. package/dist/ai/index.d.cts +4 -3
  5. package/dist/ai/index.d.ts +4 -3
  6. package/dist/ai/index.js +3 -2
  7. package/dist/ai/index.js.map +1 -1
  8. package/dist/assets/fonts/NOTICE.md +25 -0
  9. package/dist/assets/fonts/SOURCES.json +47 -0
  10. package/dist/assets/fonts/fira-code.woff2 +0 -0
  11. package/dist/assets/fonts/inter.woff2 +0 -0
  12. package/dist/assets/fonts/jetbrains-mono.woff2 +0 -0
  13. package/dist/assets/fonts/playfair-display.woff2 +0 -0
  14. package/dist/assets/fonts/plus-jakarta-sans.woff2 +0 -0
  15. package/dist/assets/fonts/space-grotesk.woff2 +0 -0
  16. package/dist/chunk-3Q4RMZVQ.cjs +867 -0
  17. package/dist/chunk-3Q4RMZVQ.cjs.map +1 -0
  18. package/dist/chunk-HSVXH7DD.cjs +1624 -0
  19. package/dist/chunk-HSVXH7DD.cjs.map +1 -0
  20. package/dist/{chunk-NYLDRVHZ.js → chunk-I5RG2L3M.js} +4 -78
  21. package/dist/chunk-I5RG2L3M.js.map +1 -0
  22. package/dist/{chunk-7QHDWDSB.js → chunk-INAOTYLK.cjs} +437 -849
  23. package/dist/chunk-INAOTYLK.cjs.map +1 -0
  24. package/dist/{chunk-TGI6YSZP.cjs → chunk-JBGGQGSQ.cjs} +4 -80
  25. package/dist/chunk-JBGGQGSQ.cjs.map +1 -0
  26. package/dist/{chunk-JNTRKKJX.cjs → chunk-OCP2TAY2.js} +421 -868
  27. package/dist/chunk-OCP2TAY2.js.map +1 -0
  28. package/dist/chunk-V6X7D44H.js +854 -0
  29. package/dist/chunk-V6X7D44H.js.map +1 -0
  30. package/dist/chunk-VRXEXUHR.js +1610 -0
  31. package/dist/chunk-VRXEXUHR.js.map +1 -0
  32. package/dist/{click-css-Bcc1CkTN.d.cts → click-css-C8VciwZ6.d.cts} +1 -1
  33. package/dist/{click-css-B2s9B_uP.d.ts → click-css-COIiFo1I.d.ts} +1 -1
  34. package/dist/index.cjs +143 -110
  35. package/dist/index.cjs.map +1 -1
  36. package/dist/index.d.cts +62 -6
  37. package/dist/index.d.ts +62 -6
  38. package/dist/index.js +6 -5
  39. package/dist/index.js.map +1 -1
  40. package/dist/node/index.cjs +117 -0
  41. package/dist/node/index.cjs.map +1 -0
  42. package/dist/node/index.d.cts +36 -0
  43. package/dist/node/index.d.ts +36 -0
  44. package/dist/node/index.js +105 -0
  45. package/dist/node/index.js.map +1 -0
  46. package/dist/{presets-D_hfPJX9.d.ts → presets-DPRGtpO-.d.ts} +1 -1
  47. package/dist/{presets-BYvgAAkJ.d.cts → presets-MIi91wZg.d.cts} +1 -1
  48. package/dist/react/index.cjs +17 -16
  49. package/dist/react/index.cjs.map +1 -1
  50. package/dist/react/index.d.cts +4 -3
  51. package/dist/react/index.d.ts +4 -3
  52. package/dist/react/index.js +4 -3
  53. package/dist/react/index.js.map +1 -1
  54. package/dist/skills/index.cjs +16 -12
  55. package/dist/skills/index.d.cts +36 -20
  56. package/dist/skills/index.d.ts +36 -20
  57. package/dist/skills/index.js +1 -1
  58. package/dist/{types-C3d04zzP.d.cts → types-CvxCxWus.d.cts} +1 -67
  59. package/dist/{types-C3d04zzP.d.ts → types-CvxCxWus.d.ts} +1 -67
  60. package/dist/types-k_eae8UV.d.cts +74 -0
  61. package/dist/types-k_eae8UV.d.ts +74 -0
  62. package/package.json +8 -2
  63. package/dist/chunk-6R6L6KSC.cjs +0 -601
  64. package/dist/chunk-6R6L6KSC.cjs.map +0 -1
  65. package/dist/chunk-7QHDWDSB.js.map +0 -1
  66. package/dist/chunk-BHJXQCVE.js +0 -588
  67. package/dist/chunk-BHJXQCVE.js.map +0 -1
  68. package/dist/chunk-JNTRKKJX.cjs.map +0 -1
  69. package/dist/chunk-NYLDRVHZ.js.map +0 -1
  70. package/dist/chunk-TGI6YSZP.cjs.map +0 -1
@@ -0,0 +1,1624 @@
1
+ 'use strict';
2
+
3
+ var zod = require('zod');
4
+
5
+ // src/skills/catalog.ts
6
+ var TEMPLATES_CATALOG = [
7
+ {
8
+ "slug": "8-bit-orbit",
9
+ "name": "8-Bit Orbit",
10
+ "tagline": "Pixel-art neon arcade aesthetic on a deep navy void.",
11
+ "mood": [
12
+ "retro-tech",
13
+ "playful",
14
+ "cyberpunk",
15
+ "energetic"
16
+ ],
17
+ "occasion": [
18
+ "gaming pitch",
19
+ "hackathon demo",
20
+ "web3 / crypto deck",
21
+ "indie product launch",
22
+ "developer tools",
23
+ "synthwave brand"
24
+ ],
25
+ "tone": [
26
+ "geeky",
27
+ "neon",
28
+ "rebellious",
29
+ "sci-fi"
30
+ ],
31
+ "formality": "low",
32
+ "density": "medium",
33
+ "scheme": "dark",
34
+ "best_for": "Anything that should feel like a CRT screen at 2am: cyberpunk, gaming, web3, indie dev tools, hackathon demos. Just as good for a tech talk that wants to lean into nostalgic-digital craft, a synthwave brand deck, or a creative review that wants to feel like a console.",
35
+ "avoid_for": "Contexts where the dark neon palette would actively work against the message \u2014 quiet institutional finance disclosures, healthcare patient-facing materials, traditional luxury.",
36
+ "slide_count": 10
37
+ },
38
+ {
39
+ "slug": "biennale-yellow",
40
+ "name": "Biennale Yellow",
41
+ "tagline": "Solar yellow on warm parchment with deep indigo serif and atmospheric sun-glow gradients.",
42
+ "mood": [
43
+ "editorial",
44
+ "atmospheric",
45
+ "warm",
46
+ "cultural-institution",
47
+ "poster-like"
48
+ ],
49
+ "occasion": [
50
+ "exhibition or biennale",
51
+ "arts institution programme",
52
+ "design or typography conference",
53
+ "literary or curatorial publication",
54
+ "studio annual report",
55
+ "museum season announcement"
56
+ ],
57
+ "tone": [
58
+ "literary",
59
+ "considered",
60
+ "contemplative",
61
+ "warm-modern",
62
+ "Dutch-editorial"
63
+ ],
64
+ "formality": "high",
65
+ "density": "medium",
66
+ "scheme": "light",
67
+ "best_for": "Anything that should feel like an art-biennale poster or a museum's annual programme: exhibition decks, arts-institution announcements, design conference brochures, curatorial pitches, literary publications, studio retrospectives. Equally good for any deck wanting Dutch-editorial atmosphere with an unmistakable single-color signature.",
68
+ "avoid_for": "Decks that need visual punch or saturated multi-color energy \u2014 the warm-paper canvas and one-yellow palette are intentionally quiet and atmospheric.",
69
+ "slide_count": 8
70
+ },
71
+ {
72
+ "slug": "block-frame",
73
+ "name": "BlockFrame",
74
+ "tagline": "Neobrutalist deck with pastel-neon color blocks and chunky black borders.",
75
+ "mood": [
76
+ "bold",
77
+ "playful",
78
+ "graphic",
79
+ "fresh"
80
+ ],
81
+ "occasion": [
82
+ "creative agency pitch",
83
+ "indie SaaS launch",
84
+ "designer portfolio",
85
+ "brand redesign",
86
+ "modern startup deck"
87
+ ],
88
+ "tone": [
89
+ "confident",
90
+ "graphic",
91
+ "pop",
92
+ "design-led"
93
+ ],
94
+ "formality": "medium-low",
95
+ "density": "high",
96
+ "scheme": "light",
97
+ "best_for": "Anything that should feel pop-graphic and design-led: indie SaaS launches, agency credentials, creative reviews, brand redesigns. Also a strong unexpected pick for tech, finance, or research when the speaker wants to land as confident and contemporary rather than buttoned-up.",
98
+ "avoid_for": "Contexts that require quiet institutional restraint or traditional weight (regulated disclosures, formal legal briefs).",
99
+ "slide_count": 10
100
+ },
101
+ {
102
+ "slug": "blue-professional",
103
+ "name": "Blue Professional",
104
+ "tagline": "Cream paper background with electric cobalt blue accents; clean modern professional.",
105
+ "mood": [
106
+ "professional",
107
+ "modern",
108
+ "calm",
109
+ "trustworthy"
110
+ ],
111
+ "occasion": [
112
+ "B2B SaaS pitch",
113
+ "consulting deliverable",
114
+ "internal review",
115
+ "advisory pitch",
116
+ "investor update"
117
+ ],
118
+ "tone": [
119
+ "clean",
120
+ "considered",
121
+ "polished",
122
+ "neutral"
123
+ ],
124
+ "formality": "medium-high",
125
+ "density": "medium",
126
+ "scheme": "light",
127
+ "best_for": "Anything that should feel modern-considered and lightly authoritative: B2B SaaS pitches, consulting deliverables, advisory updates, investor reports. Also a clean, tasteful choice whenever you want to read as professional without going stiff \u2014 research synthesis, internal reviews, brand work for service businesses.",
128
+ "avoid_for": "Contexts where the deck should feel hot, playful, or intentionally informal \u2014 the cool electric-blue restraint will read as overly polished.",
129
+ "slide_count": 10
130
+ },
131
+ {
132
+ "slug": "bold-poster",
133
+ "name": "Bold Poster",
134
+ "tagline": "Editorial poster aesthetic with massive Shrikhand display and a single fire-engine red accent.",
135
+ "mood": [
136
+ "bold",
137
+ "editorial",
138
+ "loud",
139
+ "confident"
140
+ ],
141
+ "occasion": [
142
+ "brand manifesto",
143
+ "creative-led pitch",
144
+ "magazine / editorial",
145
+ "founder vision deck",
146
+ "art / culture"
147
+ ],
148
+ "tone": [
149
+ "dramatic",
150
+ "graphic",
151
+ "sharp",
152
+ "intentional"
153
+ ],
154
+ "formality": "medium",
155
+ "density": "low",
156
+ "scheme": "light",
157
+ "best_for": "Anything that should land like a magazine cover: brand manifestos, founder vision decks, editorial / cultural pitches, creative reviews. Excellent any time you want a few words to feel like a poster \u2014 including unexpected fits like a tech keynote or a finance manifesto that wants to be quotable.",
158
+ "avoid_for": "Decks that need to communicate dense information per slide \u2014 the layout is built around a few large statements, not paragraphs of detail.",
159
+ "slide_count": 10
160
+ },
161
+ {
162
+ "slug": "broadside",
163
+ "name": "Broadside",
164
+ "tagline": "Dark editorial canvas with a single fire orange accent and bilingual Latin/Chinese type stack.",
165
+ "mood": [
166
+ "editorial",
167
+ "dramatic",
168
+ "loud",
169
+ "newspaper"
170
+ ],
171
+ "occasion": [
172
+ "brand manifesto",
173
+ "founder vision deck",
174
+ "magazine / cultural pitch",
175
+ "design talk",
176
+ "bilingual EN/CN deck",
177
+ "campaign launch"
178
+ ],
179
+ "tone": [
180
+ "graphic",
181
+ "punchy",
182
+ "literary",
183
+ "considered"
184
+ ],
185
+ "formality": "medium-high",
186
+ "density": "medium",
187
+ "scheme": "dark",
188
+ "best_for": "Anything that should land like a broadside newspaper headline: brand manifestos, magazine and cultural pitches, design talks, bilingual EN/CN decks, founder vision statements. Also a striking pick for tech, research, or business decks that want a dramatic single-accent editorial feel.",
189
+ "avoid_for": "Decks that need to feel quiet, warm, or institutionally traditional \u2014 the dark canvas with fire-orange accent commits to drama.",
190
+ "slide_count": 20
191
+ },
192
+ {
193
+ "slug": "capsule",
194
+ "name": "Capsule",
195
+ "tagline": "Modular pill-shaped cards on warm bone with a full pastel-pop palette.",
196
+ "mood": [
197
+ "playful",
198
+ "modern",
199
+ "warm",
200
+ "fresh",
201
+ "fun"
202
+ ],
203
+ "occasion": [
204
+ "lifestyle brand",
205
+ "creator portfolio",
206
+ "DTC product launch",
207
+ "wellness or beauty pitch",
208
+ "Y2K-tinged brand work"
209
+ ],
210
+ "tone": [
211
+ "upbeat",
212
+ "graphic",
213
+ "approachable",
214
+ "cool"
215
+ ],
216
+ "formality": "medium-low",
217
+ "density": "medium",
218
+ "scheme": "light",
219
+ "best_for": "Anything that should feel modular, modern, and a little Y2K: lifestyle brands, creator portfolios, DTC launches, beauty / wellness, agency credentials. Also fun for a playful tech demo or a research deck that wants pop-art clarity instead of gravitas.",
220
+ "avoid_for": "Contexts that require traditional institutional weight \u2014 the capsule shapes and pastel pops actively soften authority.",
221
+ "slide_count": 10
222
+ },
223
+ {
224
+ "slug": "cartesian",
225
+ "name": "Cartesian",
226
+ "tagline": "Quiet warm-neutral palette with classical Playfair serifs; tasteful and unhurried.",
227
+ "mood": [
228
+ "quiet",
229
+ "considered",
230
+ "elegant",
231
+ "warm-minimal"
232
+ ],
233
+ "occasion": [
234
+ "investment thesis",
235
+ "white paper",
236
+ "advisory deliverable",
237
+ "research report",
238
+ "book / longform pitch",
239
+ "gallery / cultural"
240
+ ],
241
+ "tone": [
242
+ "classical",
243
+ "literary",
244
+ "restrained",
245
+ "confident-quiet"
246
+ ],
247
+ "formality": "high",
248
+ "density": "low",
249
+ "scheme": "light",
250
+ "best_for": "Anything that should feel quiet, considered, and grown-up: investment theses, white papers, advisory work, longform research, gallery / cultural decks. Also a strong choice for editorial features, founder reflections, or any deck where restraint is the message \u2014 including across tech and finance.",
251
+ "avoid_for": "Decks that need visual heat, multiple accents, or a sense of urgency \u2014 the warm-neutral palette is intentionally low-energy.",
252
+ "slide_count": 10
253
+ },
254
+ {
255
+ "slug": "cobalt-grid",
256
+ "name": "Cobalt Grid",
257
+ "tagline": "Electric cobalt serifs on a graph-paper canvas, anchored by stair-stepped pixel-glitch decorations and slim hairline rules.",
258
+ "mood": [
259
+ "editorial",
260
+ "design-research",
261
+ "studious",
262
+ "modernist",
263
+ "tech-print",
264
+ "monochrome"
265
+ ],
266
+ "occasion": [
267
+ "design trend or research report",
268
+ "studio annual or seasonal bulletin",
269
+ "creative agency capabilities deck",
270
+ "art or architecture publication",
271
+ "academic / curatorial publication",
272
+ "newsletter or zine pitch"
273
+ ],
274
+ "tone": [
275
+ "considered",
276
+ "literary",
277
+ "studious",
278
+ "quietly-modern",
279
+ "editorial"
280
+ ],
281
+ "formality": "high",
282
+ "density": "medium",
283
+ "scheme": "light",
284
+ "best_for": "Anything that should feel like a quietly serious design / research bulletin, art publication, or curated trend report. Strong for studio annuals, agency capabilities decks, design-research publications, architecture / art / academic decks, and any deck wanting one strict accent colour and a printed-ledger calmness rather than corporate polish.",
285
+ "avoid_for": "Decks that need warmth, multi-colour energy, or a casual / playful voice \u2014 the strict cobalt + cream + grid palette is intentionally austere.",
286
+ "slide_count": 8
287
+ },
288
+ {
289
+ "slug": "coral",
290
+ "name": "Coral",
291
+ "tagline": "Cream and coral on near-black, set in oversized Bebas Neue.",
292
+ "mood": [
293
+ "bold",
294
+ "warm",
295
+ "modern",
296
+ "confident"
297
+ ],
298
+ "occasion": [
299
+ "fashion / beauty pitch",
300
+ "fitness brand",
301
+ "F&B brand deck",
302
+ "lifestyle launch",
303
+ "creative agency"
304
+ ],
305
+ "tone": [
306
+ "graphic",
307
+ "punchy",
308
+ "magazine"
309
+ ],
310
+ "formality": "medium",
311
+ "density": "medium",
312
+ "scheme": "mixed",
313
+ "best_for": "Anything that should feel warm-graphic and editorial: fashion, beauty, fitness, F&B, lifestyle brands, agency credentials. Just as strong for a creator portfolio, a manifesto, or a tech / research deck that wants warmth and a single bold accent instead of corporate cool.",
314
+ "avoid_for": "Contexts that should feel quiet or institutional \u2014 the coral accent and oversized Bebas Neue commit hard to a confident magazine voice.",
315
+ "slide_count": 10
316
+ },
317
+ {
318
+ "slug": "creative-mode",
319
+ "name": "Creative Mode",
320
+ "tagline": "Cream paper canvas with confident multi-color (green, pink, orange, yellow) accents and Archivo Black display.",
321
+ "mood": [
322
+ "creative",
323
+ "confident",
324
+ "playful",
325
+ "design-led"
326
+ ],
327
+ "occasion": [
328
+ "creative agency pitch",
329
+ "design studio deck",
330
+ "ad shop credentials",
331
+ "brand creative review",
332
+ "concept presentation"
333
+ ],
334
+ "tone": [
335
+ "graphic",
336
+ "expressive",
337
+ "modern"
338
+ ],
339
+ "formality": "medium",
340
+ "density": "medium-high",
341
+ "scheme": "light",
342
+ "best_for": "Anything that should feel design-led and confident: creative agency pitches, design studio decks, ad shop credentials, brand creative reviews, art-direction reviews. Also a great unexpected pick for a tech talk, research findings, or finance review when the speaker wants to lead with taste rather than convention.",
343
+ "avoid_for": "Contexts that demand institutional restraint and a quiet authority \u2014 the saturated multi-accent palette will read as expressive, not formal.",
344
+ "slide_count": 8
345
+ },
346
+ {
347
+ "slug": "daisy-days",
348
+ "name": "Daisy Days",
349
+ "tagline": "Cheerful pastel deck with hand-drawn daisies, stars, and rainbows. Friendly, soft, and warm.",
350
+ "mood": [
351
+ "cheerful",
352
+ "playful",
353
+ "warm",
354
+ "sunny",
355
+ "wholesome"
356
+ ],
357
+ "occasion": [
358
+ "education / classroom",
359
+ "kids product launch",
360
+ "wellness program",
361
+ "community workshop",
362
+ "creator portfolio (craft / illustration)",
363
+ "team kickoff",
364
+ "wedding / baby shower planning"
365
+ ],
366
+ "tone": [
367
+ "friendly",
368
+ "soft",
369
+ "encouraging",
370
+ "approachable",
371
+ "lighthearted"
372
+ ],
373
+ "formality": "low",
374
+ "density": "medium",
375
+ "scheme": "light",
376
+ "best_for": "Anything that should feel friendly, soft, and joyful: educational content, kids and family, wellness programs, community workshops, creator portfolios for craft / illustration. Also lovely for an unexpected playful internal kickoff, a wedding planning deck, or any moment where warmth is the message \u2014 including across tech or business contexts.",
377
+ "avoid_for": "Contexts where the audience explicitly expects authority and precision \u2014 the hand-drawn pastel SVG decorations are the opposite of buttoned-up.",
378
+ "slide_count": 10
379
+ },
380
+ {
381
+ "slug": "editorial-forest",
382
+ "name": "Editorial Forest",
383
+ "tagline": "Forest green, dusty pink, and warm cream meet Source Serif 4 in a quiet, intentional quarterly-review deck.",
384
+ "mood": [
385
+ "editorial",
386
+ "quiet",
387
+ "considered",
388
+ "warm",
389
+ "intentional"
390
+ ],
391
+ "occasion": [
392
+ "quarterly review",
393
+ "internal readout",
394
+ "studio update",
395
+ "creative agency deck",
396
+ "research recap"
397
+ ],
398
+ "tone": [
399
+ "literary",
400
+ "thoughtful",
401
+ "warm",
402
+ "low-pressure"
403
+ ],
404
+ "formality": "medium",
405
+ "density": "medium",
406
+ "scheme": "mixed",
407
+ "best_for": "Anything that should feel like a considered editorial \u2014 quarterly reviews, internal readouts, studio updates, creative-agency presentations. Equally good for any deck that wants to feel warm and unhurried rather than corporate, including research recaps, book or program announcements, and team retrospectives.",
408
+ "avoid_for": "Contexts that need to feel urgent, punchy, or sales-driven \u2014 the palette and rhythm are intentionally quiet.",
409
+ "slide_count": 8
410
+ },
411
+ {
412
+ "slug": "editorial-tri-tone",
413
+ "name": "Editorial Tri-Tone",
414
+ "tagline": "Three-color editorial system: dusty pink, mustard cream, and deep burgundy, set in Bricolage + Instrument Serif.",
415
+ "mood": [
416
+ "editorial",
417
+ "warm",
418
+ "intentional",
419
+ "moody"
420
+ ],
421
+ "occasion": [
422
+ "editorial / magazine pitch",
423
+ "fashion brand deck",
424
+ "lifestyle media",
425
+ "literary / cultural",
426
+ "art direction review"
427
+ ],
428
+ "tone": [
429
+ "literary",
430
+ "warm",
431
+ "considered",
432
+ "stylish"
433
+ ],
434
+ "formality": "medium-high",
435
+ "density": "medium",
436
+ "scheme": "mixed",
437
+ "best_for": "Anything that should feel like a fashion-magazine spread: editorial pitches, fashion brand decks, lifestyle media, art direction reviews. Equally good for any deck \u2014 including tech, research, or business \u2014 that wants tri-tone discipline and serif/sans contrast instead of the usual neutrals.",
438
+ "avoid_for": "Decks that need to read as soft or comforting \u2014 the burgundy/pink/cream tri-tone is intentionally high-contrast and styled.",
439
+ "slide_count": 8
440
+ },
441
+ {
442
+ "slug": "emerald-editorial",
443
+ "name": "Emerald Editorial",
444
+ "tagline": "A magazine-cover business deck: emerald + navy + paper, double-rule masthead ornaments, and a bold Bodoni-style display serif.",
445
+ "mood": [
446
+ "editorial",
447
+ "considered",
448
+ "confident",
449
+ "magazine-cover"
450
+ ],
451
+ "occasion": [
452
+ "leadership presentation",
453
+ "quarterly review",
454
+ "strategy readout",
455
+ "planning office deck",
456
+ "executive briefing"
457
+ ],
458
+ "tone": [
459
+ "literary",
460
+ "authoritative",
461
+ "warm",
462
+ "designed"
463
+ ],
464
+ "formality": "medium-high",
465
+ "density": "medium",
466
+ "scheme": "mixed",
467
+ "best_for": "Anything that should feel like the front of a serious magazine, including but not limited to leadership readouts, planning-office reviews, and strategy briefings. The double-rule masthead ornament gives it editorial gravitas without making it stiff \u2014 also a great unexpected pick for product launches or research recaps that want to feel considered rather than corporate.",
468
+ "avoid_for": "Contexts that need to read as quiet, neutral, or institutionally restrained \u2014 the emerald field is too saturated to disappear into the background.",
469
+ "slide_count": 8
470
+ },
471
+ {
472
+ "slug": "grove",
473
+ "name": "Grove",
474
+ "tagline": "Forest-green canvas with cream type, classical Playfair serifs, and a single rust accent.",
475
+ "mood": [
476
+ "organic",
477
+ "considered",
478
+ "warm",
479
+ "literary",
480
+ "natural"
481
+ ],
482
+ "occasion": [
483
+ "sustainability brand",
484
+ "wellness brand",
485
+ "outdoor / nature product",
486
+ "winery or restaurant",
487
+ "literary or arts deck",
488
+ "advisory deliverable",
489
+ "bilingual EN/CN deck"
490
+ ],
491
+ "tone": [
492
+ "classical",
493
+ "warm",
494
+ "considered",
495
+ "patient"
496
+ ],
497
+ "formality": "medium-high",
498
+ "density": "medium",
499
+ "scheme": "mixed",
500
+ "best_for": "Anything that should feel organic, considered, and grown-up: sustainability and wellness brands, outdoor / nature products, wineries and restaurants, literary or arts decks, advisory deliverables, bilingual EN/CN reports. Also a calm, distinctive choice for tech, research, or business decks that want patience over urgency.",
501
+ "avoid_for": "Decks that need neon energy or rapid-fire pop \u2014 the forest-green canvas and Playfair serif commit to a slow, classical voice.",
502
+ "slide_count": 12
503
+ },
504
+ {
505
+ "slug": "long-table",
506
+ "name": "Long Table",
507
+ "tagline": "Warm cream and rust-red supper-club aesthetic with bold uppercase grotesk headlines, Fraunces serifs, and pill-shaped outlined buttons.",
508
+ "mood": [
509
+ "warm",
510
+ "intimate",
511
+ "modern",
512
+ "friendly",
513
+ "small-batch",
514
+ "social",
515
+ "hospitality"
516
+ ],
517
+ "occasion": [
518
+ "supper club or dinner series",
519
+ "event or community gathering",
520
+ "small hospitality / restaurant brand",
521
+ "creative studio open house",
522
+ "membership or subscription pitch",
523
+ "wine or food brand catalogue",
524
+ "modern lifestyle brand"
525
+ ],
526
+ "tone": [
527
+ "warm",
528
+ "playful",
529
+ "considered",
530
+ "social",
531
+ "magazine-friendly",
532
+ "modern-editorial"
533
+ ],
534
+ "formality": "medium",
535
+ "density": "medium",
536
+ "scheme": "light",
537
+ "best_for": "Anything that should feel like a warm, intimate, modern hospitality / community brand: supper clubs, dinner series, small restaurants, creative-studio events, membership pitches, lifestyle and wine brands. Equally good for any deck wanting a single warm accent colour, mixed-weight typography, and a social-media-aware modern-editorial voice.",
538
+ "avoid_for": "Decks that need corporate polish, technical density, or a cold / minimalist register \u2014 the rust-red palette and bold serif mix are intentionally warm and people-facing.",
539
+ "slide_count": 8
540
+ },
541
+ {
542
+ "slug": "mat",
543
+ "name": "Mat",
544
+ "tagline": "Dark sage canvas with bone paper and burnt-orange accent; mid-century modern with wood undertones.",
545
+ "mood": [
546
+ "warm-modern",
547
+ "considered",
548
+ "tactile",
549
+ "mid-century"
550
+ ],
551
+ "occasion": [
552
+ "design studio credentials",
553
+ "architecture / interior brand",
554
+ "ceramics or craft brand",
555
+ "furniture pitch",
556
+ "advisory deliverable",
557
+ "bilingual EN/CN deck"
558
+ ],
559
+ "tone": [
560
+ "warm",
561
+ "design-led",
562
+ "intentional",
563
+ "considered"
564
+ ],
565
+ "formality": "medium",
566
+ "density": "medium",
567
+ "scheme": "mixed",
568
+ "best_for": "Anything that should feel mid-century, tactile, and intentional: design studio credentials, architecture / interior brands, ceramics / craft / furniture, advisory decks. Also a warm, distinctive choice for tech, research, or business decks that want a considered analog feel instead of digital-cool.",
569
+ "avoid_for": "Contexts that need fast tech energy or institutional restraint \u2014 the muted sage and burnt-orange palette is intentionally warm and slow.",
570
+ "slide_count": 9
571
+ },
572
+ {
573
+ "slug": "monochrome",
574
+ "name": "Monochrome",
575
+ "tagline": "Ivory ledger paper with all-black type; Lora serif headlines, Jost body, no color at all.",
576
+ "mood": [
577
+ "restrained",
578
+ "literary",
579
+ "archival",
580
+ "ledger"
581
+ ],
582
+ "occasion": [
583
+ "user research synthesis",
584
+ "white paper",
585
+ "longform report",
586
+ "academic deck",
587
+ "policy brief",
588
+ "advisory deliverable",
589
+ "bilingual EN/CN deck"
590
+ ],
591
+ "tone": [
592
+ "literary",
593
+ "considered",
594
+ "neutral",
595
+ "honest"
596
+ ],
597
+ "formality": "high",
598
+ "density": "high",
599
+ "scheme": "light",
600
+ "best_for": "Anything that should feel like a hand-typeset ledger: user research synthesis, white papers, longform reports, academic and policy briefs, advisory deliverables, bilingual EN/CN reports. Equally good for tech, design, or brand decks that want their words to be the only thing on the page.",
601
+ "avoid_for": "Decks that need visual personality or color-led storytelling \u2014 the all-ink palette is intentionally austere.",
602
+ "slide_count": 18
603
+ },
604
+ {
605
+ "slug": "neo-grid-bold",
606
+ "name": "Neo-Grid Bold",
607
+ "tagline": "Editorial neo-brutalism with a single neon yellow accent on off-white paper.",
608
+ "mood": [
609
+ "confident",
610
+ "punchy",
611
+ "editorial",
612
+ "modern"
613
+ ],
614
+ "occasion": [
615
+ "product launch",
616
+ "design review",
617
+ "founder pitch",
618
+ "brand deck",
619
+ "consulting findings",
620
+ "conference talk"
621
+ ],
622
+ "tone": [
623
+ "bold",
624
+ "minimal",
625
+ "design-led",
626
+ "graphic"
627
+ ],
628
+ "formality": "medium",
629
+ "density": "high",
630
+ "scheme": "light",
631
+ "best_for": "Anything that should feel confident and editorial-graphic: design-led pitches, brand work, founder talks, conference keynotes. Excellent for stat-heavy slides, comparisons, and process flows. Just as strong for tech, research, or finance when the speaker wants to read as design-led rather than corporate.",
632
+ "avoid_for": "Contexts that need to feel quiet, traditional, or warm \u2014 the neon-yellow accent and uppercase display commit to a confident editorial voice.",
633
+ "slide_count": 13
634
+ },
635
+ {
636
+ "slug": "peoples-platform",
637
+ "name": "People's Platform (Block & Bold)",
638
+ "tagline": "Activist poster energy: blue, orange, red on cream, with Alfa Slab + Caveat Brush.",
639
+ "mood": [
640
+ "activist",
641
+ "loud",
642
+ "graphic",
643
+ "honest"
644
+ ],
645
+ "occasion": [
646
+ "cultural commentary",
647
+ "manifesto",
648
+ "community / civic deck",
649
+ "design talk",
650
+ "campaign pitch",
651
+ "founder vision"
652
+ ],
653
+ "tone": [
654
+ "punchy",
655
+ "direct",
656
+ "expressive",
657
+ "warm-bold"
658
+ ],
659
+ "formality": "medium-low",
660
+ "density": "medium-high",
661
+ "scheme": "light",
662
+ "best_for": "Anything that should feel honest, loud, and graphic: cultural commentary, manifestos, civic and community decks, design talks, campaign pitches. Excellent for founder-vision moments, mission statements, or any deck \u2014 including across industries \u2014 that wants protest-poster energy instead of corporate polish.",
663
+ "avoid_for": "Contexts where institutional restraint is the actual goal \u2014 the saturated political-poster palette commits hard to expressive energy.",
664
+ "slide_count": 10
665
+ },
666
+ {
667
+ "slug": "pin-and-paper",
668
+ "name": "Pin & Paper",
669
+ "tagline": "Yellow paper with safety-pin illustrations, ink-blue handwritten Caveat, paper-grain texture.",
670
+ "mood": [
671
+ "crafted",
672
+ "handmade",
673
+ "warm",
674
+ "thoughtful",
675
+ "literary"
676
+ ],
677
+ "occasion": [
678
+ "research findings with personality",
679
+ "qualitative report",
680
+ "founder reflection",
681
+ "creator essay deck",
682
+ "workshop debrief"
683
+ ],
684
+ "tone": [
685
+ "literary",
686
+ "intimate",
687
+ "warm",
688
+ "grounded"
689
+ ],
690
+ "formality": "medium",
691
+ "density": "medium",
692
+ "scheme": "light",
693
+ "best_for": "Anything that should feel hand-crafted, warm, and literary: qualitative research findings, founder reflections, longform brand stories, workshop debriefs. The signature safety-pin illustrations and paper-grain texture make it especially good for any deck \u2014 including tech or business \u2014 that wants personality and warmth over polish.",
694
+ "avoid_for": "Decks that need to feel digital-native polished or rigorously data-driven \u2014 handwritten Caveat is intentionally informal.",
695
+ "slide_count": 11
696
+ },
697
+ {
698
+ "slug": "pink-script",
699
+ "name": "Pink Script \u2014 After Hours",
700
+ "tagline": "Black canvas, hot pink accent, pearl-cream paper, Instrument Serif headlines: late-night editorial luxury.",
701
+ "mood": [
702
+ "nocturnal",
703
+ "moody",
704
+ "intentional",
705
+ "luxe",
706
+ "expressive"
707
+ ],
708
+ "occasion": [
709
+ "fashion brand deck",
710
+ "creator personal brand",
711
+ "after-hours product (nightlife / dating / spirits)",
712
+ "luxury launch",
713
+ "editorial feature"
714
+ ],
715
+ "tone": [
716
+ "literary",
717
+ "sultry",
718
+ "considered",
719
+ "magazine"
720
+ ],
721
+ "formality": "medium-high",
722
+ "density": "low",
723
+ "scheme": "dark",
724
+ "best_for": "Anything that should feel nocturnal, intentional, and a little luxe: fashion brand decks, creator personal brands, after-hours / nightlife / spirits launches, luxury product reveals, editorial features. Also a striking unexpected pick for a tech keynote, research synthesis, or business pitch that wants to land with magnetic confidence.",
725
+ "avoid_for": "Daytime corporate-professional and traditional B2B contexts where the dark canvas with hot-pink accent reads as too styled or too expressive.",
726
+ "slide_count": 9
727
+ },
728
+ {
729
+ "slug": "playful",
730
+ "name": "Playful",
731
+ "tagline": "Sun-warm peach background with Syne display: a friendly indie launch deck.",
732
+ "mood": [
733
+ "warm",
734
+ "approachable",
735
+ "indie",
736
+ "friendly"
737
+ ],
738
+ "occasion": [
739
+ "creator portfolio",
740
+ "indie product launch",
741
+ "lifestyle brand",
742
+ "small-business pitch",
743
+ "newsletter / community"
744
+ ],
745
+ "tone": [
746
+ "upbeat",
747
+ "informal",
748
+ "welcoming"
749
+ ],
750
+ "formality": "low",
751
+ "density": "medium",
752
+ "scheme": "light",
753
+ "best_for": "Anything that should feel warm, indie, and approachable: creator portfolios, indie product launches, lifestyle brands, small-business pitches, newsletter / community decks. Also welcoming for any deck \u2014 including tech or research \u2014 that wants to feel friendly and human rather than corporate.",
754
+ "avoid_for": "Contexts where institutional credibility matters more than warmth \u2014 the peach palette is intentionally informal.",
755
+ "slide_count": 10
756
+ },
757
+ {
758
+ "slug": "raw-grid",
759
+ "name": "Raw Grid",
760
+ "tagline": "Neo-brutalist deck with thick borders, offset shadows, and a pink/sage/ink palette.",
761
+ "mood": [
762
+ "raw",
763
+ "punchy",
764
+ "energetic",
765
+ "confident"
766
+ ],
767
+ "occasion": [
768
+ "startup pitch",
769
+ "accelerator demo day",
770
+ "founder pitch",
771
+ "indie product launch",
772
+ "brand deck",
773
+ "creator portfolio"
774
+ ],
775
+ "tone": [
776
+ "direct",
777
+ "modern",
778
+ "no-nonsense",
779
+ "graphic"
780
+ ],
781
+ "formality": "medium-low",
782
+ "density": "high",
783
+ "scheme": "light",
784
+ "best_for": "Anything that should feel direct and graphic-confident: founder pitches, accelerator demos, brand decks, indie launches, creator portfolios. Strong for stat slides, comparison tables, and process flows. Equally good for tech, research, or finance when the speaker wants the deck to feel scrappy-confident rather than buttoned-up.",
785
+ "avoid_for": "Contexts that need to feel soft, warm, or intentionally quiet \u2014 the brutalist borders and offset shadows commit to a graphic voice.",
786
+ "slide_count": 10
787
+ },
788
+ {
789
+ "slug": "retro-windows",
790
+ "name": "Retro Windows",
791
+ "tagline": "Windows 95 chrome: gray title bars, MS Sans Serif, pixel typography, full nostalgia.",
792
+ "mood": [
793
+ "nostalgic",
794
+ "retro",
795
+ "geeky",
796
+ "playful"
797
+ ],
798
+ "occasion": [
799
+ "retro gaming pitch",
800
+ "Y2K brand",
801
+ "creator portfolio (90s aesthetic)",
802
+ "tech-history talk",
803
+ "shitpost-but-make-it-fancy deck"
804
+ ],
805
+ "tone": [
806
+ "winking",
807
+ "nostalgic",
808
+ "geeky",
809
+ "fun"
810
+ ],
811
+ "formality": "low",
812
+ "density": "medium",
813
+ "scheme": "light",
814
+ "best_for": "Anything that should feel knowingly nostalgic: retro gaming, Y2K-aesthetic brands, creator portfolios with a 90s vibe, tech-history talks, deliberately tongue-in-cheek decks. A great choice anywhere a playful retro reference is the entire point.",
815
+ "avoid_for": "Decks that need to read as modern, elegant, or institutionally credible \u2014 the Win95 chrome will always read as a costume.",
816
+ "slide_count": 10
817
+ },
818
+ {
819
+ "slug": "retro-zine",
820
+ "name": "Retro Zine",
821
+ "tagline": "Beige paper with green accent and Bebas Neue + Caveat: a riso-printed zine in HTML form.",
822
+ "mood": [
823
+ "crafted",
824
+ "lo-fi",
825
+ "underground",
826
+ "warm-retro"
827
+ ],
828
+ "occasion": [
829
+ "indie zine / publication",
830
+ "music or arts brand",
831
+ "creator portfolio",
832
+ "small-batch / craft launch",
833
+ "cultural / community deck"
834
+ ],
835
+ "tone": [
836
+ "scrappy",
837
+ "warm",
838
+ "intentional",
839
+ "DIY"
840
+ ],
841
+ "formality": "medium-low",
842
+ "density": "medium",
843
+ "scheme": "light",
844
+ "best_for": "Anything that should feel printed, lo-fi, and crafted: indie zines and publications, music / arts brands, creator portfolios, small-batch craft launches, community decks. Also a great underdog choice for tech, research, or business decks that want a riso-print warmth instead of digital polish.",
845
+ "avoid_for": "Contexts that demand digital-native polish or fast modern-tech energy \u2014 the layered zine aesthetic intentionally feels handmade.",
846
+ "slide_count": 10
847
+ },
848
+ {
849
+ "slug": "sakura-chroma",
850
+ "name": "Sakura Chroma",
851
+ "tagline": "Vintage Japanese cassette-package aesthetic: cream paper, diagonal rainbow ribbons, condensed bold type, JIS-style spec checkboxes.",
852
+ "mood": [
853
+ "retro",
854
+ "playful",
855
+ "kawaii-tech",
856
+ "warm",
857
+ "tactile",
858
+ "product-catalogue"
859
+ ],
860
+ "occasion": [
861
+ "product launch or catalogue",
862
+ "indie hardware or analog studio brand",
863
+ "music label or release schedule",
864
+ "creative studio annual report",
865
+ "magazine or zine pitch",
866
+ "vintage-flavored brand campaign"
867
+ ],
868
+ "tone": [
869
+ "playful",
870
+ "confident",
871
+ "warm",
872
+ "tactile",
873
+ "80s-Japanese-tech"
874
+ ],
875
+ "formality": "low",
876
+ "density": "medium",
877
+ "scheme": "light",
878
+ "best_for": "Anything that should feel like a vintage Japanese cassette package or a TDK / Sony / Sakura Color product catalogue: indie hardware brand decks, music-label release schedules, analog studio retrospectives, zine and magazine pitches, kawaii-tech product launches, creative-studio annual reports. Equally good for any deck wanting bold colour, condensed display type, and a tactile printed-product personality.",
879
+ "avoid_for": "Decks that need restrained, corporate, or quiet typography \u2014 the bold condensed lockups, ribbon stripes, and primary-colour palette are intentionally loud and product-page-y.",
880
+ "slide_count": 8
881
+ },
882
+ {
883
+ "slug": "scatterbrain",
884
+ "name": "Scatterbrain",
885
+ "tagline": "Post-it inspired: pastel sticky notes, Caveat handwriting, Shrikhand and Zilla Slab type stack.",
886
+ "mood": [
887
+ "playful",
888
+ "creative",
889
+ "warm",
890
+ "messy-on-purpose",
891
+ "workshop"
892
+ ],
893
+ "occasion": [
894
+ "brainstorm / workshop",
895
+ "creative agency credentials",
896
+ "design-thinking session",
897
+ "ideation pitch",
898
+ "art-direction review"
899
+ ],
900
+ "tone": [
901
+ "informal",
902
+ "warm",
903
+ "expressive",
904
+ "human"
905
+ ],
906
+ "formality": "low",
907
+ "density": "high",
908
+ "scheme": "light",
909
+ "best_for": "Anything that should feel like a designer's whiteboard: brainstorms, workshops, creative-agency credentials, design-thinking sessions, ideation pitches, art-direction reviews. Equally fun for any deck \u2014 including tech, research, or business \u2014 that wants to read as in-progress thinking rather than polished conclusions.",
910
+ "avoid_for": "Contexts that demand precision and institutional weight \u2014 the post-it sticky-note aesthetic intentionally reads as warm and unfinished.",
911
+ "slide_count": 10
912
+ },
913
+ {
914
+ "slug": "signal",
915
+ "name": "Signal",
916
+ "tagline": "Deep navy canvas with bone paper and a single muted-gold accent; institutional with quiet weight.",
917
+ "mood": [
918
+ "institutional",
919
+ "trustworthy",
920
+ "considered",
921
+ "weighty"
922
+ ],
923
+ "occasion": [
924
+ "investor deck",
925
+ "consulting deliverable",
926
+ "board presentation",
927
+ "legal / policy brief",
928
+ "academic deck",
929
+ "advisory pitch",
930
+ "bilingual EN/CN deck"
931
+ ],
932
+ "tone": [
933
+ "sober",
934
+ "polished",
935
+ "established",
936
+ "literary"
937
+ ],
938
+ "formality": "high",
939
+ "density": "high",
940
+ "scheme": "mixed",
941
+ "best_for": "Anything that should feel weighty, considered, and credibly institutional: investor decks, board presentations, consulting deliverables, legal / policy briefs, advisory pitches. Also a strong choice for tech, research, or brand work that wants to read as quietly authoritative rather than loud.",
942
+ "avoid_for": "Contexts that should feel hot, fast, or intentionally playful \u2014 the navy + gold restraint commits to a sober voice.",
943
+ "slide_count": 18
944
+ },
945
+ {
946
+ "slug": "soft-editorial",
947
+ "name": "Soft Editorial",
948
+ "tagline": "Cormorant Garamond serif on warm paper with sage, blush, and lemon accents.",
949
+ "mood": [
950
+ "literary",
951
+ "elegant",
952
+ "quiet",
953
+ "warm-classical"
954
+ ],
955
+ "occasion": [
956
+ "editorial feature",
957
+ "longform brand story",
958
+ "gallery or museum",
959
+ "literary pitch",
960
+ "advisory deliverable",
961
+ "wedding / lifestyle media"
962
+ ],
963
+ "tone": [
964
+ "literary",
965
+ "considered",
966
+ "warm",
967
+ "magazine"
968
+ ],
969
+ "formality": "high",
970
+ "density": "low",
971
+ "scheme": "light",
972
+ "best_for": "Anything that should feel literary, elegant, and unhurried: editorial features, longform brand stories, gallery / museum decks, advisory deliverables, wedding / lifestyle media, founder essays. Equally good for tech, research, or business decks that want a Sunday-supplement warmth instead of corporate polish.",
973
+ "avoid_for": "Decks that need visual heat or punch \u2014 the warm-paper palette and Cormorant serif are intentionally quiet.",
974
+ "slide_count": 12
975
+ },
976
+ {
977
+ "slug": "stencil-tablet",
978
+ "name": "Stencil & Tablet",
979
+ "tagline": "Bone paper with stencil-cut headlines and a six-color earth palette: archaeology meets brand.",
980
+ "mood": [
981
+ "archival",
982
+ "earthy",
983
+ "tactile",
984
+ "considered",
985
+ "graphic"
986
+ ],
987
+ "occasion": [
988
+ "museum / cultural institution",
989
+ "art / architecture brand",
990
+ "longform research",
991
+ "heritage / craft brand",
992
+ "manifesto"
993
+ ],
994
+ "tone": [
995
+ "weighty",
996
+ "considered",
997
+ "tactile",
998
+ "literary"
999
+ ],
1000
+ "formality": "medium-high",
1001
+ "density": "medium",
1002
+ "scheme": "light",
1003
+ "best_for": "Anything that should feel archival, tactile, and weighty-graphic: museum and cultural-institution decks, art / architecture brands, longform research, heritage and craft brands, manifestos. A great choice anytime \u2014 including across tech and business \u2014 when you want the deck to feel like a field manual rather than a slide deck.",
1004
+ "avoid_for": "Contexts that demand digital-native polish or playful pop \u2014 the stencil-cut display and earth-tone palette commit to a deliberate analog feel.",
1005
+ "slide_count": 11
1006
+ },
1007
+ {
1008
+ "slug": "studio",
1009
+ "name": "Studio",
1010
+ "tagline": "Black canvas with electric-yellow type; high-voltage design studio aesthetic.",
1011
+ "mood": [
1012
+ "electric",
1013
+ "bold",
1014
+ "graphic",
1015
+ "design-led",
1016
+ "high-contrast"
1017
+ ],
1018
+ "occasion": [
1019
+ "design studio credentials",
1020
+ "creative agency pitch",
1021
+ "brand showcase",
1022
+ "art-direction review",
1023
+ "fashion / sneaker brand",
1024
+ "bilingual EN/CN deck"
1025
+ ],
1026
+ "tone": [
1027
+ "graphic",
1028
+ "loud",
1029
+ "modern",
1030
+ "intentional"
1031
+ ],
1032
+ "formality": "medium",
1033
+ "density": "medium",
1034
+ "scheme": "dark",
1035
+ "best_for": "Anything that should feel electric and design-led: studio credentials, creative agency pitches, brand showcases, art-direction reviews, fashion / sneaker brand work. Also a striking unexpected choice for tech, research, or business decks where the speaker wants the deck to *be* a brand statement.",
1036
+ "avoid_for": "Contexts that should feel quiet or institutional \u2014 the black-and-electric-yellow palette is the loudest in the library.",
1037
+ "slide_count": 12
1038
+ },
1039
+ {
1040
+ "slug": "vellum",
1041
+ "name": "Vellum",
1042
+ "tagline": "Deep navy canvas with warm-yellow Cormorant serifs and a single dusty teal accent. A quiet, scholarly aesthetic.",
1043
+ "mood": [
1044
+ "scholarly",
1045
+ "literary",
1046
+ "considered",
1047
+ "quiet",
1048
+ "intellectual"
1049
+ ],
1050
+ "occasion": [
1051
+ "research findings",
1052
+ "white paper or longform report",
1053
+ "academic or university deck",
1054
+ "advisory deliverable",
1055
+ "literary or editorial pitch",
1056
+ "founder reflection / vision deck",
1057
+ "bilingual EN/CN deck"
1058
+ ],
1059
+ "tone": [
1060
+ "literary",
1061
+ "considered",
1062
+ "patient",
1063
+ "intelligent"
1064
+ ],
1065
+ "formality": "high",
1066
+ "density": "low",
1067
+ "scheme": "dark",
1068
+ "best_for": "Anything that should feel scholarly, literary, and quietly intelligent: research synthesis, white papers, academic and policy briefs, advisory deliverables, longform editorial pieces, founder reflections. Equally strong for any deck \u2014 including tech, business, or creator work \u2014 that wants a calm, considered atmosphere instead of energetic visuals.",
1069
+ "avoid_for": "Contexts that need visual heat or pop \u2014 the navy + warm-yellow Cormorant aesthetic is intentionally low-tempo.",
1070
+ "slide_count": 9
1071
+ }
1072
+ ];
1073
+ var STYLE_PRESETS = [
1074
+ {
1075
+ id: "electric-studio",
1076
+ name: "Electric Studio",
1077
+ vibe: "Bold, clean, professional, high contrast",
1078
+ scheme: "dark",
1079
+ typography: {
1080
+ display: "Space Grotesk, sans-serif",
1081
+ body: "Inter, sans-serif",
1082
+ mono: "JetBrains Mono, monospace"
1083
+ },
1084
+ colors: {
1085
+ bg: "#0a0a0a",
1086
+ text: "#ffffff",
1087
+ accent: "#4361ee",
1088
+ cardBg: "rgba(255, 255, 255, 0.05)",
1089
+ border: "rgba(67, 97, 238, 0.3)",
1090
+ textMuted: "#9ca3af"
1091
+ },
1092
+ signatureElements: [
1093
+ "Two-panel split architecture",
1094
+ "Staggered .reveal entrance transitions",
1095
+ "High-contrast code cards with macOS traffic lights",
1096
+ "1920\xD71080 stage canvas auto-scaling"
1097
+ ]
1098
+ },
1099
+ {
1100
+ id: "blue-professional",
1101
+ name: "Blue Professional",
1102
+ vibe: "Cream paper background with electric cobalt blue accents; clean modern professional",
1103
+ scheme: "light",
1104
+ typography: {
1105
+ display: "Space Grotesk, sans-serif",
1106
+ body: "Inter, sans-serif",
1107
+ mono: "SF Mono, Menlo, monospace"
1108
+ },
1109
+ colors: {
1110
+ bg: "#fdfae7",
1111
+ text: "#111111",
1112
+ accent: "#1e2bfa",
1113
+ cardBg: "rgba(30, 43, 250, 0.04)",
1114
+ border: "rgba(30, 43, 250, 0.2)",
1115
+ textMuted: "#6b6b6b"
1116
+ },
1117
+ signatureElements: [
1118
+ "Warm paper texture and clean typography",
1119
+ "Cobalt accent underlines and badges",
1120
+ "Clean 2-column theory vs code blocks",
1121
+ "3-card Bento grid for architecture breakdown"
1122
+ ]
1123
+ },
1124
+ {
1125
+ id: "creative-voltage",
1126
+ name: "Creative Voltage",
1127
+ vibe: "Bold, creative, energetic, retro-modern",
1128
+ scheme: "dark",
1129
+ typography: {
1130
+ display: "Syne, sans-serif",
1131
+ body: "Space Grotesk, sans-serif",
1132
+ mono: "Space Mono, monospace"
1133
+ },
1134
+ colors: {
1135
+ bg: "#1a1a2e",
1136
+ text: "#ffffff",
1137
+ accent: "#d4ff00",
1138
+ cardBg: "rgba(212, 255, 0, 0.05)",
1139
+ border: "rgba(212, 255, 0, 0.25)",
1140
+ textMuted: "#a0a0c0"
1141
+ },
1142
+ signatureElements: [
1143
+ "Electric neon yellow accents on dark purple void",
1144
+ "Punchy display typography",
1145
+ "Dynamic interactive checkpoint quizzes",
1146
+ "Bento stat counters with glowing outlines"
1147
+ ]
1148
+ }
1149
+ ];
1150
+
1151
+ // src/skills/contracts.ts
1152
+ var VIEWPORT_BASE_CSS = `/* ===========================================
1153
+ FIXED 16:9 STAGE: MANDATORY BASE STYLES
1154
+ Slides are authored at 1920\xD71080 and scaled as a whole.
1155
+ =========================================== */
1156
+
1157
+ html, body {
1158
+ width: 100%;
1159
+ height: 100%;
1160
+ margin: 0;
1161
+ overflow: hidden;
1162
+ background: var(--stage-bg, #000);
1163
+ }
1164
+
1165
+ .deck-viewport {
1166
+ position: fixed;
1167
+ inset: 0;
1168
+ overflow: hidden;
1169
+ background: var(--stage-bg, #000);
1170
+ }
1171
+
1172
+ .deck-stage {
1173
+ position: absolute;
1174
+ left: 0;
1175
+ top: 0;
1176
+ width: 1920px;
1177
+ height: 1080px;
1178
+ overflow: hidden;
1179
+ transform-origin: 0 0;
1180
+ background: var(--slide-bg, #fff);
1181
+ }
1182
+
1183
+ .slide {
1184
+ position: absolute;
1185
+ inset: 0;
1186
+ width: 1920px;
1187
+ height: 1080px;
1188
+ overflow: hidden;
1189
+ display: block;
1190
+ visibility: hidden;
1191
+ opacity: 0;
1192
+ pointer-events: none;
1193
+ background: var(--slide-bg, #fff);
1194
+ }
1195
+
1196
+ .slide.active,
1197
+ .slide.visible {
1198
+ visibility: visible;
1199
+ opacity: 1;
1200
+ pointer-events: auto;
1201
+ z-index: 1;
1202
+ }
1203
+
1204
+ img, video, canvas, svg {
1205
+ max-width: 100%;
1206
+ max-height: 100%;
1207
+ }
1208
+
1209
+ .reveal {
1210
+ opacity: 0;
1211
+ transform: translateY(30px);
1212
+ transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
1213
+ transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
1214
+ }
1215
+
1216
+ .slide.visible .reveal,
1217
+ .slide.active .reveal {
1218
+ opacity: 1;
1219
+ transform: translateY(0);
1220
+ }
1221
+
1222
+ .reveal:nth-child(1) { transition-delay: 0.08s; }
1223
+ .reveal:nth-child(2) { transition-delay: 0.16s; }
1224
+ .reveal:nth-child(3) { transition-delay: 0.24s; }
1225
+ .reveal:nth-child(4) { transition-delay: 0.32s; }
1226
+ .reveal:nth-child(5) { transition-delay: 0.40s; }
1227
+
1228
+ @media (prefers-reduced-motion: reduce) {
1229
+ *, *::before, *::after {
1230
+ animation-duration: 0.01ms !important;
1231
+ transition-duration: 0.1s !important;
1232
+ }
1233
+ }
1234
+ `;
1235
+ var FRONTEND_SLIDES_CORE_RULES = `
1236
+ # FRONTEND SLIDES SKILL & QUALITY INVARIANTS
1237
+
1238
+ ## 1. Core Principles (Non-Negotiable)
1239
+ 1. **Zero Dependencies** \u2014 Single HTML presentation with inline scoped CSS and JS.
1240
+ 2. **Fixed 16:9 Stage Canvas** \u2014 Every slide is strictly authored inside a fixed 1920\xD71080 stage canvas (.deck-stage) scaled to the browser viewport. Never reflow slide content for different screen ratios.
1241
+ 3. **No AI-Slop Design** \u2014 Never use generic purple gradients, clich\xE9 fonts (Arial, Roboto), or boring corporate bullets. Use curated palettes (Electric Studio, Blue Professional, Cobalt Grid) and distinctive typography (Space Grotesk, Inter, Syne, JetBrains Mono).
1242
+ 4. **Staggered Reveals** \u2014 Use the .reveal class on key elements with transition delays for smooth, cinematic entrance animations.
1243
+ 5. **No Pixel Coordinates** \u2014 NEVER output free-form bounding-box coordinates like "position": { "x", "y" } or "layout": "title_and_content". Always populate semantic layout slots.
1244
+
1245
+ ## 2. Pacing & Pedagogical Structure
1246
+ A complete lesson deck MUST have 8 to 12 slides following the Chunky Micro-Cycle:
1247
+ 1. **Cover (hero-cover):** Lesson title, topic badge, learning goal, author/date.
1248
+ 2. **Agenda & Roadmap (two-columns-compare or timeline-steps):** Milestones and timing.
1249
+ 3. **Core Mental Model (split-concept-code):** Definition, analogy, and runnable starter code.
1250
+ 4. **Visual Architecture (three-cards-grid):** 3-pillar breakdown of mechanisms.
1251
+ 5. **Syntax & Deep Dive (split-concept-code):** Concrete language syntax, gotchas, and annotated snippet.
1252
+ 6. **Timeline Execution (timeline-steps):** Step-by-step pipeline or algorithmic flow.
1253
+ 7. **Interactive Formative Check (checkpoint-quiz):** Multiple-choice diagnostic question with explanation.
1254
+ 8. **Summary & Next Milestone (summary-takeaways):** 3-4 golden takeaways and preview of next lesson.
1255
+ `;
1256
+
1257
+ // src/ai/html/prompt.ts
1258
+ var SLIDE_HTML_PROMPT_CONTRACT = `
1259
+ # \u{1F3A8} HTML SLIDE ENGINE \u2014 AGENT GENERATION CONTRACT
1260
+
1261
+ You are an expert Presentation Designer and Curriculum Architect producing professional, high-impact slide decks.
1262
+ Instead of generating free-form HTML or brittle Markdown hacks, you MUST fill structured content into pre-tested **Layout Presets**.
1263
+
1264
+ ## Available Layout Presets & Required Slots:
1265
+
1266
+ 1. **hero-cover** (Cover / Title Slide)
1267
+ - \`tag\` (string): e.g. "Unit 01 \xB7 Lesson 02"
1268
+ - \`title\` (string): Main bold headline
1269
+ - \`subtitle\` (string): Subtitle or 1-sentence learning objective
1270
+ - \`author\` (string): Instructor / Organization
1271
+ - \`date\` (string): Course term or date
1272
+
1273
+ 2. **split-concept-code** (Theory + Code Snippet)
1274
+ - \`tag\` (string): Section topic tag
1275
+ - \`title\` (string): Topic heading
1276
+ - \`points\` (string[]): 3 to 4 concise bullet takeaways
1277
+ - \`code\` (string): Executable source code
1278
+ - \`language\` (string): Language name (e.g. "python", "typescript", "swift")
1279
+ - \`codeNote\` (string, optional): One-line hint or execution output
1280
+
1281
+ 3. **two-columns-compare** (Comparison / Pros vs Cons)
1282
+ - \`tag\` (string): Topic tag
1283
+ - \`title\` (string): Headline
1284
+ - \`col1Title\` (string): e.g. "Synchronous I/O"
1285
+ - \`col1Items\` (string[]): 3 to 4 points
1286
+ - \`col2Title\` (string): e.g. "Asynchronous I/O"
1287
+ - \`col2Items\` (string[]): 3 to 4 points
1288
+
1289
+ 4. **three-cards-grid** (3 Core Pillars / Architecture)
1290
+ - \`tag\` (string): e.g. "Core Principles"
1291
+ - \`title\` (string): Overview headline
1292
+ - \`cards\` (array of objects): Exactly 3 cards:
1293
+ - \`badge\`: e.g. "01", "LAYER 1"
1294
+ - \`title\`: Card headline
1295
+ - \`desc\`: 1-2 sentence description
1296
+ - \`footer\` (optional): Key takeaway
1297
+
1298
+ 5. **timeline-steps** (Algorithm / Execution Pipeline)
1299
+ - \`tag\` (string): e.g. "Workflow"
1300
+ - \`title\` (string): Headline
1301
+ - \`steps\` (array of objects): 3 to 5 steps:
1302
+ - \`stepNum\` (number/string): 1, 2, 3...
1303
+ - \`title\`: Step name
1304
+ - \`desc\`: What happens at this step
1305
+
1306
+ 6. **metric-callout** (Key Theorem / Benchmark Statistic)
1307
+ - \`tag\` (string): e.g. "Time Complexity"
1308
+ - \`metric\` (string): Big stat (e.g. "O(log N)", "99.99%", "10x")
1309
+ - \`metricLabel\` (string): e.g. "Lookup Efficiency"
1310
+ - \`title\` (string): Main takeaway
1311
+ - \`desc\` (string): Contextual explanation
1312
+
1313
+ 7. **checkpoint-quiz** (Interactive Checkpoint)
1314
+ - \`tag\` (string): e.g. "Quick Knowledge Check"
1315
+ - \`question\` (string): Clear question prompt
1316
+ - \`options\` (array of objects): 2 to 4 options:
1317
+ - \`label\`: "A", "B", "C", "D"
1318
+ - \`text\`: Option text
1319
+ - \`explanation\` (string): Explanatory rationale
1320
+
1321
+ 8. **summary-takeaways** (Wrap-Up / Next Steps)
1322
+ - \`tag\` (string): e.g. "Recap"
1323
+ - \`title\` (string): Wrap-up headline
1324
+ - \`takeaways\` (string[]): 3 to 4 memorable bullet points
1325
+ - \`nextStep\` (string): Teaser for the next lesson or project
1326
+
1327
+ ## Aesthetic & Quality Invariants ("Anti-AI-Slop"):
1328
+ - **Brevity is King (Zero-Scroll Invariant):** Each slide is calibrated for a 1920\xD71080 canvas. Maximum **35\u201340 words** per card or column; maximum **15 words** per bullet item. Never write dense multi-sentence paragraphs that cause vertical scrolling.
1329
+ - **Pedagogical Pacing:** Start with \`hero-cover\`, alternate between \`split-concept-code\`, \`two-columns-compare\` and \`three-cards-grid\`, insert a \`checkpoint-quiz\` midway, and finish with \`summary-takeaways\`.
1330
+ - **Theme Selection:**
1331
+ - \`blue-professional\`: General academic, clean engineering, trustworthy.
1332
+ - \`cobalt-grid\`: Advanced tech, algorithms, robotics, cybersecurity.
1333
+ - \`editorial-forest\`: Thoughtful design, literature, ethics, science.
1334
+ - \`studio\`: Minimalist product design, modern software.
1335
+ - \`monochrome\`: Pure high-contrast dark mode.
1336
+
1337
+ ## \u{1FA84} Step Reveal & Progressive Disclosure:
1338
+ - The presentation shell supports sequential step reveal via mouse click or Space/Arrow keys.
1339
+ - Bullet lists (\`points\`, \`col1Items\`, \`col2Items\`), cards in \`three-cards-grid\`, and steps in \`timeline-steps\` reveal progressively one by one before navigating to the next slide.
1340
+ - In custom HTML slots, you can attach \`class="step-reveal"\`, \`data-step\`, \`data-reveal\`, or \`data-auto-reveal="true"\` on parent containers to enable click-by-click stepped appearance.
1341
+
1342
+ ## \u{1F399}\uFE0F Mandatory 3-Part Presenter Notes Contract:
1343
+ Every single slide MUST include the \`notes\` property structured with these 3 explicit components:
1344
+ 1. **Talk Track:** 2-3 sentences of exact conversational speaking script for the teacher/presenter.
1345
+ 2. **Cold-Call Check Question:** 1 diagnostic question to check understanding with a named student or attendee.
1346
+ 3. **Scaffolding Tip:** 1 intuitive analogy or troubleshooting hint in case learners struggle with the concept.
1347
+
1348
+ Example Notes:
1349
+ \`\`\`markdown
1350
+ Talk Track: Here we contrast synchronous blocking I/O with asynchronous event-driven handling. Notice how threads remain idle while waiting for network responses.
1351
+ Cold-Call: "Jordan, looking at the left column, what happens to thread pool throughput when network latency quadruples?"
1352
+ Scaffolding Tip: Compare it to ordering coffee at a counter (async buzzer) versus waiting at the register until the cup is brewed (sync blocking).
1353
+ \`\`\`
1354
+
1355
+ ## \u{1F9F1} MANDATORY JSON DECK OUTPUT STRUCTURE & SCHEMA:
1356
+ You MUST output a single valid JSON object.
1357
+ CRITICAL: All layout data MUST be placed inside the \`slots\` object of each slide. Never put raw unstructured strings like \`content: "..."\`!
1358
+
1359
+ \`\`\`json
1360
+ {
1361
+ "title": "Full Lesson Presentation Title",
1362
+ "theme": "blue-professional",
1363
+ "slides": [
1364
+ {
1365
+ "id": 1,
1366
+ "layoutId": "hero-cover",
1367
+ "slots": {
1368
+ "tag": "Unit 01 \xB7 Lesson 01",
1369
+ "title": "macOS & Xcode Environment Setup",
1370
+ "subtitle": "Master the Apple developer toolchain and build your first SwiftUI application lifecycle",
1371
+ "author": "Curriculum OS",
1372
+ "date": "2026"
1373
+ },
1374
+ "notes": "Talk Track: Welcome everyone. Today we establish our core iOS development environment...\\nCold-Call: 'Alex, why do we need Xcode Command Line Tools?'\\nScaffolding Tip: Think of Xcode as the full workshop and the SDK as the raw materials."
1375
+ },
1376
+ {
1377
+ "id": 2,
1378
+ "layoutId": "split-concept-code",
1379
+ "slots": {
1380
+ "tag": "Architecture & Syntax",
1381
+ "title": "SwiftUI App Entry Point",
1382
+ "points": [
1383
+ "@main attribute designates the entry point of the app",
1384
+ "App protocol defines the structure and scene hierarchy",
1385
+ "WindowGroup manages the root view lifecycle across platforms"
1386
+ ],
1387
+ "code": "import SwiftUI\\n\\n@main\\nstruct MyApp: App {\\n var body: some Scene {\\n WindowGroup {\\n ContentView()\\n }\\n }\\n}",
1388
+ "language": "swift",
1389
+ "codeNote": "Notice how Scene encapsulates WindowGroup automatically"
1390
+ },
1391
+ "notes": "Talk Track: ...\\nCold-Call: ...\\nScaffolding Tip: ..."
1392
+ },
1393
+ {
1394
+ "id": 3,
1395
+ "layoutId": "three-cards-grid",
1396
+ "slots": {
1397
+ "tag": "Core Pillars",
1398
+ "title": "Three Pillars of App State",
1399
+ "cards": [
1400
+ { "badge": "01", "title": "Active State", "desc": "App is in foreground and responding to user events directly." },
1401
+ { "badge": "02", "title": "Inactive State", "desc": "App is transitioning, interrupted by system dialogs or Control Center." },
1402
+ { "badge": "03", "title": "Background State", "desc": "Executing background tasks or preparing for memory suspension." }
1403
+ ]
1404
+ },
1405
+ "notes": "Talk Track: ...\\nCold-Call: ...\\nScaffolding Tip: ..."
1406
+ },
1407
+ {
1408
+ "id": 4,
1409
+ "layoutId": "timeline-steps",
1410
+ "slots": {
1411
+ "tag": "Step-by-Step",
1412
+ "title": "Xcode Setup Workflow",
1413
+ "steps": [
1414
+ { "stepNum": 1, "title": "Download Xcode", "desc": "Install latest Xcode from the Mac App Store" },
1415
+ { "stepNum": 2, "title": "Command Line Tools", "desc": "Run xcode-select --install in Terminal" },
1416
+ { "stepNum": 3, "title": "Select Simulators", "desc": "Download iOS 18+ runtime simulators" },
1417
+ { "stepNum": 4, "title": "Verify Build", "desc": "Create a new SwiftUI project and press Cmd+R" }
1418
+ ]
1419
+ },
1420
+ "notes": "Talk Track: ...\\nCold-Call: ...\\nScaffolding Tip: ..."
1421
+ },
1422
+ {
1423
+ "id": 5,
1424
+ "layoutId": "two-columns-compare",
1425
+ "slots": {
1426
+ "tag": "Comparison",
1427
+ "title": "SwiftUI vs UIKit Architecture",
1428
+ "col1Title": "SwiftUI (Declarative)",
1429
+ "col1Items": [
1430
+ "State drives the UI automatically",
1431
+ "Lightweight immutable structs",
1432
+ "Cross-platform unified API"
1433
+ ],
1434
+ "col2Title": "UIKit (Imperative)",
1435
+ "col2Items": [
1436
+ "Manual view controller manipulation",
1437
+ "Heavyweight class hierarchies",
1438
+ "Explicit event-driven updates"
1439
+ ]
1440
+ },
1441
+ "notes": "Talk Track: ...\\nCold-Call: ...\\nScaffolding Tip: ..."
1442
+ },
1443
+ {
1444
+ "id": 6,
1445
+ "layoutId": "checkpoint-quiz",
1446
+ "slots": {
1447
+ "tag": "Knowledge Check",
1448
+ "question": "Which SwiftUI modifier is used to observe external observable state objects?",
1449
+ "options": [
1450
+ { "label": "A", "text": "@State" },
1451
+ { "label": "B", "text": "@StateObject / @ObservedObject" },
1452
+ { "label": "C", "text": "@Binding" },
1453
+ { "label": "D", "text": "@Environment" }
1454
+ ],
1455
+ "explanation": "@StateObject manages the lifecycle of reference-type ObservableObjects, while @State is for value types."
1456
+ },
1457
+ "notes": "Talk Track: ...\\nCold-Call: ...\\nScaffolding Tip: ..."
1458
+ },
1459
+ {
1460
+ "id": 7,
1461
+ "layoutId": "summary-takeaways",
1462
+ "slots": {
1463
+ "tag": "Recap & Next",
1464
+ "title": "Lesson Summary & Key Takeaways",
1465
+ "takeaways": [
1466
+ "Configured complete developer toolchain with Xcode 16+",
1467
+ "Understood SwiftUI declarative lifecycle and @main entry point",
1468
+ "Mastered App State transitions between active, inactive, and background"
1469
+ ],
1470
+ "nextStep": "Lesson 02: State Management & Reactive Data Flow with @State and @Binding"
1471
+ },
1472
+ "notes": "Talk Track: ...\\nCold-Call: ...\\nScaffolding Tip: ..."
1473
+ }
1474
+ ]
1475
+ }
1476
+ \`\`\`
1477
+
1478
+ ## \u{1F6AB} STRICT ANTI-SLOP CONSTRAINTS:
1479
+ 1. NEVER output a raw unstructured string like \`content: "..."\` or \`content: "Concept: ... Code snippet: ..."\`. All slide content MUST be placed inside the \`slots\` object with its specific keys (\`points\`, \`code\`, \`cards\`, \`steps\`, \`options\`, \`takeaways\`).
1480
+ 2. NEVER use ellipsis \`...\` or placeholder comments in \`code\`. Every code snippet MUST be real, fully typed, syntax-valid, and pedagogical.
1481
+ 3. NEVER leave \`slots\` empty \`{}\`.
1482
+ 4. Output 6 to 8 substantive, rich slides covering the lesson plan thoroughly.
1483
+ `;
1484
+
1485
+ // src/skills/helper.ts
1486
+ function getTemplatesCatalog() {
1487
+ return TEMPLATES_CATALOG;
1488
+ }
1489
+ function searchTemplates(filter) {
1490
+ if (!filter) return TEMPLATES_CATALOG;
1491
+ const opts = typeof filter === "string" ? { query: filter } : filter;
1492
+ const queryTokens = (opts.query || "").toLowerCase().split(/[\s,;]+/).map((t) => t.trim()).filter((t) => t.length > 1);
1493
+ const scored = TEMPLATES_CATALOG.map((tpl) => {
1494
+ let score = 0;
1495
+ if (opts.scheme) {
1496
+ if (tpl.scheme === opts.scheme) score += 2;
1497
+ }
1498
+ if (opts.mood) {
1499
+ const mood = opts.mood.toLowerCase();
1500
+ if (tpl.mood.some((m) => m.toLowerCase().includes(mood))) score += 2;
1501
+ else if (tpl.tone.some((t) => t.toLowerCase().includes(mood))) score += 1;
1502
+ }
1503
+ if (queryTokens.length > 0) {
1504
+ const haystacks = [
1505
+ [tpl.slug, 3],
1506
+ [tpl.name, 3],
1507
+ [tpl.tagline, 2],
1508
+ [tpl.best_for, 2],
1509
+ [tpl.occasion.join(" "), 1],
1510
+ [tpl.tone.join(" "), 1],
1511
+ [tpl.mood.join(" "), 1],
1512
+ [tpl.avoid_for, 1]
1513
+ ];
1514
+ for (const token of queryTokens) {
1515
+ for (const [text, weight] of haystacks) {
1516
+ if (text.toLowerCase().includes(token)) {
1517
+ score += weight;
1518
+ break;
1519
+ }
1520
+ }
1521
+ }
1522
+ }
1523
+ return { tpl, score };
1524
+ });
1525
+ const anyFilter = Boolean(opts.scheme || opts.mood || queryTokens.length > 0);
1526
+ if (!anyFilter) return TEMPLATES_CATALOG;
1527
+ const MIN_SCORE = 2;
1528
+ const matches = scored.filter((s) => s.score >= MIN_SCORE).sort((a, b) => b.score - a.score).map((s) => s.tpl);
1529
+ if (matches.length === 0) return TEMPLATES_CATALOG;
1530
+ if (queryTokens.length > 0) {
1531
+ const tokensWithAnyMatch = queryTokens.filter(
1532
+ (token) => scored.some((s) => s.score >= 3)
1533
+ // at least one strong (name/slug) hit
1534
+ );
1535
+ const allTokensDead = tokensWithAnyMatch.length === 0 && queryTokens.every((token) => !scored.some((s) => s.tpl.best_for.toLowerCase().includes(token)));
1536
+ if (allTokensDead) return TEMPLATES_CATALOG;
1537
+ }
1538
+ return matches;
1539
+ }
1540
+ function getStylePreset(id) {
1541
+ return STYLE_PRESETS.find((p) => p.id === id) || STYLE_PRESETS[0];
1542
+ }
1543
+ function getStylePresetById(id) {
1544
+ return STYLE_PRESETS.find((p) => p.id === id);
1545
+ }
1546
+ function getFrontendSlidesSkillPrompt(options) {
1547
+ const preset = options?.stylePresetId ? getStylePreset(options.stylePresetId) : STYLE_PRESETS[0];
1548
+ return `
1549
+ You are @illustrator, an elite Presentation Designer and Presentation Architect equipped with the **FRONTEND-SLIDES SKILL**.
1550
+
1551
+ ${FRONTEND_SLIDES_CORE_RULES}
1552
+
1553
+ ---
1554
+ ## ACTIVE STYLE PRESET: ${preset?.name || "Electric Studio"}
1555
+ - **Vibe:** ${preset?.vibe}
1556
+ - **Color Scheme:** ${preset?.scheme} (Background: ${preset?.colors.bg}, Text: ${preset?.colors.text}, Accent: ${preset?.colors.accent})
1557
+ - **Typography:** Display: ${preset?.typography.display} | Body: ${preset?.typography.body} | Code: ${preset?.typography.mono || "monospace"}
1558
+ - **Signature Design Elements:**
1559
+ ${(preset?.signatureElements || []).map((e) => ` * ${e}`).join("\n")}
1560
+
1561
+ ---
1562
+ ${SLIDE_HTML_PROMPT_CONTRACT}
1563
+ `.trim();
1564
+ }
1565
+ var querySlideTemplatesSchema = zod.z.object({
1566
+ mood: zod.z.string().optional().describe('Mood or feeling keyword: "professional", "technical", "editorial", "playful", "minimal"'),
1567
+ scheme: zod.z.enum(["light", "dark", "mixed"]).optional().describe('Color scheme: "light", "dark" or "mixed"'),
1568
+ query: zod.z.string().optional().describe('Search term e.g. "python", "swift", "consulting", "hackathon"')
1569
+ });
1570
+ var getSlideStylePresetSchema = zod.z.object({
1571
+ presetId: zod.z.string().describe('Style preset identifier, e.g. "electric-studio", "blue-professional", "creative-voltage"')
1572
+ });
1573
+ var frontendSlidesTools = {
1574
+ querySlideTemplates: {
1575
+ description: "Searches the 34 curated HTML slide templates catalog for design inspiration, tone matching, and layout specs.",
1576
+ inputSchema: querySlideTemplatesSchema,
1577
+ execute: async (args) => {
1578
+ const matches = searchTemplates(args);
1579
+ return {
1580
+ count: matches.length,
1581
+ templates: matches.map((m) => ({
1582
+ slug: m.slug,
1583
+ name: m.name,
1584
+ tagline: m.tagline,
1585
+ mood: m.mood,
1586
+ tone: m.tone,
1587
+ scheme: m.scheme,
1588
+ bestFor: m.best_for,
1589
+ slideCount: m.slide_count
1590
+ }))
1591
+ };
1592
+ }
1593
+ },
1594
+ getSlideStylePreset: {
1595
+ description: "Retrieves exact color palette, typography font stack, and signature visual elements for a style preset.",
1596
+ inputSchema: getSlideStylePresetSchema,
1597
+ execute: async (args) => {
1598
+ const preset = getStylePresetById(args.presetId);
1599
+ if (!preset) {
1600
+ return {
1601
+ error: `Style preset "${args.presetId}" not found.`,
1602
+ availablePresets: STYLE_PRESETS.map((p) => p.id)
1603
+ };
1604
+ }
1605
+ return preset;
1606
+ }
1607
+ }
1608
+ };
1609
+
1610
+ exports.FRONTEND_SLIDES_CORE_RULES = FRONTEND_SLIDES_CORE_RULES;
1611
+ exports.SLIDE_HTML_PROMPT_CONTRACT = SLIDE_HTML_PROMPT_CONTRACT;
1612
+ exports.STYLE_PRESETS = STYLE_PRESETS;
1613
+ exports.TEMPLATES_CATALOG = TEMPLATES_CATALOG;
1614
+ exports.VIEWPORT_BASE_CSS = VIEWPORT_BASE_CSS;
1615
+ exports.frontendSlidesTools = frontendSlidesTools;
1616
+ exports.getFrontendSlidesSkillPrompt = getFrontendSlidesSkillPrompt;
1617
+ exports.getSlideStylePresetSchema = getSlideStylePresetSchema;
1618
+ exports.getStylePreset = getStylePreset;
1619
+ exports.getStylePresetById = getStylePresetById;
1620
+ exports.getTemplatesCatalog = getTemplatesCatalog;
1621
+ exports.querySlideTemplatesSchema = querySlideTemplatesSchema;
1622
+ exports.searchTemplates = searchTemplates;
1623
+ //# sourceMappingURL=chunk-HSVXH7DD.cjs.map
1624
+ //# sourceMappingURL=chunk-HSVXH7DD.cjs.map