Agent skill

Designing Layouts Skill: Grid, Flexbox and Responsive Rules

Designing Layouts is an agent skill that guides CSS Grid, flexbox, container queries, breakpoints and spacing tokens for responsive page structure, from dashboards to card grids.

Install
git clone https://github.com/ancoleman/ai-design-components.git && cd ai-design-components && ./install.sh
View on GitHub

Stars, license and last push from GitHub. Install count as reported by the open skills directory.

What is the Designing Layouts skill?

Designing Layouts is a skill in the ancoleman/ai-design-components collection. It guides an AI coding agent through responsive layout systems: 12 column and auto-fit grids, flexbox patterns, container queries, mobile-first breakpoints and spacing tokens, with helper scripts for breakpoints, fluid type and layout accessibility checks.

Designing Layouts is one of 76 skills in the ai-design-components repository. Its SKILL.md tells an AI coding agent how to structure pages and app shells with modern CSS, instead of improvising a layout each time.

It applies when you are building a responsive dashboard, a card gallery, a sidebar shell, a masonry grid or a split pane. It reads spacing and breakpoints from design tokens defined in a sister skill.

What it tells the agent to do

  • Use CSS Grid for two dimensional layouts and flexbox for one dimensional alignment.
  • Reach for container queries when a component should respond to its container, not the viewport.
  • Write mobile-first breakpoints at 640, 768, 1024, 1280 and 1536 pixels.
  • Apply spacing from a token scale built on a 4px or 8px base.
  • Check semantic HTML and landmark regions before calling a layout done.

Who the skill is for

Best for

  • Admin dashboards with a sidebar, header and content area.
  • Card grids and galleries that must reflow without media query clutter.
  • Teams that keep spacing and breakpoints in design tokens.
  • Projects that use Tailwind, since the skill includes a config example.

Not for

  • Visual style, color or type choices. It is about structure.
  • Animation. Use a motion skill for that.
  • Non-web targets. Every pattern in the file is CSS or a web framework.

Use it with UiChemy

Layout patterns from this skill are plain CSS, so they can be reused in a WordPress build. UiChemy Composer writes HTML, CSS and JS for WordPress pages, which suits applying a grid you have already designed. Click Get Started on uichemy.com.