gooseworks-ai/goose-skills / skills/video/render-brand-identity-reveal
render-brand-identity-reveal
VerifiedRender a 'brand identity reveal' video from a config — a single poster frame in a real, softly-lit space (real wall, soft-focus plant in the corner, dappled leaf shadow, illuminated poster) whose artwork HARD-CUTS through ~10 on-brand poster mockups (hero product, IG post, hanging banners, sticker sheet, logo lockup, poster, two lifestyle stills, packaging, big icon) then holds on a brand end card. The environment plate is one create-image-fal generation; the mockups are real-DOM HTML frame-stepped via Playwright, perspective-composited into the detected frame quad with the plate's real leaf-shadow multiplied back onto each poster (reads as behind glass), sequenced by FFmpeg. Deterministic assembly, FREE (the plate comes from create-image-fal, the bed from create-music-elevenlabs), music bed only and approved brand copy only. Use for the brand-identity-reveal format.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 5.3 KB |
| scripts/PIPELINE.md | markdown | 3.5 KB |
| scripts/build_video.shexecutable | script | 1.2 KB |
| scripts/composite.py | script | 3.0 KB |
| scripts/config.example.json | config | 3.9 KB |
| scripts/measure_frame.py | script | 1.7 KB |
| scripts/recrop.py | script | 2.2 KB |
| scripts/render_art.py | script | 1.3 KB |
| scripts/scene.html | other | 20.4 KB |
| skill.meta.json | config | 223 B |
| tests/smoke-test.md | markdown | 1.1 KB |
scripts/render_art.py
View on GitHub#!/usr/bin/env python3
"""Render each artwork standalone (bare mode) at the frame-interior aspect, 2x for crispness."""
import os, sys
from playwright.sync_api import sync_playwright
HERE = os.path.dirname(os.path.abspath(__file__))
SCENE = f"file://{HERE}/scene.html"
OUT = os.path.join(HERE, "art"); os.makedirs(OUT, exist_ok=True)
IW, IH = 740, 1068 # matches original frame-interior design; dsf=2 -> 1480x2136
states = sys.argv[1:] or [str(i) for i in range(1, 11)]
with sync_playwright() as p:
b = p.chromium.launch()
pg = b.new_page(viewport={"width": IW, "height": IH}, device_scale_factor=2)
pg.goto(SCENE); pg.wait_for_timeout(500)
pg.evaluate("document.body.classList.add('bare')")
for i in states:
js = ("() => { document.querySelectorAll('.art').forEach(e=>e.classList.remove('on'));"
"var el=document.querySelector('.art[data-i=\"%s\"]'); if(el)el.classList.add('on');"
"return document.querySelector('.art.on')?document.querySelector('.art.on').dataset.i:'NONE'; }") % i
on = pg.evaluate(js)
pg.wait_for_timeout(500)
out = os.path.join(OUT, f"art_std_{int(i):02d}.png")
pg.screenshot(path=out, clip={"x": 0, "y": 0, "width": IW, "height": IH})
print(f"wrote {out} (on={on})")
b.close()
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 |