Agent skill

Swiss Design

by try-works in try-works/role-model

Apply a Swiss International Style design system using Tailwind CSS.

MITAuto-check passedFrontend & Design

Install Swiss Design

skills CLI
$ npx skills add try-works/role-model --skill swiss-design -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install try-works/role-model swiss-design --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/try-works/role-model.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/swiss-design .claude/skills/swiss-design && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
swiss-design
GitHub stars
118
Used in
1 other repo
Token cost
~3.2k tokens
SKILL.md length
1,223 words
Files
5 (incl. references)
Skills in repo
19
Repo updated
First seen
Licence
MIT

At a glance

Apply a Swiss International Style design system using Tailwind CSS.

  • Works in 6 steps: Grid first. Every layout lives on a… → Mobile first, always. Design for the… → Whitespace is structure. Generous… → …
  • Asked to style a webpage
  • SKILL.md covers Six Principles, Typography, Color System and Spacing & Grid, plus 5 more sections
  • Reaches fonts.googleapis.com

What it does

Swiss Design is an agent skill from try-works/role-model. 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/1950s design aesthetics. Implements IBM Plex Sans typography, stone color palette, opacity-based hierarchy, generous whitespace, and structured grid layouts.

Its SKILL.md is about 3.2k tokens, which your agent loads only when the skill is triggered. The skill folder holds 5 other files, including reference files (for example `references/components.md`, `references/design-system.md` and `references/prompting.md`).

It sits in Frontend & Design, covering Typography, Design systems and Theming and dark mode. It works with Tailwind CSS. The repository describes itself as: role-model is a protocol for assigning the right model for the right job. Use local and cloud AI together, or route between several cloud providers. The licence is MIT.

When your agent uses it

  • Asked to style a webpage
  • Apply a design system
  • Make something look great
  • The user references Swiss design

Example prompts

  • “/swiss-design”

Workflow steps

6 steps, taken from the first numbered list in SKILL.md.

  1. Grid first. Every layout lives on a 12-column grid with an 8px base unit.
  2. Mobile first, always. Design for the smallest viewport first, then expand. Every layout must work at 320px and at 1440px. Use sm:, md…
  3. Whitespace is structure. Generous padding and margins are not waste — they are the design.
  4. Opacity, not hue, creates hierarchy. Never introduce a second color to indicate text weight or importance. Use opacity.
  5. One accent. Each project gets exactly one accent color, used sparingly at multiple opacities.
  6. Narrow columns. Body text never exceeds max-w-[60ch]. Wider columns hurt legibility.

What it can do on your machine

Read from SKILL.md and the folder at commit de1c04a. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are html, css and javascript).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • fonts.googleapis.com

    Also links to:

    • raw.githubusercontent.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Swiss Design loads about 3.2k tokens when it runs, and up to ~10k if it reads all its reference files. Until then it costs about 113 tokens; SKILL.md has 1,223 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~113
When it runs · the whole SKILL.md, loaded when a task matches
~3.2k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~10k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from try-works/role-model at commit de1c04a, republished under its MIT licence (© try-works). 1,223 words, ~3,241 tokens.

