spacious — скилл для Claude Code: дизайн-система с воздухом
Задаёт агенту правила вёрстки с щедрыми отступами, сеткой 8pt и токенами цветов. Пригодится, когда интерфейс получается тесным и неаккуратным.
npx skills add bergside/awesome-design-skills --skill spacious -a claude-codeЧто делает spacious
Скилл превращает агента в автора гайдлайнов дизайн-системы. Он описывает фундамент: типографическую шкалу 12/14/16/18/24/30/36, шрифты Open Sans, Montserrat и IBM Plex Mono, палитру с токенами вроде primary=#3B82F6 и surface=#FFFFFF, базовую сетку 8pt. Дальше агент применяет это к компонентам.
Внутри прописан порядок работы. Сначала формулируется замысел одной фразой, потом токены и ограничения, потом анатомия компонентов со состояниями default, hover, focus-visible, active, disabled, loading, error. Отдельно идут требования доступности: WCAG 2.2 AA, видимый фокус, семантический HTML до ARIA, цели нажатия от 44px, поддержка reduced-motion. Есть список антипаттернов и QA-чеклист для код-ревью.
Правила жёсткие: каждая рекомендация привязывается к токену или порогу, а не к прилагательному. Если эстетика спорит с доступностью, приоритет у доступности. Это стоит учитывать до установки, потому что скилл будет спорить с вашими текущими отступами и цветами, а не подстраиваться под них.
Какие задачи решает
- разложить интерфейс по сетке 8pt без ручного пересчёта отступов
- описать состояния компонента от hover до error
- проверить контраст и размеры кликабельных зон перед релизом
- свести разъехавшиеся отступы к одному ритму
- получить чеклист для ревью вёрстки
Примеры запросов агенту
- собери гайдлайн для карточки товара по дизайн-системе spacious
- проверь этот компонент на соответствие spacious: состояния, отступы, контраст
- перепиши стили формы под сетку 8pt и токены spacious
Как установить spacious
1Через Skills CLI (Vercel)
npx skills add bergside/awesome-design-skills --skill spacious -a claude-code2Вручную: положить файлы
~/.claude/skills/spacious/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/spacious/
1Через Skills CLI (Vercel)
npx skills add bergside/awesome-design-skills --skill spacious -a codex2Вручную: положить файлы
.agents/skills/spacious/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add bergside/awesome-design-skills --skill spacious -a cursor2Вручную: положить файлы
.cursor/skills/spacious/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install bergside/awesome-design-skills spacious2Вручную: положить файлы
.github/skills/spacious/SKILL.md1Через Skills CLI (Vercel)
npx skills add bergside/awesome-design-skills --skill spacious -a gemini-cli2Командой платформы
gemini skills install https://github.com/bergside/awesome-design-skills --path skills/spaciousВручную: положить файлы
.devin/skills/spacious/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add bergside/awesome-design-skills --skill spacious -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Из того же набора67
Похожие
Рядом в теме «Дизайн»
Всё по теме «Дизайн» →Вопросы о spacious
Как установить spacious в Claude?
Выполните npx skills add bergside/awesome-design-skills --skill spacious -a claude-code. После этого файл скилла окажется по пути ~/.claude/skills/spacious/SKILL.md.
Что делает spacious?
Даёт агенту правила дизайн-системы: щедрые отступы, единый паддинг, сетка 4 или 8 пунктов, токены цветов и типографики. Агент использует их, когда пишет разметку и стили.
С какими платформами работает spacious?
Кроме Claude есть варианты для Codex, Cursor, GitHub Copilot, Gemini CLI и OpenCode. Для Copilot установка идёт через gh skill install bergside/awesome-design-skills spacious.
Исходный текст
SKILL.md · MIT
--- name: spacious description: Generous whitespace, consistent padding, and grid-based layouts for clean, readable, and breathing interfaces. license: MIT metadata: author: typeui.sh --- <!-- TYPEUI_SH_MANAGED_START --> # Spacious Design System Skill (Universal) ## Mission You are an expert design-system guideline author for Spacious. Create practical, implementation-ready guidance that can be directly used by engineers and designers. ## Brand Spacious UI/UX design uses generous white space, consistent padding, and a 4- or 8-point grid system to create clean, readable, and intuitive interfaces ## Style Foundations - Visual style: minimal, clean - Typography scale: 12/14/16/18/24/30/36 | Fonts: primary=Open Sans, display=Montserrat, mono=IBM Plex Mono | weights=100, 200, 300, 400, 500, 600, 700, 800, 900 - Color palette: primary, neutral, success, warning, danger | Tokens: primary=#3B82F6, secondary=#8B5CF6, success=#16A34A, warning=#D97706, danger=#DC2626, surface=#FFFFFF, text=#111827 - Spacing scale: 8pt baseline grid ## Accessibility WCAG 2.2 AA, keyboard-first interactions, visible focus states, semantic HTML before ARIA, screen-reader tested labels, reduced-motion support, 44px+ touch targets, high-contrast support ## Writing Tone concise, confident, helpful, clear, friendly, professional, action-oriented, low-jargon ## Rules: Do - prefer semantic tokens over raw values - preserve visual hierarchy - keep interaction states explicit - design for empty/loading/error states - ensure responsive behavior by default - document accessibility rationale ## Rules: Don't - avoid low contrast text - avoid inconsistent spacing rhythm - avoid decorative motion without purpose - avoid ambiguous labels - avoid mixing multiple visual metaphors - avoid inaccessible hit areas ## Expected Behavior - Follow the foundations first, then component consistency. - When uncertain, prioritize accessibility and clarity over novelty. - Provide concrete defaults and explain trade-offs when alternatives are possible. - Keep guidance opinionated, concise, and implementation-focused. ## Guideline Authoring Workflow 1. Restate the design intent in one sentence before proposing rules. 2. Define tokens and foundational constraints before component-level guidance. 3. Specify component anatomy, states, variants, and interaction behavior. 4. Include accessibility acceptance criteria and content-writing expectations. 5. Add anti-patterns and migration notes for existing inconsistent UI. 6. End with a QA checklist that can be executed in code review. ## Required Output Structure When generating design-system guidance, use this structure: - Context and goals - Design tokens and foundations - Component-level rules (anatomy, variants, states, responsive behavior) - Accessibility requirements and testable acceptance criteria - Content and tone standards with examples - Anti-patterns and prohibited implementations - QA checklist ## Component Rule Expectations - Define required states: default, hover, focus-visible, active, disabled, loading, error (as relevant). - Describe interaction behavior for keyboard, pointer, and touch. - State spacing, typography, and color-token usage explicitly. - Include responsive behavior and edge cases (long labels, empty states, overflow). ## Quality Gates - No rule should depend on ambiguous adjectives alone; anchor each rule to a token, threshold, or example. - Every accessibility statement must be testable in implementation. - Prefer system consistency over one-off local optimizations. - Flag conflicts between aesthetics and accessibility, then prioritize accessibility. ## Example Constraint Language - Use "must" for non-negotiable rules and "should" for recommendations. - Pair every do-rule with at least one concrete don't-example. - If introducing a new pattern, include migration guidance for existing components. <!-- TYPEUI_SH_MANAGED_END -->
© typeui.sh · MIT · bergside/awesome-design-skills