Works with the AI Agents you already use

    viewprobe

    by Umang Kumar

    1

    Autonomous CSS layout debugger that finds and heals desktop and mobile overflows and tap-target issues using headless geometry.

    Free

    Security scanned
    viewprobe

    viewprobe

    Example session with this skill installed

    Autonomous responsive CSS layout verification and bug healing for AI coding agents. Audits web pages for mobile horizontal overflow, text clipping, and tap targets (<44px) using headless Playwright geometry in ~350ms.

    Open Source & Documentation: https://github.com/Umang-sudo-su/ViewProbe
    npm: https://www.npmjs.com/package/viewprobe

    • Read your context and instructions
    • Compiled the viewprobe
    • Generated the UI component

    I have audited the layout for http://localhost:3000 across mobile and desktop viewports. I found two layout violations on the mobile view.

    Layout Audit Results

    ViewportStatusViolations Found
    Mobile (375x667)❌ Failed2
    Desktop (1280x800)✅ Passed0

    Detected Violations (Mobile)

    1. Horizontal Overflow

    • Selector: section.hero > div.container
    • Issue: Element width (420px) exceeds viewport width (375px).
    • Culprit: Rigid min-width: 420px found in computed styles.
    • Fix Applied: Changed min-w-[420px] to max-w-full in src/components/Hero.tsx.

    2. Tap Target Too Small

    • Selector: footer .social-link
    • Issue: Element size is 32x32px (Minimum required: 44x44px).
    • Fix Applied: Increased padding from p-1 to p-2.5 to meet WCAG 2.5.8 standards.

    Next steps

    1. Review the changes in src/components/Hero.tsx and src/components/Footer.tsx.
    2. Run npx viewprobe check http://localhost:3000 -v mobile to confirm the fix.
    3. Check the tablet viewport if you have specific breakpoint logic for iPad.

    Hero.tsx

    TSX · React component

    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 layouts often break in ways that are invisible to standard linters and expensive for vision models to find. ViewProbe solves this by providing an autonomous layout geometry engine that audits live rendered DOMs to pinpoint CSS bugs across multiple viewports. It identifies the exact selectors causing horizontal overflows, text clipping, and accessibility failures in milliseconds.

    What it does

    • Automated Layout Audits scans local dev servers or live URLs across mobile, tablet, and desktop presets to detect geometry violations.
    • Overflow Detection identifies elements causing horizontal scroll by comparing scrollWidth against clientWidth or viewport bounds.
    • Accessibility Checks flags interactive elements like buttons and links that fall below the WCAG 44x44px tap target standard.
    • Text Truncation Alerts reports text that overflows its container without proper ellipsis handling.
    • Surgical Debugging provides the specific CSS selectors and computed styles responsible for layout failures.

    How it works

    1. Trigger Audit by running npx viewprobe check <url> with optional viewport flags for mobile, tablet, or desktop.
    2. Review Violations using the structured JSON or Markdown output to see a list of offending elements and their specific geometry issues.
    3. Apply Fixes to the identified selectors, such as replacing fixed pixel widths with fluid constraints or increasing padding for touch targets.
    4. Re-verify the changes by running the tool again to ensure the layout passes all viewport checks with zero violations.

    Frameworks & tools

    This skill works with any web project that runs a local server or live URL, including React, Next.js, Vue, Svelte, and vanilla HTML/CSS. It relies on Node.js and Playwright.

    Why this beats prompting it yourself

    Standard LLM prompting cannot see the rendered geometry of your code, leading to "hallucinated" fixes that fail in production. ViewProbe provides ground-truth DOM measurements, allowing the agent to fix bugs based on actual pixel data rather than visual guesswork.

    Use cases

    • Audit a new landing page for mobile responsiveness before deployment.
    • Fix "white space on the right" bugs caused by horizontal overflow.
    • Ensure all navigation buttons meet mobile accessibility standards.
    • Detect hidden text clipping issues in dynamic content areas.

    Known limitations

    Requires a running local dev server or accessible URL. Requires Node.js 20 or higher to execute via npx.

    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 buying a skill.

    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 to use

    No account required to browse

    Trust & safety

    Security scan

    Security scan passed 12 days ago

    • Free with an Agensi account

    Software
    Node.js

    Permissions

    Terminal / Shell
    Browser
    Read Files
    Network Access
    Listed12 days ago

    What's inside

    Frequently Asked Questions

    ViewProbe uses an autonomous geometry engine to measure actual pixel data and DOM dimensions. Unlike standard linters or vision models that guess based on code or images, it identifies the exact CSS selectors causing overflows and tap-target issues using ground-truth measurements.

    This skill is framework-agnostic and works with any project that renders to the DOM, including React, Next.js, Vue, Svelte, and vanilla HTML. It requires Node.js 20+ and uses Playwright to perform its headless audits.

    ViewProbe is designed to be triggered by AI agents via command line, allowing them to scan local dev servers or live URLs. The agent receives structured JSON or Markdown reports, which it then uses to pinpoint and fix specific CSS bugs autonomously.

    Yes, ViewProbe includes presets for mobile, tablet, and desktop viewports. It specifically checks for mobile-centric issues like horizontal overflow ('white space on the right') and WCAG 44x44px tap-target accessibility violations.

    You receive the full ViewProbe skill package, which includes the layout geometry engine, the CLI tool for auditing, and documentation for integrating it into your AI agent workflows. Updates are typically provided through the marketplace to ensure compatibility with new browser versions.

    New in Frontend & Web Apps

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Frontend & Web Apps.

    Free