Token导航 LogoToken导航

Agent Skill · 研究检索

mobile-first-designer(移动优先设计师)

mobile-first-designer 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

mobile-first-designer 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为操作浏览器;许可证为 MIT,第三方扫描已通过,按安装量在研究检索类的 73,675 个 Skill 里排第 52,216。

总安装 563周安装 23GitHub Stars 公开资料未说明下载 180核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:mobile-first-designer(移动优先设计师)
来源仓库:https://github.com/sitechfromgeorgia/georgian-distribution-system
仓库路径:skills/mobile-first-designer
安装命令:
npx skills add https://github.com/sitechfromgeorgia/georgian-distribution-system --skill mobile-first-designer
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/sitechfromgeorgia/georgian-distribution-system --skill mobile-first-designer

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

遵循移动优先设计准则打造全设备适配的体验。确保加载速度、可访问性与搜索排名优化。强调从小屏幕限制出发逐步增强大屏表现。适用于响应式网站与 PWA 项目开发指导。

安装方式:npx skills add https://github.com/sitechfromgeorgia/georgian-distribution-system --skill mobile-first-designer

来源仓库内路径:skills/mobile-first-designer

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/sitechfromgeorgia/georgian-distribution-system…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要操作浏览器,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

mobile-first-designer 怎么安装?

在终端执行 npx skills add https://github.com/sitechfromgeorgia/georgian-distribution-system --skill m…。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

mobile-first-designer 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

mobile-first-designer 需要什么权限?

权限级别是操作浏览器。该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

mobile-first-designer 是免费的吗?

来源标注的许可证是 MIT。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

mobile-first-designer 用的人多吗?

公开数据是累计安装 563 次,近一周安装 23 次,下载 180 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

mobile-first-designer 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 3 个目录同时收录,说明这个 Skill 流传比较广。
  • 许可证明确为 MIT,商用和分发边界好判断。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。
  • 需要许可证清楚、并且有第三方扫描结果的团队项目。

不太适合

  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
mobile-first-designer

移动优先设计师 · 本页

563—操作浏览器MIT通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Mobile-First Designer

Overview

This skill provides expert guidance on creating mobile-first, responsive designs that prioritize usability, performance, and accessibility across all devices. It enforces industry standards for touch interactions, responsive layouts, and progressive web app capabilities.

Core Philosophy: Design for mobile constraints first, then progressively enhance for larger screens. This ensures optimal experiences on the devices most users rely on.


Critical Mobile-First Standards

Touch Target Requirements

Minimum Size: 44x44 pixels (Apple HIG standard)

  • All interactive elements (buttons, links, inputs) must meet this minimum
  • Provides comfortable tap area for various finger sizes
  • Prevents accidental taps and user frustration

Spacing: Minimum 8px between interactive elements

  • Prevents accidental activation of adjacent controls
  • Improves accuracy and reduces user errors
  • Critical for forms, navigation menus, and action buttons

Examples:

/* Good - Meets minimum touch target */
.button {
  min-height: 44px;
  min-width: 44px;
  padding: 12px 24px;
}

/* Good - Adequate spacing */
.action-buttons {
  display: flex;
  gap: 8px; /* Minimum spacing */
}

/* Bad - Too small for touch */
.small-link {
  font-size: 10px;
  padding: 2px;
}

Mobile-First CSS Architecture

Start with Base Mobile Styles

Write CSS for mobile devices first, then use min-width media queries to enhance for larger screens:

/* Base styles for mobile (320px+) */
body {
  font-size: 16px; /* Never go below 16px to prevent zoom on iOS */
  line-height: 1.5;
  padding: 16px;
}

.container {
  width: 100%;
  max-width: 100%;
}

/* Tablet enhancement (768px+) */
@media (min-width: 768px) {
  body {
    font-size: 18px;
    padding: 24px;
  }

  .container {
    max-width: 720px;
    margin: 0 auto;
  }
}

/* Desktop enhancement (1024px+) */
@media (min-width: 1024px) {
  body {
    font-size: 20px;
  }

  .container {
    max-width: 960px;
  }
}

Key Breakpoints (2025 Standards)

  • 320px: Small phones (base)
  • 480px: Large phones (landscape)
  • 768px: Tablets (portrait)
  • 1024px: Tablets (landscape) / Small desktops
  • 1280px: Desktops
  • 1920px: Large screens

