$npx skillfedfor your agent

responsive-layout-builder

Responsive Layout Builder guides you through constructing layouts that adapt seamlessly to any device. It covers Grid and Flexbox techniques, mobile-first strategies, and practical patterns like sidebars, card grids, and hero sections.

Responsive Layout Builder helps you create layouts that work across all screen sizes using CSS Grid and Flexbox.

AI-generated summary based on this skill's SKILL.md

229 38 MITupdated by OneWave-AI

Decision gist · record as of 2026-07-15

Responsive Layout Builder helps you create layouts that work across all screen sizes using CSS Grid and Flexbox. Responsive Layout Builder guides you through constructing layouts that adapt seamlessly to any device. It covers Grid and Flexbox techniques, mobile-first strategies, and practical patterns like sidebars, card grids, and hero sections.

manual: git clone https://github.com/OneWave-AI/claude-skills → cp -r claude-skills/responsive-layout-builder ~/.claude/skills/responsive-layout-builder
responsive-layout-builder/SKILL.md · version f5bdb7b4

Use it when

  • Responsive Layout Builder clarifies that Flexbox excels at one-dimensional layouts—rows or columns—making it ideal for navigation bars.
  • Responsive Layout Builder recommends starting with mobile styles as your base.

Verify before relying

Read SKILL.md below before installing (1 file). Open directory: indexed for reading, not audited.

Same gist for agents: .md · .json

Install

OneWave-AI/claude-skills/responsive-layout-builder

Open directory. Skills are indexed for reading, not audited. Review a skill's body before installing it.

Frequently asked questions

AI-generated answers based on this skill's SKILL.md and metadata

How to build responsive layouts with CSS Grid?

Responsive Layout Builder teaches you to construct Grid layouts that adapt across devices using auto-fit, auto-fill, and minmax() functions. Start by defining column tracks with flexible sizing—like grid-template-columns: repeat(auto-fit, minmax(250px, 1fr))—which automatically adjusts column count based on available space. Combine Grid with media queries to refine layouts at specific breakpoints, and use CSS custom properties for consistent spacing and sizing across responsive tiers.

What's the difference between flexbox vs grid for responsive design?

Responsive Layout Builder clarifies that Flexbox excels at one-dimensional layouts—rows or columns—making it ideal for navigation bars, sidebars, and component-level alignment. Grid handles two-dimensional layouts, perfect for page-level structures like card grids and holy grail patterns. Use Flexbox for linear flows and alignment; use Grid when you need precise row and column control. Often, combine both: Grid for overall page structure, Flexbox within Grid items.

How do I create a mobile-first layout design?

Responsive Layout Builder recommends starting with mobile styles as your base, then progressively enhance for larger screens using min-width media queries. Begin with single-column layouts, stack components vertically, and use touch-friendly sizing. Layer breakpoints upward—typically at 640px, 768px, 1024px—adding multi-column grids and advanced layouts as viewport width increases. This approach ensures core functionality works everywhere while larger screens gain sophisticated layouts.

What are common responsive layout patterns and techniques?

Responsive Layout Builder covers essential patterns: card grids using Grid's auto-fit, hero sections with background images and overlays, sticky headers with position: sticky, sidebars using Flexbox or Grid, and the holy grail layout combining both techniques. Additional patterns include collapsible navigation, responsive typography using clamp(), and masonry-style grids. Each pattern includes mobile-first breakpoints and fallbacks for older browsers.

How can I fix layout issues across different screen sizes?

Responsive Layout Builder helps diagnose and resolve cross-device layout problems by testing across multiple viewports and using browser DevTools. Check that Grid tracks and Flexbox flex values scale appropriately, verify media query breakpoints align with your design, and ensure images and text scale with container queries or clamp(). Use min() and max() functions for fluid sizing, and test on real devices or emulators to catch overflow, misalignment, and spacing issues early.

What CSS media queries and breakpoints should I use?

Responsive Layout Builder suggests common breakpoints: 640px (mobile), 768px (tablet), 1024px (desktop), and 1280px (large screens), though your design may vary. Use min-width queries for mobile-first approaches: @media (min-width: 768px) { ... }. Combine breakpoints with container queries for component-level responsiveness. Define breakpoints in CSS custom properties for consistency, and test beyond standard sizes to ensure layouts degrade gracefully on edge cases.

