responsive-design
What it does
This skill helps create websites and apps that automatically adjust to any screen size, whether it's a phone, tablet, or computer. It ensures everything looks good and works well on any device.
When to use it
- ✓When building a website that needs to work well on phones and computers.
- ✓When you want specific parts of your site to adjust on their own.
- ✓To make text and spacing look proportional on all screen sizes.
Skill link
https://github.com/wshobson/agents/blob/main/plugins/ui-design/skills/responsive-design/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“How do I make my website adapt to different screen sizes?”
5 new skills a week. 1 minute to read.
How it works
It uses modern techniques so that visual elements rearrange and resize according to the available space. It starts by thinking about mobile and then adapts for larger screens, ensuring a good experience everywhere.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
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
- Mobile-First: Start with mobile styles, enhance for larger screens
- Content Breakpoints: Set breakpoints based on content, not devices
- Fluid Over Fixed: Use fluid values for typography and spacing
- Container Queries: Use for component-level responsiveness
- Test Real Devices: Simulators don't catch all issues
- Performance: Optimize images, lazy load off-screen content
- Touch Targets: Maintain 44x44px minimum on mobile
- 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
FAQ
What does 'mobile-first' mean?
It means starting the design by thinking about how it will look on the smallest screen of a mobile phone, and then adding improvements for larger screens.
What are 'container queries'?
They are like rules that make a component (a part of the page) adjust to the size of the space it's in, instead of adjusting to the total screen size.
Why is it important to test on real devices?
Simulators might not show all issues. Testing on actual phones and tablets ensures the website works perfectly for all users.
Details
Original description by the author
Implement modern responsive layouts using container queries, fluid typography, CSS Grid, and mobile-first breakpoint strategies. Use when building adaptive interfaces, implementing fluid layouts, or creating component-level responsive behavior.
repo: wshobson/agents
Popularity
- GitHub stars
- 41k
- Ranking position
- #6807
- License
- MIT
- Updated
- 10/15/2026
Comments
- …
More skills from this repository
screen-reader-testing
41kHas your agent test websites using screen readers to ensure they are accessible.
wcag-audit-patterns
41kHelps your agent audit websites for accessibility and fix issues according to WCAG guidelines.
multi-reviewer-patterns
41kEnables your agent to coordinate parallel code reviews, deduplicating findings and consolidating reports.
parallel-debugging
41kAllows the agent to debug complex issues with parallel investigations and root cause analysis.
Similar skills
canvas
394kLets your agent show a hosted visual widget on a connected Mac panel, then hide the panel or move it to another page.
control-ui
394kHelps your agent organize and troubleshoot the OpenClaw Control UI, including sessions, dashboards, and connected Gateways.
diagram-maker
394kHelps your agent create clear diagrams as SVG, HTML, or editable Excalidraw files for processes, system architecture, and whiteboard sketches.