Skip to content

gooseworks-ai/goose-skills / skills/video/render-value-prop

render-value-prop

Verified

Render a designed 'value prop' video from a config — 3-5 noun-phrase benefit claims (<=4 words each) revealed sequentially over per-SKU product visuals, one crisp editorial frame per claim (hook sticker -> N claim beats -> brand end card). Deterministic PIL/HTML beat renderer frame-stepped via Playwright and encoded with FFmpeg, sound-off legible, hard cuts, uniform pacing. FREE (no paid calls); music is added separately (create-music-elevenlabs). Use for the value-prop format.

shared/animations/sachet-entrance/slide-in-lateral.js

View on GitHub
// sachet-entrance/slide-in-lateral.js
// Sachets enter from screen edges, alternating left/right per index. Active.
// For sport_active / energy_cpg / tech_active brand registers.
//
// Contract: animate(t, elements, params?) → void
//   params: { duration_ms?: 450, offset_x_px?: 320 }
//
// Index parity drives direction:
//   even idx → enters from left (translateX -offset → 0)
//   odd idx  → enters from right (translateX +offset → 0)
// Staggered 50ms apart.

(function (root) {
  function animateSachets(t, elements, params) {
    params = params || {};
    const duration = (params.duration_ms ?? 450) / 1000;
    const offsetX  = params.offset_x_px ?? 320;
    const staggerS = 0.05;

    elements.forEach(function (el, i) {
      const start = 0.08 + i * staggerS;
      const u = tw_lin(t, start, start + duration);
      const e = easeOut(u);
      const dir = i % 2 === 0 ? -1 : +1;   // even=left, odd=right
      // Preserve any centering transform via translateX override
      const baseTx = el.dataset.baseTx || "";
      el.style.opacity = e;
      el.style.transform = `${baseTx} translateX(${dir * (1 - e) * offsetX}px) scale(${0.94 + 0.06 * e})`;
    });
  }
  root.animateSachets_slideInLateral = animateSachets;
})(window);
finishing-a-development-branchobra/superpowersUse when implementation is complete, all tests pass, and you need to decide how to integrate the workStars: 323kUpdated Claude CodeCodexVerifiedInstall
systematic-debuggingobra/superpowersUse when encountering any bug, test failure, or unexpected behavior, before proposing fixesStars: 323kUpdated Claude CodeCodexVerifiedInstall
test-driven-developmentobra/superpowersUse when implementing any feature or bugfix, before writing implementation codeStars: 323kUpdated Claude CodeCodexVerifiedInstall
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: 198kUpdated Claude CodeCodexVerifiedInstall