Skip to main content
skill CX Codex

mobile-responsiveness — Claude Code skill: setup and features

Provides mobile-first responsive design patterns, touch gesture handlers, fluid typography rules, and safe area handling for web apps.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add hoodini/ai-agents-skills --skill mobile-responsiveness -a claude-code
Open on GitHub

What mobile-responsiveness does

The skill equips coding agents with reference implementations for mobile-first web layouts. It provides standard media query breakpoints for plain CSS and Tailwind, fluid typography formulas via clamp(), and styling rules that respect device display cutouts through safe-area-inset variables.

For application logic, it includes React implementations of a slide-out hamburger navigation bar, a useMediaQuery listener hook, and touch swipe detection using native onTouchStart and onTouchEnd events. Gestures rely purely on DOM touch coordinates without third-party gesture libraries, keeping client bundles lightweight.

Styles follow a strict mobile-first structure where baseline rules require no media queries, scaling upward at 768px, 1024px, and 1280px thresholds.

What it helps with

  • set up mobile-first breakpoints in plain CSS and Tailwind
  • build a slide-out mobile navigation drawer with a backdrop overlay
  • detect left and right touch swipe gestures in React without external dependencies
  • adjust interface padding for device notches and home indicators

Example prompts for the agent

  • Create a mobile hamburger navigation menu with a sliding drawer in React
  • Configure fluid typography using CSS clamp for responsive headings
  • Add touch swipe gesture detection to this React card component

How to install mobile-responsiveness

1Skills CLI (Vercel)

npx skills add hoodini/ai-agents-skills --skill mobile-responsiveness -a claude-code

2Manually: put the files in place

~/.claude/skills/mobile-responsiveness/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/mobile-responsiveness/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about mobile-responsiveness

How to install mobile-responsiveness in Claude Code?

Run npx skills add hoodini/ai-agents-skills --skill mobile-responsiveness -a claude-code in your terminal.

What does mobile-responsiveness do?

It provides patterns for mobile-first layouts, covering responsive breakpoints, touch swipe handling, fluid typography, and viewport safe areas.

How does the skill handle phone notches and navigation bars?

It adds a viewport meta tag with viewport-fit=cover and applies env(safe-area-inset-*) CSS properties to container and fixed navigation padding.

Similar skills

Everything for Frontend and UI →

From the same set5

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor