<< All versions
Skill v1.0.0
currentAutomated scan100/100wilberhernan/opencode-will/cinematic-assets
──Details
PublishedOctober 25, 2026 at 09:21 PM
Content Hashsha256:ac3730c1f65ce88f...
Git SHA3a5564aaffc6
──Files
Files (1 file, 4.0 KB)
SKILL.md4.0 KBactive
SKILL.md · 76 lines · 4.0 KB
version: "1.0.0" name: cinematic-assets description: "Trigger: assets, imágenes, fuentes, tipografía, video, motion background, hero image, textura, PNG sequence, WebP, font loading, blur placeholder, cinematic reveal. Cinematic asset pipeline — images, fonts, video, SVG for premium editorial sites." license: Apache-2.0 metadata: author: gentleman-programming version: "1.0"
Activation Contract
Apply this skill when building any premium/cinematic page that needs:
- Hero images, background textures, atmospheric visuals
- Typography with personality (variable fonts, local fonts, font-display)
- Background video loops with cinematic fade-in
- SVG icons with consistent style and accessibility
- Image sequences for scroll-driven reveals (Apple-style)
Do NOT apply for functional/data apps (dashboards, admin panels, tools).
Hard Rules
- Never ship unoptimized images. Every
img/next/imageMUST specify format, size, and loading strategy. - Never load fonts without `font-display`. Blocking fonts = broken UX for 3+ seconds.
- Never autoplay video with audio. Background video is
muted,loop,playsinline. No exceptions. - Never inline SVGs without `viewBox` and `aria-label`. Missing viewBox breaks layout; missing label breaks a11y.
- Never use JPG/PNG directly. Always convert to WebP (AVIF for hero images when supported).
Decision Gates
| Asset type | Action | |
|---|---|---|
| Hero / full-bleed image | next/image with priority, blurDataURL, WebP, overlay gradient | |
| Decorative background texture | CSS background-image, WebP, preload via <link rel=preload> | |
| Body / content image | next/image with loading="lazy", WebP, responsive sizes | |
| Heading font with personality | next/font/google or next/font/local with display: swap, preload: true | |
| UI / body font | next/font/google, variable: true if available, display: swap | |
| Background video loop | <video> with muted loop playsinline poster, CSS fade-in, lazy load | |
| Icon / illustration | Inline SVG (not <img>), viewBox, aria-label, Lucide/Heroicons outline | |
| Image sequence (scroll reveal) | PNG sequence in /public/sequences/, JS preload + IntersectionObserver |
Execution Steps
- Classify the asset using the Decision Gates table above.
- Open the matching reference in
assets/for exact code patterns. - If generating new assets (AI images, video), use
mcpollinationsMCP tools (generateImage/generateImageUrl/editImage) and followreferences/mcp-integration.md. - Always post-process generated images: convert to WebP, create blur placeholder, resize.
- Verify against the Output Contract before marking done.
Output Contract
Every page MUST pass these checks before delivery:
- [ ] Hero images:
next/image,priority,blurDataURL, WebP - [ ] Decorative images:
loading="lazy", WebP, responsive sizes - [ ] All images have explicit
widthandheight(orfill) - [ ] Fonts loaded via
next/font, never via CSS@importor<link>(exception: Google Fonts CSS2 for variable axes) - [ ] Every font has
display: swap(exception: display fonts can usedisplay: blockif above-fold) - [ ] Background video:
muted loop playsinline poster, CSS fade-in on load - [ ] Inline SVGs:
viewBox,aria-label, currentColor for stroke/fill - [ ] No JPG/PNG in final markup — all WebP or AVIF
References
assets/image-pipeline.md— next/image, blur, WebP, responsive images, overlay gradientsassets/font-loading.md— next/font, variable fonts, local fonts, preload, size-adjustassets/video-cinematic.md— background loops, poster, lazy, fade-in, HLSreferences/mcp-integration.md— how to generate images/video with available MCPs
Related Skills
When loaded alongside cinema-web or creative-stack, the asset pipeline feeds into those design systems:
cinema-webprovides the monochrome color tokens and typography scalecinematic-assetsprovides the optimized images, fonts, and video that use those tokens