スキル一覧に戻る
buildworksai

responsive-design

by buildworksai

AISTRALE - Turn AI from a black box into an engineered system LLM engineering platform for managing model inference, telemetry tracking, and observability. Supports HuggingFace Hub and OpenAI SDK with secure token management, distributed tracing, and performance monitoring. Built by: BuildWorks.AI Website: https://aistrale.com

0🍴 0📅 2025年12月17日
GitHubで見るManusで実行

SKILL.md


name: responsive-design description: Mobile-first responsive design specialist for SARAISE React/TypeScript/Tailwind applications. Provides guidance on breakpoints, fluid typography, flexible layouts, touch targets, and progressive enhancement. Use when creating responsive layouts, optimizing for mobile, or ensuring cross-device compatibility. status: ✅ Working last-validated: 2025-01-02

Responsive Design Principles

Status:Last Validated: 2025-01-02

Purpose

Invoked when creating responsive layouts or optimizing SARAISE UI for mobile/tablet devices. Provides mobile-first design principles aligned with Tailwind CSS breakpoints and SARAISE design system.

Mobile-First Approach

  • Design for mobile first, then scale up
  • Progressive enhancement over graceful degradation
  • Touch targets minimum 44x44px
  • Avoid hover-only interactions
  • Test on real devices

Breakpoints (Tailwind CSS)

  • sm: 640px (mobile landscape) - @media (min-width: 640px)
  • md: 768px (tablet portrait) - @media (min-width: 768px)
  • lg: 1024px (tablet landscape / small desktop) - @media (min-width: 1024px)
  • xl: 1280px (desktop) - @media (min-width: 1280px)
  • 2xl: 1536px (large desktop) - @media (min-width: 1536px)

Fluid Typography

  • Use rem for font sizes
  • Base size: 16px
  • Scale: 1.125 (major second) or 1.2 (minor third)
  • Use clamp() for fluid scaling
  • Line length: 45-75 characters optimal

Flexible Layouts (Tailwind)

  • Use grid classes for page layouts (grid-cols-1 md:grid-cols-2 lg:grid-cols-3)
  • Use flex classes for component layouts (flex flex-col md:flex-row)
  • Avoid fixed widths, use w-full with max-w-*
  • Content containers: max-w-7xl mx-auto px-4 sm:px-6 lg:px-8
  • Use gap-* instead of margins in flex/grid (gap-4, gap-6)

Images & Media

  • Use responsive images (srcset, sizes)
  • Use object-fit for aspect ratios
  • Lazy load below-the-fold images
  • Optimize for different densities (@1x, @2x)
  • Use CSS for simple graphics

Common Patterns

  • Hamburger menu for mobile navigation
  • Card layouts that stack on mobile
  • Side-by-side columns that stack
  • Hidden elements on mobile (use wisely)
  • Bottom navigation on mobile apps

Testing

  • Test on actual devices
  • Use browser DevTools device mode
  • Test at various viewport sizes
  • Test with slow connections
  • Test landscape and portrait orientations

スコア

総合スコア

70/100

リポジトリの品質指標に基づく評価

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

+10
説明文

100文字以上の説明がある

+10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

レビュー

💬

レビュー機能は近日公開予定です