- Home
- Skills
- Frontend & Web Apps
- Freebies — Responsive Breakpoint
Works with the AI Agents you already use
Freebies — Responsive Breakpoint
Standardize CSS media queries and eliminate breakpoint collisions with mobile-first tokens and SCSS mixins.
Free
Freebies — Responsive Breakpoint
Example session with this skill installed
Audit my current CSS media queries for collisions and generate a set of standardized mobile-first SCSS mixins.
- Read your context and instructions
- Compiled the freebies
- Generated the design tokens stylesheet
I have audited your existing media queries and identified three points of overlap between the tablet and desktop ranges. I have generated a standardized set of SCSS mixins using a mobile-first min-width strategy.
Responsive Design Audit & SCSS Standard
| Issue Type | Location | Observation | Recommendation |
|---|---|---|---|
| Overlap | header.css | max-width: 768px conflicts with min-width: 768px | Use exclusive min-width |
| Gap | grid.css | No coverage between 1024px and 1280px | Apply xl breakpoint |
| Collision | sidebar.css | Multi-directional queries causing layout shifts | Standardize to md token |
// Standardized Mobile-First Breakpoints
$breakpoints: (
'sm': 640px,
'md': 768px,
'lg': 1024px,
'xl': 1280px,
'2xl': 1536px
);
@mixin respond-to($breakpoint) {
@if map-has-key($breakpoints, $breakpoint) {
@media (min-width: map-get($breakpoints, $breakpoint)) {
@content;
}
} @else {
@warn "Invalid breakpoint: #{$breakpoint}.";
}
}
// Usage Example
.container {
width: 100%;
@include respond-to('md') {
max-width: 750px;
}
@include respond-to('lg') {
max-width: 1000px;
}
}
Next steps
- Replace the legacy media queries in
header.csswith the new@include respond-to('md')mixin. - Update your global variables file to include the
$breakpointsmap. - Consider implementing
@containerqueries for the sidebar to handle modular scaling.
header.css
CSS · design tokens
Example file from a real run - the skill writes it into your workspace.
Connects securely to your tools. The creator never sees your data.
About this skill
Responsive design often suffers from "breakpoint drift" where inconsistent media queries across components lead to layout collisions. This skill standardizes your CSS breakpoints using a mobile-first approach to ensure visual consistency across all device classes.
What it does
- Standardize Breakpoints using industry-standard tokens for mobile, tablet, desktop, and ultra-wide screens.
- Generate CSS/Sass code for custom properties or mixins that enforce mobile-first
min-widthconventions. - Audit Media Queries to identify and eliminate overlapping rules and layout collisions in existing stylesheets.
- Implement Container Queries providing
@containeralternatives for modular, context-aware component responsiveness.
How it works
- Initialize Tokens by defining standardized breakpoint values from mobile (640px) to ultra-wide (1536px).
- Generate Assets creating CSS custom properties or Sass mixins based on the project requirements.
- Analyze Styles by auditing provided code snippets to find conflicting media query ranges.
- Export Patterns for both traditional viewport queries and modern container-based responsiveness.
Frameworks & tools
This skill is framework-agnostic and works with Vanilla CSS, Sass, Tailwind CSS configurations, and React/Next.js UI components.
Why this beats prompting it yourself
Writing media queries manually often leads to "max-width" and "min-width" conflicts that are hard to debug. This skill enforces a deterministic mobile-first workflow, ensuring your breakpoints follow a logical progression without overlapping gaps.
Use cases
- Standardizing a new project with consistent CSS variable-based breakpoints.
- Refactoring legacy stylesheets to remove overlapping media query collisions.
- Converting viewport-based components to modern CSS Container Queries.
- Auditing a UI library for responsiveness bugs on ultra-wide monitors.
Known limitations
Focuses on CSS/Sass output and does not perform browser testing or visual regression analysis.
Focuses on CSS/Sass output and does not perform browser testing or visual regression analysis.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before any payment.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Free forever
No account required to browse
Trust & safety
Security scan
Security scan passed 3 days ago
- Free with an Agensi account
Requires
Permissions
Target Use Cases: - Define standard responsive breakpoints for my CSS framework. - Audit my media queries for breakpoint overlap. - How to write mobile-first CSS media queries.