New to Claude Skills? Learn how to install them →

wshobson on GitHub

Responsive Design

Free

Create adaptive interfaces with modern responsive techniques.

by wshobson38.7k stars on wshobson/agents
2 views
Updated Jul 18, 2026
Get this skill

Free · Opens the source repo

What Responsive Design does

Responsive Design is a skill focused on implementing modern techniques to create layouts that adapt seamlessly across various screen sizes and device contexts. This skill is particularly useful for developers and designers looking to enhance user experience by ensuring that applications and websites are visually appealing and functional on any device. With a focus on mobile-first design, the skill emphasizes the importance of starting with mobile styles and progressively enhancing for larger screens, which is crucial in today's mobile-centric world.

The skill covers a range of responsive design techniques including container queries, fluid typography, and the use of CSS Grid and Flexbox for building complex layouts. By leveraging these methods, users can create component-level responsive behavior, allowing for more granular control over how elements respond to different screen sizes. Additionally, the skill provides best practices that help avoid common pitfalls such as horizontal overflow and fixed widths, ensuring that designs remain robust and user-friendly.

Included within the skill are detailed patterns and worked examples, which serve as a valuable resource for users seeking to deepen their understanding of responsive design. These references include strategies for implementing responsive images and adaptive navigation, as well as guidelines for maintaining accessibility through appropriate touch targets. By following the outlined best practices, users can create designs that not only look good but also perform well across a range of devices.

Overall, Responsive Design is an essential skill for anyone involved in web development or UI/UX design, providing the tools and knowledge needed to build adaptive interfaces that meet the demands of modern users.

When to use it

Use this skill when building mobile-first responsive layouts or when implementing component-level responsiveness with container queries.

When not to use it

This skill may not be suitable for projects that do not require responsive design or for static websites where layout adaptability is not a concern.

What you can build with it

Building a Mobile App Interface

Utilize mobile-first strategies to create a responsive layout for a mobile application, ensuring usability across different devices.

Creating a Design System

Implement container queries and fluid layouts in a design system to ensure components adapt effectively to varying screen sizes.

Optimizing a Website for Multiple Devices

Use the skill to develop a responsive website that provides a seamless experience on desktops, tablets, and smartphones.

How to install Responsive Design

View source

1. Install with the skills CLI

npx skills add wshobson/agents/responsive-design --agent claude-code

2. Or install it manually

Download the skill folder and drop it into ~/.claude/skills/ for all projects, or .claude/skills/ to scope it to one repo. Restart Claude Code so it picks up the new skill.

Anthropic's agentic coding CLI, and the reference implementation of Agent Skills. Drop a skill folder into ~/.claude/skills and Claude Code loads it automatically whenever a task matches the skill's description. Claude Code docs

Inside SKILL.md

Written by wshobson

Responsive Design

Master modern responsive design techniques to create interfaces that adapt seamlessly across all screen sizes and device contexts.

When to Use This Skill

  • Implementing mobile-first responsive layouts
  • Using container queries for component-based responsiveness
  • Creating fluid typography and spacing scales
  • Building complex layouts with CSS Grid and Flexbox
  • Designing breakpoint strategies for design systems
  • Implementing responsive images and media
  • Creating adaptive navigation patterns
  • Building responsive tables and data displays

Detailed patterns and worked examples

Detailed pattern documentation lives in references/details.md. Read that file when the navigation tier above is insufficient.

Best Practices

  1. Mobile-First: Start with mobile styles, enhance for larger screens
  2. Content Breakpoints: Set breakpoints based on content, not devices
  3. Fluid Over Fixed: Use fluid values for typography and spacing
  4. Container Queries: Use for component-level responsiveness
  5. Test Real Devices: Simulators don't catch all issues
  6. Performance: Optimize images, lazy load off-screen content
  7. Touch Targets: Maintain 44x44px minimum on mobile
  8. Logical Properties: Use inline/block for internationalization

Common Issues

  • Horizontal Overflow: Content breaking out of viewport
  • Fixed Widths: Using px instead of relative units
  • Viewport Height: 100vh issues on mobile browsers
  • Font Size: Text too small on mobile
  • Touch Targets: Buttons too small to tap accurately
  • Aspect Ratio: Images squishing or stretching
  • Z-Index Stacking: Overlays breaking on different screens

Frequently asked questions about Responsive Design

Similar skills