Skip to content
Back to skills

Responsive Breakpoint Strategy

ASecurity

Define the breakpoint system and grid strategy for cross-device layouts. Use when setting up responsive design, breakpoints, mobile-first layout, fluid grid, or container queries.

  • 3 stars
  • 0 votes
  • 2 copies
  • 2 views
  • Added September 5, 2026
ai-agents

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned September 5, 2026

npx -y skills add Uwayxt/agent-skills --skill responsive-breakpoint-strategy --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Responsive Breakpoint Strategy?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Responsive Breakpoint Strategy
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/uwayxt-responsive-breakpoint-strategy/badge)](https://www.skillsdirectory.com/skills/uwayxt-responsive-breakpoint-strategy)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: responsive-breakpoint-strategy
description: Define the breakpoint system and grid strategy for cross-device layouts. Use when setting up responsive design, breakpoints, mobile-first layout, fluid grid, or container queries.
---

**A breakpoint is a contract, not a guess. Define it once, reference it everywhere — never hard-code a pixel value that already has a token.**

### 1. Choose the layout approach
Mobile-first (default, recommended) or desktop-first (only for admin-heavy tools where mobile is explicitly secondary). Document the choice and its rationale.

### 2. Define the breakpoint scale
Standard 5-point system:
- `bp-xs`: < 480px (small phones)
- `bp-sm`: 480px (phones, landscape)
- `bp-md`: 768px (tablets, portrait)
- `bp-lg`: 1024px (tablets landscape, small laptops)
- `bp-xl`: 1280px (desktops)
- `bp-2xl`: 1536px (large desktops, widescreen)
Document which breakpoints are "content breakpoints" (layout changes) vs "fine-tune breakpoints" (minor adjustments).

### 3. Define the grid system
Columns per breakpoint (e.g., 4-col mobile, 8-col tablet, 12-col desktop), gutter size (token reference), max-content-width. Use CSS Grid or framework equivalent.

### 4. Evaluate container queries
For components that need to adapt based on their container width (not the viewport), flag them for container query usage. These are components that appear in multiple layout contexts (e.g., a card that appears in a sidebar AND in a main grid).

### 5. Output the breakpoint token file
Add breakpoints to design-tokens output (`bp-*` token set). Provide CSS custom properties + framework config (Tailwind, CSS-in-JS, or native CSS as appropriate to the project).

### 6. Document the decision
Which breakpoints trigger layout changes vs style adjustments. This feeds into adaptive-component-behavior.

### Completion Criteria
- Every breakpoint has a name, value, and documented purpose
- Grid system defined for all breakpoints
- Breakpoints added to design-tokens
- Container query candidates identified
- mobile-first vs desktop-first decision documented

### Output
Breakpoint token set (JSON) + grid spec + CSS custom properties block + framework config.

### Anti-patterns
- Defining breakpoints by device name ("iPhone breakpoint") instead of content needs
- Hardcoding pixel values in components that should reference `bp-*` tokens
- Adding a breakpoint for every pixel difference — 5–6 breakpoints is almost always enough
- Forgetting to handle the space between breakpoints (the "in-between" states)

Files in this skill

  • SKILL.md2.5 KB
  • agents/openai.yaml136 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.