Typography Standards

Font Sizing

Mobile Requirements:

  • Body text: Minimum 16px (prevents iOS auto-zoom on input focus)
  • Headings: Scale proportionally (1.25-2x body size)
  • Line height: 1.5 for body text, 1.2-1.3 for headings
  • Line length: Maximum 65 characters per line for readability
/* Mobile typography */
body {
  font-size: 16px;
  line-height: 1.5;
}

h1 { font-size: 32px; line-height: 1.2; }
h2 { font-size: 28px; line-height: 1.25; }
h3 { font-size: 24px; line-height: 1.3; }

.content {
  max-width: 65ch; /* Optimal readability */
}

/* Scale up for larger screens */
@media (min-width: 768px) {
  body { font-size: 18px; }
  h1 { font-size: 40px; }
}

Responsive Layout Patterns

Fluid Grid System

Use flexible, percentage-based layouts that adapt naturally:

/* Flexbox approach */
.grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.grid-item {
  flex: 1 1 100%; /* Mobile: full width */
  min-width: 0; /* Prevents overflow */
}

@media (min-width: 768px) {
  .grid-item {
    flex: 1 1 calc(50% - 8px); /* Tablet: 2 columns */
  }
}

@media (min-width: 1024px) {
  .grid-item {
    flex: 1 1 calc(33.333% - 12px); /* Desktop: 3 columns */
  }
}

Responsive Images

Serve appropriately sized images for different devices:

<!-- Responsive image with srcset -->
<img
  src="image-320w.jpg"
  srcset="image-320w.jpg 320w,
          image-640w.jpg 640w,
          image-1280w.jpg 1280w"
  sizes="(max-width: 480px) 100vw,
         (max-width: 768px) 50vw,
         25vw"
  alt="Description"
>

<!-- Modern image formats -->
<picture>
  <source srcset="image.webp" type="image/webp">
  <source srcset="image.avif" type="image/avif">
  <img src="image.jpg" alt="Fallback">
</picture>

Navigation Patterns

Mobile-Optimized Navigation

Hamburger Menu (for complex navigation):

/* Mobile: Show hamburger */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: white;
  z-index: 1000;
}

.hamburger {
  display: block;
  width: 44px;
  height: 44px;
  padding: 8px;
}

.mobile-menu.active {
  display: block;
}

/* Desktop: Show full navigation */
@media (min-width: 768px) {
  .hamburger {
    display: none;
  }

  .desktop-nav {
    display: flex;
  }
}

Fixed Header (stays accessible during scroll):

header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: white;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

Performance Optimization

Core Web Vitals Targets (2025)

Largest Contentful Paint (LCP): < 2.5 seconds

  • Load critical content first
  • Optimize images and fonts
  • Minimize render-blocking resources

First Input Delay (FID): < 100 milliseconds

  • Reduce JavaScript execution time
  • Break up long tasks
  • Use web workers for heavy operations

Cumulative Layout Shift (CLS): < 0.1

  • Reserve space for images (use aspect-ratio or explicit dimensions)
  • Avoid inserting content above existing content
  • Use CSS transforms for animations

Performance Techniques

/* Lazy loading for images */
<img src="image.jpg" loading="lazy" alt="Description">

/* Aspect ratio to prevent layout shift */
.image-container {
  aspect-ratio: 16 / 9;
}

/* Optimize animations */
.animated-element {
  will-change: transform; /* Hint to browser */
  transform: translateX(0); /* Use transform instead of left/margin */
}

Progressive Web App (PWA) Enhancements

Essential PWA Requirements

1. HTTPS Required

  • PWAs must be served over secure connections
  • Use SSL certificates from Let's Encrypt, Cloudflare, etc.

2. Web App Manifest Create manifest.json in your root directory:

{
  "name": "Your App Name",
  "short_name": "App",
  "start_url": "/",
  "display": "standalone",
  "background_color": "#ffffff",
  "theme_color": "#007bff",
  "icons": [
    {
      "src": "/icons/icon-192.png",
      "sizes": "192x192",
      "type": "image/png"
    },
    {
      "src": "/icons/icon-512.png",
      "sizes": "512x512",
      "type": "image/png"
    }
  ]
}

