frontend-responsive
使用移动优先设计、流体布局和标准断点构建无缝适应各种设备的响应式布局。在实现响应式设计、创建移动优先布局、定义断点样式、处理响应式组件和页面、使用相对单位(rem、em)而非固定像素、实现媒体查询、确保触摸友好的点击目标、针对不同屏幕尺寸优化图像和资源、在断点间保持可读的排版、为较小屏幕优先考虑内容、在移动设备、平板电脑和桌面设备上测试UI或构建流体容器布局时使用此技能。在构建响应式UI组件、优化不同屏幕尺寸的布局或审查移动和平板用户体验时应用此技能。
📖 中文导读:使用移动优先设计、流体布局和标准断点构建无缝适应各种设备的响应式布局。在实现响应式设计、创建移动优先布局、定义断点样式、处理响应式组件和页面、使用相对单位(rem、em)而非固定像素、实现媒体查询、确保触摸友好的点击目标、针对不同屏幕尺寸优化图像和资源、在断点间保持可读的排版、为较小屏幕优先考虑内容、在移动设备、平板电脑和桌面设备上测试UI或构建流体容器布局时使用此技能。在构建响应式UI组件、优化不同屏幕尺寸的布局或审查移动和平板用户体验时应用此技能。 以下正文为该技能的原始 SKILL.md 内容(英文),上方安装命令可直接使用。
name: Frontend Responsive description: Build responsive layouts that adapt seamlessly across devices using mobile-first design, fluid layouts, and standard breakpoints. Use this skill when implementing responsive designs, creating mobile-first layouts, defining breakpoint styles, working with responsive components and pages, using relative units (rem, em) instead of fixed pixels, implementing media queries, ensuring touch-friendly tap targets, optimizing images and assets for different screen sizes, maintaining readable typography across breakpoints, prioritizing content for smaller screens, testing UI across mobile, tablet, and desktop devices, or building fluid container layouts. Apply this skill when building responsive UI components, optimizing layouts for different screen sizes, or reviewing mobile and tablet user experiences.
Frontend Responsive
When to use this skill
- When implementing responsive layouts in components or pages
- When creating mobile-first designs that progressively enhance for larger screens
- When defining styles for different breakpoints (mobile, tablet, desktop)
- When using relative units (rem, em) instead of fixed pixel values
- When implementing media queries for responsive behavior
- When ensuring tap targets are appropriately sized (minimum 44x44px) for mobile
- When optimizing images and assets for mobile network conditions
- When maintaining readable font sizes across all screen sizes
- When prioritizing content layout for smaller screens
- When testing UI changes across multiple device sizes
- When building fluid container layouts with percentage-based widths
- When implementing responsive navigation patterns (hamburger menus, collapsible sections)
- When reviewing user experience on mobile, tablet, and desktop devices
This Skill provides Claude Code with specific guidance on how to adhere to coding standards as they relate to how it should handle frontend responsive.
Instructions
For details, refer to the information provided in this file: frontend responsive