Skip to content

gooseworks-ai/goose-skills / skills/shared/remix-graphic-ad-from-reference

remix-graphic-ad-from-reference

Verified

Recreate a static graphic ad (Pinterest pin, IG/FB feed image, poster) from a reference image, swapping in a new brand's product and new copy while keeping the reference's layout, composition, and visual energy. ALWAYS generated with GPT Image 2 in edit-the-reference mode (fal-ai/gpt-image-1/edit-image, a billed FAL generation); the HTML/goose-graphics overlay is only an optional text-finishing step, never the generator. The static-graphics counterpart to the video remix-ad skill; this is what the app calls when a user picks a reference ad and wants it for their own product.

FileKindSize
SKILL.mdskill md18.9 KB
assets/overlay-template.htmlother4.8 KB
requirements.txtmanifest119 B
scripts/cutout_product.pyscript2.7 KB
skill.meta.jsonconfig445 B
tests/expected-output.mdmarkdown1020 B
tests/human-test.mdmarkdown897 B
tests/sample-input.mdmarkdown1019 B
tests/smoke-test.mdmarkdown1.0 KB
tests/verifier.mdmarkdown1.1 KB

tests/verifier.md

View on GitHub
# Verifier — remix-graphic-ad-from-reference

Shared logic: `skills/verifiers/image/`.

## Automated
- **File exists + non-empty:** `finals/<out>.png` size > 0.
- **Dimensions:** equal the requested aspect mapped to a goose-graphics canvas
  (1080×1080, 1080×1350, or 1080×1920, × deviceScaleFactor 2 on the HTML path).
- **Alpha sanity (HTML path):** `working/<product>-cutout.png` has >2% transparent pixels
  (background actually removed) and a non-trivial opaque region (product survived).
- **Provenance (AI path):** `working/ai-gen/PROVENANCE.md` records engine, model, and credits.

```bash
python3 - <<'PY'
from PIL import Image; import numpy as np, sys, glob
f=glob.glob("finals/*.png")[0]; im=Image.open(f); print("size",im.size)
assert im.size[0] in (2160,) or im.size[0] in (1080,1856,1744), im.size
PY
```

## Vision (LLM) checks
- Layout matches the reference anatomy (same zones/reading order).
- Product label/logo correct and undistorted.
- All copy strings present + correctly spelled; discount value == input.
- No overlapping/illegible text; legible at 256px thumbnail.
reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis.Stars: 472kUpdated Claude CodeCodexVerifiedInstall
diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness.Stars: 322kUpdated Claude CodeCodexVerifiedInstall
dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependenciesStars: 322kUpdated Claude CodeCodexVerifiedInstall
executing-plansobra/superpowersUse when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is availableStars: 322kUpdated Claude CodeCodexVerifiedInstall