Download SKILL.mdSave it as .claude/skills/swiss-design/SKILL.md (or your agent's skills folder). This skill also uses 4 other files; get the full folder from GitHub.
name
swiss-design
description
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/1950s design aesthetics. Implements IBM Plex Sans typography, stone color palette, opacity-based hierarchy, generous whitespace, and structured grid layouts.
license
MIT
metadata.author
zeke
metadata.version
1.0

Swiss Design System

A design system rooted in the Swiss International Style of the 1950s–60s: grotesque typography, rigorous grid, bold geometric forms, generous whitespace, and restrained color.

Six Principles

  1. Grid first. Every layout lives on a 12-column grid with an 8px base unit.
  2. 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.
  3. Whitespace is structure. Generous padding and margins are not waste — they are the design.
  4. Opacity, not hue, creates hierarchy. Never introduce a second color to indicate text weight or importance. Use opacity.
  5. One accent. Each project gets exactly one accent color, used sparingly at multiple opacities.
  6. Narrow columns. Body text never exceeds max-w-[60ch]. Wider columns hurt legibility.

Typography

Primary font: IBM Plex Sans (Google Fonts)

html
<link rel="preconnect" href="https://fonts.googleapis.com">
<link href="https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&display=swap" rel="stylesheet">

Fallback chain (in order of preference):

FontSourceCharacter
IBM Plex SansGoogle FontsPrimary. Rational, slightly condensed, 1960s systems rationalism
Hanken GroteskGoogle FontsClosest to Neue Haas Grotesk lineage
BarlowGoogle FontsCondensed Swiss-grid proportions, strong vertical rhythm
Host GroteskGoogle FontsWarm grotesque, good at all sizes
DM SansGoogle FontsClean neo-grotesque fallback
system-uiBuilt-inLast resort
css
font-family: 'IBM Plex Sans', 'Hanken Grotesk', 'Barlow', 'Host Grotesk', 'DM Sans', system-ui, sans-serif;

Type scale:

RoleTailwindLine heightMax width
Displaytext-7xl font-light tracking-tightleading-noneunconstrained
H1text-5xl font-light tracking-tightleading-tightunconstrained
H2text-3xl font-light tracking-tightleading-snugunconstrained
H3text-xl font-normalleading-snugunconstrained
Bodytext-base font-normalleading-relaxedmax-w-[60ch]
Smalltext-sm font-normalleading-relaxedmax-w-[60ch]
Captiontext-xs font-normal tracking-wide uppercaseleading-normalunconstrained
Monofont-mono text-smleading-relaxedmax-w-[60ch]
  • Headings: font-light (300) or font-normal (400). Never bold for headings.
  • Emphasis within body: font-medium (500). Never font-bold (700).
  • Letter spacing on display/h1: tracking-tight (-0.02em).
  • Captions and labels: tracking-wide uppercase text-xs.
Typographic details

The Swiss style depends on typographic precision. These rules are non-negotiable:

  • Use the ellipsis character …, never three periods ....
  • Use curly quotes " " and ' ', never straight quotes " '.
  • Loading and progress states end with an ellipsis: Loading…, Saving….
  • Number columns and tables use font-variant-numeric: tabular-nums (Tailwind: tabular-nums) so digits align vertically.
  • Headings use text-wrap: balance (Tailwind: text-balance) to prevent widows. Body paragraphs use text-pretty where supported.
  • Non-breaking spaces between value and unit, and inside brand names: 10&nbsp;MB, ⌘&nbsp;K.

Color System

Stone palette (light mode → dark mode)
RoleLightDarkTailwind
Page backgroundstone-50stone-950bg-stone-50 dark:bg-stone-950
Surface / cardstone-100stone-900bg-stone-100 dark:bg-stone-900
Subtle surfacestone-200stone-800bg-stone-200 dark:bg-stone-800
Borderstone-200stone-800border-stone-200 dark:border-stone-800
Subtle borderstone-100stone-900border-stone-100 dark:border-stone-900
Primary textstone-900stone-50text-stone-900 dark:text-stone-50
Secondary textstone-900/70stone-50/70text-stone-900/70 dark:text-stone-50/70
Tertiary textstone-900/40stone-50/40text-stone-900/40 dark:text-stone-50/40
Placeholderstone-900/30stone-50/30text-stone-900/30 dark:text-stone-50/30
Opacity hierarchy (the core rule)

To make text less dominant, reduce opacity — never change the hue.

Full presence:   text-stone-900          (primary)
Softer:          text-stone-900/70       (secondary, labels)
Quiet:           text-stone-900/40       (tertiary, captions)
Ghosted:         text-stone-900/20       (disabled, placeholder)

Dark mode: replace stone-900 with stone-50. The opacity values stay identical.

Accent color

Each project uses one accent color. Default is Swiss poster red.

NameHexTailwind arbitrary
Swiss Red (default)#C8102E[#C8102E]
Cobalt#003B8E[#003B8E]
Golden#F0B429[#F0B429]
Forest#2D6A4F[#2D6A4F]

Use accent at these opacities only:

Full:    bg-[#C8102E]          text-[#C8102E]
Muted:   bg-[#C8102E]/60       text-[#C8102E]/60
Subtle:  bg-[#C8102E]/20       (backgrounds, tints)
Ghost:   bg-[#C8102E]/10       (very light tints)

Spacing & Grid

Base unit: 8px. All spacing is a multiple of 8.

TokenValueUsage
gap-28pxTight inline gaps
gap-416pxComponent internal
gap-832pxBetween components
gap-1664pxBetween sections
py-1664pxSection padding (minimum)
py-2496pxSection padding (standard)
py-32128pxSection padding (generous)

Grid:

html
<!-- 12-column grid — always mobile-first, columns collapse to full-width on small screens -->
<div class="grid grid-cols-12 gap-4 md:gap-8">
  <div class="col-span-12 md:col-span-8">...</div>
  <div class="col-span-12 md:col-span-4">...</div>
</div>

Max content width: max-w-5xl or max-w-6xl with mx-auto px-4 md:px-8.


Responsive Design

The 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).

Breakpoint strategy:

PrefixWidthUse for
(none)0px+Mobile — single column, full width
sm:640px+Large phones, small tablets
md:768px+Tablets, narrow desktop — introduce 2-col layouts
lg:1024px+Desktop — full 12-col grid, max content width

Mobile layout rules:

  • All grid columns collapse to col-span-12
  • Section padding reduces: py-16 md:py-24 lg:py-32
  • Horizontal padding tightens: px-4 md:px-8
  • Display type scales down: text-5xl md:text-7xl lg:text-8xl
  • Multi-column nav collapses to hamburger or hidden
  • Tables scroll horizontally: wrap in overflow-x-auto
  • Side-by-side cards stack vertically: grid-cols-1 md:grid-cols-2 lg:grid-cols-3

Fluid type pattern:

html
<!-- Scale display type fluidly across viewports -->
<h1 class="text-4xl sm:text-5xl md:text-6xl lg:text-7xl font-normal tracking-tight leading-none">
  Swiss International Style
</h1>

<!-- Or use clamp() for truly fluid scaling -->
<h1 class="text-[clamp(2rem,6vw,5rem)] font-normal tracking-tight leading-none">
  Swiss International Style
</h1>

Responsive section pattern:

html
<section class="py-16 md:py-24 lg:py-32 border-b border-stone-200 dark:border-stone-800">
  <div class="max-w-6xl mx-auto px-4 md:px-8">
    <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8">
      ...
    </div>
  </div>
</section>

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.

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.


Dark Mode

Use Tailwind's media strategy (respects system preference automatically):

js
// tailwind.config.js
darkMode: 'media'

Every color token has a dark: variant. See the stone palette table above. Never use bg-black or bg-white — always use stone scale.

Show full SKILL.md (475 more words)Show less
color-scheme

Tailwind 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.

Always declare both schemes on <html>:

css
html { color-scheme: light dark; }

Or via meta tag (parsed before CSS, prevents flash):

html
<meta name="color-scheme" content="light dark">

Also set <meta name="theme-color"> to match the page background so the mobile browser chrome blends in.


Gotchas

  • Never use a second color to signal hierarchy. Opacity only. text-stone-900/70, not text-stone-500.
  • Never exceed max-w-[60ch] for body text. Wider columns are illegible.
  • Never bg-white or bg-black. Use bg-stone-50 / bg-stone-950.
  • IBM Plex Sans is not a system font. Always include the Google Fonts <link> tag.
  • One accent per project. Do not introduce a second accent color. Use opacity variations instead.
  • Headings are light, not bold. font-light for display and h1, font-normal for h2–h3.
  • No border-radius on structural elements. Inputs, cards, and containers use rounded-none or at most rounded-sm. The Swiss style is rectilinear.
  • Section padding is generous. Minimum py-16, standard py-24. Never less.
  • 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.
  • Tables on mobile need overflow-x-auto. Never let a wide table break mobile layout.
  • Touch targets minimum 44px. Buttons, links, and nav items must be tappable on mobile.
  • 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.
  • 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.
  • 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.
  • Set color-scheme: light dark on <html>. Otherwise scrollbars and native form controls stay light in dark mode.
  • Straight quotes and ... are bugs. Use curly quotes and the … character.

Behavior, accessibility, and quality

This skill is an aesthetic and visual system. It does not cover accessibility, focus management, form behavior, hydration, performance, or interaction quality.

For those, defer to the Vercel Web Interface Guidelines, which are framework-agnostic and complementary:

After 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.

When to read reference files

TaskFile
Full color token table, CSS custom properties, dark mode detailsreferences/design-system.md
Tailwind component patterns: buttons, cards, nav, forms, badgesreferences/components.md
Paste-ready tailwind.config.js and CSS @theme blockreferences/tailwind-config.md
Applying this system to an existing page, audit checklistreferences/prompting.md

© try-works, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 4 other files (references) in .agents/skills/swiss-design of try-works/role-model.

  • SKILL.md
  • references/components.md
  • references/design-system.md
  • references/prompting.md
  • references/tailwind-config.md

Open the folder on GitHubat commit de1c04a

Used in 1 other repository

We found 1 copy of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in try-works/role-model, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Swiss Design next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Swiss Design compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Swiss Design this skilltry-works/role-model1181 repos~3.2kAutomated safety check: PassMIT
Scalar Design Systemscalar/scalar16k—~2.7kAutomated safety check: PassMIT
Tailwind CSS Patternsever-works/ever-works1583 repos~1.6kAutomated safety check: NotesAGPL-3.0
Tailwind V4 Shadcnever-works/ever-works1582 repos~3.8kAutomated safety check: PassMIT
Bryl Minimal Designbryllim/bryl-minimal-design114—~2.9kAutomated safety check: PassMIT
Design SystemWrongStack/WrongStack370—~3.9kAutomated safety check: PassMIT

Similar skills

  • Scalar's design system — design tokens, theming (@scalar/themes), CSS variables, and the @scalar/components library.

    16k GitHub stars~2.7k tokensUpdated today
    Frontend & DesignAuto-check passed
  • Tailwind CSS Patterns

    ever-works/ever-works

    Provides comprehensive Tailwind CSS utility-first styling patterns including responsive design, layout utilities, flexbox, grid, spacing, typography, colors, and modern CSS best practices.

    158 GitHub starsUsed in 3 repos~1.6k tokens
    Frontend & DesignAuto-check: notes
  • Tailwind V4 Shadcn

    ever-works/ever-works

    Production-tested setup for Tailwind CSS v4 with shadcn/ui, Vite, and React.

    158 GitHub starsUsed in 2 repos~3.8k tokens
    Frontend & DesignAuto-check passed
  • Bryl Minimal Design

    bryllim/bryl-minimal-design

    Apply the bryl-minimal design language — a monochrome, typography-driven minimal aesthetic with halftone dot textures, pixel-font display headings, tiny uppercase monospace labels, soft large-radius…

    114 GitHub stars~2.9k tokensUpdated 2 mo ago
    Frontend & DesignAuto-check passed
  • Design System

    WrongStack/WrongStack

    Use this skill BEFORE writing or restyling ANY user-facing interface.

    370 GitHub stars~3.9k tokensUpdated yesterday
    Frontend & DesignAuto-check passed
  • Refactoring UI

    wondelai/skills

    Audit and fix visual hierarchy, spacing, color, and depth in web UIs.

    2.4k GitHub stars~3.9k tokensUpdated 27 days ago
    Frontend & DesignAuto-check passed

More from try-works/role-model

All 19 skills in this repo
  • E2E Testing Patterns

    try-works/role-model

    Master end-to-end testing with Playwright and Cypress to build reliable test suites that catch bugs, improve confidence, and enable fast deployment.

    118 GitHub starsUsed in 14 repos~990 tokens
    Auto-check passed
  • UI Design System

    try-works/role-model

    React UI component systems with TailwindCSS + Radix + shadcn/ui.

    118 GitHub stars~5k tokensUpdated yesterday
    Auto-check passed
  • Contributing

    try-works/role-model

    A skill your agent uses when contributing to the Cloudflare Docs repository — writing or editing documentation pages, choosing content types or components, adding changelog entries, reviewing docs…

    118 GitHub stars~1.3k tokensUpdated yesterday
    Auto-check passed
  • Effect V3 To V4

    try-works/role-model

    A skill your agent uses when migrating a codebase from Effect v3 to Effect v4, upgrading effect or any @effect/ package across the v3/v4 boundary.

    118 GitHub starsUsed in 1 repo~2k tokens
    Auto-check passed
  • Turnstile Spin

    try-works/role-model

    Set up Cloudflare Turnstile end-to-end in a project — scan the codebase, create the widget via the Cloudflare API, deploy the managed siteverify Worker, write the frontend snippets, validate, and…

    118 GitHub stars~3.8k tokensUpdated yesterday
    Auto-check passed
  • Eli5

    try-works/role-model

    Transform technical jargon into clear explanations using before/after comparisons, metaphors, and practical context

    118 GitHub starsUsed in 1 repo~7.1k tokens
    Auto-check passed

Works with

Questions about Swiss Design

What does Swiss Design do?

Apply a Swiss International Style design system using Tailwind CSS. Swiss Design is an agent skill from try-works/role-model. Apply a Swiss International Style design system using Tailwind CSS.

When should I use Swiss Design?

Swiss Design fits situations like: asked to style a webpage; apply a design system; make something look great; the user references Swiss design.

How do I install Swiss Design in Claude Code?

Run `npx skills add try-works/role-model --skill swiss-design -a claude-code`. Or copy the skill folder (.agents/skills/swiss-design in try-works/role-model) into .claude/skills/swiss-design in your project. Claude Code loads it when a task matches its description.

How do I install Swiss Design in Codex?

Run `npx skills add try-works/role-model --skill swiss-design -a codex`. Or copy the skill folder (.agents/skills/swiss-design in try-works/role-model) into .agents/skills/swiss-design in your project. Codex loads it when a task matches its description.

Can I use Swiss Design in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add try-works/role-model --skill swiss-design -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/swiss-design, .gemini/skills/swiss-design, .github/skills/swiss-design and .opencode/skills/swiss-design in your project.

What does Swiss Design need to run?

SKILL.md names no scripts, command-line tools or credentials: Swiss Design is instructions for the agent only.

Does Swiss Design access the network?

SKILL.md names 2 domains. In commands or code: fonts.googleapis.com; the agent is likely to contact it when it follows the instructions. As links in the text: raw.githubusercontent.com. This is read from the text; nothing was executed.

Is Swiss Design safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Swiss Design use?

Swiss Design is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Swiss Design use?

About 3.2k tokens (SKILL.md is roughly 13k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 7.1k tokens, read only when the agent opens those files.

What are the alternatives to Swiss Design?

Skills that share tags, products or a category with Swiss Design: Scalar Design System (scalar/scalar, 16k stars), Tailwind CSS Patterns (ever-works/ever-works, 158 stars), Tailwind V4 Shadcn (ever-works/ever-works, 158 stars) and Bryl Minimal Design (bryllim/bryl-minimal-design, 114 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Swiss Design?

try-works (a GitHub user) maintains it in try-works/role-model, which has 118 GitHub stars. The repository holds 19 skills in this directory. The repository was last updated on October 7, 2026.

Source: try-works/role-model on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.