Not loaded · from design-system-skills
Generates responsive breakpoint tokens for media queries and container queries. Supports mobile-first or desktop-first approaches with presets like Tailwind, Bootstrap, and Material. Outputs CSS, Tailwind config, JSON, or SCSS.
Claude Code won't load this skill
It ships in design-system-skills at skills/, but Claude Code only loads skills/<name>/SKILL.md and folders listed under skills in plugin.json. Installing the plugin doesn't add it.
Generate consistent responsive breakpoint tokens for mobile-first or desktop-first design. Includes common device-based presets and custom configuration options.
| Name | Min Width | Target Devices |
|---|---|---|
| xs | 0 | Small phones |
| sm | 640px | Large phones, small tablets |
| md | 768px | Tablets portrait |
| lg | 1024px | Tablets landscape, laptops |
| xl | 1280px | Desktops |
| 2xl | 1536px | Large desktops |
| Preset | Values | Character |
|---|---|---|
| Tailwind | 640, 768, 1024, 1280, 1536 | Content-focused |
| Bootstrap | 576, 768, 992, 1200, 1400 | Traditional |
| Material | 600, 905, 1240, 1440 | Google spec |
| Minimal | 640, 1024, 1440 | Simple 3-tier |
CSS Custom Properties + Media Queries:
:root {
--breakpoint-sm: 640px;
--breakpoint-md: 768px;
--breakpoint-lg: 1024px;
--breakpoint-xl: 1280px;
--breakpoint-2xl: 1536px;
}
/* Mobile-first media queries (use with @media) */
/* @media (min-width: 640px) - sm and up */
/* @media (min-width: 768px) - md and up */
/* @media (min-width: 1024px) - lg and up */
/* @media (min-width: 1280px) - xl and up */
/* @media (min-width: 1536px) - 2xl and up */
Tailwind Config:
module.exports = {
theme: {
screens: {
'sm': '640px',
'md': '768px',
'lg': '1024px',
'xl': '1280px',
'2xl': '1536px',
}
}
}
JSON Tokens:
{
"breakpoint": {
"sm": { "value": "640px", "type": "dimension" },
"md": { "value": "768px", "type": "dimension" },
"lg": { "value": "1024px", "type": "dimension" },
"xl": { "value": "1280px", "type": "dimension" },
"2xl": { "value": "1536px", "type": "dimension" }
}
}
SCSS Variables + Mixins:
$breakpoint-sm: 640px;
$breakpoint-md: 768px;
$breakpoint-lg: 1024px;
$breakpoint-xl: 1280px;
$breakpoint-2xl: 1536px;
@mixin sm-up {
@media (min-width: $breakpoint-sm) { @content; }
}
@mixin md-up {
@media (min-width: $breakpoint-md) { @content; }
}
@mixin lg-up {
@media (min-width: $breakpoint-lg) { @content; }
}
@mixin xl-up {
@media (min-width: $breakpoint-xl) { @content; }
}
@mixin 2xl-up {
@media (min-width: $breakpoint-2xl) { @content; }
}
// Usage: @include md-up { .element { width: 50%; } }
Modern CSS container queries for component-level responsiveness:
/* Container query breakpoints */
:root {
--container-sm: 320px;
--container-md: 480px;
--container-lg: 640px;
--container-xl: 800px;
}
/* Define container */
.card-container {
container-type: inline-size;
container-name: card;
}
/* Query container */
@container card (min-width: 480px) {
.card-content {
display: grid;
grid-template-columns: 1fr 1fr;
}
}
| Approach | Media Query | Write Styles For |
|---|---|---|
| Mobile-first | min-width | Small screens first, enhance up |
| Desktop-first | max-width | Large screens first, reduce down |
Mobile-first (recommended):
.element { width: 100%; }
@media (min-width: 768px) { .element { width: 50%; } }
@media (min-width: 1024px) { .element { width: 33%; } }
Desktop-first:
.element { width: 33%; }
@media (max-width: 1023px) { .element { width: 50%; } }
@media (max-width: 767px) { .element { width: 100%; } }
/* Visibility utilities */
.hidden { display: none; }
.sm\:block { @media (min-width: 640px) { display: block; } }
.md\:hidden { @media (min-width: 768px) { display: none; } }
/* Responsive grid */
.grid-cols-1 { grid-template-columns: 1fr; }
.md\:grid-cols-2 { @media (min-width: 768px) { grid-template-columns: repeat(2, 1fr); } }
.lg\:grid-cols-3 { @media (min-width: 1024px) { grid-template-columns: repeat(3, 1fr); } }
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub dylantarre/design-system-skills --plugin design-system-skills29 skills in this plugin
/angularBuilds token-driven Angular components with signals and standalone components. Use when creating Angular component libraries, integrating design tokens, or building design system components with new control flow syntax./animation-principlesApplies Disney's 12 animation principles to UI motion design. Use when improving animation quality, designing micro-interactions, creating easing curves, or making transitions feel natural and purposeful./aria-patternsProvides ARIA roles, states, and properties for interactive components. Use when building custom widgets, fixing screen reader issues, or implementing modals, tabs, accordions, menus, or dialogs accessibly./color-contrastValidates WCAG 2.1 contrast ratios and generates accessible color pairings. Use when checking accessibility compliance, fixing contrast issues, or selecting text/background combinations for AA or AAA levels./color-scaleGenerates perceptually uniform OKLCH color palettes from brand colors. Use when creating color systems, theme palettes, or converting hex values to 11-step scales. Outputs CSS custom properties, Tailwind config, or JSON tokens./component-docsGenerates component API documentation with props tables, usage examples, and guidelines. Use when documenting component libraries, creating API references, or building component documentation for designers and developers.