- Home
- Skills
- Frontend & Web Apps
- viewprobe
Works with the AI Agents you already use
viewprobe
by Umang Kumar
Autonomous CSS layout debugger that finds and heals desktop and mobile overflows and tap-target issues using headless geometry.
Free
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
| Viewport | Status | Violations Found |
|---|---|---|
| Mobile (375x667) | ❌ Failed | 2 |
| Desktop (1280x800) | ✅ Passed | 0 |
Detected Violations (Mobile)
1. Horizontal Overflow
- Selector:
section.hero > div.container - Issue: Element width (420px) exceeds viewport width (375px).
- Culprit: Rigid
min-width: 420pxfound in computed styles. - Fix Applied: Changed
min-w-[420px]tomax-w-fullinsrc/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-1top-2.5to meet WCAG 2.5.8 standards.
Next steps
- Review the changes in
src/components/Hero.tsxandsrc/components/Footer.tsx. - Run
npx viewprobe check http://localhost:3000 -v mobileto confirm the fix. - Check the tablet viewport if you have specific breakpoint logic for iPad.
Hero.tsx
TSX · React component
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
scrollWidthagainstclientWidthor 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
- Trigger Audit by running
npx viewprobe check <url>with optional viewport flags for mobile, tablet, or desktop. - Review Violations using the structured JSON or Markdown output to see a list of offending elements and their specific geometry issues.
- Apply Fixes to the identified selectors, such as replacing fixed pixel widths with fluid constraints or increasing padding for touch targets.
- 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
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 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
What's inside
Frequently Asked Questions
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.