← 返回 Skills 市场
Responsive Layout
作者
Bovin Phang
· GitHub ↗
· v2.5.0
· MIT-0
40
总下载
0
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install fec-responsive-layout
功能描述
Use when designing, implementing, or reviewing responsive frontend layouts, mobile-first breakpoints, container queries, fluid grids, data-dense tables, touc...
使用说明 (SKILL.md)
响应式布局
适用于需要让页面、工具界面、表格、仪表盘或组件在多设备上稳定工作的前端任务。需要布局模式和检查清单时加载 references/responsive-layout-patterns.md。
Purpose
用内容优先、移动优先和容器感知的方式设计响应式布局,避免只靠固定断点修补溢出。
Procedure
- 明确信息优先级:小屏先保留核心任务、关键操作和反馈;次要信息折叠、延后或移入详情层。
- 选择布局策略:简单页面用 mobile-first 断点;嵌套组件、卡片网格和侧栏优先考虑 container query。
- 设计流式尺寸:用
minmax()、clamp()、aspect-ratio、max-width、min-width: 0和稳定网格轨道控制伸缩。 - 处理数据密集界面:表格、列表、看板和编辑器需要明确横向滚动、列优先级、冻结列或移动端摘要视图。
- 保证触摸与键盘:触摸目标、焦点路径、hover 替代、虚拟键盘、安全区域和横竖屏切换都要复核。
- 关联性能与资源:移动端减少首屏大图、重型图表、同步动画和不必要列渲染。
- 验证断点之间:检查 375px、768px、1024px、1440px,以及断点中间值是否溢出、遮挡或跳变。
Constraints
- 不把桌面版缩小当作移动端设计。
- 不让关键功能只依赖 hover 或宽屏侧栏。
- 不用固定高度掩盖内容变化;需要固定格式时用稳定约束和可滚动区域。
- 不用 viewport 字体缩放替代真实排版层级。
- 不让移动端横向溢出成为默认解决方案;只有数据表、画布或编辑器等明确场景可以局部横滚。
Expected Output
输出响应式信息优先级、断点或容器策略、关键组件布局模式、触摸/键盘要求、数据密集区域处理方案和验证结果。完成后页面在常见视口和输入方式下不溢出、不遮挡、可操作。
安全使用建议
This appears safe to install as layout guidance. It should only influence frontend design decisions; optional related packages are separate and should be evaluated independently if installed.
能力评估
Purpose & Capability
The artifacts coherently provide frontend responsive layout guidance, checklists, and CSS patterns; they do not request credentials, local data access, network calls, or mutation authority.
Instruction Scope
Runtime instructions are limited to design and review steps for responsive UI behavior and optionally reading one local reference file.
Install Mechanism
The package contains only markdown and JSON files, declares no dependencies or install scripts, and has no executable components.
Credentials
The requested environment use is proportionate to the stated purpose: local documentation for layout decisions, without broad indexing, external services, or private-data handling.
Persistence & Privilege
No persistence, privilege escalation, background workers, session/profile use, or automatic execution is present in the artifacts.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install fec-responsive-layout - 安装完成后,直接呼叫该 Skill 的名称或使用
/fec-responsive-layout触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v2.5.0
- Added comprehensive SKILL.md documentation covering responsive layout purpose, process, constraints, and expected output, with both English and Chinese guidance.
- Clarified best practices for mobile-first, container queries, fluid sizing, touch targets, and handling data-dense interfaces.
- Included actionable checklists and constraints to avoid common responsive design pitfalls.
- Detailed requirements for testing across breakpoints and input methods.
元数据
常见问题
Responsive Layout 是什么?
Use when designing, implementing, or reviewing responsive frontend layouts, mobile-first breakpoints, container queries, fluid grids, data-dense tables, touc... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 40 次。
如何安装 Responsive Layout?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install fec-responsive-layout」即可一键安装,无需额外配置。
Responsive Layout 是免费的吗?
是的,Responsive Layout 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Responsive Layout 支持哪些平台?
Responsive Layout 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Responsive Layout?
由 Bovin Phang(@bovinphang)开发并维护,当前版本 v2.5.0。
推荐 Skills