frontend-responsive-design
Skill2 starsChanged 28 days agoMITView on GitHub
Design and review responsive frontend layouts, styling, accessibility, interaction behavior, Tailwind usage, and visual QA for the portfolio and demo apps. Use before changing layout, CSS, semantic HTML, map controls, responsive behavior, or other perceptible frontend interactions.
In this repository9 other files it gives its agents.
- agent-scripts/AGENTS.mdAGENTS.md
- AGENTS.mdAGENTS.md
- google-maps-a2uiSkill
- infographic-agentSkill
- portfolio-contentSkill
- portfolio-designSkill
- portfolio-presentingSkill
- portfolio-reviewSkill
- skill-improvement-loopSkill
The file
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 5 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 8
Use this skill for tasks involving layout, styling, accessibility, responsive behavior, Tailwind utility usage, HTML structure, visual QA, …
- Distinctive: line 12
Prefer current platform documentation for behavior questions:
- Distinctive: line 26
Start from the smallest supported viewport and progressively enhance for larger containers/viewports.
- Distinctive: line 27
Prefer resilient modern CSS:
- Very specific: line 48
If animation or camera behavior changes, respect prefers-reduced-motion where practical.
- Distinctive: line 56
No horizontal scrolling at common mobile widths unless intentionally part of a map canvas.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Frontend Responsive Design Skill
Use this skill for tasks involving layout, styling, accessibility, responsive behavior, Tailwind utility usage, HTML structure, visual QA, or frontend interaction design in either app.
Primary References
Prefer current platform documentation for behavior questions:
- Responsive web design basics: https://web.dev/articles/responsive-web-design-basics
- MDN container queries: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_containment/Container_queries
- MDN responsive images: https://developer.mozilla.org/en-US/docs/Learn_web_development/Core/HTML/Responsive_images
- WCAG quick reference: https://www.w3.org/WAI/WCAG22/quickref/
- Tailwind CSS docs when editing Tailwind-heavy markup: https://tailwindcss.com/docs
Workflow
- Determine the app and styling system:
demos/strava-explorer/uses Vite and app-local CSS.demos/aqi-map/uses Vite and app-local CSS.
- Inspect the relevant HTML and JavaScript before changing classes or structure.
- Start from the smallest supported viewport and progressively enhance for larger containers/viewports.
- Prefer resilient modern CSS:
clamp()for fluid spacing/type with limits.- CSS Grid/Flexbox with
minmax(),auto-fit, and sensible intrinsic sizing. - Container queries for component-level changes when the component can appear in multiple page contexts.
- Viewport media queries for major page-shell changes.
- Maintain accessibility while changing visuals:
- Explicit labels for inputs and controls.
- Meaningful
alttext for images. - Semantic buttons/links instead of clickable divs.
- Visible focus states and keyboard operability.
- Distinct hover, focus, active, selected, disabled, loading, and error states. Render related states together: a hover treatment that copies the focus ring makes keyboard focus stop carrying information.
- Announced loading/error states when practical.
- Account for map UX: use
100svhor100dvhinstead of a desktop100vhassumption, include safe-area padding, and keep interactive targets at least 44×44 CSS pixels. Bottom sheets need a useful default state, an independently scrollable content region, and drag handling that does not scroll the page underneath or steal map gestures. Avoid covering required map controls. For custom map markers, keep text high-contrast and thumbnails legible over satellite/photorealistic backgrounds. - If animation or camera behavior changes, respect
prefers-reduced-motionwhere practical. - Validate with the relevant build command and, for perceptible UI changes, use a browser/screenshot check when available. Exercise the affected interaction states in light and dark schemes at narrow and wide viewports; do not approve a state from its isolated screenshot.
Review Checklist
- No horizontal scrolling at common mobile widths unless intentionally part of a map canvas.
- Form controls are reachable by keyboard and have accessible names.
- Interactive targets are at least 44×44 CSS pixels or have an equivalent 44×44 hit area.
- Mobile map shells remain usable with collapsing browser chrome, safe areas, an open panel, and page/map gestures.
- Text remains legible over map backgrounds, custom markers, popovers, and side panels.
- Layout works with long activity names, empty states, loading states, and error messages.
- External CSS frameworks do not override map internals unexpectedly.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