SKILL.md

Rendered from the published skill. Quoted content, verbatim.

Responsive Layout Builder

Instructions

When building responsive layouts:

  1. Identify the layout pattern (grid, sidebar, cards, etc.)
  2. Start mobile-first
  3. Use appropriate CSS technique (Grid vs Flexbox)
  4. Add breakpoints for larger screens
  5. Test across viewports

Breakpoints

/* Tailwind defaults */
sm: 640px   /* Small devices */
md: 768px   /* Tablets */
lg: 1024px  /* Laptops */
xl: 1280px  /* Desktops */
2xl: 1536px /* Large screens */

/* Custom CSS */
@media (min-width: 640px) { }
@media (min-width: 768px) { }
@media (min-width: 1024px) { }

Common Layout Patterns

1. Holy Grail Layout

```tsx // Tailwind CSS <div className="min-h-screen flex flex-col"> <header className="h-16 bg-white border-b">Header</header>

<div className="flex-1 flex"> <aside className="hidden md:block w-64 bg-gray-50 border-r"> Sidebar </aside> <main className="flex-1 p-6"> Main Content </main>

(truncated - see the full file via the links below)

File tree — 1 file
responsive-layout-builder/SKILL.md

Let your AI agent find skills like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 56,283 agent skills by what they can do, searchable in plain language.

wish › “Build responsive layouts using CSS Grid and Flexbox”

Give your agent the search over MCP, or paste the wish link into any chat. No install? Search from any chat →

Related skills

tailwindcss-advanced-layouts
by JosiahSiegel · JosiahSiegel/claude-plugin-marketplace

Learn advanced layout techniques with Tailwind CSS, covering CSS Grid fundamentals like grid-template-areas and auto-fit, Flexbox space distribution, container queries for responsive design, and practical patterns for sticky headers, masonry effects, and multi-section page structures.

MITupdated Jun 2026
★ 49repo stars
Shadcn Layouts
by jwynia · jwynia/agent-skills

This skill teaches the CSS constraint models that make shadcn/Tailwind layouts work—height inheritance chains, flex overflow gotchas, grid parent/child separation, and scroll container sizing. Use it when building layouts, debugging height or scroll failures, or fixing flex and grid issues in React and Next.js projects.

no license declared → metadata onlyupdated Feb 2026
★ 124repo stars
responsive-design-system
by patricio0312rev · patricio0312rev/skills

Create layouts that adapt seamlessly across devices using mobile-first principles and Tailwind CSS. This skill covers breakpoint configuration, fluid typography with CSS clamp, container queries for component-level responsiveness, and production-ready layout patterns.

MITupdated Jan 2026
★ 52repo stars
page-layout-builder
by patricio0312rev · patricio0312rev/skills

Page Layout Builder creates complete, responsive page structures for common application patterns including dashboards, authentication flows, settings panels, and CRUD interfaces. Each layout includes routing setup, navigation components, and state management scaffolding ready for your business logic.

MITupdated Jan 2026
★ 52repo stars
tailwind-css-patterns
by giuseppe-trisciuoglio · giuseppe-trisciuoglio/developer-kit

Learn to build responsive, accessible interfaces using Tailwind CSS v4.1+ utility-first approach. Covers mobile-first design, dark mode, component patterns, and performance optimization for modern web applications.

MITupdated Jun 2026
★ 311repo stars
Responsive Design
by manutej · manutej/luxor-claude-marketplace

Learn to build websites that adapt seamlessly across devices using mobile-first principles, modern CSS techniques like flexbox and grid, and responsive image strategies. This skill covers breakpoint strategies, fluid layouts, media queries, and container-based design patterns to ensure consistent experiences from mobile to desktop.

no license declared → metadata onlyupdated Jun 2026
★ 61repo stars

More skills tailwind (MIT) · Ui Design System (unlicensed) · Ui Builder (unlicensed) · tailwind-best-practices (MIT) · Social Media (unlicensed)

Tags
viewport-adaptationlayout-techniquesdevice-optimizationbreakpoint-strategyresponsive-patternscss-architecturemobile-first-approachlayout-debugging