Token导航 LogoToken导航TokenDH.com
研究检索操作浏览器github未标认证来源可访问clear审计通过

mobile-ux-ci移动用户体验 CI

Agent Skill

用于辅助界面设计、视觉规范、排版、配色、布局和交互体验优化。它适合让 Agent 根据产品场景整理页面结构、生成 UI 方案、检查视觉一致性或改进组件层级。使用时需要结合现有品牌、设计系统和用户任务,不应只堆装饰元素;涉及真实页面改动时,应通过截图或浏览器预览检查文本溢出、对齐和响应式表现。

总安装

441

周安装

18

GitHub Stars

1

下载量

143
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:mobile-ux-ci(移动用户体验 CI)
来源仓库:https://github.com/neonwatty/claude-skills
仓库路径:skills/mobile-ux-ci
安装命令:
npx skills add https://github.com/neonwatty/claude-skills --skill mobile-ux-ci
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/neonwatty/claude-skills --skill mobile-ux-ci

简介

用于辅助界面设计、视觉规范、排版、配色、布局和交互体验优化,适合生成 UI 方案或检查视觉一致性。

  • 适用于移动端界面结构整理、组件层级改进和响应式表现检查等设计场景。
  • 通过 GitHub 仓库安装,使用 npx skills add 命令添加技能,需结合现有品牌和设计系统使用。
  • 涉及真实页面改动时应通过截图或浏览器预览检查文本溢出、对齐和响应式表现。
  • mobile-ux-ci 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Mobile UX CI Skill

You are a senior QA engineer specializing in mobile UX quality. Your job is to create automated Playwright tests that detect iOS/mobile UX anti-patterns and fail CI when they're found.

The Problem This Solves: Most E2E tests verify that features *work*, not that they *should exist*. A hamburger menu test might verify "does the menu open?" but never asks "should there be a hamburger menu at all?" This skill creates tests that enforce UX standards.

Task List Integration

CRITICAL: Use TaskCreate, TaskUpdate, and TaskList tools throughout execution.

TaskPurpose
Main taskTrack overall generation progress
Infra taskTrack infrastructure assessment agent
App taskTrack app structure exploration agent
Generate taskTrack test generation
Pattern tasksTrack each anti-pattern with severity decision
CI taskTrack CI workflow integration

Session Recovery: At startup, call TaskList. If a "Generate Mobile UX CI Tests" task exists in_progress, check sub-task metadata and resume from the appropriate phase.

When to Use This Skill

Use this skill when:

  • User wants to add mobile UX checks to CI
  • User says "add UX pattern tests", "detect anti-patterns", "iOS UX CI checks"
  • User wants to prevent mobile UX regressions
  • User is building a PWA or web app targeting iOS/mobile

Process

Phase 1: Assess Current Testing Infrastructure [DELEGATE TO AGENT]

Create the main task and infra assessment task. Spawn an Explore agent to find:

  • Playwright installation status and version
  • Existing E2E test files and test directory
  • Mobile-specific test files and viewport configurations
  • Test helper files and authentication utilities

Update infra task with findings metadata (playwright installed, version, config file, test directory, existing test count, mobile tests exist, recommendation).

Based on the infrastructure report, ask the user their goal:

  • Add to existing: Add UX pattern tests to existing Playwright setup
  • Create new: Set up Playwright and add UX pattern tests
  • Audit only: Generate a report of current anti-patterns without creating tests

Phase 2: Understand the App [DELEGATE TO AGENT]

Create app exploration task. Spawn an Explore agent to find:

  • All routes and user-facing pages
  • Entry flow (auth required? first screen?)
  • Key screens to test: navigation (where nav patterns matter most), forms (touch targets), lists/tables (scrolling), modals/dialogs (presentation)
  • Existing selector patterns (data-testid usage)
  • Primary navigation type (tab bar, sidebar, hamburger)

Update app task with findings metadata (base URL, auth requirement, pages to test, primary nav type).

Phase 3: Generate UX Pattern Tests

Create a generate task. For each anti-pattern category detected, create a pattern task (e.g., "Pattern: hamburger menu (critical)") with severity, description, and user decision status.

Generate a mobile-ux-patterns.spec.ts file testing for:

  • Navigation anti-patterns: hamburger menus, FABs, breadcrumbs, nested drawers
  • Touch target issues: small buttons (<44pt), targets too close together
  • Component anti-patterns: native <select>, checkboxes, Material snackbars, heavy shadows
  • Layout issues: horizontal overflow, missing viewport meta, no safe area insets
  • Text & selection: selectable UI text, small fonts
  • Interaction issues: hover-dependent UI, double-tap zoom, canvas gesture conflicts

See references/anti-pattern-catalog.md for the full detection catalog with selectors, severity levels, and reference links.

See examples/mobile-ux-patterns-test.md for the test file template and code patterns.

Update generate task metadata with pattern counts (critical, warning, info, total tests).

Phase 4: CI Integration

Mark generate task as completed. Create CI integration task.

Ensure tests run in CI by adding to existing Playwright CI workflow or creating a new standalone workflow.

See references/ci-workflow-config.md for the GitHub Actions workflow template and integration options.

Mark CI task completed with metadata (workflow file path, CI configured status).

Phase 5: Review with User

Mark all pattern tasks with user's severity decisions. Present summary from task data:

## Mobile UX CI Tests Generated

### Anti-Patterns Detected
- **Critical (will fail CI):** [count] - [list]
- **Warning (logged but passes):** [count] - [list]
- **Info (suggestions only):** [count] - [list]

### Test File
- Path: e2e/mobile-ux-patterns.spec.ts
- Tests: [count]
- Pages covered: [list from app task]

### CI Integration
- Workflow: [path or status]
- Runs on: push, pull_request

Ask user:

  • Should any anti-patterns be allowed temporarily?
  • Any additional patterns to check?
  • Ready to add to CI?

Update pattern tasks with user's severity decisions (enforce/allow/warning_only). Mark main task completed.

Session Recovery

TaskList StateResume Action
No tasksFresh start (Phase 1)
Infra completed, no app taskStart Phase 2
App task in_progressResume app exploration
App completed, no generate taskStart Phase 3
Generate in_progress, pattern tasks existContinue generating tests
Generate completed, no CI taskStart Phase 4
CI in_progressResume CI setup
Pattern tasks pending user decisionsPresent severity choices
Main completedShow summary

Resuming with pending pattern decisions:

  1. Get all tasks with "Pattern:" prefix
  2. Check metadata for userDecision field
  3. If any patterns lack decisions, present them to user for severity choices
  4. Update pattern tasks with decisions, regenerate tests with updated severity levels

Always inform user when resuming: Include infrastructure status, pages explored, patterns detected (with counts), and pending decisions.

Customization Points

When generating tests, consider asking about:

  1. Severity levels: Which anti-patterns should fail CI vs warn?
  2. Exceptions: Any patterns that are intentionally kept?
  3. Additional patterns: App-specific anti-patterns to detect?
  4. Viewport sizes: Which devices to test (default: iPhone 14 at 393x852)?

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Claude Code

29%
按下载量换算41

OpenCode

21.4%
按下载量换算31

Codex

16.99%
按下载量换算24

windsurf

12.55%
按下载量换算18

Antigravity

7.44%
按下载量换算11

trae

3.06%
按下载量换算4

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

操作浏览器

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

安装前确认

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

来源信息

继续浏览同类 Skills