Skip to main content

responsive-fix

Make components responsive with proper breakpoints

Source facts

Repository
lxgicstudios/ai-responsive
Last source activity
August 20, 2026 at 19:07
Detected SKILL.md language
English
Stars
0
Forks
0

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.

Showing SKILL.md

SKILL.md
Source instructions · Read-only preview
name
responsive-fix
description
Make components responsive with proper breakpoints
# Responsive Fixer Paste your desktop-only component, get mobile-responsive code back. ## Quick Start ```bash npx ai-responsive ./src/components/Dashboard.tsx ``` ## What It Does - Analyzes layout structure - Adds proper breakpoints - Converts fixed widths to responsive - Handles grid/flex adjustments - Adds mobile-first styles ## Usage Examples ```bash # Fix a component npx ai-responsive ./src/components/Sidebar.tsx # Specify breakpoints npx ai-responsive ./components/Nav.tsx --breakpoints sm,md,lg # CSS-in-JS output npx ai-responsive ./components/Card.tsx --format styled ``` ## What It Fixes - Fixed pixel widths → responsive units - Desktop grids → mobile stacks - Hidden mobile elements → proper show/hide - Touch targets → 48px minimum - Font sizes → responsive scaling ## Output Example ```tsx // Before: grid-cols-4 // After: grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 ``` ## Requirements Node.js 18+. OPENAI_API_KEY required. ## License MIT. Free forever.
View on GitHub