Skip to content
Skillpedia
Testing75k · #2940

mobile-testing

What it does

This skill reviews a project's tests for mobile coverage, including screen sizes, touch behavior, and real devices. It is for teams who want to catch problems that only appear on phones and tablets.

When to use it

  • ✓When you ask the agent whether your project tests mobile layouts.
  • ✓When a page looks fine on desktop but breaks on phones and you want tests to catch it.
  • ✓When you are setting up test automation and want mobile device presets included.

Skill link

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

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/mobile-testing/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

Example of what to ask your AI

“Can you check if my site has any tests for phone screens and add some if it does not?”

5 new skills a week. 1 minute to read.

How it works

The agent looks for mobile device settings, viewport tests, or notes in the project. If they are missing, it adds Playwright tests that use mobile device presets for key user flows.

Technical content (original SKILL.md)

Original text by the author, straight from 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

FAQ

Is desktop device emulation enough?

The skill says emulation catches layout issues but not real touch behavior, so real devices are still recommended.

Which screen sizes does it suggest?

The skill mentions 375, 390, and 768 pixel widths as common breakpoints to test.

Can I test devices I do not own?

Yes. The skill mentions services such as BrowserStack for that.

Details

Original description by the author

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

Popularity

GitHub stars
75k
Ranking position
#2940
License
MIT
Updated
10/31/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills