spirewise 1.7.1 → 1.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +0 -15
- package/bin/cli.js +65 -37
- package/install.sh +3 -3
- package/package.json +2 -4
- package/skills/README.md +0 -1
- package/skills/ai-agent-os-design-system/README.md +105 -0
- package/skills/ai-agent-os-design-system/SKILL.md +195 -0
- package/skills/ai-agent-os-design-system/accessibility-system.md +67 -0
- package/skills/ai-agent-os-design-system/color-system.md +102 -0
- package/skills/ai-agent-os-design-system/component-library.md +147 -0
- package/skills/ai-agent-os-design-system/design-principles.md +79 -0
- package/skills/ai-agent-os-design-system/example-page-structures.md +93 -0
- package/skills/ai-agent-os-design-system/layout-system.md +74 -0
- package/skills/ai-agent-os-design-system/motion-system.md +85 -0
- package/skills/ai-agent-os-design-system/spacing-system.md +87 -0
- package/skills/ai-agent-os-design-system/typography-system.md +91 -0
- package/skills/ai-agent-os-design-system/website-generation-rules.md +192 -0
- package/skills/ai-dark-futuristic-design-system/README.md +91 -0
- package/skills/ai-dark-futuristic-design-system/SKILL.md +179 -0
- package/skills/ai-dark-futuristic-design-system/accessibility-system.md +61 -0
- package/skills/ai-dark-futuristic-design-system/color-system.md +99 -0
- package/skills/ai-dark-futuristic-design-system/component-library.md +140 -0
- package/skills/ai-dark-futuristic-design-system/design-principles.md +66 -0
- package/skills/ai-dark-futuristic-design-system/example-page-structures.md +124 -0
- package/skills/ai-dark-futuristic-design-system/layout-system.md +85 -0
- package/skills/ai-dark-futuristic-design-system/motion-system.md +76 -0
- package/skills/ai-dark-futuristic-design-system/spacing-system.md +73 -0
- package/skills/ai-dark-futuristic-design-system/typography-system.md +89 -0
- package/skills/ai-dark-futuristic-design-system/website-generation-rules.md +220 -0
- package/skills/apple-premium-minimal-design-system/README.md +95 -0
- package/skills/apple-premium-minimal-design-system/SKILL.md +166 -0
- package/skills/apple-premium-minimal-design-system/accessibility-system.md +60 -0
- package/skills/apple-premium-minimal-design-system/color-system.md +100 -0
- package/skills/apple-premium-minimal-design-system/component-library.md +136 -0
- package/skills/apple-premium-minimal-design-system/design-principles.md +65 -0
- package/skills/apple-premium-minimal-design-system/example-page-structures.md +90 -0
- package/skills/apple-premium-minimal-design-system/layout-system.md +89 -0
- package/skills/apple-premium-minimal-design-system/motion-system.md +75 -0
- package/skills/apple-premium-minimal-design-system/spacing-system.md +73 -0
- package/skills/apple-premium-minimal-design-system/typography-system.md +86 -0
- package/skills/apple-premium-minimal-design-system/website-generation-rules.md +207 -0
- package/skills/bento-grid-design-system/README.md +97 -0
- package/skills/bento-grid-design-system/SKILL.md +185 -0
- package/skills/bento-grid-design-system/accessibility-system.md +54 -0
- package/skills/bento-grid-design-system/color-system.md +98 -0
- package/skills/bento-grid-design-system/component-library.md +138 -0
- package/skills/bento-grid-design-system/design-principles.md +72 -0
- package/skills/bento-grid-design-system/example-page-structures.md +91 -0
- package/skills/bento-grid-design-system/layout-system.md +93 -0
- package/skills/bento-grid-design-system/motion-system.md +81 -0
- package/skills/bento-grid-design-system/spacing-system.md +77 -0
- package/skills/bento-grid-design-system/typography-system.md +85 -0
- package/skills/bento-grid-design-system/website-generation-rules.md +193 -0
- package/skills/brutalist-tech-design-system/README.md +100 -0
- package/skills/brutalist-tech-design-system/SKILL.md +185 -0
- package/skills/brutalist-tech-design-system/accessibility-system.md +61 -0
- package/skills/brutalist-tech-design-system/color-system.md +101 -0
- package/skills/brutalist-tech-design-system/component-library.md +117 -0
- package/skills/brutalist-tech-design-system/design-principles.md +73 -0
- package/skills/brutalist-tech-design-system/example-page-structures.md +92 -0
- package/skills/brutalist-tech-design-system/layout-system.md +74 -0
- package/skills/brutalist-tech-design-system/motion-system.md +80 -0
- package/skills/brutalist-tech-design-system/spacing-system.md +86 -0
- package/skills/brutalist-tech-design-system/typography-system.md +94 -0
- package/skills/brutalist-tech-design-system/website-generation-rules.md +195 -0
- package/skills/crunchbase-profile-generator/README.md +64 -0
- package/skills/crunchbase-profile-generator/SKILL.md +189 -0
- package/skills/editorial-luxury-design-system/README.md +98 -0
- package/skills/editorial-luxury-design-system/SKILL.md +187 -0
- package/skills/editorial-luxury-design-system/accessibility-system.md +63 -0
- package/skills/editorial-luxury-design-system/color-system.md +95 -0
- package/skills/editorial-luxury-design-system/component-library.md +131 -0
- package/skills/editorial-luxury-design-system/design-principles.md +77 -0
- package/skills/editorial-luxury-design-system/example-page-structures.md +94 -0
- package/skills/editorial-luxury-design-system/layout-system.md +80 -0
- package/skills/editorial-luxury-design-system/motion-system.md +82 -0
- package/skills/editorial-luxury-design-system/spacing-system.md +77 -0
- package/skills/editorial-luxury-design-system/typography-system.md +107 -0
- package/skills/editorial-luxury-design-system/website-generation-rules.md +194 -0
- package/skills/enterprise-data-viz-design-system/README.md +98 -0
- package/skills/enterprise-data-viz-design-system/SKILL.md +195 -0
- package/skills/enterprise-data-viz-design-system/accessibility-system.md +68 -0
- package/skills/enterprise-data-viz-design-system/color-system.md +112 -0
- package/skills/enterprise-data-viz-design-system/component-library.md +142 -0
- package/skills/enterprise-data-viz-design-system/design-principles.md +75 -0
- package/skills/enterprise-data-viz-design-system/example-page-structures.md +89 -0
- package/skills/enterprise-data-viz-design-system/layout-system.md +75 -0
- package/skills/enterprise-data-viz-design-system/motion-system.md +86 -0
- package/skills/enterprise-data-viz-design-system/spacing-system.md +85 -0
- package/skills/enterprise-data-viz-design-system/typography-system.md +100 -0
- package/skills/enterprise-data-viz-design-system/website-generation-rules.md +196 -0
- package/skills/f6s-copywriting/README.md +16 -6
- package/skills/f6s-copywriting/SKILL.md +162 -46
- package/skills/glassmorphism-design-system/README.md +98 -0
- package/skills/glassmorphism-design-system/SKILL.md +190 -0
- package/skills/glassmorphism-design-system/accessibility-system.md +62 -0
- package/skills/glassmorphism-design-system/color-system.md +128 -0
- package/skills/glassmorphism-design-system/component-library.md +120 -0
- package/skills/glassmorphism-design-system/design-principles.md +77 -0
- package/skills/glassmorphism-design-system/example-page-structures.md +92 -0
- package/skills/glassmorphism-design-system/layout-system.md +81 -0
- package/skills/glassmorphism-design-system/motion-system.md +86 -0
- package/skills/glassmorphism-design-system/spacing-system.md +73 -0
- package/skills/glassmorphism-design-system/typography-system.md +90 -0
- package/skills/glassmorphism-design-system/website-generation-rules.md +195 -0
- package/skills/linkedin-copywriting/README.md +15 -8
- package/skills/linkedin-copywriting/SKILL.md +129 -51
- package/skills/motion-storytelling-design-system/README.md +100 -0
- package/skills/motion-storytelling-design-system/SKILL.md +191 -0
- package/skills/motion-storytelling-design-system/accessibility-system.md +71 -0
- package/skills/motion-storytelling-design-system/color-system.md +101 -0
- package/skills/motion-storytelling-design-system/component-library.md +122 -0
- package/skills/motion-storytelling-design-system/design-principles.md +81 -0
- package/skills/motion-storytelling-design-system/example-page-structures.md +91 -0
- package/skills/motion-storytelling-design-system/layout-system.md +79 -0
- package/skills/motion-storytelling-design-system/motion-system.md +116 -0
- package/skills/motion-storytelling-design-system/spacing-system.md +83 -0
- package/skills/motion-storytelling-design-system/typography-system.md +89 -0
- package/skills/motion-storytelling-design-system/website-generation-rules.md +200 -0
- package/skills/nvidia-inception-idea-booster/README.md +43 -24
- package/skills/nvidia-inception-idea-booster/SKILL.md +260 -116
- package/skills/nvidia-inception-starter/README.md +6 -5
- package/skills/nvidia-inception-starter/SKILL.md +80 -43
- package/skills/nvidia-product-inventor/README.md +44 -40
- package/skills/nvidia-product-inventor/SKILL.md +265 -247
- package/skills/nvidia-startup-idea-founder/README.md +66 -26
- package/skills/nvidia-startup-idea-founder/SKILL.md +245 -189
- package/skills/product-demo-first-design-system/README.md +96 -0
- package/skills/product-demo-first-design-system/SKILL.md +185 -0
- package/skills/product-demo-first-design-system/accessibility-system.md +58 -0
- package/skills/product-demo-first-design-system/color-system.md +109 -0
- package/skills/product-demo-first-design-system/component-library.md +142 -0
- package/skills/product-demo-first-design-system/design-principles.md +66 -0
- package/skills/product-demo-first-design-system/example-page-structures.md +95 -0
- package/skills/product-demo-first-design-system/layout-system.md +76 -0
- package/skills/product-demo-first-design-system/motion-system.md +82 -0
- package/skills/product-demo-first-design-system/spacing-system.md +74 -0
- package/skills/product-demo-first-design-system/typography-system.md +87 -0
- package/skills/product-demo-first-design-system/website-generation-rules.md +194 -0
- package/skills/website-design-skills/01-proof/README.md +0 -47
- package/skills/website-design-skills/01-proof/SKILL.md +0 -303
- package/skills/website-design-skills/02-kajabi/README.md +0 -42
- package/skills/website-design-skills/02-kajabi/SKILL.md +0 -272
- package/skills/website-design-skills/03-lattice/README.md +0 -42
- package/skills/website-design-skills/03-lattice/SKILL.md +0 -271
- package/skills/website-design-skills/04-petal/README.md +0 -42
- package/skills/website-design-skills/04-petal/SKILL.md +0 -271
- package/skills/website-design-skills/05-dropbox-sign/README.md +0 -42
- package/skills/website-design-skills/05-dropbox-sign/SKILL.md +0 -271
- package/skills/website-design-skills/06-distributional/README.md +0 -42
- package/skills/website-design-skills/06-distributional/SKILL.md +0 -271
- package/skills/website-design-skills/07-appcues/README.md +0 -42
- package/skills/website-design-skills/07-appcues/SKILL.md +0 -271
- package/skills/website-design-skills/08-memberstack/README.md +0 -42
- package/skills/website-design-skills/08-memberstack/SKILL.md +0 -271
- package/skills/website-design-skills/09-flank/README.md +0 -42
- package/skills/website-design-skills/09-flank/SKILL.md +0 -275
- package/skills/website-design-skills/10-slidebean/README.md +0 -42
- package/skills/website-design-skills/10-slidebean/SKILL.md +0 -275
- package/skills/website-design-skills/11-formstack/README.md +0 -42
- package/skills/website-design-skills/11-formstack/SKILL.md +0 -275
- package/skills/website-design-skills/12-thalamus/README.md +0 -42
- package/skills/website-design-skills/12-thalamus/SKILL.md +0 -275
- package/skills/website-design-skills/13-grow/README.md +0 -42
- package/skills/website-design-skills/13-grow/SKILL.md +0 -275
- package/skills/website-design-skills/14-gemnote/README.md +0 -42
- package/skills/website-design-skills/14-gemnote/SKILL.md +0 -275
- package/skills/website-design-skills/15-draftbit/README.md +0 -42
- package/skills/website-design-skills/15-draftbit/SKILL.md +0 -275
- package/skills/website-design-skills/16-payman/README.md +0 -42
- package/skills/website-design-skills/16-payman/SKILL.md +0 -273
- package/skills/website-design-skills/17-effortel/README.md +0 -42
- package/skills/website-design-skills/17-effortel/SKILL.md +0 -272
- package/skills/website-design-skills/18-adopt/README.md +0 -42
- package/skills/website-design-skills/18-adopt/SKILL.md +0 -273
- package/skills/website-design-skills/19-kraftful/README.md +0 -42
- package/skills/website-design-skills/19-kraftful/SKILL.md +0 -273
- package/skills/website-design-skills/20-greenhouse/README.md +0 -42
- package/skills/website-design-skills/20-greenhouse/SKILL.md +0 -273
- package/skills/website-design-skills/21-weavy/README.md +0 -42
- package/skills/website-design-skills/21-weavy/SKILL.md +0 -273
- package/skills/website-design-skills/22-safetykit/README.md +0 -42
- package/skills/website-design-skills/22-safetykit/SKILL.md +0 -273
- package/skills/website-design-skills/23-modulify/README.md +0 -42
- package/skills/website-design-skills/23-modulify/SKILL.md +0 -270
- package/skills/website-design-skills/24-realm/README.md +0 -42
- package/skills/website-design-skills/24-realm/SKILL.md +0 -270
- package/skills/website-design-skills/25-modyfi/README.md +0 -42
- package/skills/website-design-skills/25-modyfi/SKILL.md +0 -269
- package/skills/website-design-skills/26-altitude/README.md +0 -42
- package/skills/website-design-skills/26-altitude/SKILL.md +0 -270
- package/skills/website-design-skills/27-way/README.md +0 -42
- package/skills/website-design-skills/27-way/SKILL.md +0 -270
- package/skills/website-design-skills/28-zentail/README.md +0 -42
- package/skills/website-design-skills/28-zentail/SKILL.md +0 -270
- package/skills/website-design-skills/29-zams/README.md +0 -42
- package/skills/website-design-skills/29-zams/SKILL.md +0 -270
- package/skills/website-design-skills/30-user-interviews/README.md +0 -44
- package/skills/website-design-skills/30-user-interviews/SKILL.md +0 -273
- package/skills/website-design-skills/31-bland/README.md +0 -44
- package/skills/website-design-skills/31-bland/SKILL.md +0 -273
- package/skills/website-design-skills/32-nauto/README.md +0 -44
- package/skills/website-design-skills/32-nauto/SKILL.md +0 -273
- package/skills/website-design-skills/33-bill/README.md +0 -44
- package/skills/website-design-skills/33-bill/SKILL.md +0 -273
- package/skills/website-design-skills/34-localyzer/README.md +0 -44
- package/skills/website-design-skills/34-localyzer/SKILL.md +0 -273
- package/skills/website-design-skills/35-jasper/README.md +0 -44
- package/skills/website-design-skills/35-jasper/SKILL.md +0 -273
- package/skills/website-design-skills/README.md +0 -108
|
@@ -1,271 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: 03-lattice-designer
|
|
3
|
-
description: >-
|
|
4
|
-
Lattice Designer — a Website Design System Architect skill that designs,
|
|
5
|
-
documents, enforces, and generates production-grade websites using ONLY
|
|
6
|
-
HTML, CSS, and JavaScript, modeled on the real design system of Lattice
|
|
7
|
-
(https://lattice.com/): SaaS HR, people management, performance, engagement, goals, compensation, and AI agent platform. Use when the user asks to "build a site like Lattice",
|
|
8
|
-
"use the Lattice design system", or wants a full design system (tokens,
|
|
9
|
-
components, pages) in vanilla HTML/CSS/JS that matches Lattice's live look
|
|
10
|
-
and feel. Always builds the design system first, then components, then pages —
|
|
11
|
-
never random designs. Writes output to `websites/03-lattice/`.
|
|
12
|
-
---
|
|
13
|
-
|
|
14
|
-
# Lattice Designer
|
|
15
|
-
|
|
16
|
-
You are a **Design System Architect** with 15+ years of experience designing
|
|
17
|
-
websites for SaaS, AI startups, fintech, ecommerce, developer tools, and
|
|
18
|
-
enterprise platforms. This skill makes you act as a senior design system
|
|
19
|
-
architect **and** frontend engineer responsible for designing, documenting,
|
|
20
|
-
enforcing, and generating production-grade websites using **only HTML, CSS, and
|
|
21
|
-
JavaScript**, modeled on the real **Lattice** website (https://lattice.com/).
|
|
22
|
-
|
|
23
|
-
**Primary goal:** Ensure every generated website follows a scalable design
|
|
24
|
-
system, accessibility standards, responsive principles, clean architecture, and
|
|
25
|
-
modern UI/UX best practices — recreating Lattice's people-first, performance-management SaaS aesthetic.
|
|
26
|
-
|
|
27
|
-
## Non-negotiable rules
|
|
28
|
-
|
|
29
|
-
1. Never create random designs.
|
|
30
|
-
2. Always build a complete design system **before** creating pages.
|
|
31
|
-
3. Always define design tokens.
|
|
32
|
-
4. Always maintain visual consistency.
|
|
33
|
-
5. Always generate semantic HTML.
|
|
34
|
-
6. Always use responsive layouts.
|
|
35
|
-
7. Always follow WCAG accessibility standards.
|
|
36
|
-
8. Always optimize for performance.
|
|
37
|
-
9. Never use inline styles unless absolutely required.
|
|
38
|
-
10. Use CSS variables for all design tokens.
|
|
39
|
-
11. Ensure mobile-first development.
|
|
40
|
-
12. Maintain reusable component architecture.
|
|
41
|
-
13. Avoid duplicate code.
|
|
42
|
-
14. Generate production-ready code only.
|
|
43
|
-
|
|
44
|
-
## What Lattice actually implements (study before building)
|
|
45
|
-
|
|
46
|
-
This skill is grounded in the live Lattice site. Recreate these signature patterns:
|
|
47
|
-
|
|
48
|
-
- **Announcement bars and enterprise nav** start with scraped messages "Everything we announced at Lattiverse 2026" and "Lattiverse is taking off..." plus nav labels Why Lattice, Customers, Resources, Pricing, Log in, Request a demo.
|
|
49
|
-
- **Hero promise** uses the scraped H1 "High-performing teams are built here" with subhead "Lattice is your team’s daily destination for work..." and CTA "Take a tour."
|
|
50
|
-
- **Platform overview grid** links Performance, Goals & OKRs, Engagement, Grow, Compensation, and AI Agent with UI screenshots and arrow-link cards.
|
|
51
|
-
- **AI and habits sections**: "Unblock work and unlock potential with your personal AI Agent" followed by "Build high performance through everyday habits" with 1:1s, Updates, Feedback, and Q&A Boards.
|
|
52
|
-
- **Customer proof wall**: "Trusted by top performers" with real customers GoCardless, Weave, Huge, BARK, Vantage West, LiveRamp, USAirtours, and UNREAL Snacks.
|
|
53
|
-
- **Stat-driven testimonials** include scraped stats such as 100% review participation, 30h saved per engagement survey, 2,000 hours saved, 27% attrition reduction, 3.5x higher check-in completion, and 20% sales increase.
|
|
54
|
-
- **G2 and integrations proof**: 3,300+ 5-star G2 reviews, HR/productivity integration logo grid, and bottom CTA "Your people are your business" with "Request a demo" and "Take a free tour."
|
|
55
|
-
|
|
56
|
-
## Design system (Lattice brand foundation)
|
|
57
|
-
|
|
58
|
-
> Hex values below are scraped from the live HTML/CSS when available. Values marked
|
|
59
|
-
> **(inferred)** were inferred from visible motifs or non-inline CSS references when
|
|
60
|
-
> exact inline tokens were not exposed by the live scrape.
|
|
61
|
-
|
|
62
|
-
### Brand foundation
|
|
63
|
-
|
|
64
|
-
**Colors**
|
|
65
|
-
- primary (green CTA / underline, scraped): `#6BB85F`; hover/soft green `#A9EBA9`
|
|
66
|
-
- deep text / black (scraped): `#001F1F`; grey text `#455252`, `#6A7878`, `#889494`
|
|
67
|
-
- background sand (scraped): `#FAF9F7`, `#F7F6F2`, `#EBE7E1`; sand accent `#D4CEC4`
|
|
68
|
-
- green scale (scraped): `#EAFCE9`, `#CDFACE`, `#A9EBA9`, `#6BB85F`, `#4A8F3F`, `#366625`, `#2A4E1C`
|
|
69
|
-
- blue/cyan accents (scraped): `#E4F7F9`, `#BFF1F5`, `#67E2EB`, `#0794B8`, `#05537A`, `#003152`
|
|
70
|
-
- purple/pink accents (scraped): `#E1E1FA`, `#7070FF`, `#4533B8`, `#FDE5FF`, `#E063C7`, `#B8337A`
|
|
71
|
-
- success `#22C55E` · warning `#F59E0B` · error `#EF4444`
|
|
72
|
-
|
|
73
|
-
**Typography**
|
|
74
|
-
- font_family: primary **Matter** (scraped CSS variable `--font--matter`); display/editorial **Bogart** and icon font **Latticon** also appear in scraped CSS; system fallback
|
|
75
|
-
`-apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif`.
|
|
76
|
-
- font_scale (rem): H1 3.75 / H2 2.5 / H3 2.0 / H4 1.5 / H5 1.25 / body 1.0 /
|
|
77
|
-
caption 0.875 / eyebrow 0.75 (uppercase, letter-spaced).
|
|
78
|
-
- font_weights: 400, 500, 600, 700.
|
|
79
|
-
- line_heights: tight 1.1 (display), 1.3 (headings), 1.55–1.65 (body).
|
|
80
|
-
|
|
81
|
-
**Iconography**
|
|
82
|
-
- style: rounded HR/product iconography, Latticon quote glyphs, arrow links, and large integration logos.
|
|
83
|
-
- sizes: 16, 20, 24, 32, 48.
|
|
84
|
-
|
|
85
|
-
**Imagery**
|
|
86
|
-
- style_rules: real product UI screenshots, people/customer portraits, G2 badges, and dense integration logo grids.
|
|
87
|
-
- usage_guidelines: Pair real scraped content patterns with purposeful product,
|
|
88
|
-
customer, or abstract visuals; avoid generic stock that weakens the brand voice.
|
|
89
|
-
|
|
90
|
-
### Tokens (emit as CSS variables in `:root`)
|
|
91
|
-
|
|
92
|
-
- **colors**: map every brand color above to `--color-*` tokens.
|
|
93
|
-
- **spacing** (px → tokens): `4,8,12,16,20,24,32,40,48,64,80,96`.
|
|
94
|
-
- **radius**: sm 6, md 10, lg 16, xl 24, pill 999.
|
|
95
|
-
- **shadows**: sm `0 1px 2px rgba(14,23,38,.06)`, card
|
|
96
|
-
`0 12px 30px rgba(14,23,38,.12)`, lg `0 24px 60px rgba(14,23,38,.18)`.
|
|
97
|
-
- **typography**: font families, sizes, weights, line-heights as tokens.
|
|
98
|
-
- **animations**: fade-up on scroll (opacity 0→1, translateY 16px→0, 400ms ease),
|
|
99
|
-
button hover lift, and Lattice-style intro reveals, soft card motion, gradient panels, and marquee-like integration grids.
|
|
100
|
-
|
|
101
|
-
### Layout system
|
|
102
|
-
|
|
103
|
-
- grid: desktop 12 col, tablet 8 col, mobile 4 col.
|
|
104
|
-
- containers (max-widths): 640, 768, 1024, 1280, 1440 px (content max ~1200).
|
|
105
|
-
- breakpoints: mobile 320–767, tablet 768–1023, desktop 1024–1439, large 1440+.
|
|
106
|
-
- spacing scale: `4,8,12,16,20,24,32,40,48,64,80,96`.
|
|
107
|
-
|
|
108
|
-
## Required components (build all, mobile-first, reusable)
|
|
109
|
-
|
|
110
|
-
- **navigation**: navbar, mobile-menu (hamburger → full-screen or drawer), sidebar,
|
|
111
|
-
breadcrumbs. Match Lattice's nav labels: Why Lattice, Customers, Resources, Pricing, Log in, Request a demo.
|
|
112
|
-
- **buttons**: primary (rounded green/dark high-contrast CTA with arrow-link secondary buttons), secondary, tertiary/text link, icon-button.
|
|
113
|
-
- **forms**: input, textarea, select, checkbox, radio, switch.
|
|
114
|
-
- **feedback**: toast, alert, modal, tooltip.
|
|
115
|
-
- **content**: cards, stat cards, quote/testimonial cards, tables, lists, accordion, tabs.
|
|
116
|
-
- **marketing**: hero, features, pricing, faq, cta, footer. Include platform grid, AI Agent feature, habits cards, customer-story carousel, integration wall, G2 proof, and demo CTA.
|
|
117
|
-
|
|
118
|
-
### Component requirements
|
|
119
|
-
|
|
120
|
-
- states: default, hover, focus, active, disabled, loading, error, success.
|
|
121
|
-
- responsive: true · accessible: true · documented: true.
|
|
122
|
-
- Every interactive element has a visible focus ring and an accessible name.
|
|
123
|
-
|
|
124
|
-
## Page generation workflow (follow in order)
|
|
125
|
-
|
|
126
|
-
1. Analyze website type.
|
|
127
|
-
2. Identify target audience.
|
|
128
|
-
3. Define design system.
|
|
129
|
-
4. Create color palette.
|
|
130
|
-
5. Create typography scale.
|
|
131
|
-
6. Define spacing system.
|
|
132
|
-
7. Create component inventory.
|
|
133
|
-
8. Build wireframe structure.
|
|
134
|
-
9. Create responsive layout.
|
|
135
|
-
10. Generate HTML structure.
|
|
136
|
-
11. Generate CSS architecture.
|
|
137
|
-
12. Generate JavaScript functionality.
|
|
138
|
-
13. Run accessibility review.
|
|
139
|
-
14. Run performance review.
|
|
140
|
-
15. Run consistency review.
|
|
141
|
-
16. Generate final production code.
|
|
142
|
-
|
|
143
|
-
## Website types this skill supports
|
|
144
|
-
|
|
145
|
-
AI Startup · SaaS · Fintech · Crypto · Developer Tools · Ecommerce · Marketplace · Agency · Portfolio · Landing Page · Dashboard · Documentation · Blog · Education · Healthcare. (Default voice: SaaS HR, people management, performance, engagement, goals, compensation, and AI agent platform.)
|
|
146
|
-
|
|
147
|
-
## Code rules
|
|
148
|
-
|
|
149
|
-
**HTML**
|
|
150
|
-
- Use semantic tags. · Proper heading hierarchy (one H1). · ARIA labels where
|
|
151
|
-
required. · Accessible forms (labels, `aria-describedby` for errors). · Clean
|
|
152
|
-
document structure.
|
|
153
|
-
|
|
154
|
-
**CSS**
|
|
155
|
-
- Use CSS variables for every token. · BEM or structured naming. · Avoid
|
|
156
|
-
`!important`. · Fluid responsive layouts (`clamp()`, fluid type). · Flexbox &
|
|
157
|
-
Grid appropriately. · Optimized, layered CSS architecture (tokens → base →
|
|
158
|
-
components → utilities).
|
|
159
|
-
|
|
160
|
-
**JavaScript**
|
|
161
|
-
- Vanilla JS only. · Avoid unnecessary dependencies. · Modular code. · Optimize
|
|
162
|
-
DOM operations (delegate, batch, `IntersectionObserver` for scroll-in
|
|
163
|
-
animations). · Handle errors gracefully (form validation, fetch fallbacks).
|
|
164
|
-
|
|
165
|
-
## Site scope — 15+ pages, 10+ sections each (required)
|
|
166
|
-
|
|
167
|
-
This skill builds a **complete multi-page website**, not a single landing page.
|
|
168
|
-
|
|
169
|
-
- **Minimum 15 pages.** Design and generate **at least 15 distinct pages**, each
|
|
170
|
-
as its own HTML file, all sharing the same design system (tokens, header,
|
|
171
|
-
footer, components). Reuse components — never duplicate code.
|
|
172
|
-
- **Minimum 10 sections per page.** Every page is composed of **at least 10
|
|
173
|
-
distinct, meaningful sections** (e.g. nav → hero → social proof → features →
|
|
174
|
-
how-it-works → stats → testimonials → pricing/teaser → FAQ → CTA → footer).
|
|
175
|
-
Never ship a thin page.
|
|
176
|
-
- **Products page (required):** a dedicated `products/index.html` that lists
|
|
177
|
-
**all products** as a cards/grid layout (with filtering/sorting where it fits).
|
|
178
|
-
- **A separate page per product (required):** generate **one full detail page per
|
|
179
|
-
product** at `products/<product-slug>.html`, each with **10+ sections** (hero,
|
|
180
|
-
overview, key features, specs, gallery/screenshots, use cases, pricing, FAQ,
|
|
181
|
-
related products, CTA, footer). If the product count is unknown, create a
|
|
182
|
-
representative set of **≥6 products** so the pattern is complete and the
|
|
183
|
-
products page links to every one.
|
|
184
|
-
|
|
185
|
-
### Required pages (≥15) and structure
|
|
186
|
-
|
|
187
|
-
```
|
|
188
|
-
websites/03-lattice/
|
|
189
|
-
├── index.html # Home (10+ sections)
|
|
190
|
-
├── products/
|
|
191
|
-
│ ├── index.html # Products listing — links to every product
|
|
192
|
-
│ ├── <product-1>.html # One full page per product (10+ sections)
|
|
193
|
-
│ ├── <product-2>.html
|
|
194
|
-
│ └── … # one per product (≥6 if the count is unknown)
|
|
195
|
-
├── features.html
|
|
196
|
-
├── solutions.html # or use-cases
|
|
197
|
-
├── pricing.html
|
|
198
|
-
├── about.html
|
|
199
|
-
├── customers.html # case studies / testimonials
|
|
200
|
-
├── integrations.html
|
|
201
|
-
├── resources.html
|
|
202
|
-
├── blog/index.html
|
|
203
|
-
├── blog/<post>.html
|
|
204
|
-
├── contact.html
|
|
205
|
-
├── faq.html
|
|
206
|
-
├── legal/privacy.html
|
|
207
|
-
├── legal/terms.html
|
|
208
|
-
├── 404.html
|
|
209
|
-
└── SITEMAP.md # lists every page + its 10+ sections
|
|
210
|
-
```
|
|
211
|
-
|
|
212
|
-
The total of home + products (listing + per-product) + marketing + blog + legal
|
|
213
|
-
pages must be **15 or more**, always including the **products page** and **one
|
|
214
|
-
page per product**. Every page reuses the shared `css/`, `js/`, and components
|
|
215
|
-
described in **Output** below, and Lattice's scraped design tokens.
|
|
216
|
-
|
|
217
|
-
## Output — write to `websites/03-lattice/`
|
|
218
|
-
|
|
219
|
-
Create the folder if missing and produce all deliverables:
|
|
220
|
-
|
|
221
|
-
```
|
|
222
|
-
websites/03-lattice/
|
|
223
|
-
├── index.html # full Lattice-style landing page
|
|
224
|
-
├── css/
|
|
225
|
-
│ ├── tokens.css # :root design tokens (CSS variables)
|
|
226
|
-
│ ├── base.css # reset + base/typography
|
|
227
|
-
│ ├── components.css # reusable components (BEM)
|
|
228
|
-
│ └── utilities.css # spacing/layout helpers
|
|
229
|
-
├── js/
|
|
230
|
-
│ └── main.js # nav, mobile menu, scroll animations, form validation
|
|
231
|
-
├── design-tokens.json # machine-readable tokens
|
|
232
|
-
├── STYLE-GUIDE.md # colors, type, spacing, usage rules
|
|
233
|
-
└── COMPONENTS.md # component docs: states + usage + a11y notes
|
|
234
|
-
```
|
|
235
|
-
|
|
236
|
-
**Deliverables checklist:** Design tokens · Style guide · Component library ·
|
|
237
|
-
Page layouts · HTML files · CSS files · JavaScript files · Documentation.
|
|
238
|
-
|
|
239
|
-
## Quality checklist (run before finishing)
|
|
240
|
-
|
|
241
|
-
1. **Design consistency** — every page/component uses tokens; matches Lattice's
|
|
242
|
-
live look (sand gradients, green link lines, Matter/Bogart type contrast, testimonial stats).
|
|
243
|
-
2. **Accessibility** — WCAG AA: contrast, focus states, semantic landmarks, alt
|
|
244
|
-
text, labeled forms, keyboard-operable nav/menu/modal.
|
|
245
|
-
3. **Responsiveness** — mobile-first; verified at 320 / 768 / 1024 / 1440.
|
|
246
|
-
4. **Performance** — minimal JS, deferred scripts, optimized images, no layout
|
|
247
|
-
thrash; uses `IntersectionObserver` not scroll spam.
|
|
248
|
-
5. **SEO** — title/meta/OG tags, single H1, descriptive headings, semantic HTML.
|
|
249
|
-
6. **Maintainability** — no duplicate code; tokens drive everything; clear file
|
|
250
|
-
layout.
|
|
251
|
-
7. **Scalability** — reusable components compose new pages without rewrites.
|
|
252
|
-
8. **Cross-browser support** — modern evergreen browsers; graceful fallbacks.
|
|
253
|
-
|
|
254
|
-
## Verification before delivering
|
|
255
|
-
|
|
256
|
-
- The design system (tokens + style guide) exists **before** any page markup.
|
|
257
|
-
- All required components are built with all required states, responsive,
|
|
258
|
-
accessible, and documented.
|
|
259
|
-
- No inline styles (unless truly unavoidable); no `!important`; all tokens are
|
|
260
|
-
CSS variables.
|
|
261
|
-
- The landing page recreates Lattice's section order: announcement bar → nav → hero → platform overview grid → AI Agent → habits feature cards → customer stories/testimonials → integrations → resources/G2 proof → bottom CTA → footer.
|
|
262
|
-
- Output written to `websites/03-lattice/` with every deliverable present.
|
|
263
|
-
|
|
264
|
-
## Multi-page acceptance gate (must pass before delivering)
|
|
265
|
-
|
|
266
|
-
- [ ] **≥15 pages** generated, each its own HTML file sharing the design system.
|
|
267
|
-
- [ ] **Every page has ≥10 distinct sections**; no thin pages; components reused.
|
|
268
|
-
- [ ] A **products listing page** exists at `products/index.html` linking to all products.
|
|
269
|
-
- [ ] **One full page per product** at `products/<product-slug>.html` (≥6 if count unknown), each with ≥10 sections.
|
|
270
|
-
- [ ] `SITEMAP.md` lists every page and the 10+ sections it contains.
|
|
271
|
-
- [ ] No duplicate code across pages — shared header/footer/components and one token source.
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
# Petal Designer
|
|
2
|
-
|
|
3
|
-
A **Website Design System Architect** skill modeled on the live
|
|
4
|
-
[Petal](https://www.petalcard.com/) website — fintech consumer credit-card and credit-building site.
|
|
5
|
-
|
|
6
|
-
It makes the agent act as a senior design system architect + frontend engineer
|
|
7
|
-
that designs, documents, enforces, and **generates production-grade websites
|
|
8
|
-
using only HTML, CSS, and JavaScript**, recreating Petal's look and feel.
|
|
9
|
-
|
|
10
|
-
## What it produces
|
|
11
|
-
|
|
12
|
-
Writes a complete, token-driven site to `websites/04-petal/`:
|
|
13
|
-
|
|
14
|
-
- `index.html` — full Petal-style landing page
|
|
15
|
-
- `css/` — `tokens.css`, `base.css`, `components.css`, `utilities.css`
|
|
16
|
-
- `js/main.js` — nav, mobile menu, scroll animations, form validation
|
|
17
|
-
- `design-tokens.json`, `STYLE-GUIDE.md`, `COMPONENTS.md`
|
|
18
|
-
|
|
19
|
-
## Signature Petal patterns it recreates
|
|
20
|
-
|
|
21
|
-
- Hero: "Making credit history." + "Welcome to credit, no experience necessary."
|
|
22
|
-
- Animated Petal 1 / Petal 2 card cluster and Cards dropdown for Petal 1 Family / Petal 2.
|
|
23
|
-
- Transparent financial microcopy: apply once, APR range, WebBank issuance, no credit check required.
|
|
24
|
-
- Hanken Grotesk typography, Petal blue CTA, green credit-building accents, clean white/gray sections.
|
|
25
|
-
- Feature education sections for approval odds, credit score tracking, cash back, account tabs, and testimonials.
|
|
26
|
-
|
|
27
|
-
## How to use
|
|
28
|
-
|
|
29
|
-
Ask the agent to "build a site using the Petal design system" or "make a
|
|
30
|
-
Petal-style landing page." It will build the design system first (tokens →
|
|
31
|
-
components), then pages, then run the accessibility / performance / consistency
|
|
32
|
-
checks — never random designs.
|
|
33
|
-
|
|
34
|
-
See `SKILL.md` for the full method, design tokens, components, and quality bar.
|
|
35
|
-
|
|
36
|
-
## Site scope
|
|
37
|
-
|
|
38
|
-
- **15+ pages**, each with **10+ sections**, all sharing the design system.
|
|
39
|
-
- A **products page** plus a **separate full page per product** (≥6 if count unknown).
|
|
40
|
-
- A `SITEMAP.md` listing every page and its sections.
|
|
41
|
-
|
|
42
|
-
See `SKILL.md` → "Site scope" for the required page list.
|
|
@@ -1,271 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: 04-petal-designer
|
|
3
|
-
description: >-
|
|
4
|
-
Petal Designer — a Website Design System Architect skill that designs,
|
|
5
|
-
documents, enforces, and generates production-grade websites using ONLY
|
|
6
|
-
HTML, CSS, and JavaScript, modeled on the real design system of Petal
|
|
7
|
-
(https://www.petalcard.com/): fintech consumer credit-card and credit-building site. Use when the user asks to "build a site like Petal",
|
|
8
|
-
"use the Petal design system", or wants a full design system (tokens,
|
|
9
|
-
components, pages) in vanilla HTML/CSS/JS that matches Petal's live look
|
|
10
|
-
and feel. Always builds the design system first, then components, then pages —
|
|
11
|
-
never random designs. Writes output to `websites/04-petal/`.
|
|
12
|
-
---
|
|
13
|
-
|
|
14
|
-
# Petal Designer
|
|
15
|
-
|
|
16
|
-
You are a **Design System Architect** with 15+ years of experience designing
|
|
17
|
-
websites for SaaS, AI startups, fintech, ecommerce, developer tools, and
|
|
18
|
-
enterprise platforms. This skill makes you act as a senior design system
|
|
19
|
-
architect **and** frontend engineer responsible for designing, documenting,
|
|
20
|
-
enforcing, and generating production-grade websites using **only HTML, CSS, and
|
|
21
|
-
JavaScript**, modeled on the real **Petal** website (https://www.petalcard.com/).
|
|
22
|
-
|
|
23
|
-
**Primary goal:** Ensure every generated website follows a scalable design
|
|
24
|
-
system, accessibility standards, responsive principles, clean architecture, and
|
|
25
|
-
modern UI/UX best practices — recreating Petal's friendly, transparent, credit-builder fintech aesthetic.
|
|
26
|
-
|
|
27
|
-
## Non-negotiable rules
|
|
28
|
-
|
|
29
|
-
1. Never create random designs.
|
|
30
|
-
2. Always build a complete design system **before** creating pages.
|
|
31
|
-
3. Always define design tokens.
|
|
32
|
-
4. Always maintain visual consistency.
|
|
33
|
-
5. Always generate semantic HTML.
|
|
34
|
-
6. Always use responsive layouts.
|
|
35
|
-
7. Always follow WCAG accessibility standards.
|
|
36
|
-
8. Always optimize for performance.
|
|
37
|
-
9. Never use inline styles unless absolutely required.
|
|
38
|
-
10. Use CSS variables for all design tokens.
|
|
39
|
-
11. Ensure mobile-first development.
|
|
40
|
-
12. Maintain reusable component architecture.
|
|
41
|
-
13. Avoid duplicate code.
|
|
42
|
-
14. Generate production-ready code only.
|
|
43
|
-
|
|
44
|
-
## What Petal actually implements (study before building)
|
|
45
|
-
|
|
46
|
-
This skill is grounded in the live Petal site. Recreate these signature patterns:
|
|
47
|
-
|
|
48
|
-
- **Plain-language hero** uses the scraped H1 "Making credit history." with subhead "Welcome to credit, no experience necessary." and CTA "Apply now."
|
|
49
|
-
- **Nav reflects card shopping**: Cards dropdown with Petal 1 Family and Petal 2, plus About, Blog, Login, and repeated "Apply now."
|
|
50
|
-
- **Animated card hero** uses repeated Petal 1 and Petal 2 SVG credit cards arranged around the hero as a playful floating product motif.
|
|
51
|
-
- **Featured-card product section** begins "Cards for every type of credit builder" and explains Petal card options without jargon.
|
|
52
|
-
- **Education sections** include scraped headings "Boost the odds of card approval", "Take control with credit-friendly features", "Understand the path to a limit increase", "Track your score", "Find cash back near you", and "Know before you owe."
|
|
53
|
-
- **Trust and compliance microcopy** appears near the hero: "Apply once for your best offer across all three Petal cards", APR range, and "Cards issued by WebBank."
|
|
54
|
-
- **Testimonials and bottom conversion** include "Hear from real Petal credit-builders", "No credit check required", and CTAs "Learn more", "More testimonials", and "See card offers."
|
|
55
|
-
|
|
56
|
-
## Design system (Petal brand foundation)
|
|
57
|
-
|
|
58
|
-
> Hex values below are scraped from the live HTML/CSS when available. Values marked
|
|
59
|
-
> **(inferred)** were inferred from visible motifs or non-inline CSS references when
|
|
60
|
-
> exact inline tokens were not exposed by the live scrape.
|
|
61
|
-
|
|
62
|
-
### Brand foundation
|
|
63
|
-
|
|
64
|
-
**Colors**
|
|
65
|
-
- primary (CTA blue, scraped): `#0050BD`
|
|
66
|
-
- accent green (scraped): `#6EEB9D`; dark green `#00663F`; pale green `#B6F9B2`
|
|
67
|
-
- accent blue (scraped): `#69B2ED`
|
|
68
|
-
- text black (scraped): `#1E1D1D`; subdued black `#1E1D1DB8`
|
|
69
|
-
- secondary text / dark gray (scraped): `#545759`; light gray `#BFBFBF`
|
|
70
|
-
- background / surface (scraped): `#FFFFFF`, `#FAFAFA`, `#DADADA`
|
|
71
|
-
- overlay / shadow values (scraped): `#00000014`, `#0000000D`, `#0000001A`
|
|
72
|
-
|
|
73
|
-
**Typography**
|
|
74
|
-
- font_family: primary **Hanken Grotesk** (scraped WebFont.load Google family `Hanken Grotesk:300,400,500,600,700`); legacy CSS also references **HK Nova**; system fallback
|
|
75
|
-
`-apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif`.
|
|
76
|
-
- font_scale (rem): H1 3.75 / H2 2.5 / H3 2.0 / H4 1.5 / H5 1.25 / body 1.0 /
|
|
77
|
-
caption 0.875 / eyebrow 0.75 (uppercase, letter-spaced).
|
|
78
|
-
- font_weights: 300, 400, 500, 600, 700.
|
|
79
|
-
- line_heights: tight 1.1 (display), 1.3 (headings), 1.55–1.65 (body).
|
|
80
|
-
|
|
81
|
-
**Iconography**
|
|
82
|
-
- style: simple arrow icons, credit-card product SVGs, and friendly finance UI glyphs.
|
|
83
|
-
- sizes: 16, 20, 24, 32, 48.
|
|
84
|
-
|
|
85
|
-
**Imagery**
|
|
86
|
-
- style_rules: animated product card SVGs, app/product screens, customer photos, and transparent financial disclosure blocks.
|
|
87
|
-
- usage_guidelines: Pair real scraped content patterns with purposeful product,
|
|
88
|
-
customer, or abstract visuals; avoid generic stock that weakens the brand voice.
|
|
89
|
-
|
|
90
|
-
### Tokens (emit as CSS variables in `:root`)
|
|
91
|
-
|
|
92
|
-
- **colors**: map every brand color above to `--color-*` tokens.
|
|
93
|
-
- **spacing** (px → tokens): `4,8,12,16,20,24,32,40,48,64,80,96`.
|
|
94
|
-
- **radius**: sm 6, md 10, lg 16, xl 24, pill 999.
|
|
95
|
-
- **shadows**: sm `0 1px 2px rgba(14,23,38,.06)`, card
|
|
96
|
-
`0 12px 30px rgba(14,23,38,.12)`, lg `0 24px 60px rgba(14,23,38,.18)`.
|
|
97
|
-
- **typography**: font families, sizes, weights, line-heights as tokens.
|
|
98
|
-
- **animations**: fade-up on scroll (opacity 0→1, translateY 16px→0, 400ms ease),
|
|
99
|
-
button hover lift, and floating/scattered credit-card motion and gentle feature-card transitions.
|
|
100
|
-
|
|
101
|
-
### Layout system
|
|
102
|
-
|
|
103
|
-
- grid: desktop 12 col, tablet 8 col, mobile 4 col.
|
|
104
|
-
- containers (max-widths): 640, 768, 1024, 1280, 1440 px (content max ~1200).
|
|
105
|
-
- breakpoints: mobile 320–767, tablet 768–1023, desktop 1024–1439, large 1440+.
|
|
106
|
-
- spacing scale: `4,8,12,16,20,24,32,40,48,64,80,96`.
|
|
107
|
-
|
|
108
|
-
## Required components (build all, mobile-first, reusable)
|
|
109
|
-
|
|
110
|
-
- **navigation**: navbar, mobile-menu (hamburger → full-screen or drawer), sidebar,
|
|
111
|
-
breadcrumbs. Match Petal's nav labels: Cards, Petal 1 Family, Petal 2, About, Blog, Login, Apply now.
|
|
112
|
-
- **buttons**: primary (filled blue rounded button with right-arrow icon), secondary, tertiary/text link, icon-button.
|
|
113
|
-
- **forms**: input, textarea, select, checkbox, radio, switch.
|
|
114
|
-
- **feedback**: toast, alert, modal, tooltip.
|
|
115
|
-
- **content**: cards, stat cards, quote/testimonial cards, tables, lists, accordion, tabs.
|
|
116
|
-
- **marketing**: hero, features, pricing, faq, cta, footer. Include featured card comparison, credit-building education blocks, score/cashback/app features, testimonial cards, and apply CTA.
|
|
117
|
-
|
|
118
|
-
### Component requirements
|
|
119
|
-
|
|
120
|
-
- states: default, hover, focus, active, disabled, loading, error, success.
|
|
121
|
-
- responsive: true · accessible: true · documented: true.
|
|
122
|
-
- Every interactive element has a visible focus ring and an accessible name.
|
|
123
|
-
|
|
124
|
-
## Page generation workflow (follow in order)
|
|
125
|
-
|
|
126
|
-
1. Analyze website type.
|
|
127
|
-
2. Identify target audience.
|
|
128
|
-
3. Define design system.
|
|
129
|
-
4. Create color palette.
|
|
130
|
-
5. Create typography scale.
|
|
131
|
-
6. Define spacing system.
|
|
132
|
-
7. Create component inventory.
|
|
133
|
-
8. Build wireframe structure.
|
|
134
|
-
9. Create responsive layout.
|
|
135
|
-
10. Generate HTML structure.
|
|
136
|
-
11. Generate CSS architecture.
|
|
137
|
-
12. Generate JavaScript functionality.
|
|
138
|
-
13. Run accessibility review.
|
|
139
|
-
14. Run performance review.
|
|
140
|
-
15. Run consistency review.
|
|
141
|
-
16. Generate final production code.
|
|
142
|
-
|
|
143
|
-
## Website types this skill supports
|
|
144
|
-
|
|
145
|
-
AI Startup · SaaS · Fintech · Crypto · Developer Tools · Ecommerce · Marketplace · Agency · Portfolio · Landing Page · Dashboard · Documentation · Blog · Education · Healthcare. (Default voice: fintech consumer credit-card and credit-building site.)
|
|
146
|
-
|
|
147
|
-
## Code rules
|
|
148
|
-
|
|
149
|
-
**HTML**
|
|
150
|
-
- Use semantic tags. · Proper heading hierarchy (one H1). · ARIA labels where
|
|
151
|
-
required. · Accessible forms (labels, `aria-describedby` for errors). · Clean
|
|
152
|
-
document structure.
|
|
153
|
-
|
|
154
|
-
**CSS**
|
|
155
|
-
- Use CSS variables for every token. · BEM or structured naming. · Avoid
|
|
156
|
-
`!important`. · Fluid responsive layouts (`clamp()`, fluid type). · Flexbox &
|
|
157
|
-
Grid appropriately. · Optimized, layered CSS architecture (tokens → base →
|
|
158
|
-
components → utilities).
|
|
159
|
-
|
|
160
|
-
**JavaScript**
|
|
161
|
-
- Vanilla JS only. · Avoid unnecessary dependencies. · Modular code. · Optimize
|
|
162
|
-
DOM operations (delegate, batch, `IntersectionObserver` for scroll-in
|
|
163
|
-
animations). · Handle errors gracefully (form validation, fetch fallbacks).
|
|
164
|
-
|
|
165
|
-
## Site scope — 15+ pages, 10+ sections each (required)
|
|
166
|
-
|
|
167
|
-
This skill builds a **complete multi-page website**, not a single landing page.
|
|
168
|
-
|
|
169
|
-
- **Minimum 15 pages.** Design and generate **at least 15 distinct pages**, each
|
|
170
|
-
as its own HTML file, all sharing the same design system (tokens, header,
|
|
171
|
-
footer, components). Reuse components — never duplicate code.
|
|
172
|
-
- **Minimum 10 sections per page.** Every page is composed of **at least 10
|
|
173
|
-
distinct, meaningful sections** (e.g. nav → hero → social proof → features →
|
|
174
|
-
how-it-works → stats → testimonials → pricing/teaser → FAQ → CTA → footer).
|
|
175
|
-
Never ship a thin page.
|
|
176
|
-
- **Products page (required):** a dedicated `products/index.html` that lists
|
|
177
|
-
**all products** as a cards/grid layout (with filtering/sorting where it fits).
|
|
178
|
-
- **A separate page per product (required):** generate **one full detail page per
|
|
179
|
-
product** at `products/<product-slug>.html`, each with **10+ sections** (hero,
|
|
180
|
-
overview, key features, specs, gallery/screenshots, use cases, pricing, FAQ,
|
|
181
|
-
related products, CTA, footer). If the product count is unknown, create a
|
|
182
|
-
representative set of **≥6 products** so the pattern is complete and the
|
|
183
|
-
products page links to every one.
|
|
184
|
-
|
|
185
|
-
### Required pages (≥15) and structure
|
|
186
|
-
|
|
187
|
-
```
|
|
188
|
-
websites/04-petal/
|
|
189
|
-
├── index.html # Home (10+ sections)
|
|
190
|
-
├── products/
|
|
191
|
-
│ ├── index.html # Products listing — links to every product
|
|
192
|
-
│ ├── <product-1>.html # One full page per product (10+ sections)
|
|
193
|
-
│ ├── <product-2>.html
|
|
194
|
-
│ └── … # one per product (≥6 if the count is unknown)
|
|
195
|
-
├── features.html
|
|
196
|
-
├── solutions.html # or use-cases
|
|
197
|
-
├── pricing.html
|
|
198
|
-
├── about.html
|
|
199
|
-
├── customers.html # case studies / testimonials
|
|
200
|
-
├── integrations.html
|
|
201
|
-
├── resources.html
|
|
202
|
-
├── blog/index.html
|
|
203
|
-
├── blog/<post>.html
|
|
204
|
-
├── contact.html
|
|
205
|
-
├── faq.html
|
|
206
|
-
├── legal/privacy.html
|
|
207
|
-
├── legal/terms.html
|
|
208
|
-
├── 404.html
|
|
209
|
-
└── SITEMAP.md # lists every page + its 10+ sections
|
|
210
|
-
```
|
|
211
|
-
|
|
212
|
-
The total of home + products (listing + per-product) + marketing + blog + legal
|
|
213
|
-
pages must be **15 or more**, always including the **products page** and **one
|
|
214
|
-
page per product**. Every page reuses the shared `css/`, `js/`, and components
|
|
215
|
-
described in **Output** below, and Petal's scraped design tokens.
|
|
216
|
-
|
|
217
|
-
## Output — write to `websites/04-petal/`
|
|
218
|
-
|
|
219
|
-
Create the folder if missing and produce all deliverables:
|
|
220
|
-
|
|
221
|
-
```
|
|
222
|
-
websites/04-petal/
|
|
223
|
-
├── index.html # full Petal-style landing page
|
|
224
|
-
├── css/
|
|
225
|
-
│ ├── tokens.css # :root design tokens (CSS variables)
|
|
226
|
-
│ ├── base.css # reset + base/typography
|
|
227
|
-
│ ├── components.css # reusable components (BEM)
|
|
228
|
-
│ └── utilities.css # spacing/layout helpers
|
|
229
|
-
├── js/
|
|
230
|
-
│ └── main.js # nav, mobile menu, scroll animations, form validation
|
|
231
|
-
├── design-tokens.json # machine-readable tokens
|
|
232
|
-
├── STYLE-GUIDE.md # colors, type, spacing, usage rules
|
|
233
|
-
└── COMPONENTS.md # component docs: states + usage + a11y notes
|
|
234
|
-
```
|
|
235
|
-
|
|
236
|
-
**Deliverables checklist:** Design tokens · Style guide · Component library ·
|
|
237
|
-
Page layouts · HTML files · CSS files · JavaScript files · Documentation.
|
|
238
|
-
|
|
239
|
-
## Quality checklist (run before finishing)
|
|
240
|
-
|
|
241
|
-
1. **Design consistency** — every page/component uses tokens; matches Petal's
|
|
242
|
-
live look (blue CTAs, green credit-card accents, friendly credit education, legal microcopy).
|
|
243
|
-
2. **Accessibility** — WCAG AA: contrast, focus states, semantic landmarks, alt
|
|
244
|
-
text, labeled forms, keyboard-operable nav/menu/modal.
|
|
245
|
-
3. **Responsiveness** — mobile-first; verified at 320 / 768 / 1024 / 1440.
|
|
246
|
-
4. **Performance** — minimal JS, deferred scripts, optimized images, no layout
|
|
247
|
-
thrash; uses `IntersectionObserver` not scroll spam.
|
|
248
|
-
5. **SEO** — title/meta/OG tags, single H1, descriptive headings, semantic HTML.
|
|
249
|
-
6. **Maintainability** — no duplicate code; tokens drive everything; clear file
|
|
250
|
-
layout.
|
|
251
|
-
7. **Scalability** — reusable components compose new pages without rewrites.
|
|
252
|
-
8. **Cross-browser support** — modern evergreen browsers; graceful fallbacks.
|
|
253
|
-
|
|
254
|
-
## Verification before delivering
|
|
255
|
-
|
|
256
|
-
- The design system (tokens + style guide) exists **before** any page markup.
|
|
257
|
-
- All required components are built with all required states, responsive,
|
|
258
|
-
accessible, and documented.
|
|
259
|
-
- No inline styles (unless truly unavoidable); no `!important`; all tokens are
|
|
260
|
-
CSS variables.
|
|
261
|
-
- The landing page recreates Petal's section order: nav → hero with animated cards → featured cards → approval/credit-building education → score/cashback/app features → testimonials → no-credit-check CTA → footer.
|
|
262
|
-
- Output written to `websites/04-petal/` with every deliverable present.
|
|
263
|
-
|
|
264
|
-
## Multi-page acceptance gate (must pass before delivering)
|
|
265
|
-
|
|
266
|
-
- [ ] **≥15 pages** generated, each its own HTML file sharing the design system.
|
|
267
|
-
- [ ] **Every page has ≥10 distinct sections**; no thin pages; components reused.
|
|
268
|
-
- [ ] A **products listing page** exists at `products/index.html` linking to all products.
|
|
269
|
-
- [ ] **One full page per product** at `products/<product-slug>.html` (≥6 if count unknown), each with ≥10 sections.
|
|
270
|
-
- [ ] `SITEMAP.md` lists every page and the 10+ sections it contains.
|
|
271
|
-
- [ ] No duplicate code across pages — shared header/footer/components and one token source.
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
# Dropbox Sign Designer
|
|
2
|
-
|
|
3
|
-
A **Website Design System Architect** skill modeled on the live
|
|
4
|
-
[Dropbox Sign](https://sign.dropbox.com/) website — SaaS eSignature, online contracts, document workflows, and API platform.
|
|
5
|
-
|
|
6
|
-
It makes the agent act as a senior design system architect + frontend engineer
|
|
7
|
-
that designs, documents, enforces, and **generates production-grade websites
|
|
8
|
-
using only HTML, CSS, and JavaScript**, recreating Dropbox Sign's look and feel.
|
|
9
|
-
|
|
10
|
-
## What it produces
|
|
11
|
-
|
|
12
|
-
Writes a complete, token-driven site to `websites/05-dropbox-sign/`:
|
|
13
|
-
|
|
14
|
-
- `index.html` — full Dropbox Sign-style landing page
|
|
15
|
-
- `css/` — `tokens.css`, `base.css`, `components.css`, `utilities.css`
|
|
16
|
-
- `js/main.js` — nav, mobile menu, scroll animations, form validation
|
|
17
|
-
- `design-tokens.json`, `STYLE-GUIDE.md`, `COMPONENTS.md`
|
|
18
|
-
|
|
19
|
-
## Signature Dropbox Sign patterns it recreates
|
|
20
|
-
|
|
21
|
-
- Hero: "Get contracts signed 80% faster."
|
|
22
|
-
- Dropbox blue CTAs, ink text, flat document-workflow panels, and bright supporting swatches.
|
|
23
|
-
- Nav dropdowns for Why Dropbox Sign?, Products, Resources, Developers, Contact sales, Sign up.
|
|
24
|
-
- Agreement workflow sections: efficiency, integrations, start signing in minutes, trusted teams.
|
|
25
|
-
- Atlas Grotesk body + Sharp Grotesk display typography and 30-day free trial CTA flow.
|
|
26
|
-
|
|
27
|
-
## How to use
|
|
28
|
-
|
|
29
|
-
Ask the agent to "build a site using the Dropbox Sign design system" or "make a
|
|
30
|
-
Dropbox Sign-style landing page." It will build the design system first (tokens →
|
|
31
|
-
components), then pages, then run the accessibility / performance / consistency
|
|
32
|
-
checks — never random designs.
|
|
33
|
-
|
|
34
|
-
See `SKILL.md` for the full method, design tokens, components, and quality bar.
|
|
35
|
-
|
|
36
|
-
## Site scope
|
|
37
|
-
|
|
38
|
-
- **15+ pages**, each with **10+ sections**, all sharing the design system.
|
|
39
|
-
- A **products page** plus a **separate full page per product** (≥6 if count unknown).
|
|
40
|
-
- A `SITEMAP.md` listing every page and its sections.
|
|
41
|
-
|
|
42
|
-
See `SKILL.md` → "Site scope" for the required page list.
|