本文へスキップ
Skillpedia
テスト75k · #2940

mobile-testing

できること

このスキルは、プロジェクトのテストについて、画面サイズ、タッチ操作、実機を含むモバイルの対応範囲を確認します。スマートフォンやタブレットでだけ起きる問題を見つけたいチーム向けです。

使う場面

  • ✓プロジェクトがモバイルのレイアウトをテストしているか確認してほしいとき。
  • ✓デスクトップでは問題ないのに、スマートフォンで崩れるページがあり、テストで検出したいとき。
  • ✓テスト自動化を設定していて、モバイル端末のプリセットを含めたいとき。

スキルのリンク

https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/mobile-testing/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/mobile-testing/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“私のサイトにスマートフォンの画面向けのテストがあるか確認し、なければ追加してもらえますか。”

毎週5つの新しいスキル。1分で読めます。

仕組み

エージェントは、モバイル端末の設定、ビューポートのテスト、プロジェクト内のメモを探します。不足していれば、主要な利用の流れについて、モバイル端末のプリセットを使った Playwright のテストを追加します。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

Test on real mobile devices and viewports

More than 55% of global web traffic comes from mobile devices. Mobile browsers have different rendering engines, different font rendering, limited memory, real touch events that differ from mouse events, and system UI (notch, home indicator, keyboard) that intrudes on your layout. Issues like sticky hover states, touch target sizes, and keyboard layout shifts only appear on real devices.

Quick Reference

  • Desktop DevTools device emulation catches layout issues but not real touch behavior
  • Test on at least one Android (Chrome) and one iOS (Safari) real device
  • Test common viewport breakpoints: 375px (iPhone SE), 390px (iPhone 14), 768px (iPad)
  • Use BrowserStack or similar services for testing on devices you don't own

Check

Does this project have any mobile-specific test configurations? Check for Playwright device emulation, mobile viewport tests, or notes about mobile testing.

Fix

Add Playwright tests using mobile device presets to cover key user flows on mobile viewports.

Explain

Explain the difference between DevTools emulation and real device testing, common mobile-specific issues to test for, and how to use Playwright's device emulation.

Code Review

Review tests, CI workflows, and enforcement points related to Test on real mobile devices and viewports. Flag exact gaps where the rule is not automatically verified or where failures do not block regressions.


For full implementation details, code examples, and framework-specific guidance, see references/rule.md.

Rule page: https://frontendchecklist.io/rules/testing/mobile-testing

よくある質問

デスクトップでの端末エミュレーションだけで十分ですか?

十分ではありません。エミュレーションはレイアウトの問題を見つけられますが、実際のタッチ操作は分からないため、実機も推奨されています。

どの画面幅を確認すべきですか?

このスキルは、よく使われるブレークポイントとして 375、390、768 ピクセルの幅を挙げています。

持っていない端末でもテストできますか?

できます。このスキルは、そのための BrowserStack のようなサービスを挙げています。

詳細

作者による元の説明

Use when reviewing CI coverage, automated checks, or test strategy related to Test on real mobile devices and viewports. Focus on whether the rule is continuously verified, not just documented.

repo: thedaviddias/Front-End-Checklist

人気

GitHubのスター
75k
ランキング
#2940
ライセンス
MIT
更新日
2026/10/31

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル