devup-ui — скилл для Claude Code: что делает и как установить
Внедряет zero-runtime CSS-in-JS библиотеку Devup UI в проекты на React, настраивает плагины сборщика и переносит стили без клиентского рантайма.
Apache-2.0 111 установок ★ 61 обновлён 2026-11-05
npx skills add akillness/jeo-skills --skill devup-ui -a claude-codeЧто делает devup-ui
Скилл ведёт интеграцию библиотеки Devup UI, чей препроцессор на Rust и WebAssembly извлекает все стили во время сборки. В клиентский бандл стилизующий JavaScript не попадает, а динамические значения компилируются в CSS-переменные. Агент выясняет конфигурацию проекта: какой сборщик используется, нужен ли App Router с серверными компонентами, требуются ли токены из devup.json и с чего идёт миграция.
Дальше скилл ставит пакет @devup-ui/react и строго один плагин под нужный сборщик: Next.js, Vite, Rsbuild, Webpack или Bun. Поддерживается синтаксис компонентов Box, css и интерфейс styled(). Клиентский Provider библиотеке не нужен, поэтому стили работают в React Server Components без мигания страницы (Zero FOUC).
Без плагина сборщика компиляция не работает: это ключевой шаг интеграции. Требуются Node.js с поддержкой LTS и React 18 или 19.
Какие задачи решает
- подключить плагин Devup UI к Next.js, Vite, Rsbuild, Webpack или Bun
- перенести стили с Emotion, Tailwind, Panda или vanilla-extract на zero-runtime
- настроить тему с типами и тёмным режимом через файл devup.json
- верстать компоненты через Box и styled без клиентского провайдера стилей
Примеры запросов агенту
- Настрой Devup UI для проекта на Next.js с App Router
- Переведи стили карточки с Emotion на Devup UI через styled()
- Создай конфигурацию devup.json с палитрой цветов и шрифтами
Как установить devup-ui
1Через Skills CLI (Vercel)
npx skills add akillness/jeo-skills --skill devup-ui -a claude-code2Вручную: положить файлы
~/.claude/skills/devup-ui/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/devup-ui/
1Через Skills CLI (Vercel)
npx skills add akillness/jeo-skills --skill devup-ui -a codex2Вручную: положить файлы
.agents/skills/devup-ui/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add akillness/jeo-skills --skill devup-ui -a cursor2Вручную: положить файлы
.cursor/skills/devup-ui/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install akillness/jeo-skills .agent-skills/devup-ui/SKILL.md2Вручную: положить файлы
.github/skills/devup-ui/SKILL.md1Через Skills CLI (Vercel)
npx skills add akillness/jeo-skills --skill devup-ui -a gemini-cli2Командой платформы
gemini skills install https://github.com/akillness/jeo-skills --path .agent-skills/devup-uiВручную: положить файлы
.devin/skills/devup-ui/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add akillness/jeo-skills --skill devup-ui -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы о devup-ui
Как установить devup-ui в Claude Code?
Выполните в терминале команду: npx skills add akillness/jeo-skills --skill devup-ui -a claude-code.
Зачем нужен скилл devup-ui?
Он помогает внедрить CSS-in-JS библиотеку Devup UI, настроить плагины сборки и использовать API без оверхеда в браузере.
Нужен ли ThemeProvider для работы стилей в React Server Components?
Нет, библиотека работает без клиентского провайдера. Темы переключаются через CSS-переменные, поэтому компоненты совместимы с RSC.
Исходный текст
SKILL.md · Apache-2.0
---
name: devup-ui
description: >-
[devup-ui] Routing-first front door for Devup UI — a zero-runtime CSS-in-JS library whose Rust +
WebAssembly preprocessor extracts every style at build time, so no styling JavaScript ships at
runtime. Use to adopt/integrate Devup UI, wire the build-time plugin into
Next.js/Vite/Rsbuild/Webpack/Bun, write styles with Box/css props or the
styled-components-compatible styled() API, set up type-safe theming with devup.json, or migrate
off styled-components/Emotion/Tailwind/Panda/vanilla-extract to zero runtime.
allowed-tools: Read Write Edit Bash Grep Glob WebFetch
aliases: /devup-ui /devup
compatibility: >
Requires Node.js (LTS) and a supported bundler. Build-time extraction runs through
one of @devup-ui/next-plugin, @devup-ui/vite-plugin, @devup-ui/rsbuild-plugin,
@devup-ui/webpack-plugin, or @devup-ui/bun-plugin. Targets React 18/19, including
React Server Components (no client Provider, Zero FOUC). Works with npm, pnpm,
yarn, or bun.
license: Apache-2.0
metadata:
tags: devup-ui, css-in-js, zero-runtime, build-time-extraction, styled, theming, react, nextjs, vite, rust, wasm
version: "1.0.1"
source: https://github.com/dev-five-git/devup-ui
docs: https://devup-ui.com
---
# devup-ui — routing-first zero-runtime CSS-in-JS adoption
> **Keyword**: `devup-ui` · `@devup-ui/react` · `zero runtime` · `build-time CSS extraction` · `devup.json`
>
> Devup UI processes **all** styles at build time with a Rust-powered preprocessor.
> There is no runtime style engine: pick the matching **bundler plugin first**, then
> write styles; the plugin is what makes everything else work.
Devup UI removes the developer-experience vs. performance trade-off of traditional
CSS-in-JS by extracting styles at compile time:
- **Zero Runtime** — no JavaScript executes for styling at runtime
- **Zero Config / Zero FOUC** — no client Provider, no style flash
- **Complete syntax coverage** — variables, conditionals, responsive arrays, pseudo selectors
- **Familiar API** — `styled()` compatible with styled-components / Emotion patterns
- **Smallest bundle** — base-37 class names (`a`, `b`, … `aa`, `ab`); dynamic values become CSS variables
- **RSC support** — works inside React Server Components
## When to use this skill
- The user wants to **add Devup UI** to a project and needs the right bundler plugin wired in
- The user is choosing between Next.js / Vite / Rsbuild / Webpack / Bun integration
- The user wants to **write styles** with `Box`/`css` props or the `styled()` API and isn't sure how the shorthand props (`bg`, `px`, responsive arrays, `_hover`) map
- The user wants **type-safe theming** with `devup.json` (colors, typography, dynamic theme switching via CSS variables)
- The user wants to **migrate** from styled-components / Emotion / Tailwind / Panda / vanilla-extract to a zero-runtime setup
- The user keeps reaching for a runtime CSS-in-JS Provider and needs to know it is unnecessary (and harmful to RSC) with Devup UI
Route out when the real need is broader than styling mechanics: token/visual-language
governance → `design-system`; reusable-component API/anatomy → `design-system`;
layout/breakpoint strategy → `responsive-design`; accessibility → `web-accessibility`;
bundle/RSC/rerender performance beyond styling → `react-best-practices`.
## Instructions
### Step 1 — Capture one intake packet before editing config
Collect, in one pass:
1. **Bundler** — Next.js, Vite, Rsbuild, Webpack, or Bun (this decides the plugin package)
2. **React mode** — App Router / RSC vs. client-only (RSC needs no Provider; do not add one)
3. **Theming** — does the project need `devup.json` tokens and dynamic (e.g. dark) themes?
4. **Origin** — greenfield, or migrating from styled-components / Emotion / Tailwind / Panda / vanilla-extract?
5. **Package manager** — npm / pnpm / yarn / bun
### Step 2 — Install the core package and the matching bundler plugin
```sh
npm install @devup-ui/react
# then exactly ONE bundler plugin:
npm install @devup-ui/next-plugin # Next.js
npm install @devup-ui/vite-plugin # Vite
npm install @devup-ui/rsbuild-plugin # Rsbuild
npm install @devup-ui/webpack-plugin # Webpack
npm install @devup-ui/bun-plugin # Bun
```
Or use the helper, which also installs the skill as a plugin and can scaffold the
chosen bundler in a target project:
```sh
bash scripts/install.sh # install the skill only
BUNDLER=next PROJECT=/path/to/app bash scripts/install.sh # + npm packages for Next.js
BUNDLER=vite PKG_MANAGER=pnpm PROJECT=. bash scripts/install.sh
GLOBAL=1 bash scripts/install.sh # install the skill globally
```
### Step 3 — Wire the build-time plugin (the load-bearing step)
```js
// next.config.js (Next.js)
import { DevupUI } from '@devup-ui/next-plugin'
export default DevupUI({})
```
```ts
// vite.config.ts (Vite)
import { DevupUI } from '@devup-ui/vite-plugin'
import react from '@vitejs/plugin-react'
import { defineConfig } from 'vite'
export default defineConfig({ plugins: [react(), DevupUI()] })
```
Rsbuild uses `DevupUIRsbuildPlugin()`, Webpack uses `new DevupUIWebpackPlugin()`,
Bun imports `@devup-ui/bun-plugin`. Full snippets:
[references/installation-and-plugins.md](references/installation-and-plugins.md).
### Step 4 — Write styles
```tsx
import { Box, css, styled } from '@devup-ui/react'
// Prop-based styling with shorthands and responsive arrays
const view = (
<Box bg="white" p={4} borderRadius="8px" _hover={{ bg: 'gray.100' }}>
<Box fontSize={[14, 16, 20]} color="primary">Responsive text</Box>
</Box>
)
// styled-components / Emotion compatible API
const Card = styled('div', {
bg: 'white',
p: 4, // 4 * 4 = 16px spacing scale
borderRadius: '8px',
boxShadow: '0 4px 6px rgba(0,0,0,0.1)',
_hover: { boxShadow: '0 10px 15px rgba(0,0,0,0.1)' },
})
```
Numeric spacing props multiply by 4px. Array values are breakpoint-responsive.
`_hover`, `_focus`, etc. are pseudo selectors. Dynamic values compile to CSS
variables (no runtime style recompute). Details:
[references/styling-api.md](references/styling-api.md).
### Step 5 — Theme with `devup.json` (only if needed)
```json
{
"theme": {
"colors": {
"default": { "primary": "#0070f3", "text": "#000" },
"dark": { "primary": "#3291ff", "text": "#fff" }
},
"typography": {
"heading": { "fontFamily": "Pretendard", "fontSize": "24px", "fontWeight": 700, "lineHeight": 1.3 }
}
}
}
```
Theme tokens are type-safe and theme switching is zero-cost (CSS variables). RSC
works without a Provider — **do not** add a client Provider for theming. Migration
recipes and route-outs: [references/theming-and-migration.md](references/theming-and-migration.md).
## Route-outs (do not over-promise styling)
- **Token governance, naming, visual-language direction** → `design-system`
- **Reusable-component API / slot anatomy / controlled ownership** → `design-system`
- **Page-shell / breakpoint / reflow strategy** → `responsive-design`
- **Accessibility semantics, focus, labels, reflow** → `web-accessibility`
- **Waterfalls, bundle size, RSC boundaries, rerender churn** → `react-best-practices`
## Install as a plugin
```sh
npx skills add https://github.com/akillness/jeo-skills --skill devup-ui
```
© akillness · Apache-2.0 · akillness/jeo-skills