Skip to main content
skill CX Codex

spacious — Claude Code skill: a design system with room to breathe

Turns your agent into a design-system author: generous whitespace, an 8pt grid, colour tokens. Useful when generated UI comes out cramped.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add bergside/awesome-design-skills --skill spacious -a claude-code
Open on GitHub

What spacious does

The skill frames the agent as a guideline author for the Spacious design system. It sets the foundation first: a type scale of 12/14/16/18/24/30/36, Open Sans for body text with Montserrat for display and IBM Plex Mono for code, a token palette (primary=#3B82F6, surface=#FFFFFF, text=#111827), and an 8pt baseline grid.

From there it covers components. Required states are spelled out — default, hover, focus-visible, active, disabled, loading, error — along with keyboard, pointer and touch behaviour, plus responsive edge cases like long labels and overflow. Accessibility is not an afterthought: WCAG 2.2 AA, visible focus, semantic HTML before ARIA, 44px touch targets, reduced-motion support.

Every rule has to hang off a token or a threshold rather than an adjective, and when aesthetics clash with accessibility the skill picks accessibility. That matters before you install it: it will argue with your existing spacing and colours instead of quietly matching them.

What it helps with

  • lay out a screen on an 8pt grid without hand-computing padding
  • specify every component state from hover to error
  • check contrast and tap-target sizes before shipping
  • pull drifting margins back into one rhythm
  • hand a reviewer a checklist for markup QA

Example prompts for the agent

  • build a product card guideline using the spacious design system
  • audit this component against spacious: states, spacing, contrast
  • rewrite the form styles on the 8pt grid and spacious tokens

How to install spacious

1Skills CLI (Vercel)

npx skills add bergside/awesome-design-skills --skill spacious -a claude-code

2Manually: put the files in place

~/.claude/skills/spacious/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/spacious/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about spacious

How do I install spacious in Claude?

Run npx skills add bergside/awesome-design-skills --skill spacious -a claude-code. The skill file then lives at ~/.claude/skills/spacious/SKILL.md.

What does spacious do?

It gives the agent design-system rules: generous whitespace, consistent padding, a 4 or 8 point grid, and colour and type tokens. The agent applies them while writing markup and styles.

Which platforms does spacious support?

Beyond Claude there are variants for Codex, Cursor, GitHub Copilot, Gemini CLI and OpenCode. Copilot installs with gh skill install bergside/awesome-design-skills spacious.

Source text

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

Similar skills

Everything for Design →

From the same set67

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor