responsive-design

Validate responsive web components against project-specific design system breakpoints.

2|Updated May 24, 2026
One-click install
npx skills add https://github.com/CivicActions/ai-runbook-jh --skill responsive-design-civicactions
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: responsive-design
Source: https://github.com/CivicActions/ai-runbook-jh/tree/main/skills/responsive-design
Command: npx skills add https://github.com/CivicActions/ai-runbook-jh --skill responsive-design-civicactions

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill solves the inconsistency and manual overhead of testing responsive web designs by providing a structured, repeatable framework for verifying breakpoints, grid usage, and mobile-first styling.

Core Features & Use Cases

  • Breakpoint Validation: Systematically checks layouts against project-specific design tokens for mobile, tablet, and desktop.
  • Modern CSS Enforcement: Promotes the use of modern responsive patterns like container queries and clamp() over legacy workarounds.
  • Use Case: Use this skill during a PR review to ensure a new component correctly transitions from a mobile drawer to a desktop sidebar without breaking touch targets or overflow constraints.

Quick Start

Use the responsive-design skill to audit the layout and breakpoint behavior of the current component.

Frequently Asked Questions about responsive-design

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I validate responsive layouts against project-specific breakpoints during a PR review?

To validate responsive layouts, evaluate component behavior against design system breakpoints and grid utilities, simulating viewports to ensure consistent cross-device rendering. This verifies that transitions like mobile drawers to desktop sidebars maintain correct styling without breaking touch targets or overflow constraints.

What is the best way to automate viewport testing for mobile-first CSS patterns?

Automated viewport testing for mobile-first CSS patterns systematically checks layouts against design tokens for mobile, tablet, and desktop. This structured framework enforces the adoption of modern responsive techniques like container queries and clamp() over legacy workarounds, ensuring repeatable cross-device verification.

How do I verify touch targets and overflow constraints when transitioning components across breakpoints?

Verifying touch targets and overflow constraints during breakpoint transitions requires simulating viewports across mobile, tablet, and desktop sizes. This process audits touch target sizing and grid usage against accessibility compliance requirements, catching layout breaks before they reach production.

Does this responsive validation approach support modern CSS patterns like container queries and clamp()?

Yes, responsive validation supports modern CSS patterns like container queries and clamp() by enforcing their adoption over legacy workarounds. This approach checks layouts against project-specific design tokens, ensuring components utilize current responsive techniques for consistent rendering across all breakpoints.

Why does my responsive component break touch targets when shifting from a mobile drawer to a desktop sidebar?

Responsive components break touch targets during layout shifts when breakpoint transitions are not properly validated against grid utilities. Systematically simulating viewports and checking touch target verification prevents these overflow constraints from failing during mobile drawer to desktop sidebar transformations.

Can I use automated viewport testing to enforce design system breakpoints for accessibility compliance?

Yes, automated viewport testing enforces design system breakpoints for accessibility compliance by systematically verifying layouts against project-specific design tokens. This ensures consistent cross-device rendering and validates touch target sizing across mobile, tablet, and desktop views.