adapt

Installation
SKILL.md

Adapt — Responsive Adaptation & Container Queries


Mandatory Pre-Flight Context Inspection

Before engineering responsive layouts or cross-device UIs, you MUST inspect:

  1. Container Queries (@container) over Viewport Media Queries (Section 24) → Adapt component layouts based on parent container width (container-type: inline-size)
  2. Touch Target Sizing (Section 39) → Ensure interactive controls meet min 44x44px target size on touch devices
  3. Fluid Clamp Scaling (Section 45) → Use clamp() for smooth fluid typography and spacing without abrupt media query jumps

Architect UIs that adapt fluidly to screen dimensions, container boundaries, input devices (touch vs pointer), and orientation.

Activation Boundaries

  • Activate when: Operating in tasks requiring Adapt designs across breakpoints, devices, platform constraints, touch vs mouse input, and container queries. Use when making a UI responsive or optimizing for mobile/tablet..
  • DO NOT activate when: The task falls strictly outside adapt domain or belongs to a different dedicated specialist.
Installs
1
GitHub Stars
7
First Seen
Sep 13, 2026