Smithery Logo
MCPsSkillsDocsPricing
Login
Smithery Logo

Accelerating the Agent Economy

Resources

DocumentationPrivacy PolicySystem Status

Company

PricingAboutBlog

Connect

© 2026 Smithery. All rights reserved.

    metabench

    svg-collisions

    metabench/svg-collisions
    Design
    1
    2 installs

    About

    SKILL.md

    Install

    Install via Skills CLI

    or add to your agent
    • Claude Code
      Claude Code
    • Codex
      Codex
    • OpenClaw
      OpenClaw
    • Cursor
      Cursor
    • Amp
      Amp
    • GitHub Copilot
      GitHub Copilot
    • Gemini CLI
      Gemini CLI
    • Kilo Code
      Kilo Code
    • Junie
      Junie
    • Replit
      Replit
    • Windsurf
      Windsurf
    • Cline
      Cline
    • Continue
      Continue
    • OpenCode
      OpenCode
    • OpenHands
      OpenHands
    • Roo Code
      Roo Code
    • Augment
      Augment
    • Goose
      Goose
    • Trae
      Trae
    • Zencoder
      Zencoder
    • Antigravity
      Antigravity
    ├─
    ├─
    └─

    About

    Create or repair SVG diagrams without overlapping text/shapes. Use when shipping new SVGs, editing WLILO-styled diagrams, or when collision checks report overlaps/clipping.

    SKILL.md

    SVG Collisions (Repair + Validation)

    Triggers

    • "svg", "overlap", "collisions", "diagrams", "WLILO", "layout repair"

    Scope

    • Detect overlaps/collisions in SVGs
    • Apply safe layout fixes (move label backgrounds, adjust spacing)
    • Re-run validation until clean

    Inputs

    • SVG filepath
    • Desired strictness (--strict vs normal)
    • Whether collisions are real (text-on-rect label patterns are often intentional)

    Procedure

    1. Run collision detection.
    2. Inspect reported collisions by severity.
    3. Fix only true problems (especially text-over-text).
    4. Re-run strict mode before shipping.

    Validation

    Run:

    • node tools/dev/svg-collisions.js <file> --strict

    Anti-Patterns to Avoid

    • Ignoring Strict Mode: Shipping an SVG that passes default validation but fails strict mode without explicit confirmation that the overlaps are intentional.
    • Manual Nudging Sandbox: Spending hours manually guessing <g transform="translate(...)"> values instead of generating a clean layout via templates or collision scripts.

    Escalation / Research request

    Ask for dedicated research if:

    • strict mode repeatedly reports false positives tied to viewBox scaling
    • you need a new reusable theme/layout template under data/svg-templates/ or tools/dev/svg-templates/

    References

    • Tool doc: tools/dev/README.md (svg-collisions section)
    • SVG methodology: docs/guides/SVG_CREATION_METHODOLOGY.md
    Recommended Servers
    tldraw
    tldraw
    Draw.io
    Draw.io
    Excalidraw
    Excalidraw
    Repository
    metabench/copilot-dl-news
    Files