Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIMuseMuseDotsDots+21 more

    Freebies — Responsive Breakpoint

    1

    Standardize CSS media queries and eliminate breakpoint collisions with mobile-first tokens and SCSS mixins.

    Free

    Security scanned
    Freebies — Responsive Breakpoint

    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 TypeLocationObservationRecommendation
    Overlapheader.cssmax-width: 768px conflicts with min-width: 768pxUse exclusive min-width
    Gapgrid.cssNo coverage between 1024px and 1280pxApply xl breakpoint
    Collisionsidebar.cssMulti-directional queries causing layout shiftsStandardize 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.css with the new @include respond-to('md') mixin.
    • Update your global variables file to include the $breakpoints map.
    • Consider implementing @container queries for the sidebar to handle modular scaling.

    header.css

    CSS · design tokens

    Generated

    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-width conventions.
    • Audit Media Queries to identify and eliminate overlapping rules and layout collisions in existing stylesheets.
    • Implement Container Queries providing @container alternatives for modular, context-aware component responsiveness.

    How it works

    1. Initialize Tokens by defining standardized breakpoint values from mobile (640px) to ultra-wide (1536px).
    2. Generate Assets creating CSS custom properties or Sass mixins based on the project requirements.
    3. Analyze Styles by auditing provided code snippets to find conflicting media query ranges.
    4. 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. 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. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 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

    File System Read/Write (strictly scoped to current project workspace `./`).
    Zero global installation or elevated privileges required.

    Permissions

    Read Files

    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.

    Listed3 days ago

    What's inside

    Frequently Asked Questions

    This skill eliminates 'breakpoint drift' by enforcing a strict mobile-first architecture and auditing existing code for overlapping min-width and max-width rules that cause layout flickering.

    It is designed to be framework-agnostic, generating production-ready code for Vanilla CSS, Sass/SCSS, and configuration files for utility-first frameworks like Tailwind CSS.

    Yes, beyond traditional viewport queries, the skill can generate and audit @container rules to help you build modular components that adapt to their parent container's size.

    You will receive a specialized AI agent skill that includes logic for generating standardized breakpoint tokens, SCSS mixin libraries, and a diagnostic tool for auditing legacy stylesheets.

    While the skill provides the logic and code for a perfect responsive system, it does not perform live browser rendering or visual regression testing to see how the code looks in real-time.

    New in Frontend & Web Apps