3. Service Worker for Offline Support Basic service worker structure:

// sw.js
const CACHE_NAME = 'v1';
const urlsToCache = [
  '/',
  '/styles/main.css',
  '/scripts/main.js'
];

self.addEventListener('install', event => {
  event.waitUntil(
    caches.open(CACHE_NAME)
      .then(cache => cache.addAll(urlsToCache))
  );
});

self.addEventListener('fetch', event => {
  event.respondWith(
    caches.match(event.request)
      .then(response => response || fetch(event.request))
  );
});

4. Add to Home Screen Prompt

// Detect install prompt
let deferredPrompt;

window.addEventListener('beforeinstallprompt', (e) => {
  e.preventDefault();
  deferredPrompt = e;
  // Show custom install button
  showInstallButton();
});

Accessibility Standards

WCAG 2.1 AA Compliance

Color Contrast:

  • Normal text: Minimum 4.5:1 contrast ratio
  • Large text (18px+): Minimum 3:1 contrast ratio
  • Test with tools like WebAIM Contrast Checker

Keyboard Navigation:

  • All interactive elements must be keyboard accessible
  • Visible focus indicators required
  • Logical tab order maintained
/* Clear focus indicators */
button:focus,
a:focus,
input:focus {
  outline: 2px solid #007bff;
  outline-offset: 2px;
}

/* Skip to content link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: #000;
  color: white;
  padding: 8px;
  text-decoration: none;
  z-index: 100;
}

.skip-link:focus {
  top: 0;
}

ARIA Labels:

<!-- Screen reader support -->
<button aria-label="Close menu">
  <span aria-hidden="true">&times;</span>
</button>

<nav aria-label="Main navigation">
  <!-- Navigation items -->
</nav>

<img src="chart.png" alt="Sales increased 25% in Q4 2024">

Touch Interaction Guidelines

Avoid Hover-Dependent Features

Touch devices don't support hover states. Design with tap/press interactions:

Bad:

/* Don't rely on hover for essential info */
.tooltip {
  display: none;
}
.element:hover .tooltip {
  display: block;
}

Good:

/* Use tap/press states */
.element:active .tooltip,
.element:focus .tooltip {
  display: block;
}

Touch Gestures

Support common mobile gestures:

  • Swipe: Navigation, carousels, dismissing items
  • Pull to refresh: Content updates
  • Pinch to zoom: Images, maps (if appropriate)
  • Long press: Context menus, additional options
// Touch event handling
let touchStartX = 0;
let touchEndX = 0;

element.addEventListener('touchstart', e => {
  touchStartX = e.changedTouches[0].screenX;
});

element.addEventListener('touchend', e => {
  touchEndX = e.changedTouches[0].screenX;
  handleSwipe();
});

function handleSwipe() {
  if (touchEndX < touchStartX - 50) {
    // Swipe left
  }
  if (touchEndX > touchStartX + 50) {
    // Swipe right
  }
}

Review Checklist

When reviewing mobile designs, verify:

Layout & Spacing

  • Touch targets minimum 44x44px
  • 8px minimum spacing between interactive elements
  • No horizontal scroll at any breakpoint
  • Content fits viewport without zooming
  • Adequate padding/margins on all sides (16px minimum)

Typography

  • Body text minimum 16px
  • Line height 1.5 for body text
  • Line length maximum 65 characters
  • Text scales appropriately across breakpoints

Performance

  • Images optimized and responsive
  • LCP < 2.5 seconds
  • FID < 100 milliseconds
  • CLS < 0.1
  • No render-blocking resources

Navigation

  • Easy to access and use on mobile
  • Touch-friendly menu items
  • Clear visual hierarchy
  • Hamburger menu for complex navigation
  • Fixed header if needed

Accessibility

  • Color contrast meets WCAG AA (4.5:1)
  • All interactive elements keyboard accessible
  • Visible focus indicators
  • ARIA labels where needed
  • Alt text for images

Touch Interactions

  • No hover-dependent features
  • Touch gestures supported where appropriate
  • Visual feedback for taps/presses
  • Swipe-friendly carousels/galleries

