smithery/shamrock2245

UI Visual Validator

Automated check of 'Sticky Mobile CTA' visibility and responsive design rules.

Installation

$ npx skills add smithery/shamrock2245 --skill ui-visual-validator

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from smithery/shamrock2245.

npx skills add smithery/shamrock2245

Browse all from smithery/shamrock2245

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Skill metadata

Parsed from SKILL.md frontmatter.

Version1.0.0

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 1,940 B
  • docs SUMMARY.md 105 B

History

  1. First recorded snapshot · 0 installs

SKILL.md

Skill: UI Visual Validator

Use this skill to visually validate critical UI components before deployment.

1. The Mobile CTA Test

Goal: Ensure the "Call Now" button is permanently visible on mobile devices.

A. Manual Verification Protocol

  1. Open: Chrome DevTools -> Toggle Device Toolbar -> "iPhone 12 Pro".
  2. Scroll: Scroll to the very bottom, then the very top.
  3. Check: Does #boxStickyFooter remain fixed at bottom: 0px?
  4. Interaction: Click the "Call" button. Does it trigger the dialer?

B. Automated Layout Check (Velo)

Insert this temporary code in masterPage.js to log visibility metrics:

import wixWindow from 'wix-window';

$w.onReady(() => {
    if (wixWindow.formFactor === 'Mobile') {
        const footer = $w('#boxStickyFooter');
        
        // Check if defined
        if (!footer) console.error("❌ Sticky Footer Missing!");
        
        // Check collapse state
        if (footer.collapsed) console.error("❌ Sticky Footer is Collapsed!");
        
        // Check z-index assumption (log visual layering)
        console.log("📱 Mobile View: Sticky Footer Layer verification required.");
    }
});

2. Emergency Line Visibility

Goal: Ensure the 24/7 Number is visible above the fold on all device sizes.

  • Standard: #headerPhone must be distinct (Green/Gold) against the background.
  • Test: Resize browser width from 320px to 1920px.
  • Fail Condition: If the number wraps to a new line or overlaps the logo.

3. Touch Target Validation

Goal: Fat fingers can click buttons.

  • Rule: Every interactive element must be at least 44x44 CSS pixels.
  • Fix: If a button is 30px height, add a transparent container box (45px) behind it or increase padding.