responsive-design
by wshobsonresponsive-design enables modern adaptive UI layouts using container queries, fluid typography, CSS Grid, and mobile-first breakpoint strategies. Ideal for designers and developers building interfaces that scale across devices and screen sizes.
Overview
What is responsive-design?
responsive-design is a UI-design skill focused on building adaptive interfaces that respond seamlessly to different screen sizes and device contexts. It leverages container queries, fluid typography, CSS Grid, Flexbox, and mobile-first breakpoint strategies to create layouts and components that scale naturally. This skill is best suited for designers and frontend developers aiming to deliver polished, accessible, and device-agnostic user experiences.
Who should use responsive-design?
- UI designers seeking modern responsive layout techniques
- Frontend developers implementing scalable component systems
- Teams building mobile-first, adaptive web applications
- Anyone needing fluid layouts, responsive navigation, or adaptive data displays
Problems solved
- Eliminates rigid, fixed layouts in favor of fluid, scalable designs
- Enables component-level responsiveness with container queries
- Simplifies breakpoint management using content-driven strategies
- Supports fluid typography and spacing for natural scaling
How to Use
Installation steps
- Install responsive-design using:
npx skills add https://github.com/wshobson/agents --skill responsive-design - Review the main skill documentation in
SKILL.mdfor workflow guidance. - Explore supporting files:
references/breakpoint-strategies.mdfor breakpoint best practicesreferences/container-queries.mdfor component-level responsivenessreferences/fluid-layouts.mdfor fluid typography and layout techniques
- Adapt the skill's workflow to your own repository, tools, and design system. Avoid copying code verbatim; instead, integrate concepts and patterns that fit your project.
Key features and files
- Container Queries: Learn to use
container-typeand@containerrules for responsive components. - Fluid Typography & Spacing: Apply CSS
clamp()and viewport units for scalable text and spacing. - CSS Grid & Flexbox: Build complex, adaptive layouts using modern CSS layout methods.
- Breakpoint Strategies: Implement mobile-first, content-driven breakpoints for scalable design systems.
Example file preview
SKILL.md: Skill overview and workflowreferences/breakpoint-strategies.md: Breakpoint scales and mobile-first philosophyreferences/container-queries.md: Syntax and browser support for container queriesreferences/fluid-layouts.md: Fluid scaling with CSS and JavaScript helpers
FAQ
Is responsive-design suitable for legacy browsers?
responsive-design relies on modern CSS features like container queries and fluid units. While most current browsers support these, older browsers may require fallbacks. Check references/container-queries.md for browser compatibility and fallback strategies.
Can I use responsive-design with any frontend framework?
Yes. The skill provides CSS and design patterns that can be adapted to React, Vue, Angular, or vanilla HTML/CSS projects. Integrate the concepts into your component and layout structure.
Where do I find practical examples?
See the references/ folder for code samples and best practices. Start with SKILL.md for workflow guidance, then explore specific references for implementation details.
How do I decide if responsive-design is a good fit?
Choose responsive-design if your project requires adaptive layouts, scalable typography, and component-level responsiveness. If your UI is static or only targets a single device size, this skill may be unnecessary.
Where can I view the full file tree?
Open the Files tab in the Agent Skills Finder to inspect all documentation, references, and helper scripts included with responsive-design.
