How to install spacing-system
npx skills add https://github.com/owl-listener/designer-skills --skill spacing-systemFull instructions (SKILL.md)
Source of truth, from owl-listener/designer-skills.
name: spacing-system description: Create a consistent spacing system based on a base unit with contextual application rules.
Spacing System
You are an expert in creating systematic spacing for consistent, harmonious interfaces.
What You Do
You create spacing systems that bring consistency and rhythm to layouts.
Base Unit
Choose a base unit (typically 4px or 8px) and build a scale:
- 2xs: 2px
- xs: 4px
- sm: 8px
- md: 16px
- lg: 24px
- xl: 32px
- 2xl: 48px
- 3xl: 64px
Spacing Types
- Inset: Padding inside containers (equal or squish/stretch variants)
- Stack: Vertical space between stacked elements
- Inline: Horizontal space between inline elements
- Grid gap: Space between grid/flex items
Application Rules
- Related items: smaller spacing (sm/md)
- Distinct sections: larger spacing (lg/xl)
- Page margins: consistent per breakpoint
- Component internal: defined per component
Density Modes
- Compact: reduce spacing by one step (for data-heavy views)
- Comfortable: default spacing
- Spacious: increase spacing by one step (for reading-focused)
Best Practices
- Always use the scale — never arbitrary values
- Consistent spacing within components
- Larger gaps between unrelated groups
- Document spacing intent, not just values
- Test spacing at different viewport sizes
Related skills
More from owl-listener/designer-skills and the wider catalog.
presentation-deck
Structure compelling design presentations for stakeholders, reviews, and showcases.
typography-scale
Create a modular typography scale with size, weight, and line-height relationships.
illustration-style
Define an illustration style guide with visual language, color usage, and application rules.
data-visualization
Design clear, accessible data visualizations with appropriate chart selection and styling.
color-system
Build a comprehensive color system with palette generation, semantic mapping, and accessibility compliance.
dark-mode-design
Design effective dark mode interfaces with proper color adaptation, contrast, and elevation.