Skip to content

gooseworks-ai/goose-skills / skills/video/review-finished-ad

review-finished-ad

Verified

Final QC gate for a rendered 9:16 video ad, run before it is published. One script checks what a machine can decide — exact 1080x1920 size, a hook that moves and speaks in the first second, no frozen stretches, no dead air, no black frames, the brand's real logo on the end card (never a favicon, never a redrawn or wrong logo), end-card colours near the brand palette — and builds one contact sheet (frames with the TikTok/Reels UI safe zones shaded, beside the logo, product images and a font specimen) for the checks that need eyes — font, product likeness, product consistency across scenes, safe zones. A declared silent-text profile covers silent, text-led formats such as kinetic text (no audio track needed, short blank beats between text beats allowed within fixed bounds). Exit 0 PASS / 2 FAIL / 3 ERROR. Use on every finished video master before pinning it.

tests/test_sampling.py

View on GitHub
import importlib.util
import sys
from pathlib import Path

path = Path(__file__).parents[1] / "scripts/review_finished_ad.py"
spec = importlib.util.spec_from_file_location("review_sampling", path)
review = importlib.util.module_from_spec(spec)
sys.modules[spec.name] = review
spec.loader.exec_module(review)


def test_continuous_fifteen_second_body_covers_early_and_late():
    times = review.sample_times(18, [], 3)
    assert len(times) >= 6
    assert times[0] <= 0.2 and times[-1] >= 14.8
    assert len(times) == len(set(times)) and all(0 <= t < 15 for t in times)


def test_many_cuts_keep_late_coverage_within_cap():
    times = review.sample_times(33, list(range(1, 30)), 3)
    assert len(times) <= 17
    assert times[0] <= 0.2 and times[-1] >= 29.8
    assert any(14 < t < 16 for t in times)


def test_short_body_and_all_endcard_are_bounded():
    assert review.sample_times(1, [], 3) == []
    times = review.sample_times(1, [], 0.5)
    assert times and all(0 <= t < 0.5 for t in times)
    assert review.sample_times(18, [], 3, cap=0) == []
brainstormingobra/superpowersYou MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation).Stars: 323kUpdated Claude CodeCodexVerifiedInstall
brand-guidelinesanthropics/skillsApplies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.Stars: 198kUpdated Claude CodeCodexVerifiedInstall
frontend-designanthropics/skillsGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults.Stars: 198kUpdated Claude CodeCodexVerifiedInstall
mcp-builderanthropics/skillsGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).Stars: 198kUpdated Claude CodeCodexVerifiedInstall