Agent skill · IgorVaryvoda

sirv-media-viewer

Sirv Media Viewer guidance. Use when building, auditing, or debugging Sirv product galleries, zoom viewers, 360 spins, videos, YouTube/Vimeo embeds, 3D models, PDF galleries, smart .view galleries, thumbnails, fullscreen/mobile behavior, SMV class="Sirv" markup, data-src/data-options/data-breakpoints, Sirv JS loading, viewer API/events, CSP, accessibility, or Core Web Vitals for Sirv interactive media.

What it needs

About 3k tokens when loaded.

What this skill does

Sirv Media Viewer Sirv Media Viewer (SMV) is the right path when the user needs interactive product media rather than just a transformed image URL. It handles galleries, thumbnails, zoom, spins, video, 3D models, smart galleries, fullscreen, lazy loading, and responsive behavior. Official Sources First Check current Sirv docs before changing option names, module names, event/API calls, or CSP rules: https://docs.sirv.com/sirv-media-viewer https://docs.sirv.com/sirv-media-viewer/core-features/responsive-images https://docs.sirv.com/sirv-media-viewer/core-features/smart-gallery https://docs.sirv.com/sirv-media-viewer/core-features/accessibility https://docs.sirv.com/sirv-media-viewer/advanced-implementation/api https://docs.sirv.com/sirv-media-viewer/advanced-implementation/events https://docs.sirv.com/sirv-media-viewer/advanced-implementation/content-security-policy-for-sirv Read implementation.md when writing or reviewing viewer markup, script loading, options, breakpoints, smart galleries, API/events, or CSP. For creating the spin assets themselves (frame naming, .spin generation, spin options, video-to-spin), use ../sirv-360-spin/SKILL.md; for video encoding/streaming strategy outside the viewer, ../video-optimization/SKILL.md. Default Workflow 1. Identify the media set: zoomable images, static images, .spin, video, YouTube/Vimeo, .glb/.gltf, PDF gallery, or .view smart gallery. 2. Choose the viewer shape: single item, explicit child-item gallery, single-div comma-separated gallery, smart .view gallery, grid, or slider. 3. Load Sirv JS once, ideally in the document head for important above-fold viewers. Use a module-limited Sirv JS URL only after checking the current docs and required media modules. 4. Use SMV markup: a class="Sirv" container with child div data-src assets, or a single div class="Sirv" data-src="...">. 5. Put viewer behavior in data-options, SirvOptions.viewer, or data-breakpoints; put image transforms in Sirv Dynamic Imaging URLs/profiles. 6. …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills IgorVaryvoda/sirv-media-viewer

View the source on GitHub

Browse the @skills marketplace