ancoleman/ai-design-components/designing-layouts
Claude Code and agent skill by ancoleman/ai-design-components
- community
- ext:[{"type":"config","description":"Configuration overrides"}]
Checking that the SKILL.md file is still in the repository.
Designs layout systems and responsive interfaces including grid systems, flexbox patterns, sidebar layouts, and responsive breakpoints. Use when structuring app layouts, building responsive designs, or creating complex page structures.
Install
npx vskill@latest install ancoleman/ai-design-components/designing-layoutsSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
The same SKILL.md was published earlier as ancoleman/ai-design-components/designing-layouts.
Layout Systems & Responsive Design
Purpose
This skill provides comprehensive guidance for creating responsive layout systems using modern CSS techniques. It covers grid systems, flexbox patterns, container queries, spacing systems, and mobile-first design strategies to build flexible, accessible interfaces that adapt seamlessly across devices.
When to Use
Invoke this skill when:
- Building responsive admin dashboards with sidebars and headers
- Creating grid-based layouts for content cards or galleries
- Implementing masonry or Pinterest-style layouts
- Designing split-pane interfaces with resizable panels
- Establishing responsive breakpoint systems
- Structuring application shells with navigation and content areas
- Building mobile-first responsive designs
- Creating flexible spacing and container systems
Layout Patterns
Grid Systems
For structured, two-dimensional layouts, use CSS Grid with design tokens.
12-Column Grid:
Auto-Fit Responsive Grid:
For complex grid layouts and advanced patterns, see references/layout-patterns.md.
Flexbox Patterns
For one-dimensional layouts and alignment control.
Holy Grail Layout:
For additional flexbox patterns including sticky footer and centering, see references/css-techniques.md.
Container Queries
For component-responsive design that adapts based on container size, not viewport.
Container queries are production-ready in all modern browsers (2025). For detailed usage and fallback strategies, see references/responsive-strategies.md.
Responsive Breakpoints
Use mobile-first approach with semantic breakpoints.
For fluid typography and advanced responsive techniques, see references/responsive-strategies.md.
Spacing Systems
Implement consistent spacing using design tokens.
CSS Framework Integration
Tailwind CSS
For utility-first approach with custom configuration:
For Tailwind patterns and optimization, see references/library-guide.md.
How to Use
1. Define Layout Requirements
Determine layout type and responsive behavior needed.
2. Choose Layout Method
- CSS Grid: Two-dimensional layouts, complex grids
- Flexbox: One-dimensional layouts, alignment
- Container Queries: Component-responsive designs
3. Implement with Design Tokens
Use design tokens from skills/design-tokens/ for consistent spacing, breakpoints, and sizing.
4. Generate Configurations
For responsive breakpoints:
For fluid typography scale:
5. Validate Accessibility
Check semantic HTML and landmark regions:
6. Test Responsiveness
Test across device sizes using responsive preview tools and actual devices.
Scripts
scripts/generate_breakpoints.js- Generate responsive breakpoint systemscripts/calculate_fluid_typography.js- Calculate fluid typography scalesscripts/validate_layout_accessibility.js- Validate semantic HTML and ARIA landmarks
References
references/layout-patterns.md- Common layout patterns (sidebar, masonry, split-pane)references/responsive-strategies.md- Mobile-first design and responsive techniquesreferences/css-techniques.md- Modern CSS features (Grid, Flexbox, Container Queries)references/accessibility-layouts.md- Semantic HTML and ARIA landmarksreferences/library-guide.md- Framework integration (Tailwind, styled-components)references/performance-optimization.md- CSS performance and layout thrashing
Examples
examples/admin-layout.tsx- Complete admin dashboard with sidebarexamples/responsive-grid.tsx- Auto-responsive grid systemexamples/masonry-layout.tsx- Pinterest-style masonry gridexamples/split-pane.tsx- Resizable split-pane interface
Assets
assets/breakpoint-config.json- Standard breakpoint configurationsassets/layout-templates.json- Common layout templatesassets/spacing-scale.json- Spacing system configurations
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/designing-layouts/SKILL.md
Popularity
- Repository stars
- 321
- Repository forks
- 51
- 7-day trend score
- 29
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 24 Mar 2026, 8 months ago.
Extension points
configConfiguration overrides
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/ancoleman/ai-design-components/designing-layouts)