Qa Mobile Testing logo

Qa Mobile Testing

Community
Kokxi
qa-mobile-testing

当需要测试 iOS/Android 原生 App、H5 页面或小程序的移动端专项场景时使用此技能。移动端的坑主要不在功能逻辑上——中断(电话/通知/低电量)、弱网/断网/网络切换、前后台切换、系统权限管理、多机型适配和各种系统版本兼容才是重灾区。不要只测功能流程,移动端的 Bug 有一半以上是中断和兼容性相关的。输出按中断/网络/权限/兼容/性能分类的测试要点清单。 触发场景:移动测试、App测试、Android测试、iOS测试、手机上测、H5测试、小程序测试、移动端中断测试、移动端兼容测试、移动端发版前全面测试时。 Use when the user asks about: mobile testing for iOS and Android apps, H5 pages, and mini programs — interruptions, weak network, background/foreground switching, permissions, and device compatibility.

Overview

PublisherKokxi
Repositoryqa-test-skills
Skill nameqa-mobile-testing
Stars
39
Forks
6
Bundled files
6
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 6 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by Kokxi on GitHub. Read the source before you install it.

Installation

Install the Qa Mobile Testing AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/Kokxi/qa-test-skills/tree/master/skills/qa-mobile-testing
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Kokxi/qa-test-skills.git /tmp/qa-test-skills
mkdir -p .claude/skills
cp -r /tmp/qa-test-skills/skills/qa-mobile-testing .claude/skills/qa-mobile-testing
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Qa Mobile Testing in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Qa Mobile Testing on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Qa Mobile Testing is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

⚠️ 本技能单独使用效果有限,建议配合完整技能集(12 步工作流)使用。安装:npx skills add Kokxi/qa-test-skills

移动端测试专项

核心原则

移动测试的核心挑战——设备碎片化、网络不稳定性、用户场景多样性。

移动端测试深度要求(参考值)

复杂度用例数要求设备覆盖
简单App30条2-3台主流设备
中等App50条5-8台设备
复杂App80条10+台设备+多系统版本

必须覆盖的6个维度:

维度占比说明
功能测试35%核心功能、业务流程
兼容性测试25%设备/系统/屏幕
中断测试15%来电/短信/通知/切换
性能测试10%启动/内存/电量/流量
弱网测试10%网络切换/弱网/离线
安全测试5%权限/数据保护

平台专项参考:不同平台有各自的高风险场景,加载对应参考文件可获取专项测试要点:

桌面端 / PC Web 专项不属于本技能范围,如需测试桌面端或 PC Web 请使用通用测试策略技能。

加载时机

什么时候读读哪个
需要跨平台通用检查项时,取全平台清单references/mobile-checklist.md

移动端测试检查清单的完整内容已下沉至 references/mobile-checklist.md,避免每次触发都占用上下文。

自动化测试

工具选型

text
├─ Appium
│   ├─ 优点:跨平台、语言无关
│   ├─ 缺点:速度较慢、稳定性一般
│   └─ 适用:跨平台项目
│
├─ XCTest(iOS)
│   ├─ 优点:官方支持、性能好
│   ├─ 缺点:仅iOS
│   └─ 适用:iOS原生应用
│
├─ Espresso(Android)
│   ├─ 优点:官方支持、速度快
│   ├─ 缺点:仅Android
│   └─ 适用:Android原生应用
│
└─ Airtest
    ├─ 优点:图像识别、游戏测试
    ├─ 缺点:维护成本高
    └─ 适用:游戏、H5混合应用

Page Object模式

python
# 示例:Android Page Object
class LoginPage:
    def __init__(self, driver):
        self.driver = driver
    
    username_field = ResourceId("com.example:id/username")
    password_field = ResourceId("com.example:id/password")
    login_button = ResourceId("com.example:id/login")
    
    def login(self, username, password):
        self.driver.find_element(*self.username_field).send_keys(username)
        self.driver.find_element(*self.password_field).send_keys(password)
        self.driver.find_element(*self.login_button).click()

兼容性测试矩阵

markdown
| 设备 | 系统版本 | 屏幕尺寸 | 测试状态 |
|------|---------|---------|---------|
| iPhone 14 | iOS 16 | 6.1寸 | ✅ 通过 |
| iPhone 12 | iOS 15 | 6.1寸 | ✅ 通过 |
| Samsung S23 | Android 13 | 6.1寸 | ✅ 通过 |
| Huawei Mate 50 | HarmonyOS 3 | 6.7寸 | ⚠️ 待测 |
| Xiaomi 13 | Android 13 | 6.36寸 | ✅ 通过 |

输出示例

测试移动端登录功能 → 五维覆盖:

  • 功能:登录/登出/自动登录/多设备登录
  • 兼容性:iOS15/16/17 + Android 12/13/14 + 主流机型
  • 中断:来电/短信/通知/低电量/闹钟弹出
  • 性能:启动时间/页面加载/内存占用
  • 弱网:3G/弱WiFi/飞行模式/网络切换

App首页加载慢(iOS 3秒,Android 5秒) → 触发性能测试清单,检查首页接口、图片加载、缓存策略

检查清单

移动端测试完成后检查:

  • 安装/卸载/升级是否测试?
  • 核心功能是否覆盖?
  • 中断场景是否测试?
  • 兼容性矩阵是否覆盖?
  • 性能指标是否达标?
  • 网络场景是否测试?
  • 自动化脚本是否可维护?

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Qa Mobile Testing AI skill do?

当需要测试 iOS/Android 原生 App、H5 页面或小程序的移动端专项场景时使用此技能。移动端的坑主要不在功能逻辑上——中断(电话/通知/低电量)、弱网/断网/网络切换、前后台切换、系统权限管理、多机型适配和各种系统版本兼容才是重灾区。不要只测功能流程,移动端的 Bug 有一半以上是中断和兼容性相关的。输出按中断/网络/权限/兼容/性能分类的测试要点清单。 触发场景:移动测试、App测试、Android测试、iOS测试、手机上测、H5测试、小程序测试、移动端中断测试、移动端兼容测试、移动端发版前全面测试时。 Use when the user asks about: mobile testing for iOS and Android apps, H5 pages, and mini programs — interruptions, weak network, background/foreground switching, permissions, and device compatibility.

Why use Qa Mobile Testing on TypingMind?

Because you install it once and use it with any model. Qa Mobile Testing is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Qa Mobile Testing in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/Kokxi/qa-test-skills/tree/master/skills/qa-mobile-testing. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Qa Mobile Testing?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Qa Mobile Testing?

As many as you like. As long as a model supports skills, you can use Qa Mobile Testing with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Qa Mobile Testing AI skill free?

Yes. It is published on GitHub by Kokxi under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