AGENT SKILL

responsive-layout

Design and verify responsive layouts for desktop, tablet, and mobile views without unwanted page overflow.

使用场景前端开发
License 许可
MIT
最近更新
2026-05-28
Stars
★ 0
Forks
0

01 前言 Front Matter

name
responsive-layout
author
Siming
license
MIT
version
1.0.0
metadata
{ "siming": { "tags": [ "frontend", "responsive", "layout" ] } }
description
Design and verify responsive layouts for desktop, tablet, and mobile views without unwanted page overflow.

03 SKILL.md 正文

Responsive Layout

Use this skill when a page must adapt across devices.

Workflow

  1. Identify fixed-height regions, scroll containers, headers, sidebars, and tables.
  2. Make content areas scroll internally instead of allowing the whole page to grow without bounds.
  3. Use stable dimensions, min-height, max-height, grid, flex, and overflow rules.
  4. Validate at common widths: 375, 768, 1024, and 1440 px.

Checks

  • No accidental body scroll when only a panel should scroll.
  • No text or controls overlap.
  • Tables keep action columns usable.

04 同仓库更多 Skills