responsive-image

Solid

Generate responsive image sets with srcset, WebP/AVIF conversion, and art direction

Web & Frontend 1,160 stars 71 forks Updated today MIT

Install

View on GitHub

Quality Score: 96/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Responsive Image Skill ## Purpose Generate responsive image sets for optimal performance across devices, including srcset variants, modern format conversion, and art direction. ## Capabilities - Generate srcset image variants at multiple resolutions - Convert to WebP and AVIF formats - Calculate art direction crops for different viewports - Generate picture element markup - Create responsive image configuration - Optimize images for performance ## Target Processes - responsive-design.js - component-library.js ## Integration Points - Sharp for image processing - ImageMagick for advanced transformations - libvips for high-performance operations ## Input Schema ```json { "type": "object", "properties": { "inputPath": { "type": "string", "description": "Path to source image" }, "outputPath": { "type": "string", "description": "Output directory" }, "widths": { "type": "array", "items": { "type": "number" }, "default": [320, 640, 960, 1280, 1920] }, "formats": { "type": "array", "items": { "type": "string" }, "default": ["webp", "avif", "jpg"] }, "quality": { "type": "number", "default": 80 }, "artDirection": { "type": "array", "items": { "type": "object", "properties": { "breakpoint": { "type": "number" }, "crop": { "type": "object" } } } }, "generateMarkup": { "type": "boolea...

Details

Author
a5c-ai
Repository
a5c-ai/babysitter
Created
4 months ago
Last Updated
today
Language
JavaScript
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category

Web & Frontend Solid

svg-optimizer

Optimize SVG assets, generate sprites, and convert to React components

1,160 Updated today
a5c-ai
Data & Documents Listed

image-optimization-pipeline-config

Use when authoring or reviewing the build-time image pipeline config — defining responsive srcset breakpoints, picking output formats (AVIF / WebP / JPEG fallback), tuning compression quality per format, and ensuring the pipeline never produces a lossy artifact for source PNGs with transparency. Activate this skill whenever the task touches `lib/images/pipeline.config.ts`, `scripts/build-images.ts`, or any code path that resizes or recompresses content images. Do NOT use for runtime image rendering choices (use a frontend skill) or for chasing a specific build failure (use debugging).

0 Updated today
jacob-balslev
Web & Frontend Listed

imagegen-frontend-web

Elite frontend image-direction skill for generating premium, conversion-aware website design references. CRITICAL OUTPUT RULE — generate ONE separate horizontal image FOR EVERY section. A landing page with 8 sections produces 8 images. Never compress multiple sections into one image. Enforces composition variety (not always left-text / right-image), background-image freedom, varied CTAs, varied hero scales (giant / mid / mini minimalist), narrative concept spine, second-read moments, and a single consistent palette across all images. Optimized for landing pages, marketing sites, and product comps that developers or coding models can accurately recreate.

0 Updated 4 days ago
SanctifiedOps
AI & Automation Solid

oma-image

Multi-vendor AI image generation with authentication-aware parallel dispatch. Routes to Codex (gpt-image-2 via ChatGPT OAuth), Antigravity (gemini-2.5-flash-image aka nano-banana via `agy` CLI + Gemini Code Assist), and Pollinations (flux/zimage, free with signup). Use for image generation, image creation, visual asset generation, and AI art.

1,042 Updated today
first-fluke
AI & Automation Listed

generate-assets

Generate high-quality images and assets for components (hero sections, features, transformations) using Replicate's FLUX 1.1 Pro model.

335 Updated today
aiskillstore