[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M71S33EK50ME3TW0H9ZVFH2F":3,"skill-same:01M71S33EK50ME3TW0H9ZVFH2F":97},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":28,"publishedAt":49,"linkOnly":50,"markdownContent":51,"markdownBody":52,"frontMatter":53,"refName":57,"commitSha":58,"skillDirectory":59,"forksCount":60,"repositoryHtmlUrl":61,"repositoryHomepageUrl":6,"ownerHtmlUrl":62,"ownerBlogUrl":6,"ownerDescription":63,"updatedAt":64,"install":65,"resources":78},"01M71S33EK50ME3TW0H9ZVFH2F","swiss-design",null,"Apply a Swiss International Style design system using Tailwind CSS. Use when asked to style a webpage, clean up a UI, apply a design system, make something look great, or when the user references Swiss design, grotesque fonts, Helvetica, grid systems, modernist typography, or 1960s\u002F1950s design aesthetics. Implements IBM Plex Sans typography, stone color palette, opacity-based hierarchy, generous whitespace, and structured grid layouts.","hafidzlvm\u002Fopencode","hafidzlvm","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F136473204?v=4","01M71RTZ4DJAGQYQVVPHF45F6M","Hafidz","01M71RTZ52Y6J7W3W3AAF16E8G",1,"MIT","https:\u002F\u002Fgithub.com\u002Fhafidzlvm\u002Fopencode\u002Fblob\u002Fmain\u002Fskills\u002Fswiss-design\u002FSKILL.md",[18,23],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000015","视觉设计","SCENARIO","使用场景",{"categoryNo":24,"categoryName":25,"taxonomyType":26,"taxonomyTypeDesc":27},"01JBSEEDCAT000000000000032","设计师","PROFESSION","适用职业",[29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48],"swiss design","swiss","design","system","aesthetics","ibm","color","make","typography","ui","design system","palette","references","hierarchy","fonts","when","clean","up","Tailwind","css","2026-11-10 13:02:02",false,"---\nname: swiss-design\ndescription: Apply a Swiss International Style design system using Tailwind CSS. Use when asked to style a webpage, clean up a UI, apply a design system, make something look great, or when the user references Swiss design, grotesque fonts, Helvetica, grid systems, modernist typography, or 1960s\u002F1950s design aesthetics. Implements IBM Plex Sans typography, stone color palette, opacity-based hierarchy, generous whitespace, and structured grid layouts.\nlicense: MIT\nmetadata:\n  author: zeke\n  version: \"1.0\"\n---\n\n# Swiss Design System\n\nA design system rooted in the Swiss International Style of the 1950s–60s: grotesque typography, rigorous grid, bold geometric forms, generous whitespace, and restrained color.\n\n## Six Principles\n\n1. **Grid first.** Every layout lives on a 12-column grid with an 8px base unit.\n2. **Mobile first, always.** Design for the smallest viewport first, then expand. Every layout must work at 320px and at 1440px. Use `sm:`, `md:`, `lg:` Tailwind prefixes systematically.\n3. **Whitespace is structure.** Generous padding and margins are not waste — they are the design.\n4. **Opacity, not hue, creates hierarchy.** Never introduce a second color to indicate text weight or importance. Use opacity.\n5. **One accent.** Each project gets exactly one accent color, used sparingly at multiple opacities.\n6. **Narrow columns.** Body text never exceeds `max-w-[60ch]`. Wider columns hurt legibility.\n\n---\n\n## Typography\n\n**Primary font:** IBM Plex Sans (Google Fonts)\n\n```html\n\u003Clink rel=\"preconnect\" href=\"https:\u002F\u002Ffonts.googleapis.com\">\n\u003Clink href=\"https:\u002F\u002Ffonts.googleapis.com\u002Fcss2?family=IBM+Plex+Sans:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&display=swap\" rel=\"stylesheet\">\n```\n\n**Fallback chain** (in order of preference):\n\n| Font | Source | Character |\n| ---- | ------ | --------- |\n| IBM Plex Sans | Google Fonts | Primary. Rational, slightly condensed, 1960s systems rationalism |\n| Hanken Grotesk | Google Fonts | Closest to Neue Haas Grotesk lineage |\n| Barlow | Google Fonts | Condensed Swiss-grid proportions, strong vertical rhythm |\n| Host Grotesk | Google Fonts | Warm grotesque, good at all sizes |\n| DM Sans | Google Fonts | Clean neo-grotesque fallback |\n| system-ui | Built-in | Last resort |\n\n```css\nfont-family: 'IBM Plex Sans', 'Hanken Grotesk', 'Barlow', 'Host Grotesk', 'DM Sans', system-ui, sans-serif;\n```\n\n**Type scale:**\n\n| Role | Tailwind | Line height | Max width |\n| ---- | -------- | ----------- | --------- |\n| Display | `text-7xl font-light tracking-tight` | `leading-none` | unconstrained |\n| H1 | `text-5xl font-light tracking-tight` | `leading-tight` | unconstrained |\n| H2 | `text-3xl font-light tracking-tight` | `leading-snug` | unconstrained |\n| H3 | `text-xl font-normal` | `leading-snug` | unconstrained |\n| Body | `text-base font-normal` | `leading-relaxed` | `max-w-[60ch]` |\n| Small | `text-sm font-normal` | `leading-relaxed` | `max-w-[60ch]` |\n| Caption | `text-xs font-normal tracking-wide uppercase` | `leading-normal` | unconstrained |\n| Mono | `font-mono text-sm` | `leading-relaxed` | `max-w-[60ch]` |\n\n- Headings: `font-light` (300) or `font-normal` (400). Never bold for headings.\n- Emphasis within body: `font-medium` (500). Never `font-bold` (700).\n- Letter spacing on display\u002Fh1: `tracking-tight` (-0.02em).\n- Captions and labels: `tracking-wide uppercase text-xs`.\n\n### Typographic details\n\nThe Swiss style depends on typographic precision. These rules are non-negotiable:\n\n- Use the ellipsis character `…`, never three periods `...`.\n- Use curly quotes `\"` `\"` and `'` `'`, never straight quotes `\"` `'`.\n- Loading and progress states end with an ellipsis: `Loading…`, `Saving…`.\n- Number columns and tables use `font-variant-numeric: tabular-nums` (Tailwind: `tabular-nums`) so digits align vertically.\n- Headings use `text-wrap: balance` (Tailwind: `text-balance`) to prevent widows. Body paragraphs use `text-pretty` where supported.\n- Non-breaking spaces between value and unit, and inside brand names: `10&nbsp;MB`, `⌘&nbsp;K`.\n\n---\n\n## Color System\n\n### Stone palette (light mode → dark mode)\n\n| Role | Light | Dark | Tailwind |\n| ---- | ----- | ---- | -------- |\n| Page background | `stone-50` | `stone-950` | `bg-stone-50 dark:bg-stone-950` |\n| Surface \u002F card | `stone-100` | `stone-900` | `bg-stone-100 dark:bg-stone-900` |\n| Subtle surface | `stone-200` | `stone-800` | `bg-stone-200 dark:bg-stone-800` |\n| Border | `stone-200` | `stone-800` | `border-stone-200 dark:border-stone-800` |\n| Subtle border | `stone-100` | `stone-900` | `border-stone-100 dark:border-stone-900` |\n| Primary text | `stone-900` | `stone-50` | `text-stone-900 dark:text-stone-50` |\n| Secondary text | `stone-900\u002F70` | `stone-50\u002F70` | `text-stone-900\u002F70 dark:text-stone-50\u002F70` |\n| Tertiary text | `stone-900\u002F40` | `stone-50\u002F40` | `text-stone-900\u002F40 dark:text-stone-50\u002F40` |\n| Placeholder | `stone-900\u002F30` | `stone-50\u002F30` | `text-stone-900\u002F30 dark:text-stone-50\u002F30` |\n\n### Opacity hierarchy (the core rule)\n\nTo make text less dominant, reduce opacity — never change the hue.\n\n```\nFull presence:   text-stone-900          (primary)\nSofter:          text-stone-900\u002F70       (secondary, labels)\nQuiet:           text-stone-900\u002F40       (tertiary, captions)\nGhosted:         text-stone-900\u002F20       (disabled, placeholder)\n```\n\nDark mode: replace `stone-900` with `stone-50`. The opacity values stay identical.\n\n### Accent color\n\nEach project uses **one** accent color. Default is Swiss poster red.\n\n| Name | Hex | Tailwind arbitrary |\n| ---- | --- | ------------------ |\n| Swiss Red (default) | `#C8102E` | `[#C8102E]` |\n| Cobalt | `#003B8E` | `[#003B8E]` |\n| Golden | `#F0B429` | `[#F0B429]` |\n| Forest | `#2D6A4F` | `[#2D6A4F]` |\n\nUse accent at these opacities only:\n\n```\nFull:    bg-[#C8102E]          text-[#C8102E]\nMuted:   bg-[#C8102E]\u002F60       text-[#C8102E]\u002F60\nSubtle:  bg-[#C8102E]\u002F20       (backgrounds, tints)\nGhost:   bg-[#C8102E]\u002F10       (very light tints)\n```\n\n---\n\n## Spacing & Grid\n\n**Base unit:** 8px. All spacing is a multiple of 8.\n\n| Token | Value | Usage |\n| ----- | ----- | ----- |\n| `gap-2` | 8px | Tight inline gaps |\n| `gap-4` | 16px | Component internal |\n| `gap-8` | 32px | Between components |\n| `gap-16` | 64px | Between sections |\n| `py-16` | 64px | Section padding (minimum) |\n| `py-24` | 96px | Section padding (standard) |\n| `py-32` | 128px | Section padding (generous) |\n\n**Grid:**\n\n```html\n\u003C!-- 12-column grid — always mobile-first, columns collapse to full-width on small screens -->\n\u003Cdiv class=\"grid grid-cols-12 gap-4 md:gap-8\">\n  \u003Cdiv class=\"col-span-12 md:col-span-8\">...\u003C\u002Fdiv>\n  \u003Cdiv class=\"col-span-12 md:col-span-4\">...\u003C\u002Fdiv>\n\u003C\u002Fdiv>\n```\n\n**Max content width:** `max-w-5xl` or `max-w-6xl` with `mx-auto px-4 md:px-8`.\n\n---\n\n## Responsive Design\n\nThe Swiss grid adapts fluidly across viewports. Every layout decision must be made at two scales: mobile (single column, generous vertical rhythm) and desktop (multi-column, horizontal tension).\n\n**Breakpoint strategy:**\n\n| Prefix | Width | Use for |\n| ------ | ----- | ------- |\n| (none) | 0px+ | Mobile — single column, full width |\n| `sm:` | 640px+ | Large phones, small tablets |\n| `md:` | 768px+ | Tablets, narrow desktop — introduce 2-col layouts |\n| `lg:` | 1024px+ | Desktop — full 12-col grid, max content width |\n\n**Mobile layout rules:**\n- All grid columns collapse to `col-span-12`\n- Section padding reduces: `py-16 md:py-24 lg:py-32`\n- Horizontal padding tightens: `px-4 md:px-8`\n- Display type scales down: `text-5xl md:text-7xl lg:text-8xl`\n- Multi-column nav collapses to hamburger or hidden\n- Tables scroll horizontally: wrap in `overflow-x-auto`\n- Side-by-side cards stack vertically: `grid-cols-1 md:grid-cols-2 lg:grid-cols-3`\n\n**Fluid type pattern:**\n\n```html\n\u003C!-- Scale display type fluidly across viewports -->\n\u003Ch1 class=\"text-4xl sm:text-5xl md:text-6xl lg:text-7xl font-normal tracking-tight leading-none\">\n  Swiss International Style\n\u003C\u002Fh1>\n\n\u003C!-- Or use clamp() for truly fluid scaling -->\n\u003Ch1 class=\"text-[clamp(2rem,6vw,5rem)] font-normal tracking-tight leading-none\">\n  Swiss International Style\n\u003C\u002Fh1>\n```\n\n**Responsive section pattern:**\n\n```html\n\u003Csection class=\"py-16 md:py-24 lg:py-32 border-b border-stone-200 dark:border-stone-800\">\n  \u003Cdiv class=\"max-w-6xl mx-auto px-4 md:px-8\">\n    \u003Cdiv class=\"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8\">\n      ...\n    \u003C\u002Fdiv>\n  \u003C\u002Fdiv>\n\u003C\u002Fsection>\n```\n\n**Touch targets:** All interactive elements must be at least 44×44px on mobile. Use `min-h-[44px] min-w-[44px]` for buttons and nav links.\n\n**Navigation on mobile:** Collapse to a minimal top bar. Hide secondary nav links below `md:`. Never use hamburger menus with deeply nested hierarchies — the Swiss style favors flat, clear navigation.\n\n---\n\n## Dark Mode\n\nUse Tailwind's `media` strategy (respects system preference automatically):\n\n```js\n\u002F\u002F tailwind.config.js\ndarkMode: 'media'\n```\n\nEvery color token has a `dark:` variant. See the stone palette table above. Never use `bg-black` or `bg-white` — always use stone scale.\n\n### `color-scheme`\n\nTailwind only restyles your code. The browser still renders scrollbars, native form controls, and the canvas before CSS loads using its own defaults. Without `color-scheme`, a Swiss page in dark mode shows light scrollbars and light-mode native inputs against `bg-stone-950`.\n\nAlways declare both schemes on `\u003Chtml>`:\n\n```css\nhtml { color-scheme: light dark; }\n```\n\nOr via meta tag (parsed before CSS, prevents flash):\n\n```html\n\u003Cmeta name=\"color-scheme\" content=\"light dark\">\n```\n\nAlso set `\u003Cmeta name=\"theme-color\">` to match the page background so the mobile browser chrome blends in.\n\n---\n\n## Gotchas\n\n- **Never use a second color to signal hierarchy.** Opacity only. `text-stone-900\u002F70`, not `text-stone-500`.\n- **Never exceed `max-w-[60ch]` for body text.** Wider columns are illegible.\n- **Never `bg-white` or `bg-black`.** Use `bg-stone-50` \u002F `bg-stone-950`.\n- **IBM Plex Sans is not a system font.** Always include the Google Fonts `\u003Clink>` tag.\n- **One accent per project.** Do not introduce a second accent color. Use opacity variations instead.\n- **Headings are light, not bold.** `font-light` for display and h1, `font-normal` for h2–h3.\n- **No border-radius on structural elements.** Inputs, cards, and containers use `rounded-none` or at most `rounded-sm`. The Swiss style is rectilinear.\n- **Section padding is generous.** Minimum `py-16`, standard `py-24`. Never less.\n- **Every layout must work on mobile.** Default (no prefix) classes are mobile. Always add `md:` and `lg:` variants for larger viewports. Never build desktop-first and try to retrofit mobile.\n- **Tables on mobile need `overflow-x-auto`.** Never let a wide table break mobile layout.\n- **Touch targets minimum 44px.** Buttons, links, and nav items must be tappable on mobile.\n- **Fluid type, not fixed.** Use responsive type classes (`text-3xl md:text-5xl`) or `clamp()` — never a single fixed size that works only at one viewport.\n- **Never `outline-none` without a focus replacement.** Interactive elements need a visible focus indicator. Use `focus-visible:ring-2 focus-visible:ring-stone-900 dark:focus-visible:ring-stone-50` (or the accent) instead. Prefer `:focus-visible` over `:focus` so the ring only appears on keyboard navigation.\n- **Honor `prefers-reduced-motion`.** If you add transitions or animations, gate them: `motion-safe:transition motion-reduce:transition-none`. Animate only `transform` and `opacity`. Never `transition: all`.\n- **Set `color-scheme: light dark` on `\u003Chtml>`.** Otherwise scrollbars and native form controls stay light in dark mode.\n- **Straight quotes and `...` are bugs.** Use curly quotes and the `…` character.\n\n---\n\n## Behavior, accessibility, and quality\n\nThis skill is an aesthetic and visual system. It does not cover accessibility, focus management, form behavior, hydration, performance, or interaction quality.\n\nFor those, defer to the Vercel Web Interface Guidelines, which are framework-agnostic and complementary:\n\n- Skill: `vercel-labs\u002Fagent-skills\u002Fweb-design-guidelines`\n- Raw rules: https:\u002F\u002Fraw.githubusercontent.com\u002Fvercel-labs\u002Fweb-interface-guidelines\u002Fmain\u002Fcommand.md\n\nAfter applying Swiss styling, fetch the rules above and audit the result for accessibility, focus states, form behavior, animation safety, performance, and i18n. Treat findings as required fixes, not suggestions. Where the two systems overlap (typography niceties, dark mode, focus rings), the rules already inlined in this SKILL.md take precedence.\n\n## When to read reference files\n\n| Task | File |\n| ---- | ---- |\n| Full color token table, CSS custom properties, dark mode details | `references\u002Fdesign-system.md` |\n| Tailwind component patterns: buttons, cards, nav, forms, badges | `references\u002Fcomponents.md` |\n| Paste-ready `tailwind.config.js` and CSS `@theme` block | `references\u002Ftailwind-config.md` |\n| Applying this system to an existing page, audit checklist | `references\u002Fprompting.md` |\n","# Swiss Design System\n\nA design system rooted in the Swiss International Style of the 1950s–60s: grotesque typography, rigorous grid, bold geometric forms, generous whitespace, and restrained color.\n\n## Six Principles\n\n1. **Grid first.** Every layout lives on a 12-column grid with an 8px base unit.\n2. **Mobile first, always.** Design for the smallest viewport first, then expand. Every layout must work at 320px and at 1440px. Use `sm:`, `md:`, `lg:` Tailwind prefixes systematically.\n3. **Whitespace is structure.** Generous padding and margins are not waste — they are the design.\n4. **Opacity, not hue, creates hierarchy.** Never introduce a second color to indicate text weight or importance. Use opacity.\n5. **One accent.** Each project gets exactly one accent color, used sparingly at multiple opacities.\n6. **Narrow columns.** Body text never exceeds `max-w-[60ch]`. Wider columns hurt legibility.\n\n---\n\n## Typography\n\n**Primary font:** IBM Plex Sans (Google Fonts)\n\n```html\n\u003Clink rel=\"preconnect\" href=\"https:\u002F\u002Ffonts.googleapis.com\">\n\u003Clink href=\"https:\u002F\u002Ffonts.googleapis.com\u002Fcss2?family=IBM+Plex+Sans:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&display=swap\" rel=\"stylesheet\">\n```\n\n**Fallback chain** (in order of preference):\n\n| Font | Source | Character |\n| ---- | ------ | --------- |\n| IBM Plex Sans | Google Fonts | Primary. Rational, slightly condensed, 1960s systems rationalism |\n| Hanken Grotesk | Google Fonts | Closest to Neue Haas Grotesk lineage |\n| Barlow | Google Fonts | Condensed Swiss-grid proportions, strong vertical rhythm |\n| Host Grotesk | Google Fonts | Warm grotesque, good at all sizes |\n| DM Sans | Google Fonts | Clean neo-grotesque fallback |\n| system-ui | Built-in | Last resort |\n\n```css\nfont-family: 'IBM Plex Sans', 'Hanken Grotesk', 'Barlow', 'Host Grotesk', 'DM Sans', system-ui, sans-serif;\n```\n\n**Type scale:**\n\n| Role | Tailwind | Line height | Max width |\n| ---- | -------- | ----------- | --------- |\n| Display | `text-7xl font-light tracking-tight` | `leading-none` | unconstrained |\n| H1 | `text-5xl font-light tracking-tight` | `leading-tight` | unconstrained |\n| H2 | `text-3xl font-light tracking-tight` | `leading-snug` | unconstrained |\n| H3 | `text-xl font-normal` | `leading-snug` | unconstrained |\n| Body | `text-base font-normal` | `leading-relaxed` | `max-w-[60ch]` |\n| Small | `text-sm font-normal` | `leading-relaxed` | `max-w-[60ch]` |\n| Caption | `text-xs font-normal tracking-wide uppercase` | `leading-normal` | unconstrained |\n| Mono | `font-mono text-sm` | `leading-relaxed` | `max-w-[60ch]` |\n\n- Headings: `font-light` (300) or `font-normal` (400). Never bold for headings.\n- Emphasis within body: `font-medium` (500). Never `font-bold` (700).\n- Letter spacing on display\u002Fh1: `tracking-tight` (-0.02em).\n- Captions and labels: `tracking-wide uppercase text-xs`.\n\n### Typographic details\n\nThe Swiss style depends on typographic precision. These rules are non-negotiable:\n\n- Use the ellipsis character `…`, never three periods `...`.\n- Use curly quotes `\"` `\"` and `'` `'`, never straight quotes `\"` `'`.\n- Loading and progress states end with an ellipsis: `Loading…`, `Saving…`.\n- Number columns and tables use `font-variant-numeric: tabular-nums` (Tailwind: `tabular-nums`) so digits align vertically.\n- Headings use `text-wrap: balance` (Tailwind: `text-balance`) to prevent widows. Body paragraphs use `text-pretty` where supported.\n- Non-breaking spaces between value and unit, and inside brand names: `10&nbsp;MB`, `⌘&nbsp;K`.\n\n---\n\n## Color System\n\n### Stone palette (light mode → dark mode)\n\n| Role | Light | Dark | Tailwind |\n| ---- | ----- | ---- | -------- |\n| Page background | `stone-50` | `stone-950` | `bg-stone-50 dark:bg-stone-950` |\n| Surface \u002F card | `stone-100` | `stone-900` | `bg-stone-100 dark:bg-stone-900` |\n| Subtle surface | `stone-200` | `stone-800` | `bg-stone-200 dark:bg-stone-800` |\n| Border | `stone-200` | `stone-800` | `border-stone-200 dark:border-stone-800` |\n| Subtle border | `stone-100` | `stone-900` | `border-stone-100 dark:border-stone-900` |\n| Primary text | `stone-900` | `stone-50` | `text-stone-900 dark:text-stone-50` |\n| Secondary text | `stone-900\u002F70` | `stone-50\u002F70` | `text-stone-900\u002F70 dark:text-stone-50\u002F70` |\n| Tertiary text | `stone-900\u002F40` | `stone-50\u002F40` | `text-stone-900\u002F40 dark:text-stone-50\u002F40` |\n| Placeholder | `stone-900\u002F30` | `stone-50\u002F30` | `text-stone-900\u002F30 dark:text-stone-50\u002F30` |\n\n### Opacity hierarchy (the core rule)\n\nTo make text less dominant, reduce opacity — never change the hue.\n\n```\nFull presence:   text-stone-900          (primary)\nSofter:          text-stone-900\u002F70       (secondary, labels)\nQuiet:           text-stone-900\u002F40       (tertiary, captions)\nGhosted:         text-stone-900\u002F20       (disabled, placeholder)\n```\n\nDark mode: replace `stone-900` with `stone-50`. The opacity values stay identical.\n\n### Accent color\n\nEach project uses **one** accent color. Default is Swiss poster red.\n\n| Name | Hex | Tailwind arbitrary |\n| ---- | --- | ------------------ |\n| Swiss Red (default) | `#C8102E` | `[#C8102E]` |\n| Cobalt | `#003B8E` | `[#003B8E]` |\n| Golden | `#F0B429` | `[#F0B429]` |\n| Forest | `#2D6A4F` | `[#2D6A4F]` |\n\nUse accent at these opacities only:\n\n```\nFull:    bg-[#C8102E]          text-[#C8102E]\nMuted:   bg-[#C8102E]\u002F60       text-[#C8102E]\u002F60\nSubtle:  bg-[#C8102E]\u002F20       (backgrounds, tints)\nGhost:   bg-[#C8102E]\u002F10       (very light tints)\n```\n\n---\n\n## Spacing & Grid\n\n**Base unit:** 8px. All spacing is a multiple of 8.\n\n| Token | Value | Usage |\n| ----- | ----- | ----- |\n| `gap-2` | 8px | Tight inline gaps |\n| `gap-4` | 16px | Component internal |\n| `gap-8` | 32px | Between components |\n| `gap-16` | 64px | Between sections |\n| `py-16` | 64px | Section padding (minimum) |\n| `py-24` | 96px | Section padding (standard) |\n| `py-32` | 128px | Section padding (generous) |\n\n**Grid:**\n\n```html\n\u003C!-- 12-column grid — always mobile-first, columns collapse to full-width on small screens -->\n\u003Cdiv class=\"grid grid-cols-12 gap-4 md:gap-8\">\n  \u003Cdiv class=\"col-span-12 md:col-span-8\">...\u003C\u002Fdiv>\n  \u003Cdiv class=\"col-span-12 md:col-span-4\">...\u003C\u002Fdiv>\n\u003C\u002Fdiv>\n```\n\n**Max content width:** `max-w-5xl` or `max-w-6xl` with `mx-auto px-4 md:px-8`.\n\n---\n\n## Responsive Design\n\nThe Swiss grid adapts fluidly across viewports. Every layout decision must be made at two scales: mobile (single column, generous vertical rhythm) and desktop (multi-column, horizontal tension).\n\n**Breakpoint strategy:**\n\n| Prefix | Width | Use for |\n| ------ | ----- | ------- |\n| (none) | 0px+ | Mobile — single column, full width |\n| `sm:` | 640px+ | Large phones, small tablets |\n| `md:` | 768px+ | Tablets, narrow desktop — introduce 2-col layouts |\n| `lg:` | 1024px+ | Desktop — full 12-col grid, max content width |\n\n**Mobile layout rules:**\n- All grid columns collapse to `col-span-12`\n- Section padding reduces: `py-16 md:py-24 lg:py-32`\n- Horizontal padding tightens: `px-4 md:px-8`\n- Display type scales down: `text-5xl md:text-7xl lg:text-8xl`\n- Multi-column nav collapses to hamburger or hidden\n- Tables scroll horizontally: wrap in `overflow-x-auto`\n- Side-by-side cards stack vertically: `grid-cols-1 md:grid-cols-2 lg:grid-cols-3`\n\n**Fluid type pattern:**\n\n```html\n\u003C!-- Scale display type fluidly across viewports -->\n\u003Ch1 class=\"text-4xl sm:text-5xl md:text-6xl lg:text-7xl font-normal tracking-tight leading-none\">\n  Swiss International Style\n\u003C\u002Fh1>\n\n\u003C!-- Or use clamp() for truly fluid scaling -->\n\u003Ch1 class=\"text-[clamp(2rem,6vw,5rem)] font-normal tracking-tight leading-none\">\n  Swiss International Style\n\u003C\u002Fh1>\n```\n\n**Responsive section pattern:**\n\n```html\n\u003Csection class=\"py-16 md:py-24 lg:py-32 border-b border-stone-200 dark:border-stone-800\">\n  \u003Cdiv class=\"max-w-6xl mx-auto px-4 md:px-8\">\n    \u003Cdiv class=\"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8\">\n      ...\n    \u003C\u002Fdiv>\n  \u003C\u002Fdiv>\n\u003C\u002Fsection>\n```\n\n**Touch targets:** All interactive elements must be at least 44×44px on mobile. Use `min-h-[44px] min-w-[44px]` for buttons and nav links.\n\n**Navigation on mobile:** Collapse to a minimal top bar. Hide secondary nav links below `md:`. Never use hamburger menus with deeply nested hierarchies — the Swiss style favors flat, clear navigation.\n\n---\n\n## Dark Mode\n\nUse Tailwind's `media` strategy (respects system preference automatically):\n\n```js\n\u002F\u002F tailwind.config.js\ndarkMode: 'media'\n```\n\nEvery color token has a `dark:` variant. See the stone palette table above. Never use `bg-black` or `bg-white` — always use stone scale.\n\n### `color-scheme`\n\nTailwind only restyles your code. The browser still renders scrollbars, native form controls, and the canvas before CSS loads using its own defaults. Without `color-scheme`, a Swiss page in dark mode shows light scrollbars and light-mode native inputs against `bg-stone-950`.\n\nAlways declare both schemes on `\u003Chtml>`:\n\n```css\nhtml { color-scheme: light dark; }\n```\n\nOr via meta tag (parsed before CSS, prevents flash):\n\n```html\n\u003Cmeta name=\"color-scheme\" content=\"light dark\">\n```\n\nAlso set `\u003Cmeta name=\"theme-color\">` to match the page background so the mobile browser chrome blends in.\n\n---\n\n## Gotchas\n\n- **Never use a second color to signal hierarchy.** Opacity only. `text-stone-900\u002F70`, not `text-stone-500`.\n- **Never exceed `max-w-[60ch]` for body text.** Wider columns are illegible.\n- **Never `bg-white` or `bg-black`.** Use `bg-stone-50` \u002F `bg-stone-950`.\n- **IBM Plex Sans is not a system font.** Always include the Google Fonts `\u003Clink>` tag.\n- **One accent per project.** Do not introduce a second accent color. Use opacity variations instead.\n- **Headings are light, not bold.** `font-light` for display and h1, `font-normal` for h2–h3.\n- **No border-radius on structural elements.** Inputs, cards, and containers use `rounded-none` or at most `rounded-sm`. The Swiss style is rectilinear.\n- **Section padding is generous.** Minimum `py-16`, standard `py-24`. Never less.\n- **Every layout must work on mobile.** Default (no prefix) classes are mobile. Always add `md:` and `lg:` variants for larger viewports. Never build desktop-first and try to retrofit mobile.\n- **Tables on mobile need `overflow-x-auto`.** Never let a wide table break mobile layout.\n- **Touch targets minimum 44px.** Buttons, links, and nav items must be tappable on mobile.\n- **Fluid type, not fixed.** Use responsive type classes (`text-3xl md:text-5xl`) or `clamp()` — never a single fixed size that works only at one viewport.\n- **Never `outline-none` without a focus replacement.** Interactive elements need a visible focus indicator. Use `focus-visible:ring-2 focus-visible:ring-stone-900 dark:focus-visible:ring-stone-50` (or the accent) instead. Prefer `:focus-visible` over `:focus` so the ring only appears on keyboard navigation.\n- **Honor `prefers-reduced-motion`.** If you add transitions or animations, gate them: `motion-safe:transition motion-reduce:transition-none`. Animate only `transform` and `opacity`. Never `transition: all`.\n- **Set `color-scheme: light dark` on `\u003Chtml>`.** Otherwise scrollbars and native form controls stay light in dark mode.\n- **Straight quotes and `...` are bugs.** Use curly quotes and the `…` character.\n\n---\n\n## Behavior, accessibility, and quality\n\nThis skill is an aesthetic and visual system. It does not cover accessibility, focus management, form behavior, hydration, performance, or interaction quality.\n\nFor those, defer to the Vercel Web Interface Guidelines, which are framework-agnostic and complementary:\n\n- Skill: `vercel-labs\u002Fagent-skills\u002Fweb-design-guidelines`\n- Raw rules: https:\u002F\u002Fraw.githubusercontent.com\u002Fvercel-labs\u002Fweb-interface-guidelines\u002Fmain\u002Fcommand.md\n\nAfter applying Swiss styling, fetch the rules above and audit the result for accessibility, focus states, form behavior, animation safety, performance, and i18n. Treat findings as required fixes, not suggestions. Where the two systems overlap (typography niceties, dark mode, focus rings), the rules already inlined in this SKILL.md take precedence.\n\n## When to read reference files\n\n| Task | File |\n| ---- | ---- |\n| Full color token table, CSS custom properties, dark mode details | `references\u002Fdesign-system.md` |\n| Tailwind component patterns: buttons, cards, nav, forms, badges | `references\u002Fcomponents.md` |\n| Paste-ready `tailwind.config.js` and CSS `@theme` block | `references\u002Ftailwind-config.md` |\n| Applying this system to an existing page, audit checklist | `references\u002Fprompting.md` |\n",{"name":5,"license":15,"metadata":54,"description":7},{"author":55,"version":56},"zeke","1.0","main","3296a0830eb99a286ec594054f2d7ec0c5601c1f","skills\u002Fswiss-design",0,"https:\u002F\u002Fgithub.com\u002Fhafidzlvm\u002Fopencode","https:\u002F\u002Fgithub.com\u002Fhafidzlvm","Hello, I'm FUll-StaCk dEvLoper , I have been diving into code since 2023, several of my projects is done by using Laravel, Express, Vue, React, & Odoo.","2026-10-12 22:49:22",{"source":8,"skillName":5,"commands":66,"prompt":76,"zipAvailable":77},[67,70,73],{"tool":68,"command":69},"npx","npx skills add hafidzlvm\u002Fopencode --skill swiss-design",{"tool":71,"command":72},"bunx","bunx skills add hafidzlvm\u002Fopencode --skill swiss-design",{"tool":74,"command":75},"pnpm","pnpm dlx skills add hafidzlvm\u002Fopencode --skill swiss-design","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fhafidzlvm\u002Fopencode\u002Fblob\u002Fmain\u002Fskills\u002Fswiss-design\u002FSKILL.md",true,[79,85,89,93],{"path":80,"resourceType":81,"resourceTypeDesc":82,"sizeBytes":83,"sourceHtmlUrl":84},"references\u002Fcomponents.md","REFERENCE","参考文档",11265,"https:\u002F\u002Fgithub.com\u002Fhafidzlvm\u002Fopencode\u002Fblob\u002Fmain\u002Fskills\u002Fswiss-design\u002Freferences\u002Fcomponents.md",{"path":86,"resourceType":81,"resourceTypeDesc":82,"sizeBytes":87,"sourceHtmlUrl":88},"references\u002Fdesign-system.md",7994,"https:\u002F\u002Fgithub.com\u002Fhafidzlvm\u002Fopencode\u002Fblob\u002Fmain\u002Fskills\u002Fswiss-design\u002Freferences\u002Fdesign-system.md",{"path":90,"resourceType":81,"resourceTypeDesc":82,"sizeBytes":91,"sourceHtmlUrl":92},"references\u002Fprompting.md",5946,"https:\u002F\u002Fgithub.com\u002Fhafidzlvm\u002Fopencode\u002Fblob\u002Fmain\u002Fskills\u002Fswiss-design\u002Freferences\u002Fprompting.md",{"path":94,"resourceType":81,"resourceTypeDesc":82,"sizeBytes":95,"sourceHtmlUrl":96},"references\u002Ftailwind-config.md",3232,"https:\u002F\u002Fgithub.com\u002Fhafidzlvm\u002Fopencode\u002Fblob\u002Fmain\u002Fskills\u002Fswiss-design\u002Freferences\u002Ftailwind-config.md",[98,121,146,170,193,209],{"skillNo":99,"name":100,"nameZh":6,"description":101,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":102,"categories":103,"keywords":104,"publishedAt":49},"01M71S1VWB74DNK4QPDB2QTJJH","karpathy-guidelines","Behavioral guidelines to reduce common LLM coding mistakes. Use when writing, reviewing, or refactoring code to avoid overcomplication, make surgical changes, surface assumptions, and define verifiable success criteria.","https:\u002F\u002Fgithub.com\u002Fhafidzlvm\u002Fopencode\u002Fblob\u002Fmain\u002Fskills\u002Fkarpathy-guidelines\u002FSKILL.md",[],[105,106,107,108,109,110,111,112,113,44,114,115,116,117,118,119,36,120],"karpathy","guidelines","karpathy guidelines","mistakes","changes","refactoring","writing","define","use","reduce","code","assumptions","behavioral","coding","surgical","common",{"skillNo":122,"name":123,"nameZh":6,"description":124,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":125,"categories":126,"keywords":127,"publishedAt":49},"01M71S0HC3D8XTK0W95SQYCATM","iikit-core","Initialize an IIKit (Intent Integrity Kit) project, check IIKit feature progress, select the active IIKit feature, and display the IIKit workflow command reference. Use when starting a new IIKit project, running IIKit init or setup, checking IIKit status, switching between IIKit features, looking up IIKit available commands and phases, or asking for help with the IIKit workflow.","https:\u002F\u002Fgithub.com\u002Fhafidzlvm\u002Fopencode\u002Fblob\u002Fmain\u002Fskills\u002Fiikit-core\u002FSKILL.md",[],[128,129,130,131,46,132,133,134,135,44,136,137,138,139,140,141,142,143,144,145],"core","iikit core","project","select","init","kit","new","switching","workflow","display","progress","intent","command","active","features","commands","status","integrity",{"skillNo":147,"name":148,"nameZh":6,"description":149,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":150,"categories":151,"keywords":152,"publishedAt":49},"01M71S0DFFEZ6GB91FPCT70ZTT","iikit-clarify","Resolve ambiguities in any project artifact — auto-detects the most recent artifact (spec, plan, checklist, testify, tasks, or constitution), asks targeted questions with option tables, and writes answers back into the artifact's Clarifications section. Use when requirements are unclear, a plan has trade-off gaps, checklist thresholds feel wrong, test scenarios are imprecise, task dependencies seem off, or constitution principles are vague.","https:\u002F\u002Fgithub.com\u002Fhafidzlvm\u002Fopencode\u002Fblob\u002Fmain\u002Fskills\u002Fiikit-clarify\u002FSKILL.md",[],[153,154,155,130,156,157,44,158,159,160,161,162,163,164,165,166,167,168,113,169],"clarify","iikit clarify","back","option","auto","answers","tasks","vague","plan","artifact","test scenarios","project artifact","tables","thresholds","section","constitution","requirements",{"skillNo":171,"name":172,"nameZh":6,"description":173,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":174,"categories":175,"keywords":176,"publishedAt":49},"01M71S0AMSZHN7H48E3G0N883J","iikit-bugfix","Report a bug against an existing feature — creates a structured bugs.md record, generates fix tasks in tasks.md, and optionally imports from or creates GitHub issues. Use when fixing a bug, reporting a defect, importing a GitHub issue into the workflow, or triaging an error without running the full specification process.","https:\u002F\u002Fgithub.com\u002Fhafidzlvm\u002Fopencode\u002Fblob\u002Fmain\u002Fskills\u002Fiikit-bugfix\u002FSKILL.md",[],[177,178,179,180,181,44,136,159,182,183,184,185,186,187,188,189,190,191,192,113],"bugfix","iikit bugfix","error","fix","issues","specification","imports","defect","reporting","bug","issue","full","github issues","running","bugs","feature",{"skillNo":194,"name":195,"nameZh":6,"description":196,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":197,"categories":198,"keywords":199,"publishedAt":49},"01M71S08HTXS0VS28JMWRPTJ4G","iikit-08-taskstoissues","Convert tasks from tasks.md into GitHub Issues with labels and dependencies. Use when exporting work items to GitHub, setting up project boards, or assigning tasks to team members.","https:\u002F\u002Fgithub.com\u002Fhafidzlvm\u002Fopencode\u002Fblob\u002Fmain\u002Fskills\u002Fiikit-08-taskstoissues\u002FSKILL.md",[],[200,201,130,46,181,202,113,44,203,159,204,205,206,207,208,189],"iikit 08 taskstoissues","setting","labels","convert","team","with","work","github","dependencies",{"skillNo":210,"name":211,"nameZh":6,"description":212,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":213,"categories":214,"keywords":215,"publishedAt":49},"01M71S04ZXFFJRFB9G6BF6CAQV","iikit-07-implement","Execute the implementation plan by coding each task from tasks.md — writes source files, runs tests, verifies assertion integrity, and validates output against constitutional principles. Use when ready to build a feature from a tasks.md plan, start coding against an Intent Integrity Kit implementation plan, develop from the task list, resume a partially completed implementation, or run the implement phase of the iikit workflow.","https:\u002F\u002Fgithub.com\u002Fhafidzlvm\u002Fopencode\u002Fblob\u002Fmain\u002Fskills\u002Fiikit-07-implement\u002FSKILL.md",[],[216,217,218,219,133,220,44,136,159,221,161,139,222,223,224,145,225,118,192,226],"implement","iikit 07 implement","ready","implementation plan","files","phase","run","start","list","source","tests"]