@aexol/spectral 0.9.270 → 0.9.271
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/dist/agent/index.d.ts +10 -1
- package/dist/agent/index.d.ts.map +1 -1
- package/dist/agent/index.js +26 -10
- package/dist/commands/serve.d.ts.map +1 -1
- package/dist/commands/serve.js +29 -5
- package/dist/commands/update.d.ts +2 -2
- package/dist/commands/update.js +3 -3
- package/dist/designer/index.d.ts +13 -18
- package/dist/designer/index.d.ts.map +1 -1
- package/dist/designer/index.js +128 -201
- package/dist/extensions/aexol-mcp.d.ts.map +1 -1
- package/dist/extensions/aexol-mcp.js +23 -0
- package/dist/memory/debug-log.d.ts.map +1 -1
- package/dist/memory/debug-log.js +20 -2
- package/dist/memory/tools/compact-context.d.ts +1 -1
- package/dist/memory/tools/compact-context.d.ts.map +1 -1
- package/dist/memory/tools/compact-context.js +4 -1
- package/dist/memory/tools/recall-observation.d.ts +3 -3
- package/dist/memory/tools/recall-observation.d.ts.map +1 -1
- package/dist/memory/tools/recall-observation.js +4 -1
- package/dist/memory/tools/receive-agent-observations.d.ts +3 -3
- package/dist/memory/tools/receive-agent-observations.d.ts.map +1 -1
- package/dist/memory/tools/receive-agent-observations.js +4 -1
- package/dist/memory/tools/share-project-observation.d.ts +3 -3
- package/dist/memory/tools/share-project-observation.d.ts.map +1 -1
- package/dist/memory/tools/share-project-observation.js +4 -1
- package/dist/memory/tools/write-project-observation.d.ts +3 -3
- package/dist/memory/tools/write-project-observation.d.ts.map +1 -1
- package/dist/memory/tools/write-project-observation.js +4 -1
- package/dist/relay/client.d.ts.map +1 -1
- package/dist/relay/client.js +5 -2
- package/dist/sdk/ai/env-api-keys.js +1 -1
- package/dist/sdk/coding-agent/core/extensions/loader.d.ts.map +1 -1
- package/dist/sdk/coding-agent/core/extensions/loader.js +31 -3
- package/dist/sdk/coding-agent/core/theme.js +1 -1
- package/dist/server/handlers/agent-settings.d.ts.map +1 -1
- package/dist/server/handlers/agent-settings.js +4 -1
- package/dist/server/handlers/settings-lock.d.ts.map +1 -1
- package/dist/server/handlers/settings-lock.js +4 -1
- package/dist/server/storage.d.ts.map +1 -1
- package/dist/server/storage.js +13 -1
- package/dist/utils/serve-state.d.ts +17 -0
- package/dist/utils/serve-state.d.ts.map +1 -1
- package/dist/utils/serve-state.js +73 -0
- package/package.json +1 -1
- package/dist/designer/data/skills/blog-post.d.ts +0 -3
- package/dist/designer/data/skills/blog-post.d.ts.map +0 -1
- package/dist/designer/data/skills/blog-post.js +0 -84
- package/dist/designer/data/skills/blog-post.ts +0 -87
- package/dist/designer/data/skills/critique.d.ts +0 -3
- package/dist/designer/data/skills/critique.d.ts.map +0 -1
- package/dist/designer/data/skills/critique.js +0 -109
- package/dist/designer/data/skills/critique.ts +0 -112
- package/dist/designer/data/skills/dashboard.d.ts +0 -3
- package/dist/designer/data/skills/dashboard.d.ts.map +0 -1
- package/dist/designer/data/skills/dashboard.js +0 -165
- package/dist/designer/data/skills/dashboard.ts +0 -168
- package/dist/designer/data/skills/design-brief.d.ts +0 -3
- package/dist/designer/data/skills/design-brief.d.ts.map +0 -1
- package/dist/designer/data/skills/design-brief.js +0 -141
- package/dist/designer/data/skills/design-brief.ts +0 -144
- package/dist/designer/data/skills/design-skill.d.ts +0 -10
- package/dist/designer/data/skills/design-skill.d.ts.map +0 -1
- package/dist/designer/data/skills/design-skill.js +0 -1
- package/dist/designer/data/skills/design-skill.ts +0 -9
- package/dist/designer/data/skills/docs-page.d.ts +0 -3
- package/dist/designer/data/skills/docs-page.d.ts.map +0 -1
- package/dist/designer/data/skills/docs-page.js +0 -68
- package/dist/designer/data/skills/docs-page.ts +0 -71
- package/dist/designer/data/skills/index.d.ts +0 -3
- package/dist/designer/data/skills/index.d.ts.map +0 -1
- package/dist/designer/data/skills/index.js +0 -28
- package/dist/designer/data/skills/index.ts +0 -30
- package/dist/designer/data/skills/magazine-poster.d.ts +0 -3
- package/dist/designer/data/skills/magazine-poster.d.ts.map +0 -1
- package/dist/designer/data/skills/magazine-poster.js +0 -70
- package/dist/designer/data/skills/magazine-poster.ts +0 -73
- package/dist/designer/data/skills/mobile-app.d.ts +0 -3
- package/dist/designer/data/skills/mobile-app.d.ts.map +0 -1
- package/dist/designer/data/skills/mobile-app.js +0 -229
- package/dist/designer/data/skills/mobile-app.ts +0 -232
- package/dist/designer/data/skills/motion-frames.d.ts +0 -3
- package/dist/designer/data/skills/motion-frames.d.ts.map +0 -1
- package/dist/designer/data/skills/motion-frames.js +0 -121
- package/dist/designer/data/skills/motion-frames.ts +0 -124
- package/dist/designer/data/skills/pricing-page.d.ts +0 -3
- package/dist/designer/data/skills/pricing-page.d.ts.map +0 -1
- package/dist/designer/data/skills/pricing-page.js +0 -76
- package/dist/designer/data/skills/pricing-page.ts +0 -79
- package/dist/designer/data/skills/saas-landing.d.ts +0 -3
- package/dist/designer/data/skills/saas-landing.d.ts.map +0 -1
- package/dist/designer/data/skills/saas-landing.js +0 -71
- package/dist/designer/data/skills/saas-landing.ts +0 -74
- package/dist/designer/data/skills/slide-deck.d.ts +0 -3
- package/dist/designer/data/skills/slide-deck.d.ts.map +0 -1
- package/dist/designer/data/skills/slide-deck.js +0 -213
- package/dist/designer/data/skills/slide-deck.ts +0 -216
- package/dist/designer/data/skills/social-carousel.d.ts +0 -3
- package/dist/designer/data/skills/social-carousel.d.ts.map +0 -1
- package/dist/designer/data/skills/social-carousel.js +0 -135
- package/dist/designer/data/skills/social-carousel.ts +0 -138
- package/dist/designer/data/skills/web-prototype.d.ts +0 -3
- package/dist/designer/data/skills/web-prototype.d.ts.map +0 -1
- package/dist/designer/data/skills/web-prototype.js +0 -159
- package/dist/designer/data/skills/web-prototype.ts +0 -162
- package/dist/designer/data/systems/agentic/DESIGN.md +0 -71
- package/dist/designer/data/systems/agentic/components.html +0 -154
- package/dist/designer/data/systems/agentic/tokens.css +0 -63
- package/dist/designer/data/systems/airbnb/DESIGN.md +0 -393
- package/dist/designer/data/systems/airbnb/components.html +0 -1373
- package/dist/designer/data/systems/airbnb/tokens.css +0 -261
- package/dist/designer/data/systems/airtable/DESIGN.md +0 -92
- package/dist/designer/data/systems/airtable/components.html +0 -489
- package/dist/designer/data/systems/airtable/tokens.css +0 -261
- package/dist/designer/data/systems/ant/DESIGN.md +0 -71
- package/dist/designer/data/systems/ant/components.html +0 -154
- package/dist/designer/data/systems/ant/tokens.css +0 -63
- package/dist/designer/data/systems/apple/DESIGN.md +0 -250
- package/dist/designer/data/systems/apple/components.html +0 -749
- package/dist/designer/data/systems/apple/tokens.css +0 -286
- package/dist/designer/data/systems/application/DESIGN.md +0 -71
- package/dist/designer/data/systems/application/components.html +0 -154
- package/dist/designer/data/systems/application/tokens.css +0 -63
- package/dist/designer/data/systems/arc/DESIGN.md +0 -152
- package/dist/designer/data/systems/arc/components.html +0 -432
- package/dist/designer/data/systems/arc/tokens.css +0 -137
- package/dist/designer/data/systems/artistic/DESIGN.md +0 -71
- package/dist/designer/data/systems/artistic/components.html +0 -136
- package/dist/designer/data/systems/artistic/tokens.css +0 -63
- package/dist/designer/data/systems/atelier-zero/DESIGN.md +0 -316
- package/dist/designer/data/systems/atelier-zero/components.html +0 -136
- package/dist/designer/data/systems/atelier-zero/tokens.css +0 -63
- package/dist/designer/data/systems/bento/DESIGN.md +0 -71
- package/dist/designer/data/systems/bento/components.html +0 -136
- package/dist/designer/data/systems/bento/tokens.css +0 -63
- package/dist/designer/data/systems/binance/DESIGN.md +0 -348
- package/dist/designer/data/systems/binance/components.html +0 -550
- package/dist/designer/data/systems/binance/tokens.css +0 -255
- package/dist/designer/data/systems/bmw/DESIGN.md +0 -183
- package/dist/designer/data/systems/bmw/components.html +0 -551
- package/dist/designer/data/systems/bmw/tokens.css +0 -179
- package/dist/designer/data/systems/bmw-m/DESIGN.md +0 -246
- package/dist/designer/data/systems/bmw-m/components.html +0 -342
- package/dist/designer/data/systems/bmw-m/tokens.css +0 -64
- package/dist/designer/data/systems/bold/DESIGN.md +0 -71
- package/dist/designer/data/systems/bold/components.html +0 -136
- package/dist/designer/data/systems/bold/tokens.css +0 -63
- package/dist/designer/data/systems/brutalism/DESIGN.md +0 -71
- package/dist/designer/data/systems/brutalism/components.html +0 -154
- package/dist/designer/data/systems/brutalism/tokens.css +0 -63
- package/dist/designer/data/systems/bugatti/DESIGN.md +0 -271
- package/dist/designer/data/systems/bugatti/components.html +0 -342
- package/dist/designer/data/systems/bugatti/tokens.css +0 -64
- package/dist/designer/data/systems/cafe/DESIGN.md +0 -71
- package/dist/designer/data/systems/cafe/components.html +0 -136
- package/dist/designer/data/systems/cafe/tokens.css +0 -63
- package/dist/designer/data/systems/cal/DESIGN.md +0 -262
- package/dist/designer/data/systems/cal/components.html +0 -376
- package/dist/designer/data/systems/cal/tokens.css +0 -265
- package/dist/designer/data/systems/canva/DESIGN.md +0 -157
- package/dist/designer/data/systems/canva/components.html +0 -461
- package/dist/designer/data/systems/canva/tokens.css +0 -147
- package/dist/designer/data/systems/cisco/DESIGN.md +0 -201
- package/dist/designer/data/systems/cisco/components.html +0 -342
- package/dist/designer/data/systems/cisco/tokens.css +0 -64
- package/dist/designer/data/systems/claude/DESIGN.md +0 -315
- package/dist/designer/data/systems/claude/components.html +0 -483
- package/dist/designer/data/systems/claude/tokens.css +0 -130
- package/dist/designer/data/systems/clay/DESIGN.md +0 -307
- package/dist/designer/data/systems/clay/components.html +0 -136
- package/dist/designer/data/systems/clay/tokens.css +0 -63
- package/dist/designer/data/systems/claymorphism/DESIGN.md +0 -71
- package/dist/designer/data/systems/claymorphism/components.html +0 -136
- package/dist/designer/data/systems/claymorphism/tokens.css +0 -63
- package/dist/designer/data/systems/clean/DESIGN.md +0 -71
- package/dist/designer/data/systems/clean/components.html +0 -136
- package/dist/designer/data/systems/clean/tokens.css +0 -63
- package/dist/designer/data/systems/clickhouse/DESIGN.md +0 -284
- package/dist/designer/data/systems/clickhouse/components.html +0 -506
- package/dist/designer/data/systems/clickhouse/tokens.css +0 -135
- package/dist/designer/data/systems/cohere/DESIGN.md +0 -269
- package/dist/designer/data/systems/cohere/components.html +0 -353
- package/dist/designer/data/systems/cohere/tokens.css +0 -126
- package/dist/designer/data/systems/coinbase/DESIGN.md +0 -132
- package/dist/designer/data/systems/coinbase/components.html +0 -501
- package/dist/designer/data/systems/coinbase/tokens.css +0 -257
- package/dist/designer/data/systems/colorful/DESIGN.md +0 -71
- package/dist/designer/data/systems/colorful/components.html +0 -136
- package/dist/designer/data/systems/colorful/tokens.css +0 -63
- package/dist/designer/data/systems/composio/DESIGN.md +0 -310
- package/dist/designer/data/systems/composio/components.html +0 -342
- package/dist/designer/data/systems/composio/tokens.css +0 -64
- package/dist/designer/data/systems/contemporary/DESIGN.md +0 -71
- package/dist/designer/data/systems/contemporary/components.html +0 -136
- package/dist/designer/data/systems/contemporary/tokens.css +0 -63
- package/dist/designer/data/systems/corporate/DESIGN.md +0 -71
- package/dist/designer/data/systems/corporate/components.html +0 -136
- package/dist/designer/data/systems/corporate/tokens.css +0 -63
- package/dist/designer/data/systems/cosmic/DESIGN.md +0 -71
- package/dist/designer/data/systems/cosmic/components.html +0 -136
- package/dist/designer/data/systems/cosmic/tokens.css +0 -63
- package/dist/designer/data/systems/creative/DESIGN.md +0 -71
- package/dist/designer/data/systems/creative/components.html +0 -136
- package/dist/designer/data/systems/creative/tokens.css +0 -63
- package/dist/designer/data/systems/cursor/DESIGN.md +0 -312
- package/dist/designer/data/systems/cursor/components.html +0 -654
- package/dist/designer/data/systems/cursor/tokens.css +0 -218
- package/dist/designer/data/systems/dashboard/DESIGN.md +0 -71
- package/dist/designer/data/systems/dashboard/components.html +0 -154
- package/dist/designer/data/systems/dashboard/tokens.css +0 -63
- package/dist/designer/data/systems/default/DESIGN.md +0 -62
- package/dist/designer/data/systems/default/components.html +0 -523
- package/dist/designer/data/systems/default/tokens.css +0 -200
- package/dist/designer/data/systems/discord/DESIGN.md +0 -162
- package/dist/designer/data/systems/discord/components.html +0 -359
- package/dist/designer/data/systems/discord/tokens.css +0 -125
- package/dist/designer/data/systems/dithered/DESIGN.md +0 -71
- package/dist/designer/data/systems/dithered/components.html +0 -136
- package/dist/designer/data/systems/dithered/tokens.css +0 -63
- package/dist/designer/data/systems/doodle/DESIGN.md +0 -71
- package/dist/designer/data/systems/doodle/components.html +0 -136
- package/dist/designer/data/systems/doodle/tokens.css +0 -63
- package/dist/designer/data/systems/dramatic/DESIGN.md +0 -71
- package/dist/designer/data/systems/dramatic/components.html +0 -136
- package/dist/designer/data/systems/dramatic/tokens.css +0 -63
- package/dist/designer/data/systems/duolingo/DESIGN.md +0 -154
- package/dist/designer/data/systems/duolingo/components.html +0 -532
- package/dist/designer/data/systems/duolingo/tokens.css +0 -130
- package/dist/designer/data/systems/editorial/DESIGN.md +0 -71
- package/dist/designer/data/systems/editorial/components.html +0 -154
- package/dist/designer/data/systems/editorial/tokens.css +0 -63
- package/dist/designer/data/systems/elegant/DESIGN.md +0 -71
- package/dist/designer/data/systems/elegant/components.html +0 -136
- package/dist/designer/data/systems/elegant/tokens.css +0 -63
- package/dist/designer/data/systems/elevenlabs/DESIGN.md +0 -268
- package/dist/designer/data/systems/elevenlabs/components.html +0 -342
- package/dist/designer/data/systems/elevenlabs/tokens.css +0 -127
- package/dist/designer/data/systems/energetic/DESIGN.md +0 -72
- package/dist/designer/data/systems/energetic/components.html +0 -136
- package/dist/designer/data/systems/energetic/tokens.css +0 -63
- package/dist/designer/data/systems/enterprise/DESIGN.md +0 -71
- package/dist/designer/data/systems/enterprise/components.html +0 -154
- package/dist/designer/data/systems/enterprise/tokens.css +0 -63
- package/dist/designer/data/systems/expo/DESIGN.md +0 -284
- package/dist/designer/data/systems/expo/components.html +0 -342
- package/dist/designer/data/systems/expo/tokens.css +0 -64
- package/dist/designer/data/systems/expressive/DESIGN.md +0 -71
- package/dist/designer/data/systems/expressive/components.html +0 -136
- package/dist/designer/data/systems/expressive/tokens.css +0 -63
- package/dist/designer/data/systems/fantasy/DESIGN.md +0 -71
- package/dist/designer/data/systems/fantasy/components.html +0 -136
- package/dist/designer/data/systems/fantasy/tokens.css +0 -63
- package/dist/designer/data/systems/ferrari/DESIGN.md +0 -317
- package/dist/designer/data/systems/ferrari/components.html +0 -342
- package/dist/designer/data/systems/ferrari/tokens.css +0 -64
- package/dist/designer/data/systems/figma/DESIGN.md +0 -223
- package/dist/designer/data/systems/figma/components.html +0 -344
- package/dist/designer/data/systems/figma/tokens.css +0 -126
- package/dist/designer/data/systems/flat/DESIGN.md +0 -71
- package/dist/designer/data/systems/flat/components.html +0 -136
- package/dist/designer/data/systems/flat/tokens.css +0 -63
- package/dist/designer/data/systems/framer/DESIGN.md +0 -249
- package/dist/designer/data/systems/framer/components.html +0 -438
- package/dist/designer/data/systems/framer/tokens.css +0 -238
- package/dist/designer/data/systems/friendly/DESIGN.md +0 -71
- package/dist/designer/data/systems/friendly/components.html +0 -136
- package/dist/designer/data/systems/friendly/tokens.css +0 -63
- package/dist/designer/data/systems/futuristic/DESIGN.md +0 -71
- package/dist/designer/data/systems/futuristic/components.html +0 -136
- package/dist/designer/data/systems/futuristic/tokens.css +0 -63
- package/dist/designer/data/systems/github/DESIGN.md +0 -155
- package/dist/designer/data/systems/github/components.html +0 -383
- package/dist/designer/data/systems/github/tokens.css +0 -125
- package/dist/designer/data/systems/glassmorphism/DESIGN.md +0 -71
- package/dist/designer/data/systems/glassmorphism/components.html +0 -154
- package/dist/designer/data/systems/glassmorphism/tokens.css +0 -63
- package/dist/designer/data/systems/gradient/DESIGN.md +0 -71
- package/dist/designer/data/systems/gradient/components.html +0 -154
- package/dist/designer/data/systems/gradient/tokens.css +0 -63
- package/dist/designer/data/systems/hashicorp/DESIGN.md +0 -281
- package/dist/designer/data/systems/hashicorp/components.html +0 -502
- package/dist/designer/data/systems/hashicorp/tokens.css +0 -272
- package/dist/designer/data/systems/hud/DESIGN.md +0 -173
- package/dist/designer/data/systems/hud/components.html +0 -136
- package/dist/designer/data/systems/hud/tokens.css +0 -63
- package/dist/designer/data/systems/huggingface/DESIGN.md +0 -149
- package/dist/designer/data/systems/huggingface/components.html +0 -346
- package/dist/designer/data/systems/huggingface/tokens.css +0 -125
- package/dist/designer/data/systems/ibm/DESIGN.md +0 -335
- package/dist/designer/data/systems/ibm/components.html +0 -342
- package/dist/designer/data/systems/ibm/tokens.css +0 -64
- package/dist/designer/data/systems/intercom/DESIGN.md +0 -149
- package/dist/designer/data/systems/intercom/components.html +0 -557
- package/dist/designer/data/systems/intercom/tokens.css +0 -150
- package/dist/designer/data/systems/kami/DESIGN.md +0 -410
- package/dist/designer/data/systems/kami/components.html +0 -601
- package/dist/designer/data/systems/kami/tokens.css +0 -272
- package/dist/designer/data/systems/kraken/DESIGN.md +0 -128
- package/dist/designer/data/systems/kraken/components.html +0 -342
- package/dist/designer/data/systems/kraken/tokens.css +0 -64
- package/dist/designer/data/systems/lamborghini/DESIGN.md +0 -291
- package/dist/designer/data/systems/lamborghini/components.html +0 -342
- package/dist/designer/data/systems/lamborghini/tokens.css +0 -64
- package/dist/designer/data/systems/levels/DESIGN.md +0 -71
- package/dist/designer/data/systems/levels/components.html +0 -154
- package/dist/designer/data/systems/levels/tokens.css +0 -63
- package/dist/designer/data/systems/linear-app/DESIGN.md +0 -370
- package/dist/designer/data/systems/linear-app/components.html +0 -370
- package/dist/designer/data/systems/linear-app/tokens.css +0 -130
- package/dist/designer/data/systems/lingo/DESIGN.md +0 -71
- package/dist/designer/data/systems/lingo/components.html +0 -154
- package/dist/designer/data/systems/lingo/tokens.css +0 -63
- package/dist/designer/data/systems/loom/DESIGN.md +0 -201
- package/dist/designer/data/systems/loom/components.html +0 -446
- package/dist/designer/data/systems/loom/tokens.css +0 -138
- package/dist/designer/data/systems/lovable/DESIGN.md +0 -301
- package/dist/designer/data/systems/lovable/components.html +0 -441
- package/dist/designer/data/systems/lovable/tokens.css +0 -258
- package/dist/designer/data/systems/luxury/DESIGN.md +0 -71
- package/dist/designer/data/systems/luxury/components.html +0 -154
- package/dist/designer/data/systems/luxury/tokens.css +0 -63
- package/dist/designer/data/systems/mastercard/DESIGN.md +0 -368
- package/dist/designer/data/systems/mastercard/components.html +0 -342
- package/dist/designer/data/systems/mastercard/tokens.css +0 -64
- package/dist/designer/data/systems/material/DESIGN.md +0 -71
- package/dist/designer/data/systems/material/components.html +0 -154
- package/dist/designer/data/systems/material/tokens.css +0 -63
- package/dist/designer/data/systems/meta/DESIGN.md +0 -369
- package/dist/designer/data/systems/meta/components.html +0 -398
- package/dist/designer/data/systems/meta/tokens.css +0 -263
- package/dist/designer/data/systems/minimal/DESIGN.md +0 -71
- package/dist/designer/data/systems/minimal/components.html +0 -154
- package/dist/designer/data/systems/minimal/tokens.css +0 -63
- package/dist/designer/data/systems/minimax/DESIGN.md +0 -260
- package/dist/designer/data/systems/minimax/components.html +0 -590
- package/dist/designer/data/systems/minimax/tokens.css +0 -148
- package/dist/designer/data/systems/mintlify/DESIGN.md +0 -329
- package/dist/designer/data/systems/mintlify/components.html +0 -737
- package/dist/designer/data/systems/mintlify/tokens.css +0 -256
- package/dist/designer/data/systems/miro/DESIGN.md +0 -111
- package/dist/designer/data/systems/miro/components.html +0 -342
- package/dist/designer/data/systems/miro/tokens.css +0 -64
- package/dist/designer/data/systems/mission-control/DESIGN.md +0 -474
- package/dist/designer/data/systems/mission-control/components.html +0 -136
- package/dist/designer/data/systems/mission-control/tokens.css +0 -63
- package/dist/designer/data/systems/mistral-ai/DESIGN.md +0 -264
- package/dist/designer/data/systems/mistral-ai/components.html +0 -338
- package/dist/designer/data/systems/mistral-ai/tokens.css +0 -125
- package/dist/designer/data/systems/modern/DESIGN.md +0 -71
- package/dist/designer/data/systems/modern/components.html +0 -154
- package/dist/designer/data/systems/modern/tokens.css +0 -63
- package/dist/designer/data/systems/mongodb/DESIGN.md +0 -269
- package/dist/designer/data/systems/mongodb/components.html +0 -462
- package/dist/designer/data/systems/mongodb/tokens.css +0 -176
- package/dist/designer/data/systems/mono/DESIGN.md +0 -71
- package/dist/designer/data/systems/mono/components.html +0 -136
- package/dist/designer/data/systems/mono/tokens.css +0 -63
- package/dist/designer/data/systems/neobrutalism/DESIGN.md +0 -71
- package/dist/designer/data/systems/neobrutalism/components.html +0 -136
- package/dist/designer/data/systems/neobrutalism/tokens.css +0 -63
- package/dist/designer/data/systems/neon/DESIGN.md +0 -71
- package/dist/designer/data/systems/neon/components.html +0 -136
- package/dist/designer/data/systems/neon/tokens.css +0 -63
- package/dist/designer/data/systems/neumorphism/DESIGN.md +0 -71
- package/dist/designer/data/systems/neumorphism/components.html +0 -136
- package/dist/designer/data/systems/neumorphism/tokens.css +0 -63
- package/dist/designer/data/systems/nike/DESIGN.md +0 -366
- package/dist/designer/data/systems/nike/components.html +0 -512
- package/dist/designer/data/systems/nike/tokens.css +0 -304
- package/dist/designer/data/systems/notion/DESIGN.md +0 -312
- package/dist/designer/data/systems/notion/components.html +0 -413
- package/dist/designer/data/systems/notion/tokens.css +0 -130
- package/dist/designer/data/systems/nvidia/DESIGN.md +0 -296
- package/dist/designer/data/systems/nvidia/components.html +0 -414
- package/dist/designer/data/systems/nvidia/tokens.css +0 -133
- package/dist/designer/data/systems/ollama/DESIGN.md +0 -270
- package/dist/designer/data/systems/ollama/components.html +0 -700
- package/dist/designer/data/systems/ollama/tokens.css +0 -242
- package/dist/designer/data/systems/openai/DESIGN.md +0 -140
- package/dist/designer/data/systems/openai/components.html +0 -382
- package/dist/designer/data/systems/openai/tokens.css +0 -133
- package/dist/designer/data/systems/opencode-ai/DESIGN.md +0 -284
- package/dist/designer/data/systems/opencode-ai/components.html +0 -389
- package/dist/designer/data/systems/opencode-ai/tokens.css +0 -126
- package/dist/designer/data/systems/pacman/DESIGN.md +0 -71
- package/dist/designer/data/systems/pacman/components.html +0 -342
- package/dist/designer/data/systems/pacman/tokens.css +0 -64
- package/dist/designer/data/systems/paper/DESIGN.md +0 -71
- package/dist/designer/data/systems/paper/components.html +0 -136
- package/dist/designer/data/systems/paper/tokens.css +0 -63
- package/dist/designer/data/systems/perplexity/DESIGN.md +0 -286
- package/dist/designer/data/systems/perplexity/components.html +0 -455
- package/dist/designer/data/systems/perplexity/tokens.css +0 -151
- package/dist/designer/data/systems/perspective/DESIGN.md +0 -71
- package/dist/designer/data/systems/perspective/components.html +0 -136
- package/dist/designer/data/systems/perspective/tokens.css +0 -63
- package/dist/designer/data/systems/pinterest/DESIGN.md +0 -233
- package/dist/designer/data/systems/pinterest/components.html +0 -865
- package/dist/designer/data/systems/pinterest/tokens.css +0 -262
- package/dist/designer/data/systems/playstation/DESIGN.md +0 -367
- package/dist/designer/data/systems/playstation/components.html +0 -414
- package/dist/designer/data/systems/playstation/tokens.css +0 -150
- package/dist/designer/data/systems/posthog/DESIGN.md +0 -259
- package/dist/designer/data/systems/posthog/components.html +0 -827
- package/dist/designer/data/systems/posthog/tokens.css +0 -272
- package/dist/designer/data/systems/premium/DESIGN.md +0 -71
- package/dist/designer/data/systems/premium/components.html +0 -154
- package/dist/designer/data/systems/premium/tokens.css +0 -63
- package/dist/designer/data/systems/professional/DESIGN.md +0 -71
- package/dist/designer/data/systems/professional/components.html +0 -136
- package/dist/designer/data/systems/professional/tokens.css +0 -63
- package/dist/designer/data/systems/publication/DESIGN.md +0 -71
- package/dist/designer/data/systems/publication/components.html +0 -154
- package/dist/designer/data/systems/publication/tokens.css +0 -63
- package/dist/designer/data/systems/raycast/DESIGN.md +0 -271
- package/dist/designer/data/systems/raycast/components.html +0 -507
- package/dist/designer/data/systems/raycast/tokens.css +0 -143
- package/dist/designer/data/systems/refined/DESIGN.md +0 -71
- package/dist/designer/data/systems/refined/components.html +0 -136
- package/dist/designer/data/systems/refined/tokens.css +0 -63
- package/dist/designer/data/systems/renault/DESIGN.md +0 -314
- package/dist/designer/data/systems/renault/components.html +0 -154
- package/dist/designer/data/systems/renault/tokens.css +0 -63
- package/dist/designer/data/systems/replicate/DESIGN.md +0 -264
- package/dist/designer/data/systems/replicate/components.html +0 -340
- package/dist/designer/data/systems/replicate/tokens.css +0 -125
- package/dist/designer/data/systems/resend/DESIGN.md +0 -306
- package/dist/designer/data/systems/resend/components.html +0 -839
- package/dist/designer/data/systems/resend/tokens.css +0 -353
- package/dist/designer/data/systems/retro/DESIGN.md +0 -71
- package/dist/designer/data/systems/retro/components.html +0 -136
- package/dist/designer/data/systems/retro/tokens.css +0 -63
- package/dist/designer/data/systems/revolut/DESIGN.md +0 -188
- package/dist/designer/data/systems/revolut/components.html +0 -342
- package/dist/designer/data/systems/revolut/tokens.css +0 -64
- package/dist/designer/data/systems/runwayml/DESIGN.md +0 -247
- package/dist/designer/data/systems/runwayml/components.html +0 -638
- package/dist/designer/data/systems/runwayml/tokens.css +0 -204
- package/dist/designer/data/systems/sanity/DESIGN.md +0 -360
- package/dist/designer/data/systems/sanity/components.html +0 -342
- package/dist/designer/data/systems/sanity/tokens.css +0 -64
- package/dist/designer/data/systems/sentry/DESIGN.md +0 -265
- package/dist/designer/data/systems/sentry/components.html +0 -387
- package/dist/designer/data/systems/sentry/tokens.css +0 -219
- package/dist/designer/data/systems/shadcn/DESIGN.md +0 -71
- package/dist/designer/data/systems/shadcn/components.html +0 -732
- package/dist/designer/data/systems/shadcn/tokens.css +0 -255
- package/dist/designer/data/systems/shopify/DESIGN.md +0 -353
- package/dist/designer/data/systems/shopify/components.html +0 -342
- package/dist/designer/data/systems/shopify/tokens.css +0 -141
- package/dist/designer/data/systems/simple/DESIGN.md +0 -71
- package/dist/designer/data/systems/simple/components.html +0 -136
- package/dist/designer/data/systems/simple/tokens.css +0 -63
- package/dist/designer/data/systems/skeumorphism/DESIGN.md +0 -71
- package/dist/designer/data/systems/skeumorphism/components.html +0 -136
- package/dist/designer/data/systems/skeumorphism/tokens.css +0 -63
- package/dist/designer/data/systems/slack/DESIGN.md +0 -363
- package/dist/designer/data/systems/slack/components.html +0 -387
- package/dist/designer/data/systems/slack/tokens.css +0 -127
- package/dist/designer/data/systems/sleek/DESIGN.md +0 -71
- package/dist/designer/data/systems/sleek/components.html +0 -136
- package/dist/designer/data/systems/sleek/tokens.css +0 -63
- package/dist/designer/data/systems/spacex/DESIGN.md +0 -197
- package/dist/designer/data/systems/spacex/components.html +0 -496
- package/dist/designer/data/systems/spacex/tokens.css +0 -154
- package/dist/designer/data/systems/spacious/DESIGN.md +0 -71
- package/dist/designer/data/systems/spacious/components.html +0 -136
- package/dist/designer/data/systems/spacious/tokens.css +0 -63
- package/dist/designer/data/systems/spotify/DESIGN.md +0 -249
- package/dist/designer/data/systems/spotify/components.html +0 -365
- package/dist/designer/data/systems/spotify/tokens.css +0 -127
- package/dist/designer/data/systems/starbucks/DESIGN.md +0 -583
- package/dist/designer/data/systems/starbucks/components.html +0 -493
- package/dist/designer/data/systems/starbucks/tokens.css +0 -182
- package/dist/designer/data/systems/storytelling/DESIGN.md +0 -71
- package/dist/designer/data/systems/storytelling/components.html +0 -136
- package/dist/designer/data/systems/storytelling/tokens.css +0 -63
- package/dist/designer/data/systems/stripe/DESIGN.md +0 -325
- package/dist/designer/data/systems/stripe/components.html +0 -1018
- package/dist/designer/data/systems/stripe/tokens.css +0 -295
- package/dist/designer/data/systems/supabase/DESIGN.md +0 -258
- package/dist/designer/data/systems/supabase/components.html +0 -741
- package/dist/designer/data/systems/supabase/tokens.css +0 -294
- package/dist/designer/data/systems/superhuman/DESIGN.md +0 -255
- package/dist/designer/data/systems/superhuman/components.html +0 -537
- package/dist/designer/data/systems/superhuman/tokens.css +0 -160
- package/dist/designer/data/systems/tesla/DESIGN.md +0 -289
- package/dist/designer/data/systems/tesla/components.html +0 -724
- package/dist/designer/data/systems/tesla/tokens.css +0 -285
- package/dist/designer/data/systems/tetris/DESIGN.md +0 -71
- package/dist/designer/data/systems/tetris/components.html +0 -342
- package/dist/designer/data/systems/tetris/tokens.css +0 -64
- package/dist/designer/data/systems/theverge/DESIGN.md +0 -342
- package/dist/designer/data/systems/theverge/components.html +0 -342
- package/dist/designer/data/systems/theverge/tokens.css +0 -64
- package/dist/designer/data/systems/together-ai/DESIGN.md +0 -266
- package/dist/designer/data/systems/together-ai/components.html +0 -422
- package/dist/designer/data/systems/together-ai/tokens.css +0 -127
- package/dist/designer/data/systems/totality-festival/DESIGN.md +0 -206
- package/dist/designer/data/systems/totality-festival/components.html +0 -136
- package/dist/designer/data/systems/totality-festival/tokens.css +0 -63
- package/dist/designer/data/systems/trading-terminal/DESIGN.md +0 -178
- package/dist/designer/data/systems/trading-terminal/components.html +0 -154
- package/dist/designer/data/systems/trading-terminal/tokens.css +0 -63
- package/dist/designer/data/systems/uber/DESIGN.md +0 -298
- package/dist/designer/data/systems/uber/components.html +0 -347
- package/dist/designer/data/systems/uber/tokens.css +0 -131
- package/dist/designer/data/systems/urdu/DESIGN.md +0 -1002
- package/dist/designer/data/systems/urdu/components.html +0 -136
- package/dist/designer/data/systems/urdu/tokens.css +0 -63
- package/dist/designer/data/systems/vercel/DESIGN.md +0 -313
- package/dist/designer/data/systems/vercel/components.html +0 -839
- package/dist/designer/data/systems/vercel/tokens.css +0 -270
- package/dist/designer/data/systems/vibrant/DESIGN.md +0 -71
- package/dist/designer/data/systems/vibrant/components.html +0 -136
- package/dist/designer/data/systems/vibrant/tokens.css +0 -63
- package/dist/designer/data/systems/vintage/DESIGN.md +0 -71
- package/dist/designer/data/systems/vintage/components.html +0 -136
- package/dist/designer/data/systems/vintage/tokens.css +0 -63
- package/dist/designer/data/systems/vodafone/DESIGN.md +0 -426
- package/dist/designer/data/systems/vodafone/components.html +0 -342
- package/dist/designer/data/systems/vodafone/tokens.css +0 -64
- package/dist/designer/data/systems/voltagent/DESIGN.md +0 -326
- package/dist/designer/data/systems/voltagent/components.html +0 -154
- package/dist/designer/data/systems/voltagent/tokens.css +0 -63
- package/dist/designer/data/systems/warm-editorial/DESIGN.md +0 -65
- package/dist/designer/data/systems/warm-editorial/components.html +0 -136
- package/dist/designer/data/systems/warm-editorial/tokens.css +0 -63
- package/dist/designer/data/systems/warp/DESIGN.md +0 -256
- package/dist/designer/data/systems/warp/components.html +0 -411
- package/dist/designer/data/systems/warp/tokens.css +0 -156
- package/dist/designer/data/systems/webex/DESIGN.md +0 -207
- package/dist/designer/data/systems/webex/components.html +0 -342
- package/dist/designer/data/systems/webex/tokens.css +0 -64
- package/dist/designer/data/systems/webflow/DESIGN.md +0 -95
- package/dist/designer/data/systems/webflow/components.html +0 -413
- package/dist/designer/data/systems/webflow/tokens.css +0 -191
- package/dist/designer/data/systems/wechat/DESIGN.md +0 -302
- package/dist/designer/data/systems/wechat/components.html +0 -507
- package/dist/designer/data/systems/wechat/tokens.css +0 -176
- package/dist/designer/data/systems/wired/DESIGN.md +0 -281
- package/dist/designer/data/systems/wired/components.html +0 -342
- package/dist/designer/data/systems/wired/tokens.css +0 -64
- package/dist/designer/data/systems/wise/DESIGN.md +0 -176
- package/dist/designer/data/systems/wise/components.html +0 -365
- package/dist/designer/data/systems/wise/tokens.css +0 -141
- package/dist/designer/data/systems/x-ai/DESIGN.md +0 -260
- package/dist/designer/data/systems/x-ai/components.html +0 -460
- package/dist/designer/data/systems/x-ai/tokens.css +0 -268
- package/dist/designer/data/systems/xiaohongshu/DESIGN.md +0 -402
- package/dist/designer/data/systems/xiaohongshu/components.html +0 -865
- package/dist/designer/data/systems/xiaohongshu/tokens.css +0 -193
- package/dist/designer/data/systems/zapier/DESIGN.md +0 -331
- package/dist/designer/data/systems/zapier/components.html +0 -342
- package/dist/designer/data/systems/zapier/tokens.css +0 -64
- package/dist/designer/guidelines.d.ts +0 -23
- package/dist/designer/guidelines.d.ts.map +0 -1
- package/dist/designer/guidelines.js +0 -176
- package/dist/designer/philosophies.d.ts +0 -33
- package/dist/designer/philosophies.d.ts.map +0 -1
- package/dist/designer/philosophies.js +0 -668
- package/dist/designer/skills.d.ts +0 -21
- package/dist/designer/skills.d.ts.map +0 -1
- package/dist/designer/skills.js +0 -34
- package/dist/designer/systems.d.ts +0 -36
- package/dist/designer/systems.d.ts.map +0 -1
- package/dist/designer/systems.js +0 -221
|
@@ -1,141 +0,0 @@
|
|
|
1
|
-
export const designBrief = {
|
|
2
|
-
name: "design-brief",
|
|
3
|
-
scenario: "design",
|
|
4
|
-
description: "Parse a design brief into concrete tokens. Resolves 8 design dimensions (palette, accent, typography, display, layout, mood, density, constraints) from natural language or I-Lang structured format, then generates a DESIGN.md and visual preview.",
|
|
5
|
-
outputKind: "html",
|
|
6
|
-
workflow: `# Design Brief Skill
|
|
7
|
-
|
|
8
|
-
Parse a structured or natural-language design brief into a concrete DESIGN.md and optional visual preview HTML.
|
|
9
|
-
|
|
10
|
-
## Background
|
|
11
|
-
|
|
12
|
-
This skill resolves the 8 key design dimensions that every design artifact needs, using a closed vocabulary of symbolic values that map to concrete CSS tokens. It eliminates ambiguity from vague requests like "make it clean" or "make it professional."
|
|
13
|
-
|
|
14
|
-
## Phase 1 — Accept input
|
|
15
|
-
|
|
16
|
-
The user provides a design brief in one of two formats:
|
|
17
|
-
|
|
18
|
-
### Option A: I-Lang structured brief
|
|
19
|
-
\`\`\`
|
|
20
|
-
[PLAN:@DESIGN|type=saas_landing]
|
|
21
|
-
|palette=navy_and_white|accent=coral
|
|
22
|
-
|typography=inter|display=space_grotesk
|
|
23
|
-
|layout=single_column|max_width=1200px
|
|
24
|
-
|mood=professional_minimal
|
|
25
|
-
|density=spacious|section_gap=96px
|
|
26
|
-
|hero=headline+subhead+cta
|
|
27
|
-
|sections=features,pricing,testimonials,footer
|
|
28
|
-
|exclude=animations,parallax,gradients
|
|
29
|
-
|responsive=mobile_first
|
|
30
|
-
\`\`\`
|
|
31
|
-
|
|
32
|
-
### Option B: Natural language
|
|
33
|
-
> "I need a landing page for a developer tool. Clean, minimal, dark mode. Inter font. No flashy animations."
|
|
34
|
-
|
|
35
|
-
If the user provides Option B, convert it using the mapping table below, then proceed.
|
|
36
|
-
|
|
37
|
-
### Natural language → I-Lang mapping
|
|
38
|
-
|
|
39
|
-
| Natural language phrase | Dimension | I-Lang value |
|
|
40
|
-
|------------------------|-----------|-------------|
|
|
41
|
-
| "dark mode", "dark theme" | palette | \`monochrome_dark\` |
|
|
42
|
-
| "light", "white background" | palette | \`light_clean\` |
|
|
43
|
-
| "earthy", "warm tones" | palette | \`earth_tones\` |
|
|
44
|
-
| "pop of color", "vibrant" | accent | \`electric_blue\` or \`coral\` |
|
|
45
|
-
| "subtle accent" | accent | \`muted_sage\` or \`slate\` |
|
|
46
|
-
| "clean", "minimal", "simple" | mood | \`professional_minimal\` |
|
|
47
|
-
| "playful", "fun", "friendly" | mood | \`playful\` |
|
|
48
|
-
| "bold", "brutalist", "raw" | mood | \`brutalist\` |
|
|
49
|
-
| "editorial", "magazine-like" | mood | \`editorial\` |
|
|
50
|
-
| "spacious", "lots of whitespace" | density | \`spacious\` |
|
|
51
|
-
| "compact", "dense", "information-rich" | density | \`compact\` |
|
|
52
|
-
| "Inter", "system font" | typography | \`inter\` or \`system_ui\` |
|
|
53
|
-
| "serif", "traditional" | typography | \`georgia\` or \`playfair\` |
|
|
54
|
-
| "monospace", "code-like" | typography | \`jetbrains_mono\` |
|
|
55
|
-
| "no animations", "static" | exclude | \`animations\` |
|
|
56
|
-
| "no gradients" | exclude | \`gradients\` |
|
|
57
|
-
| "single page" | layout | \`single_column\` |
|
|
58
|
-
| "two columns", "sidebar" | layout | \`two_column\` |
|
|
59
|
-
| "mobile first" | responsive | \`mobile_first\` |
|
|
60
|
-
|
|
61
|
-
## Phase 2 — Validate 8 dimensions
|
|
62
|
-
|
|
63
|
-
Every design brief must resolve these 8 dimensions. If any are missing, select sensible defaults:
|
|
64
|
-
|
|
65
|
-
| # | Dimension | Key | Example values |
|
|
66
|
-
|---|-----------|-----|---------------|
|
|
67
|
-
| 1 | Color palette | \`palette\` | navy_and_white, earth_tones, monochrome_dark, light_clean |
|
|
68
|
-
| 2 | Accent color | \`accent\` | coral, electric_blue, emerald, muted_sage, slate |
|
|
69
|
-
| 3 | Body typography | \`typography\` | inter, system_ui, dm_sans, georgia |
|
|
70
|
-
| 4 | Display typography | \`display\` | space_grotesk, clash_display, same_as_body, playfair |
|
|
71
|
-
| 5 | Layout model | \`layout\` | single_column, two_column, asymmetric |
|
|
72
|
-
| 6 | Mood | \`mood\` | professional_minimal, playful, brutalist, editorial |
|
|
73
|
-
| 7 | Density | \`density\` | compact, balanced, spacious |
|
|
74
|
-
| 8 | Constraints | \`exclude\` | animations, gradients, stock_photos, carousel |
|
|
75
|
-
|
|
76
|
-
### Symbolic → concrete token resolution
|
|
77
|
-
|
|
78
|
-
| Symbolic value | Concrete tokens |
|
|
79
|
-
|---------------|----------------|
|
|
80
|
-
| \`palette=navy_and_white\` | Background: #0F172A, Surface: #1E293B, Text: #F8FAFC, Secondary: #94A3B8 |
|
|
81
|
-
| \`palette=monochrome_dark\` | Background: #09090B, Surface: #18181B, Text: #FAFAFA, Secondary: #A1A1AA |
|
|
82
|
-
| \`palette=light_clean\` | Background: #FFFFFF, Surface: #F8FAFC, Text: #0F172A, Secondary: #64748B |
|
|
83
|
-
| \`palette=earth_tones\` | Background: #FFFBEB, Surface: #FEF3C7, Text: #451A03, Secondary: #92400E |
|
|
84
|
-
| \`accent=coral\` | Accent: #F97316, Hover: #EA580C |
|
|
85
|
-
| \`accent=electric_blue\` | Accent: #3B82F6, Hover: #2563EB |
|
|
86
|
-
| \`accent=emerald\` | Accent: #10B981, Hover: #059669 |
|
|
87
|
-
| \`accent=muted_sage\` | Accent: #84A98C, Hover: #6B8F73 |
|
|
88
|
-
| \`accent=slate\` | Accent: #64748B, Hover: #475569 |
|
|
89
|
-
| \`density=compact\` | Section spacing: 48px, Content padding: 16px/24px |
|
|
90
|
-
| \`density=balanced\` | Section spacing: 72px, Content padding: 24px/40px |
|
|
91
|
-
| \`density=spacious\` | Section spacing: 96px, Content padding: 24px/48px |
|
|
92
|
-
|
|
93
|
-
### Default resolution rules
|
|
94
|
-
|
|
95
|
-
| Unspecified dimension | Default rule |
|
|
96
|
-
|----------------------|-------------|
|
|
97
|
-
| \`palette\` | If mood=editorial → \`light_clean\`. If mood=brutalist → \`monochrome_dark\`. Else → \`light_clean\`. |
|
|
98
|
-
| \`accent\` | If palette is dark → \`coral\`. If palette is light → \`electric_blue\`. |
|
|
99
|
-
| \`typography\` | Always → \`inter\` (highest cross-platform legibility). |
|
|
100
|
-
| \`display\` | If mood=editorial → \`playfair\`. If mood=brutalist → \`space_grotesk\`. Else → \`same_as_body\`. |
|
|
101
|
-
| \`layout\` | Always → \`single_column\`. |
|
|
102
|
-
| \`mood\` | Always → \`professional_minimal\`. |
|
|
103
|
-
| \`density\` | Always → \`balanced\`. |
|
|
104
|
-
| \`exclude\` | Always → none (no constraints unless specified). |
|
|
105
|
-
|
|
106
|
-
## Phase 3 — Generate DESIGN.md
|
|
107
|
-
|
|
108
|
-
Produce a DESIGN.md with these sections:
|
|
109
|
-
1. **Visual Theme & Atmosphere** — mood, feel, references
|
|
110
|
-
2. **Color Palette & Roles** — background, surface, text, accent, semantic colors
|
|
111
|
-
3. **Typography Rules** — display, body, mono font specs with sizes
|
|
112
|
-
4. **Component Stylings** — buttons, cards, inputs with concrete CSS values
|
|
113
|
-
5. **Layout Principles** — max width, grid, section spacing, content padding
|
|
114
|
-
6. **Depth & Elevation** — shadows, borders
|
|
115
|
-
7. **Do's and Don'ts** — 5-6 rules for agents
|
|
116
|
-
8. **Responsive Behavior** — breakpoints at 640px, 768px, 1024px, 1280px
|
|
117
|
-
9. **Agent Prompt Guide** — constraints for code generation
|
|
118
|
-
|
|
119
|
-
All color hex values, font stacks, and spacing values must come from the resolved tokens in Phase 2 — do not invent values.
|
|
120
|
-
|
|
121
|
-
## Phase 4 — Generate brief-preview.html
|
|
122
|
-
|
|
123
|
-
Create a single HTML file visualizing the resolved tokens with 4 sections:
|
|
124
|
-
1. **Color palette swatches** — labeled with role and hex code
|
|
125
|
-
2. **Typography specimens** — Display, Body, and Mono at declared sizes
|
|
126
|
-
3. **Spacing ruler** — section spacing and content padding, labeled
|
|
127
|
-
4. **Component preview** — 2-3 live components (button, card, input) using the resolved tokens
|
|
128
|
-
|
|
129
|
-
Style the preview itself with the resolved design system tokens.
|
|
130
|
-
|
|
131
|
-
## Phase 5 — Report defaults applied
|
|
132
|
-
|
|
133
|
-
List any dimensions the user did not specify and the defaults applied:
|
|
134
|
-
\`\`\`
|
|
135
|
-
Dimensions resolved from defaults:
|
|
136
|
-
- display: set to "same_as_body" (rule: mood=professional_minimal → same_as_body)
|
|
137
|
-
- density: set to "balanced" (rule: no spacing preference given)
|
|
138
|
-
\`\`\`
|
|
139
|
-
|
|
140
|
-
This transparency prevents silent assumptions from propagating into the final design.`,
|
|
141
|
-
};
|
|
@@ -1,144 +0,0 @@
|
|
|
1
|
-
import type { DesignSkill } from "./design-skill.js";
|
|
2
|
-
|
|
3
|
-
export const designBrief: DesignSkill = {
|
|
4
|
-
name: "design-brief",
|
|
5
|
-
scenario: "design",
|
|
6
|
-
description:
|
|
7
|
-
"Parse a design brief into concrete tokens. Resolves 8 design dimensions (palette, accent, typography, display, layout, mood, density, constraints) from natural language or I-Lang structured format, then generates a DESIGN.md and visual preview.",
|
|
8
|
-
outputKind: "html",
|
|
9
|
-
workflow: `# Design Brief Skill
|
|
10
|
-
|
|
11
|
-
Parse a structured or natural-language design brief into a concrete DESIGN.md and optional visual preview HTML.
|
|
12
|
-
|
|
13
|
-
## Background
|
|
14
|
-
|
|
15
|
-
This skill resolves the 8 key design dimensions that every design artifact needs, using a closed vocabulary of symbolic values that map to concrete CSS tokens. It eliminates ambiguity from vague requests like "make it clean" or "make it professional."
|
|
16
|
-
|
|
17
|
-
## Phase 1 — Accept input
|
|
18
|
-
|
|
19
|
-
The user provides a design brief in one of two formats:
|
|
20
|
-
|
|
21
|
-
### Option A: I-Lang structured brief
|
|
22
|
-
\`\`\`
|
|
23
|
-
[PLAN:@DESIGN|type=saas_landing]
|
|
24
|
-
|palette=navy_and_white|accent=coral
|
|
25
|
-
|typography=inter|display=space_grotesk
|
|
26
|
-
|layout=single_column|max_width=1200px
|
|
27
|
-
|mood=professional_minimal
|
|
28
|
-
|density=spacious|section_gap=96px
|
|
29
|
-
|hero=headline+subhead+cta
|
|
30
|
-
|sections=features,pricing,testimonials,footer
|
|
31
|
-
|exclude=animations,parallax,gradients
|
|
32
|
-
|responsive=mobile_first
|
|
33
|
-
\`\`\`
|
|
34
|
-
|
|
35
|
-
### Option B: Natural language
|
|
36
|
-
> "I need a landing page for a developer tool. Clean, minimal, dark mode. Inter font. No flashy animations."
|
|
37
|
-
|
|
38
|
-
If the user provides Option B, convert it using the mapping table below, then proceed.
|
|
39
|
-
|
|
40
|
-
### Natural language → I-Lang mapping
|
|
41
|
-
|
|
42
|
-
| Natural language phrase | Dimension | I-Lang value |
|
|
43
|
-
|------------------------|-----------|-------------|
|
|
44
|
-
| "dark mode", "dark theme" | palette | \`monochrome_dark\` |
|
|
45
|
-
| "light", "white background" | palette | \`light_clean\` |
|
|
46
|
-
| "earthy", "warm tones" | palette | \`earth_tones\` |
|
|
47
|
-
| "pop of color", "vibrant" | accent | \`electric_blue\` or \`coral\` |
|
|
48
|
-
| "subtle accent" | accent | \`muted_sage\` or \`slate\` |
|
|
49
|
-
| "clean", "minimal", "simple" | mood | \`professional_minimal\` |
|
|
50
|
-
| "playful", "fun", "friendly" | mood | \`playful\` |
|
|
51
|
-
| "bold", "brutalist", "raw" | mood | \`brutalist\` |
|
|
52
|
-
| "editorial", "magazine-like" | mood | \`editorial\` |
|
|
53
|
-
| "spacious", "lots of whitespace" | density | \`spacious\` |
|
|
54
|
-
| "compact", "dense", "information-rich" | density | \`compact\` |
|
|
55
|
-
| "Inter", "system font" | typography | \`inter\` or \`system_ui\` |
|
|
56
|
-
| "serif", "traditional" | typography | \`georgia\` or \`playfair\` |
|
|
57
|
-
| "monospace", "code-like" | typography | \`jetbrains_mono\` |
|
|
58
|
-
| "no animations", "static" | exclude | \`animations\` |
|
|
59
|
-
| "no gradients" | exclude | \`gradients\` |
|
|
60
|
-
| "single page" | layout | \`single_column\` |
|
|
61
|
-
| "two columns", "sidebar" | layout | \`two_column\` |
|
|
62
|
-
| "mobile first" | responsive | \`mobile_first\` |
|
|
63
|
-
|
|
64
|
-
## Phase 2 — Validate 8 dimensions
|
|
65
|
-
|
|
66
|
-
Every design brief must resolve these 8 dimensions. If any are missing, select sensible defaults:
|
|
67
|
-
|
|
68
|
-
| # | Dimension | Key | Example values |
|
|
69
|
-
|---|-----------|-----|---------------|
|
|
70
|
-
| 1 | Color palette | \`palette\` | navy_and_white, earth_tones, monochrome_dark, light_clean |
|
|
71
|
-
| 2 | Accent color | \`accent\` | coral, electric_blue, emerald, muted_sage, slate |
|
|
72
|
-
| 3 | Body typography | \`typography\` | inter, system_ui, dm_sans, georgia |
|
|
73
|
-
| 4 | Display typography | \`display\` | space_grotesk, clash_display, same_as_body, playfair |
|
|
74
|
-
| 5 | Layout model | \`layout\` | single_column, two_column, asymmetric |
|
|
75
|
-
| 6 | Mood | \`mood\` | professional_minimal, playful, brutalist, editorial |
|
|
76
|
-
| 7 | Density | \`density\` | compact, balanced, spacious |
|
|
77
|
-
| 8 | Constraints | \`exclude\` | animations, gradients, stock_photos, carousel |
|
|
78
|
-
|
|
79
|
-
### Symbolic → concrete token resolution
|
|
80
|
-
|
|
81
|
-
| Symbolic value | Concrete tokens |
|
|
82
|
-
|---------------|----------------|
|
|
83
|
-
| \`palette=navy_and_white\` | Background: #0F172A, Surface: #1E293B, Text: #F8FAFC, Secondary: #94A3B8 |
|
|
84
|
-
| \`palette=monochrome_dark\` | Background: #09090B, Surface: #18181B, Text: #FAFAFA, Secondary: #A1A1AA |
|
|
85
|
-
| \`palette=light_clean\` | Background: #FFFFFF, Surface: #F8FAFC, Text: #0F172A, Secondary: #64748B |
|
|
86
|
-
| \`palette=earth_tones\` | Background: #FFFBEB, Surface: #FEF3C7, Text: #451A03, Secondary: #92400E |
|
|
87
|
-
| \`accent=coral\` | Accent: #F97316, Hover: #EA580C |
|
|
88
|
-
| \`accent=electric_blue\` | Accent: #3B82F6, Hover: #2563EB |
|
|
89
|
-
| \`accent=emerald\` | Accent: #10B981, Hover: #059669 |
|
|
90
|
-
| \`accent=muted_sage\` | Accent: #84A98C, Hover: #6B8F73 |
|
|
91
|
-
| \`accent=slate\` | Accent: #64748B, Hover: #475569 |
|
|
92
|
-
| \`density=compact\` | Section spacing: 48px, Content padding: 16px/24px |
|
|
93
|
-
| \`density=balanced\` | Section spacing: 72px, Content padding: 24px/40px |
|
|
94
|
-
| \`density=spacious\` | Section spacing: 96px, Content padding: 24px/48px |
|
|
95
|
-
|
|
96
|
-
### Default resolution rules
|
|
97
|
-
|
|
98
|
-
| Unspecified dimension | Default rule |
|
|
99
|
-
|----------------------|-------------|
|
|
100
|
-
| \`palette\` | If mood=editorial → \`light_clean\`. If mood=brutalist → \`monochrome_dark\`. Else → \`light_clean\`. |
|
|
101
|
-
| \`accent\` | If palette is dark → \`coral\`. If palette is light → \`electric_blue\`. |
|
|
102
|
-
| \`typography\` | Always → \`inter\` (highest cross-platform legibility). |
|
|
103
|
-
| \`display\` | If mood=editorial → \`playfair\`. If mood=brutalist → \`space_grotesk\`. Else → \`same_as_body\`. |
|
|
104
|
-
| \`layout\` | Always → \`single_column\`. |
|
|
105
|
-
| \`mood\` | Always → \`professional_minimal\`. |
|
|
106
|
-
| \`density\` | Always → \`balanced\`. |
|
|
107
|
-
| \`exclude\` | Always → none (no constraints unless specified). |
|
|
108
|
-
|
|
109
|
-
## Phase 3 — Generate DESIGN.md
|
|
110
|
-
|
|
111
|
-
Produce a DESIGN.md with these sections:
|
|
112
|
-
1. **Visual Theme & Atmosphere** — mood, feel, references
|
|
113
|
-
2. **Color Palette & Roles** — background, surface, text, accent, semantic colors
|
|
114
|
-
3. **Typography Rules** — display, body, mono font specs with sizes
|
|
115
|
-
4. **Component Stylings** — buttons, cards, inputs with concrete CSS values
|
|
116
|
-
5. **Layout Principles** — max width, grid, section spacing, content padding
|
|
117
|
-
6. **Depth & Elevation** — shadows, borders
|
|
118
|
-
7. **Do's and Don'ts** — 5-6 rules for agents
|
|
119
|
-
8. **Responsive Behavior** — breakpoints at 640px, 768px, 1024px, 1280px
|
|
120
|
-
9. **Agent Prompt Guide** — constraints for code generation
|
|
121
|
-
|
|
122
|
-
All color hex values, font stacks, and spacing values must come from the resolved tokens in Phase 2 — do not invent values.
|
|
123
|
-
|
|
124
|
-
## Phase 4 — Generate brief-preview.html
|
|
125
|
-
|
|
126
|
-
Create a single HTML file visualizing the resolved tokens with 4 sections:
|
|
127
|
-
1. **Color palette swatches** — labeled with role and hex code
|
|
128
|
-
2. **Typography specimens** — Display, Body, and Mono at declared sizes
|
|
129
|
-
3. **Spacing ruler** — section spacing and content padding, labeled
|
|
130
|
-
4. **Component preview** — 2-3 live components (button, card, input) using the resolved tokens
|
|
131
|
-
|
|
132
|
-
Style the preview itself with the resolved design system tokens.
|
|
133
|
-
|
|
134
|
-
## Phase 5 — Report defaults applied
|
|
135
|
-
|
|
136
|
-
List any dimensions the user did not specify and the defaults applied:
|
|
137
|
-
\`\`\`
|
|
138
|
-
Dimensions resolved from defaults:
|
|
139
|
-
- display: set to "same_as_body" (rule: mood=professional_minimal → same_as_body)
|
|
140
|
-
- density: set to "balanced" (rule: no spacing preference given)
|
|
141
|
-
\`\`\`
|
|
142
|
-
|
|
143
|
-
This transparency prevents silent assumptions from propagating into the final design.`,
|
|
144
|
-
};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export interface DesignSkill {
|
|
2
|
-
name: string;
|
|
3
|
-
scenario: string;
|
|
4
|
-
description: string;
|
|
5
|
-
/** What kind of artifact this produces */
|
|
6
|
-
outputKind: "html" | "html-multi" | "slides";
|
|
7
|
-
/** The full workflow guide for the LLM */
|
|
8
|
-
workflow: string;
|
|
9
|
-
}
|
|
10
|
-
//# sourceMappingURL=design-skill.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"design-skill.d.ts","sourceRoot":"","sources":["../../../../src/designer/data/skills/design-skill.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,WAAW;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,0CAA0C;IAC1C,UAAU,EAAE,MAAM,GAAG,YAAY,GAAG,QAAQ,CAAC;IAC7C,0CAA0C;IAC1C,QAAQ,EAAE,MAAM,CAAC;CACjB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"docs-page.d.ts","sourceRoot":"","sources":["../../../../src/designer/data/skills/docs-page.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAErD,eAAO,MAAM,QAAQ,EAAE,WAoEpB,CAAC"}
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
export const docsPage = {
|
|
2
|
-
name: "docs-page",
|
|
3
|
-
scenario: "engineering",
|
|
4
|
-
description: "Documentation page — left sidebar nav (sticky), scrollable article body, right table of contents. Three-column layout with grouped navigation links, code blocks, callouts, and proper RTL support.",
|
|
5
|
-
outputKind: "html",
|
|
6
|
-
workflow: `# Docs Page Skill
|
|
7
|
-
|
|
8
|
-
Produce a single, three-column documentation page in one HTML file.
|
|
9
|
-
|
|
10
|
-
## Phase 1 — Pre-flight
|
|
11
|
-
|
|
12
|
-
1. Read the active design system. Use the body type token for prose; the mono token for code; respect line-height and max-width rules.
|
|
13
|
-
2. Pick a concrete topic from the brief — the page should look like real docs, not a generic wireframe. Concrete API names, command examples, plausible parameters.
|
|
14
|
-
|
|
15
|
-
## Phase 2 — Three-column layout
|
|
16
|
-
|
|
17
|
-
\`\`\`css
|
|
18
|
-
.docs-layout { display: grid; grid-template-columns: 260px minmax(0, 720px) 200px; gap: 0; min-height: 100vh; }
|
|
19
|
-
|
|
20
|
-
/* Left sidebar — sticky nav */
|
|
21
|
-
.docs-nav { position: sticky; top: 0; height: 100vh; overflow-y: auto; padding: 32px 24px; border-right: 1px solid var(--border); background: var(--bg); }
|
|
22
|
-
.docs-nav-group { margin-bottom: 24px; }
|
|
23
|
-
.docs-nav-group-title { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 8px; padding: 0 8px; }
|
|
24
|
-
.docs-nav-link { display: block; padding: 6px 8px; border-radius: 6px; font-size: 14px; color: var(--muted); text-decoration: none; }
|
|
25
|
-
.docs-nav-link:hover { color: var(--fg); background: var(--surface); }
|
|
26
|
-
.docs-nav-link.active { color: var(--fg); background: var(--surface); border-left: 2px solid var(--accent); margin-left: -2px; }
|
|
27
|
-
|
|
28
|
-
/* Article body */
|
|
29
|
-
.docs-article { padding: 48px 64px; max-width: 720px; }
|
|
30
|
-
|
|
31
|
-
/* Right TOC — sticky */
|
|
32
|
-
.docs-toc { position: sticky; top: 0; height: 100vh; overflow-y: auto; padding: 32px 16px; border-left: 1px solid var(--border); font-size: 13px; }
|
|
33
|
-
.docs-toc-title { font-weight: 600; margin-bottom: 12px; }
|
|
34
|
-
.docs-toc a { display: block; padding: 3px 0; color: var(--muted); text-decoration: none; }
|
|
35
|
-
.docs-toc a:hover, .docs-toc a.active { color: var(--accent); }
|
|
36
|
-
\`\`\`
|
|
37
|
-
|
|
38
|
-
## Phase 3 — Article Components
|
|
39
|
-
|
|
40
|
-
### Code blocks
|
|
41
|
-
\`\`\`css
|
|
42
|
-
pre { background: var(--surface); border: 1px solid var(--border); border-radius: 8px; padding: 20px 24px; overflow-x: auto; font-family: var(--font-mono); font-size: 14px; line-height: 1.6; margin: 24px 0; }
|
|
43
|
-
code { font-family: var(--font-mono); font-size: 0.9em; background: var(--surface); padding: 2px 6px; border-radius: 4px; }
|
|
44
|
-
pre code { background: none; padding: 0; }
|
|
45
|
-
\`\`\`
|
|
46
|
-
|
|
47
|
-
### Callout boxes
|
|
48
|
-
\`\`\`css
|
|
49
|
-
.callout { border-left: 4px solid var(--accent); background: color-mix(in oklab, var(--accent) 5%, var(--bg)); padding: 16px 20px; border-radius: 0 8px 8px 0; margin: 24px 0; font-size: 14px; }
|
|
50
|
-
.callout.warning { border-color: var(--warn, #f59e0b); background: color-mix(in oklab, var(--warn, #f59e0b) 5%, var(--bg)); }
|
|
51
|
-
.callout-title { font-weight: 600; margin-bottom: 4px; }
|
|
52
|
-
\`\`\`
|
|
53
|
-
|
|
54
|
-
### Typography
|
|
55
|
-
\`\`\`css
|
|
56
|
-
.docs-article h1 { font-size: 32px; font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; margin-bottom: 8px; }
|
|
57
|
-
.docs-article h2 { font-size: 24px; font-weight: 600; line-height: 1.3; margin-top: 48px; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 1px solid var(--border); }
|
|
58
|
-
.docs-article h3 { font-size: 18px; font-weight: 600; margin-top: 32px; margin-bottom: 8px; }
|
|
59
|
-
.docs-article p { font-size: 16px; line-height: 1.7; margin: 12px 0; color: var(--fg); }
|
|
60
|
-
\`\`\`
|
|
61
|
-
|
|
62
|
-
## Phase 4 — Content Rules
|
|
63
|
-
- Navigation: 3-5 groups of 4-8 links each
|
|
64
|
-
- Article: H1, lede paragraph, H2 sections, code blocks, callouts (note/warning), inline links, lists
|
|
65
|
-
- TOC: "On this page" with H2 anchors, current section highlighted on scroll
|
|
66
|
-
- Concrete content: specific API names, command examples, plausible parameters — not placeholders
|
|
67
|
-
- Respect RTL: layout expressed on the inline axis so it flips correctly under dir="rtl"`,
|
|
68
|
-
};
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
import type { DesignSkill } from "./design-skill.js";
|
|
2
|
-
|
|
3
|
-
export const docsPage: DesignSkill = {
|
|
4
|
-
name: "docs-page",
|
|
5
|
-
scenario: "engineering",
|
|
6
|
-
description:
|
|
7
|
-
"Documentation page — left sidebar nav (sticky), scrollable article body, right table of contents. Three-column layout with grouped navigation links, code blocks, callouts, and proper RTL support.",
|
|
8
|
-
outputKind: "html",
|
|
9
|
-
workflow: `# Docs Page Skill
|
|
10
|
-
|
|
11
|
-
Produce a single, three-column documentation page in one HTML file.
|
|
12
|
-
|
|
13
|
-
## Phase 1 — Pre-flight
|
|
14
|
-
|
|
15
|
-
1. Read the active design system. Use the body type token for prose; the mono token for code; respect line-height and max-width rules.
|
|
16
|
-
2. Pick a concrete topic from the brief — the page should look like real docs, not a generic wireframe. Concrete API names, command examples, plausible parameters.
|
|
17
|
-
|
|
18
|
-
## Phase 2 — Three-column layout
|
|
19
|
-
|
|
20
|
-
\`\`\`css
|
|
21
|
-
.docs-layout { display: grid; grid-template-columns: 260px minmax(0, 720px) 200px; gap: 0; min-height: 100vh; }
|
|
22
|
-
|
|
23
|
-
/* Left sidebar — sticky nav */
|
|
24
|
-
.docs-nav { position: sticky; top: 0; height: 100vh; overflow-y: auto; padding: 32px 24px; border-right: 1px solid var(--border); background: var(--bg); }
|
|
25
|
-
.docs-nav-group { margin-bottom: 24px; }
|
|
26
|
-
.docs-nav-group-title { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 8px; padding: 0 8px; }
|
|
27
|
-
.docs-nav-link { display: block; padding: 6px 8px; border-radius: 6px; font-size: 14px; color: var(--muted); text-decoration: none; }
|
|
28
|
-
.docs-nav-link:hover { color: var(--fg); background: var(--surface); }
|
|
29
|
-
.docs-nav-link.active { color: var(--fg); background: var(--surface); border-left: 2px solid var(--accent); margin-left: -2px; }
|
|
30
|
-
|
|
31
|
-
/* Article body */
|
|
32
|
-
.docs-article { padding: 48px 64px; max-width: 720px; }
|
|
33
|
-
|
|
34
|
-
/* Right TOC — sticky */
|
|
35
|
-
.docs-toc { position: sticky; top: 0; height: 100vh; overflow-y: auto; padding: 32px 16px; border-left: 1px solid var(--border); font-size: 13px; }
|
|
36
|
-
.docs-toc-title { font-weight: 600; margin-bottom: 12px; }
|
|
37
|
-
.docs-toc a { display: block; padding: 3px 0; color: var(--muted); text-decoration: none; }
|
|
38
|
-
.docs-toc a:hover, .docs-toc a.active { color: var(--accent); }
|
|
39
|
-
\`\`\`
|
|
40
|
-
|
|
41
|
-
## Phase 3 — Article Components
|
|
42
|
-
|
|
43
|
-
### Code blocks
|
|
44
|
-
\`\`\`css
|
|
45
|
-
pre { background: var(--surface); border: 1px solid var(--border); border-radius: 8px; padding: 20px 24px; overflow-x: auto; font-family: var(--font-mono); font-size: 14px; line-height: 1.6; margin: 24px 0; }
|
|
46
|
-
code { font-family: var(--font-mono); font-size: 0.9em; background: var(--surface); padding: 2px 6px; border-radius: 4px; }
|
|
47
|
-
pre code { background: none; padding: 0; }
|
|
48
|
-
\`\`\`
|
|
49
|
-
|
|
50
|
-
### Callout boxes
|
|
51
|
-
\`\`\`css
|
|
52
|
-
.callout { border-left: 4px solid var(--accent); background: color-mix(in oklab, var(--accent) 5%, var(--bg)); padding: 16px 20px; border-radius: 0 8px 8px 0; margin: 24px 0; font-size: 14px; }
|
|
53
|
-
.callout.warning { border-color: var(--warn, #f59e0b); background: color-mix(in oklab, var(--warn, #f59e0b) 5%, var(--bg)); }
|
|
54
|
-
.callout-title { font-weight: 600; margin-bottom: 4px; }
|
|
55
|
-
\`\`\`
|
|
56
|
-
|
|
57
|
-
### Typography
|
|
58
|
-
\`\`\`css
|
|
59
|
-
.docs-article h1 { font-size: 32px; font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; margin-bottom: 8px; }
|
|
60
|
-
.docs-article h2 { font-size: 24px; font-weight: 600; line-height: 1.3; margin-top: 48px; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 1px solid var(--border); }
|
|
61
|
-
.docs-article h3 { font-size: 18px; font-weight: 600; margin-top: 32px; margin-bottom: 8px; }
|
|
62
|
-
.docs-article p { font-size: 16px; line-height: 1.7; margin: 12px 0; color: var(--fg); }
|
|
63
|
-
\`\`\`
|
|
64
|
-
|
|
65
|
-
## Phase 4 — Content Rules
|
|
66
|
-
- Navigation: 3-5 groups of 4-8 links each
|
|
67
|
-
- Article: H1, lede paragraph, H2 sections, code blocks, callouts (note/warning), inline links, lists
|
|
68
|
-
- TOC: "On this page" with H2 anchors, current section highlighted on scroll
|
|
69
|
-
- Concrete content: specific API names, command examples, plausible parameters — not placeholders
|
|
70
|
-
- Respect RTL: layout expressed on the inline axis so it flips correctly under dir="rtl"`,
|
|
71
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/designer/data/skills/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAerD,eAAO,MAAM,aAAa,EAAE,WAAW,EActC,CAAC"}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { blogPost } from "./blog-post.js";
|
|
2
|
-
import { critique } from "./critique.js";
|
|
3
|
-
import { dashboard } from "./dashboard.js";
|
|
4
|
-
import { designBrief } from "./design-brief.js";
|
|
5
|
-
import { docsPage } from "./docs-page.js";
|
|
6
|
-
import { magazinePoster } from "./magazine-poster.js";
|
|
7
|
-
import { mobileApp } from "./mobile-app.js";
|
|
8
|
-
import { motionFrames } from "./motion-frames.js";
|
|
9
|
-
import { pricingPage } from "./pricing-page.js";
|
|
10
|
-
import { saasLanding } from "./saas-landing.js";
|
|
11
|
-
import { slideDeck } from "./slide-deck.js";
|
|
12
|
-
import { socialCarousel } from "./social-carousel.js";
|
|
13
|
-
import { webPrototype } from "./web-prototype.js";
|
|
14
|
-
export const DESIGN_SKILLS = [
|
|
15
|
-
webPrototype,
|
|
16
|
-
saasLanding,
|
|
17
|
-
slideDeck,
|
|
18
|
-
mobileApp,
|
|
19
|
-
dashboard,
|
|
20
|
-
socialCarousel,
|
|
21
|
-
designBrief,
|
|
22
|
-
critique,
|
|
23
|
-
pricingPage,
|
|
24
|
-
docsPage,
|
|
25
|
-
blogPost,
|
|
26
|
-
magazinePoster,
|
|
27
|
-
motionFrames,
|
|
28
|
-
];
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import type { DesignSkill } from "./design-skill.js";
|
|
2
|
-
import { blogPost } from "./blog-post.js";
|
|
3
|
-
import { critique } from "./critique.js";
|
|
4
|
-
import { dashboard } from "./dashboard.js";
|
|
5
|
-
import { designBrief } from "./design-brief.js";
|
|
6
|
-
import { docsPage } from "./docs-page.js";
|
|
7
|
-
import { magazinePoster } from "./magazine-poster.js";
|
|
8
|
-
import { mobileApp } from "./mobile-app.js";
|
|
9
|
-
import { motionFrames } from "./motion-frames.js";
|
|
10
|
-
import { pricingPage } from "./pricing-page.js";
|
|
11
|
-
import { saasLanding } from "./saas-landing.js";
|
|
12
|
-
import { slideDeck } from "./slide-deck.js";
|
|
13
|
-
import { socialCarousel } from "./social-carousel.js";
|
|
14
|
-
import { webPrototype } from "./web-prototype.js";
|
|
15
|
-
|
|
16
|
-
export const DESIGN_SKILLS: DesignSkill[] = [
|
|
17
|
-
webPrototype,
|
|
18
|
-
saasLanding,
|
|
19
|
-
slideDeck,
|
|
20
|
-
mobileApp,
|
|
21
|
-
dashboard,
|
|
22
|
-
socialCarousel,
|
|
23
|
-
designBrief,
|
|
24
|
-
critique,
|
|
25
|
-
pricingPage,
|
|
26
|
-
docsPage,
|
|
27
|
-
blogPost,
|
|
28
|
-
magazinePoster,
|
|
29
|
-
motionFrames,
|
|
30
|
-
];
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"magazine-poster.d.ts","sourceRoot":"","sources":["../../../../src/designer/data/skills/magazine-poster.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAErD,eAAO,MAAM,cAAc,EAAE,WAsE1B,CAAC"}
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
export const magazinePoster = {
|
|
2
|
-
name: "magazine-poster",
|
|
3
|
-
scenario: "creative",
|
|
4
|
-
description: "Editorial magazine poster or spread — bold typography, large-scale display font, dramatic image/color blocking. Magazine-cover aesthetic with strong visual hierarchy.",
|
|
5
|
-
outputKind: "html",
|
|
6
|
-
workflow: `# Magazine Poster Skill
|
|
7
|
-
|
|
8
|
-
Produce an editorial magazine poster or spread. Bold typography, large-scale display font, dramatic layout — the kind of image that could be a magazine cover or poster.
|
|
9
|
-
|
|
10
|
-
## Phase 1 — Determine Format
|
|
11
|
-
|
|
12
|
-
- **Poster** (A3-ish: 960×1358px or similar portrait ratio) — single bold composition
|
|
13
|
-
- **Magazine spread** (landscape: 1440×960px or similar) — two-page feel with gutter
|
|
14
|
-
- **Social cover** (square: 1080×1080px) — optimized for social sharing
|
|
15
|
-
|
|
16
|
-
## Phase 2 — Composition Modes
|
|
17
|
-
|
|
18
|
-
### Mode A: Typography-first
|
|
19
|
-
Big display text dominates. Color block background, minimal elements. Font scale carries the energy.
|
|
20
|
-
\`\`\`css
|
|
21
|
-
.poster { width: 960px; height: 1358px; background: var(--bg); display: flex; flex-direction: column; justify-content: center; padding: 80px; position: relative; overflow: hidden; }
|
|
22
|
-
.poster-eyebrow { font-size: 14px; text-transform: uppercase; letter-spacing: 0.15em; color: var(--muted); margin-bottom: 24px; }
|
|
23
|
-
.poster-headline { font-family: var(--font-display, var(--font-body)); font-size: 96px; font-weight: 800; line-height: 1.05; letter-spacing: -0.03em; }
|
|
24
|
-
.poster-subhead { font-size: 24px; color: var(--muted); margin-top: 32px; max-width: 600px; line-height: 1.5; }
|
|
25
|
-
.poster-issue { position: absolute; bottom: 60px; left: 80px; font-size: 14px; color: var(--muted); }
|
|
26
|
-
\`\`\`
|
|
27
|
-
|
|
28
|
-
### Mode B: Image-first
|
|
29
|
-
Large image dominates 70% of the canvas, typography overlays or sits below.
|
|
30
|
-
\`\`\`css
|
|
31
|
-
.poster-image-first { width: 960px; height: 1358px; display: grid; grid-template-rows: 1fr auto; background: var(--bg); }
|
|
32
|
-
.poster-image { width: 100%; height: 100%; object-fit: cover; background: linear-gradient(135deg, var(--accent), var(--surface)); }
|
|
33
|
-
.poster-text-block { padding: 48px 64px; }
|
|
34
|
-
\`\`\`
|
|
35
|
-
|
|
36
|
-
### Mode C: Split-screen
|
|
37
|
-
Two-panel composition — color block left, image right (or vice versa).
|
|
38
|
-
\`\`\`css
|
|
39
|
-
.poster-split { width: 1440px; height: 960px; display: grid; grid-template-columns: 1fr 1fr; }
|
|
40
|
-
.poster-split-panel { display: flex; flex-direction: column; justify-content: center; padding: 80px; }
|
|
41
|
-
.poster-split-panel.left { background: var(--accent); color: var(--accent-on, white); }
|
|
42
|
-
.poster-split-panel.right { background: var(--bg); }
|
|
43
|
-
\`\`\`
|
|
44
|
-
|
|
45
|
-
## Phase 3 — Typography Scale
|
|
46
|
-
|
|
47
|
-
\`\`\`css
|
|
48
|
-
/* Magazine typography is dramatic — go big */
|
|
49
|
-
.display-xxl { font-size: 120px; font-weight: 800; line-height: 0.95; letter-spacing: -0.04em; }
|
|
50
|
-
.display-xl { font-size: 80px; font-weight: 800; line-height: 1.0; letter-spacing: -0.03em; }
|
|
51
|
-
.display-lg { font-size: 56px; font-weight: 700; line-height: 1.1; }
|
|
52
|
-
.poster-body { font-size: 18px; line-height: 1.6; }
|
|
53
|
-
.poster-meta { font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em; }
|
|
54
|
-
\`\`\`
|
|
55
|
-
|
|
56
|
-
## Phase 4 — Design Elements
|
|
57
|
-
|
|
58
|
-
- **Accent shapes**: Use ::before/::after pseudo-elements for geometric accents (circles, lines, color blocks)
|
|
59
|
-
- **Photo treatment**: Use mix-blend-mode on images over color backgrounds
|
|
60
|
-
- **Grid lines**: Thin horizontal/vertical rules as structural elements
|
|
61
|
-
- **Page numbers**: ALWAYS include an issue/volume/page-number block
|
|
62
|
-
- **Date line**: MONTH YYYY format in the masthead area
|
|
63
|
-
|
|
64
|
-
## Phase 5 — Anti-Kitsch Rules
|
|
65
|
-
- No emoji in editorial design
|
|
66
|
-
- Use the design system's display font at scale — not a safe web font
|
|
67
|
-
- Headline should create tension: unexpected word break, dramatic line split, or bold claim
|
|
68
|
-
- One focal point per poster — don't make everything compete
|
|
69
|
-
- white-space is intentional, not leftover`,
|
|
70
|
-
};
|