本文へスキップ
Skillpedia
インターフェース(UI/UX)41k · #6807

responsive-design

できること

このスキルは、スマートフォン、タブレット、パソコンなど、どんな画面サイズにも自動的に対応するウェブサイトやアプリを作るのに役立ちます。どの端末でも見た目がよく、快適に使えるようにします。

使う場面

  • ✓スマートフォンとパソコンの両方で快適に使えるウェブサイトを作るとき。
  • ✓サイトの特定の部分を、それぞれ自動的に調整させたいとき。
  • ✓どの画面サイズでも文字や余白のバランスを保ちたいとき。

スキルのリンク

https://github.com/wshobson/agents/blob/main/plugins/ui-design/skills/responsive-design/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/wshobson/agents/blob/main/plugins/ui-design/skills/responsive-design/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“ウェブサイトをさまざまな画面サイズに対応させるにはどうすればよいですか?”

毎週5つの新しいスキル。1分で読めます。

仕組み

表示領域の広さに合わせて、視覚要素が再配置されたりサイズが変わったりする、最新の手法を使います。まずスマートフォンでの表示を考えてから、大きい画面向けに調整していくため、どの環境でも快適な体験を提供できます。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)を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

  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
よくある質問

「モバイルファースト」とは何ですか?

まずスマートフォンの最も小さい画面での見え方を考えてデザインを始め、そのあと大きい画面向けに改善を加えていく考え方です。

「コンテナクエリ」とは何ですか?

画面全体のサイズではなく、そのコンポーネント(ページの一部)が置かれているスペースの大きさに合わせて調整させるルールのことです。

実機でテストすることが重要なのはなぜですか?

シミュレーターではすべての問題が見つからないことがあります。実際のスマートフォンやタブレットでテストすると、すべてのユーザーにとって正しく動くウェブサイトになります。

詳細

作者による元の説明

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

人気

GitHubのスター
41k
ランキング
#6807
ライセンス
MIT
更新日
2026/10/15

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル