gooseworks-ai/goose-skills / skills/video/render-mosaic-grid-reveal
render-mosaic-grid-reveal
VerifiedRender a 'mosaic-grid-reveal' video from a config — a real-DOM FULL-BLEED N×N mosaic of real product tiles that pops in one tile at a time (scatter order, ease-out-back overshoot), the grid clears, then the brand wordmark builds line-by-line followed by a sub-label, tagline, and CTA; frame-stepped via Playwright and encoded with FFmpeg — deterministic assembly, FREE (the music bed comes from create-music-elevenlabs), so the wordmark, tile captions, and CTA stay pixel-crisp. Use for the mosaic-grid-reveal format.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 4.5 KB |
| scripts/_shared.js | script | 950 B |
| scripts/build_html.py | script | 8.8 KB |
| scripts/config.example.json | config | 2.8 KB |
| scripts/render.py | script | 2.5 KB |
| skill.meta.json | config | 220 B |
| tests/smoke-test.md | markdown | 1.3 KB |
scripts/_shared.js
View on GitHub// Deterministic frame renderer scaffold for pick-05.
// Same contract as pick-01: initRenderer(duration_s, renderFn). Pure-function-of-time motion.
(function () {
let _duration = 0;
let _renderFn = null;
window.initRenderer = function (durationSeconds, renderFn) {
_duration = durationSeconds;
_renderFn = renderFn;
renderFn(0);
window.__driverReady = true;
};
window.renderAt = function (t) {
if (!_renderFn) return;
if (t < 0) t = 0;
if (t > _duration) t = _duration;
_renderFn(t);
};
window.clamp01 = function (x) { return Math.max(0, Math.min(1, x)); };
window.tw = function (t, t0, t1) {
if (t <= t0) return 0;
if (t >= t1) return 1;
return (t - t0) / (t1 - t0);
};
window.easeOut = function (x) { return 1 - Math.pow(1 - x, 3); };
window.easeOutBack = function (x, s) {
s = s || 1.70158;
return 1 + (s + 1) * Math.pow(x - 1, 3) + s * Math.pow(x - 1, 2);
};
})();
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| finishing-a-development-branchobra/superpowersUse when implementation is complete, all tests pass, and you need to decide how to integrate the work | Stars: 323k | Updated | Claude CodeCodex | Verified | Install |
| systematic-debuggingobra/superpowersUse when encountering any bug, test failure, or unexpected behavior, before proposing fixes | Stars: 323k | Updated | Claude CodeCodex | Verified | Install |
| test-driven-developmentobra/superpowersUse when implementing any feature or bugfix, before writing implementation code | Stars: 323k | Updated | Claude CodeCodex | Verified | Install |
| skill-creatoranthropics/skillsCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |