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.mdCopy 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
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
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.
Popularity
- GitHub stars
- 75k
- Ranking position
- #2940
- License
- MIT
- Updated
- 10/31/2026
Comments
- …
More skills from this repository
frontendchecklist
75kChecks frontend code and live pages against 380+ rules for accessibility, speed, SEO and security, using a command-line tool.
frontend-checklist-global
75kAudits a frontend project against all 386 Front-End Checklist rules, and gives a specific fix for each issue found.
404-page
75kChecks that your missing-page screen offers helpful links and returns a real 404 status, to help lost visitors find their way.
about-page
75kReviews whether your site has a clear About page that explains who runs it, to build trust with visitors and search engines.
Similar skills
test-driven-development
311kTeaches your agent to write a failing test first, watch it fail, then write the smallest code that passes, before building any feature or fix.
verification-before-completion
311kTeaches your agent to run real checks and read their output before claiming that a task, fix, or build is complete or passing.
migrate-to-shoehorn
310kReplaces risky type casts in your test files with the shoehorn library, so tests can use partial data and still pass type checks.