designing-systems
Phase 1: Browse 4 catalog sites via fuse-browser, write CSS-precise observations (oklch values, font-size clamp, grid ratios, border-radius, shadows), declare reference site + 3 elements. Feed specs to Gemini context.
What this skill does
## Phase 1: RESEARCH — Browse, observe, extract CSS specs
### When
After Phase 0 identity templates are read. Before writing design-system.md.
### Input (from Phase 0)
- Sector identified (creative/fintech/ecommerce/devtool/health)
- Typography pair chosen, OKLCH palette direction known
### Steps
1. **Read inspiration catalog** — `references/design-inspiration.md` + `references/design-inspiration-urls.md`
2. **Pick 4 URLs** from catalog matching the project sector (MUST be from KNOWN_DOMAINS)
3. **Browse each site** via fuse-browser (open one session, reuse for all 4):
- `browser_open` → sessionId (once)
- `browser_navigate` → URL
- `browser_scroll` → `to: "end"` (loads lazy content)
- Wait 5s → `browser_scroll` `deltaY: -100000` (back to top) → wait 2s
- `browser_screenshot` fullPage: true
4. **Write 5 CSS-precise observations** per screenshot (NOT vague descriptions):
- (1) Colors: exact oklch() values for primary, accent, background, text
- (2) Typography: font-family name, font-size as clamp(min, preferred, max), font-weight
- (3) Layout: grid/flex structure with column ratios (60/40, 1fr/1fr), gap in px
- (4) Effects: border-radius in px, box-shadow values, backdrop-blur, opacity
- (5) Spacing: section padding in px, margin between elements, max-width
5. **Declare reference** — "Site choisi: {URL}. Je reproduis: {el1}, {el2}, {el3}"
Pick 3 visually distinctive elements with their CSS specs.
### Output
- 4 fullPage screenshots taken (state: screenshots_count >= 4)
- 20 CSS-precise observations (5 per site)
- 1 reference site declared with 3 elements to reproduce
- Ready to write design-system.md (Phase 2)
### Next → Phase 2: UX COPY
`2-ux-copy/SKILL.md` — Define voice, tone, and microcopy patterns.
### References
| File | Purpose |
|------|---------|
| `references/design-inspiration.md` | Browsing methodology and observation format |
| `references/design-inspiration-urls.md` | Catalog of sector-matched inspiration URLs |
| `references/color-system.md` | OKLCH palette generation |
| `references/typography.md` | Font scale and pairings |
| `references/ui-hierarchy.md` | Visual hierarchy patterns |
| `references/ui-spacing.md` | Spacing systems |
Related in Web Dev
generating-lwc-components
IncludedLightning Web Components with PICKLES methodology and 165-point scoring. Use this skill when the user creates or edits LWC components, builds wire service patterns, or writes Jest tests for LWC. TRIGGER when: user creates/edits LWC components, touches lwc/**/*.js, .html, .css, .js-meta.xml files, or asks about wire service, SLDS, or Jest LWC tests. DO NOT TRIGGER when: Apex classes (use generating-apex), Aura components, or Visualforce.
tanstack-query
IncludedManage server state in React with TanStack Query v5. Set up queries with useQuery, mutations with useMutation, configure QueryClient caching strategies, implement optimistic updates, and handle infinite scroll with useInfiniteQuery. Use when: setting up data fetching in React projects, migrating from v4 to v5, or fixing object syntax required errors, query callbacks removed issues, cacheTime renamed to gcTime, isPending vs isLoading confusion, keepPreviousData removed problems.
document-processor-api
IncludedProcess documents with Nutrient DWS. Use when the user wants to generate PDFs from HTML or URLs, convert Office/images/PDFs, assemble or split packets, OCR scans, extract text/tables/key-value pairs, redact PII, watermark, sign, fill forms, optimize PDFs, or produce compliance outputs like PDF/A or PDF/UA. Triggers include convert to PDF, merge these PDFs, OCR this scan, extract tables, redact PII, sign this PDF, make this PDF/A, or linearize for web delivery.
nutrient-document-processing
IncludedProcess documents with Nutrient DWS. Use when the user wants to generate PDFs from HTML or URLs, convert Office/images/PDFs, assemble or split packets, OCR scans, extract text/tables/key-value pairs, redact PII, watermark, sign, fill forms, optimize PDFs, or produce compliance outputs like PDF/A or PDF/UA. Triggers include convert to PDF, merge these PDFs, OCR this scan, extract tables, redact PII, sign this PDF, make this PDF/A, or linearize for web delivery.
tanstack-query
IncludedManage server state in React with TanStack Query v5. Covers useMutationState, simplified optimistic updates, throwOnError, network mode (offline/PWA), and infiniteQueryOptions. Use when setting up data fetching, fixing v4→v5 migration errors (object syntax, gcTime, isPending, keepPreviousData), or debugging SSR/hydration issues with streaming server components.
accelint-nextjs-best-practices
IncludedNext.js performance optimization and best practices. Use when writing Next.js code (App Router or Pages Router); implementing Server Components, Server Actions, or API routes; optimizing RSC serialization, data fetching, or server-side rendering; reviewing Next.js code for performance issues; fixing authentication in Server Actions; or implementing Suspense boundaries, parallel data fetching, or request deduplication.