PWA Considerations

  • HTTPS enabled
  • Web app manifest present
  • Service worker for offline support
  • Installable on home screen
  • Works offline (if applicable)

Common Mobile Design Mistakes

❌ Avoid These Patterns

1. Tiny Touch Targets

/* BAD - Too small */
.link {
  font-size: 12px;
  padding: 2px 4px;
}

2. Desktop-First Thinking

/* BAD - Requires override for mobile */
.element {
  width: 1200px; /* Doesn't fit mobile */
}

@media (max-width: 768px) {
  .element {
    width: 100%; /* Unnecessary override */
  }
}

3. Ignoring Touch Interactions

/* BAD - Hover only */
.dropdown:hover .menu {
  display: block;
}

4. Fixed Widths

/* BAD */
.container {
  width: 960px;
}

/* GOOD */
.container {
  max-width: 960px;
  width: 100%;
  padding: 0 16px;
}

5. No Viewport Meta Tag

<!-- Always include this -->
<meta name="viewport" content="width=device-width, initial-scale=1">

Testing Recommendations

Test on Real Devices

Minimum Test Matrix:

  • iOS (iPhone 13+, iPad)
  • Android (Pixel, Samsung Galaxy)
  • Various screen sizes (small phone to tablet)
  • Different network conditions (3G, 4G, 5G, offline)

Testing Tools

Browser DevTools:

  • Chrome DevTools: Device simulation, network throttling
  • Firefox Responsive Design Mode
  • Safari Web Inspector (for iOS testing)

Performance Testing:

  • Google PageSpeed Insights
  • Lighthouse (in Chrome DevTools)
  • WebPageTest
  • GTmetrix

Accessibility Testing:

  • WAVE (Web Accessibility Evaluation Tool)
  • axe DevTools
  • Color contrast analyzers

Cross-Browser Testing:

  • BrowserStack
  • LambdaTest
  • Sauce Labs

Implementation Workflow

Step-by-Step Process

1. Start with Mobile Wireframes

  • Design for 320-375px width first
  • Focus on essential content and actions
  • Establish visual hierarchy

2. Build Mobile-First CSS

  • Write base styles for mobile
  • Add progressive enhancements with min-width media queries
  • Test at each breakpoint

3. Optimize Performance

  • Compress and optimize images
  • Minify CSS/JS
  • Implement lazy loading
  • Test Core Web Vitals

4. Add Touch Interactions

  • Ensure all buttons meet 44px minimum
  • Add appropriate spacing
  • Test on actual touch devices

5. Implement PWA Features (if applicable)

  • Add manifest.json
  • Create service worker
  • Test offline functionality
  • Verify installability

6. Accessibility Audit

  • Check color contrast
  • Test keyboard navigation
  • Add ARIA labels
  • Verify screen reader compatibility

7. Cross-Device Testing

  • Test on multiple devices
  • Verify responsive breakpoints
  • Check performance metrics
  • Gather user feedback

Resources & Standards

Official Guidelines

  • Apple Human Interface Guidelines: 44pt minimum touch targets
  • Google Material Design: Touch target guidance
  • W3C Mobile Web Best Practices: Accessibility and usability
  • WCAG 2.1: Accessibility standards

Key Metrics (2025)

  • Mobile traffic: 60%+ of global web traffic
  • Expected load time: < 3 seconds (53% abandon otherwise)
  • Touch target size: 44x44px minimum
  • Font size: 16px minimum for body text
  • Spacing: 8px minimum between interactive elements

Summary

Mobile-first design is not optional in 2025—it's essential. By following these guidelines, you'll create experiences that:

✅ Work beautifully on all devices ✅ Load fast and perform smoothly ✅ Are accessible to all users ✅ Convert better and engage more effectively ✅ Rank higher in search results (mobile-first indexing)

Remember: Design for mobile constraints first, then progressively enhance for larger screens. This ensures your design works where it matters most—on the devices most users rely on daily.

平台分布

Claude Code

27.8%
按下载量换算50

Antigravity

25.07%
按下载量换算45

OpenCode

16.29%
按下载量换算29

Gemini CLI

12.24%
按下载量换算22

windsurf

8.21%
按下载量换算15

Cursor

3.07%
按下载量换算6

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。

继续浏览同类 Skills