Tailwind V4 Shadcn
ever-works/ever-works
Production-tested setup for Tailwind CSS v4 with shadcn/ui, Vite, and React.
Scalar's design system — design tokens, theming (@scalar/themes), CSS variables, and the @scalar/components library.
$ npx skills add scalar/scalar --skill scalar-design-system -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install scalar/scalar scalar-design-system --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/scalar/scalar.git skills-src && mkdir -p .claude/skills && cp -r skills-src/packages/themes/skills/scalar-design-system .claude/skills/scalar-design-system && rm -rf skills-srcUse ~/.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/
Install the "scalar-design-system" agent skill from https://github.com/scalar/scalar/tree/main/packages/themes/skills/scalar-design-system into .claude/skills/scalar-design-system/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "scalar-design-system", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/scalar/scalar/tree/main/packages/themes/skills/scalar-design-systemType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add scalar/scalar --skill scalar-design-system -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install scalar/scalar scalar-design-system --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/scalar/scalar.git skills-src && mkdir -p .agents/skills && cp -r skills-src/packages/themes/skills/scalar-design-system .agents/skills/scalar-design-system && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "scalar-design-system" agent skill from https://github.com/scalar/scalar/tree/main/packages/themes/skills/scalar-design-system into .agents/skills/scalar-design-system/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "scalar-design-system", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add scalar/scalar --skill scalar-design-system -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install scalar/scalar scalar-design-system --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/scalar/scalar.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/packages/themes/skills/scalar-design-system .cursor/skills/scalar-design-system && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "scalar-design-system" agent skill from https://github.com/scalar/scalar/tree/main/packages/themes/skills/scalar-design-system into .cursor/skills/scalar-design-system/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "scalar-design-system", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/scalar/scalar.git --path packages/themes/skills/scalar-design-system--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add scalar/scalar --skill scalar-design-system -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install scalar/scalar scalar-design-system --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/scalar/scalar.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/packages/themes/skills/scalar-design-system .gemini/skills/scalar-design-system && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "scalar-design-system" agent skill from https://github.com/scalar/scalar/tree/main/packages/themes/skills/scalar-design-system into .gemini/skills/scalar-design-system/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "scalar-design-system", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install scalar/scalar scalar-design-systemInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add scalar/scalar --skill scalar-design-system -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/scalar/scalar.git skills-src && mkdir -p .github/skills && cp -r skills-src/packages/themes/skills/scalar-design-system .github/skills/scalar-design-system && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "scalar-design-system" agent skill from https://github.com/scalar/scalar/tree/main/packages/themes/skills/scalar-design-system into .github/skills/scalar-design-system/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "scalar-design-system", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add scalar/scalar --skill scalar-design-system -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install scalar/scalar scalar-design-system --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/scalar/scalar.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/packages/themes/skills/scalar-design-system .opencode/skills/scalar-design-system && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "scalar-design-system" agent skill from https://github.com/scalar/scalar/tree/main/packages/themes/skills/scalar-design-system into .opencode/skills/scalar-design-system/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "scalar-design-system", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
scalar-design-systemScalar's design system — design tokens, theming (@scalar/themes), CSS variables, and the @scalar/components library.
Scalar Design System is an agent skill from scalar/scalar. Scalar's design system — design tokens, theming (@scalar/themes), CSS variables, and the @scalar/components library. Use when designing or implementing Scalar UI, especially with Paper (code-to-design / design-to-code), so output matches real Scalar tokens, colors, typography, spacing, and components instead of generic defaults.
Its SKILL.md is about 2.7k tokens, which your agent loads only when the skill is triggered. The skill folder holds 4 other files, including reference files (for example `references/components.md`, `references/paper.md` and `references/tokens.md`).
It sits in Frontend & Design, covering Design tokens, Design systems and Design to code. It works with Tailwind CSS and OpenAPI. The repository describes itself as: Scalar is an open-source API platform: 🌐 Modern REST API Client 📖 Beautiful API References ✨ 1st-Class OpenAPI/Swagger Support. The licence is MIT.
2 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit b5492be. It shows what the files ask for, not the result of running them.
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.
No scripts in the folder and no shell commands in SKILL.md (its code samples are typescript).
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Scalar Design System loads about 2.7k tokens when it runs, and up to ~8.1k if it reads all its reference files. Until then it costs about 88 tokens; SKILL.md has 1,129 words of instructions outside code blocks.
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.
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.
The full file from scalar/scalar at commit b5492be, republished under its MIT licence (© scalar). 1,129 words, ~2,651 tokens.
.claude/skills/scalar-design-system/SKILL.md (or your agent's skills folder). This skill also uses 3 other files; get the full folder from GitHub.This skill is Scalar's design system, distilled for two jobs:
code-to-design) — so a design uses Scalar's real palette, type, spacing, and component shapes from the first stroke, with no invented "design brief."design-to-code) — so the output maps back to the correct --scalar-* variables, Tailwind classes, and @scalar/components.It complements the code-to-design and design-to-code plugin skills; this one supplies the Scalar-specific knowledge they lack.
Prerequisite for Paper work: Paper Desktop must be running with a file open. If the Paper MCP connection fails, ask the user to open Paper Desktop first.
The values below are a curated snapshot of the default theme — enough to design and implement directly. For the full variable catalog, all 13 theme presets, and the complete component list, read the reference files:
references/tokens.md — every --scalar-* variable, the Tailwind mapping, and all theme presets.references/components.md — all 34 components, their variants/props, and the subpath import map.references/paper.md — bidirectional Paper ↔ Scalar mapping tables for round-tripping designs.Scalar's look is a clean, modern developer-tool aesthetic: high-contrast typography, restrained color, hairline borders, and small radii. Treat it as a product/clarity system, not a marketing/expressive one.
Inter for UI and prose, JetBrains Mono for code.#0099ff (one deliberate accent; everything else is neutral).#fff ground, #1b1b1b text).0.5px, color #dfdfdf.3px default, 6px large, 8px extra-large..scalar-app class. Any markup must be inside an element with class="scalar-app"..light-mode or .dark-mode class on a container selects the value set. Default to .light-mode.scalar-base (base variables + default theme) and scalar-theme (preset overrides). Unlayered CSS overrides both.Reference --scalar-* variables in CSS; in components, prefer the Tailwind classes (next section).
Color — text (--scalar-color-*)
| Variable | Light | Dark | Role |
|---|---|---|---|
--scalar-color-1 | #1b1b1b | #e7e7e7 | Primary text |
--scalar-color-2 | #707070 | #a4a4a4 | Secondary text |
--scalar-color-3 | #8e8e8e | #797979 | Muted text |
--scalar-color-accent | #0099ff | #00aeff | Accent / interactive |
Color — background (--scalar-background-*)
| Variable | Light | Dark | Role |
|---|---|---|---|
--scalar-background-1 | #fff | #0f0f0f | Base surface |
--scalar-background-2 | #f6f6f6 | #1a1a1a | Raised surface / hover |
--scalar-background-3 | #e7e7e7 | #272727 | Highest contrast surface |
--scalar-background-accent | #8ab4f81f | #3ea6ff1f | Tinted accent fill |
Borders & shadows
--scalar-border-color — #dfdfdf (light) / #2d2d2d (dark); --scalar-border-width — 0.5px.--scalar-shadow-1 (subtle), --scalar-shadow-2 (lifted).Semantic colors (--scalar-color-{green,red,yellow,blue,orange,purple}, plus --scalar-color-danger / --scalar-color-alert and matching --scalar-background-*). Light: green #069061, red #ef0006, yellow #edbe20, blue #0072bd, orange #ff5800, purple #5203d1.
Radii: --scalar-radius 3px, --scalar-radius-md 3px, --scalar-radius-lg 6px, --scalar-radius-xl 8px, --scalar-radius-2xl 12px, --scalar-radius-3xl 16px, --scalar-radius-full pill. All derive from --scalar-radius, so overriding it on :root rescales every corner, and 0 makes the interface square. Everything except -full clamps to --scalar-radius-max (20px) so a large radius cannot swallow a container's content. Reach for --scalar-radius-md rather than --scalar-radius on anything that holds content.
Typography
24px, heading-2 20px, heading-3–6 16px, paragraph 16px, small 14px, mini 13px, micro 12px.--scalar-font-size-1…7 = 21, 16, 14, 13, 12, 12, 10 px.--scalar-line-height-1…5 = 32, 24, 20, 18, 16 px.400, semibold 500, bold 600.Scalar maps --scalar-* variables onto a custom Tailwind theme. In components, use these classes rather than raw variables. Source of truth: @scalar/themes/tailwind.css.
bg-b-1, bg-b-1.5, bg-b-2, bg-b-3, bg-b-accent, bg-b-btn, bg-b-tooltip, bg-b-danger, bg-b-alert.text-c-1, text-c-2, text-c-3, text-c-accent, text-c-ghost, text-c-disabled, text-c-btn, text-c-tooltip, text-c-danger, text-c-alert.text-green / bg-green, plus red, yellow, blue, orange, purple.border (uses --scalar-border-color, default width 0.5px); shadow-border for an inset hairline, or inset-shadow-border to stack it with a shadow-*.shadow / shadow-md (shadow-1), shadow-lg (shadow-2), shadow-sm.rounded & rounded-md (3px), rounded-lg (6px), rounded-xl (8px), rounded-2xl (12px), rounded-3xl (16px), rounded-full (pill). No rounded-sm.font-sans (Inter), font-code (JetBrains Mono); sizes text-3xs 10, text-xxs/text-xs 12, text-sm 13, text-base 14, text-lg 16, text-xl 21; weights font-normal 400, font-medium 500, font-bold 600.4px, so p-1 = 4px, p-2 = 8px, gap-3 = 12px, etc. h-header = 48px.xs 400, sm 600, md 800, lg 1000, xl 1200.@scalar/componentsA Vue 3 library (34 components) scoped to .scalar-app, styled with the Tailwind classes above via cva variants, and customizable through Tailwind class overrides (useBindCx). Import from the subpath, not the barrel:
import { ScalarButton } from '@scalar/components/button'
import { ScalarIconAcorn } from '@scalar/icons'Headline components (full list in references/components.md):
ScalarButton (variant solid | outlined | ghost | gradient | danger; size xs | sm | md), ScalarIconButton, ScalarTextInput, ScalarTextArea, ScalarToggle, ScalarCheckbox, ScalarSearchInput, ScalarFileUpload.ScalarCombobox, ScalarListbox, ScalarDropdown, ScalarPopover, ScalarTooltip (all positioned with Floating UI).ScalarModal (sizes xxs–full).ScalarHeader (+ ScalarHeaderColumn), ScalarSidebar, ScalarMenu.ScalarCard, ScalarCodeBlock, ScalarMarkdown, ScalarForm, ScalarLoading.Icons come from @scalar/icons (1,500+ Phosphor icons as ScalarIcon<Name> components). Size with size-* (size-4, size-5) and color with text-*. ScalarButton takes an :icon prop.
Paper writes literal HTML/CSS to the canvas with px sizes and hex colors, so translate Scalar tokens into concrete values:
#fff, text #1b1b1b (secondary #707070), accent #0099ff, borders 0.5px #dfdfdf, radii 3–8px.Inter for everything except code (JetBrains Mono); body text 16px, small 14px.get_jsx / get_computed_styles / get_fill_image — never read sizes or colors off a screenshot.#0099ff → --scalar-color-accent / text-c-accent; #fff → bg-b-1; #1b1b1b → text-c-1; 0.5px #dfdfdf border → border; 3px radius → rounded; 16px Inter → text-lg font-sans. See references/paper.md for the full table.ScalarButton (pick variant + size); card → ScalarCard; menu/select → ScalarDropdown / ScalarListbox / ScalarCombobox; dialog → ScalarModal; icon → an @scalar/icons ScalarIcon*. Import each from its subpath.@scalar/components package.json exports — the subpath → component map.*.d.ts) shipped with each component — props, variants, and JSDoc.@scalar/components Storybook — live variants and controls..scalar-app; override styles with Tailwind classes via useBindCx (do not hand-write CSS); follow the vue-components skill for component code style.When exact or current values matter, go to the package that owns them — read these from node_modules/<package>/ (or the package on npm):
@scalar/themes: the compiled variables and the Tailwind @theme mapping ship as @scalar/themes/style.css and @scalar/themes/tailwind.css; the JS API (getThemeStyles, presets, themeIds, ThemeId) is exported from the package root (@scalar/themes).@scalar/components: the subpath import map is in the package's package.json exports; the full export list and per-component props/variants live in the bundled type declarations (*.d.ts).@scalar/icons: the ScalarIcon* set is exported from the package root (@scalar/icons).© scalar, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 3 other files (references) in packages/themes/skills/scalar-design-system of scalar/scalar.
Open the folder on GitHubat commit b5492be
Scalar Design System 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.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Scalar Design System this skillscalar/scalar | 16k | — | ~2.7k | Automated safety check: Pass | MIT | |
| Tailwind V4 Shadcnever-works/ever-works | 162 | 2 repos | ~3.8k | Automated safety check: Pass | MIT | |
| Refactoring UIwondelai/skills | 2.4k | — | ~3.9k | Automated safety check: Pass | MIT | |
| Design System Generatemohitagw15856/pm-claude-skills | 1.4k | — | ~1.7k | Automated safety check: Pass | MIT | |
| Design SystemOhh-889/skyroc | 795 | 11 repos | ~1.7k | Automated safety check: Pass | MIT | |
| Tailwind CSS Patternsever-works/ever-works | 162 | 3 repos | ~1.6k | Automated safety check: Notes | AGPL-3.0 |
ever-works/ever-works
Production-tested setup for Tailwind CSS v4 with shadcn/ui, Vite, and React.
wondelai/skills
Audit and fix visual hierarchy, spacing, color, and depth in web UIs.
mohitagw15856/pm-claude-skills
Generate a complete, accessibility-checked design system from scratch — colour ramps, type scale, spacing, elevation, and exports for CSS, Tailwind, design tokens, Figma, VS Code and PowerPoint.
Ohh-889/skyroc
Token architecture, component specifications, and slide generation.
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.
try-works/role-model
React UI component systems with TailwindCSS + Radix + shadcn/ui.
scalar/scalar
Minimal starter runbook for cloud agents to install dependencies, run packages, execute tests, and troubleshoot the Scalar monorepo quickly.
scalar/scalar
Build, customize, and troubleshoot OpenAPI mock servers with @scalar/mock-server, including x-handler, x-seed, authentication, and Docker.
scalar/scalar
Use consistent OpenAPI terminology and definitions when writing documentation, educational material, and tooling guidance.
scalar/scalar
Skill for writing and updating scalar.config.json — Scalar Docs configuration reference for users and LLMs.
scalar/scalar
Write clear, predictable TypeScript and Vue TypeScript code with strong typing, maintainability, and consistent documentation conventions.
scalar/scalar
Build Vue 3 components with TypeScript and Tailwind using clean structure, composable logic, accessibility, and maintainable patterns.
Works with
Categories
Scalar's design system — design tokens, theming (@scalar/themes), CSS variables, and the @scalar/components library. Scalar Design System is an agent skill from scalar/scalar. Scalar's design system — design tokens, theming (@scalar/themes), CSS variables, and the @scalar/components library.
Scalar Design System fits situations like: implementing Scalar UI; especially with Paper (code-to-design / design-to-code); so output matches real Scalar tokens; components instead of generic defaults.
Run `npx skills add scalar/scalar --skill scalar-design-system -a claude-code`. Or copy the skill folder (packages/themes/skills/scalar-design-system in scalar/scalar) into .claude/skills/scalar-design-system in your project. Claude Code loads it when a task matches its description.
Run `npx skills add scalar/scalar --skill scalar-design-system -a codex`. Or copy the skill folder (packages/themes/skills/scalar-design-system in scalar/scalar) into .agents/skills/scalar-design-system in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add scalar/scalar --skill scalar-design-system -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/scalar-design-system, .gemini/skills/scalar-design-system, .github/skills/scalar-design-system and .opencode/skills/scalar-design-system in your project.
SKILL.md names no scripts, command-line tools or credentials: Scalar Design System is instructions for the agent only.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
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.
Scalar Design System is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.7k tokens (SKILL.md is roughly 11k 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 5.5k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Scalar Design System: Tailwind V4 Shadcn (ever-works/ever-works, 162 stars), Refactoring UI (wondelai/skills, 2.4k stars), Design System Generate (mohitagw15856/pm-claude-skills, 1.4k stars) and Design System (Ohh-889/skyroc, 795 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
scalar (a GitHub organization) maintains it in scalar/scalar, which has 16,249 GitHub stars. The repository holds 7 skills in this directory. The repository was last updated on October 10, 2026.
Source: scalar/scalar on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.