Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

scenario-playable-ads

БесплатноЗапускает вложенные скриптыНе проверен

Use when a mobile game's gameplay recording, screenshots, existing art and sound, or only an idea or a genre name should become a playable ad: an HTML5…

scenario-labsот scenario-labs★ 4 422 звезды на GitHub

Об этом скилле

Scenario Playable Ads

Overview

A playable is a 35 to 45 s slice of a real game that runs inside an ad network's container. It has:

  • one self-contained HTML file with no network requests;
  • one verb the viewer understands within 2 s;
  • a game that waits for the viewer and never plays itself;
  • a mute button, always;
  • the genre's signature payoff;
  • a win or an honest near-fail, then an end card with an install button.

Input: a gameplay recording and/or screenshots of the user's game, or only an idea (see Start here), plus a logo, store links, a description and a genre pick when the user has them. When the studio already has art, 3D, sound or music, the build uses those files as they are, generates only what is missing in their style, or derives the rest from one key art (references/existing-assets.md).

Output: dist/<network>/index.html for nine networks and a local preview, the ZIP each ZIP network takes, and a bundle of all of them. A build ships only when it passes the 19 base QA checks plus the per-network checks.

What was tested. The scripts pass 67 of 67 checks on the template's placeholder game inside fake containers in headless Chromium. On 2 November 2026 that game also passed AppLovin's playable preview (portrait), Google's HTML5 validator (App Campaigns profile) and Meta's playable preview (spec checks and the CTA tap). Google's Campaign Manager and Display & Video 360 reject the google ZIP, which needs a clickTag there. No other network's own tool was run. Run each network's preview first, and say which tools ran when you hand a build over (references/networks.md).

Requirements: a local shell, Python 3.12 or later with Pillow, numpy, scipy, fontTools and brotli; Playwright for Python with Chromium; ffmpeg. Install with pip install "pillow>=13,<14" "numpy>=2.5,<3" "scipy>=1.18,<2" "fonttools>=4.60,<5" "brotli>=1.1,<2" "playwright>=1.64,<2" then playwright install chromium; check with ffmpeg -version. The scripts, runtime and template sit in this skill's scripts/ and assets/ folders, so the agent needs file access to the skill.

Connection, uploads and the core loop: the scenario skill. Image edits: scenario-image. Sheets and cut-outs: scenario-game-assets. SFX and music: scenario-audio. Image-to-3D: scenario-3d. If a sibling skill named here is missing from your available skills, load it with skill_get (Scenario MCP) or ask the user to install it (https://github.com/scenario-labs/skills#install); unattended, proceed from tool schemas and flag the gap.

Quick reference

  1. Intake: intake/: recording and/or screenshots (or the brief and two concept screens), logo, intake.json (store links, networks, genre)
  2. Analysis: contact sheet, key frames, analysis/brief.md and analysis/design.md (beats, asset map)
  3. Assets: plate, transparent sheets, HUD crops, logo, SFX, music in assets/raw/, or studio files
  4. Build: src/game.js; assets/manifest.json + sounds in index.src.html; prep_assets.py
  5. Package: build.py --networks all (the default is meta,google)
  6. QA: qa.py --speed 2, then look at every frame it writes
  7. Report: notes.md: job ids, the source frame of every asset, tuning, open questions
SKILL=<path to this skill>; P=<project dir>
cp -Rn "$SKILL/assets/template/." "$P/" && mkdir -p "$P/runtime" && cp "$SKILL/assets/runtime/runtime.js" "$P/runtime/"
python3 "$P/make_placeholders.py" "$P" --font "$SKILL/assets/fonts/fredoka/Fredoka-Bold.woff2"  # optional
python3 "$SKILL/scripts/asset_inventory.py" "$P"    # only with the studio's own files: analysis/assets_inventory.md
python3 "$SKILL/scripts/prep_assets.py" "$P"        # assets/raw and intake/ to assets/web/
python3 "$SKILL/scripts/build.py" "$P" --networks all
python3 "$SKILL/scripts/qa.py" "$P" --speed 2       # qa/report.json and qa/*.png
  • cp -Rn never overwrites what the project already has, such as intake/.
  • Never edit the runtime or the scripts per game. Work around a gap in the game's own code and write it in notes.md.
  • Replace the template's game section with your genre. Keep its structure: config, reset, wait, play, result, input on pointerdown, draw, qa() with progress, boot.
  • The hint hand is a vector drawing unless the project adds assets/web/hand.webp.

Start here

When the user has not yet said what they have (for example "how do I make a playable ad?"), ask once, in one message, for everything the build needs, then wait. Do not generate anything yet.

  1. A gameplay recording of 30 s to 2 min and/or store screenshots. With neither (only an idea or a genre name), ask instead for one paragraph: the world, what the finger does, the big moment, how a round ends. Then follow "From an idea" below.
  2. The game name, the logo file, the App Store and Google Play links, and one line on what the player does.
  3. The ad ne
Полный SKILL.md на GitHub

Установить scenario-playable-ads в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

README.mdassets/fonts/fredoka/Fredoka-Bold.woff2assets/fonts/fredoka/OFL.txtassets/fonts/lilita-one/LilitaOne-Regular.woff2assets/fonts/lilita-one/OFL.txtassets/fonts/orbitron/OFL.txtassets/fonts/orbitron/Orbitron-ExtraBold.woff2assets/fonts/rajdhani/OFL.txtassets/fonts/rajdhani/Rajdhani-Bold.woff2assets/runtime/runtime.jsassets/template/assets/manifest.jsonassets/template/intake/intake.jsonassets/template/make_placeholders.pyassets/template/qa_bot.pyassets/template/src/game.jsassets/template/src/index.src.htmlreferences/3d-games.mdreferences/archetype-crowd-runner.mdreferences/archetype-idle-arcade.mdreferences/archetype-lane-shooter.mdreferences/archetype-merge.mdreferences/archetype-paint-train.mdreferences/archetype-pin-pull.mdreferences/archetype-platformer.mdreferences/archetype-racing.mdreferences/archetype-sort.mdreferences/archetype-survivor.mdreferences/archetype-tower-defense.mdreferences/build-lessons.mdreferences/existing-assets.mdreferences/genres.mdreferences/make-them-install.mdreferences/networks.mdreferences/qa-checks.mdreferences/scenario-assets.mdreferences/unknown-genre.mdscripts/asset_inventory.pyscripts/build.pyscripts/pack_glb.pyscripts/prep_assets.py

FAQ

Что делает скилл scenario-playable-ads?

Use when a mobile game's gameplay recording, screenshots, existing art and sound, or only an idea or a genre name should become a playable ad: an HTML5 interactive ad or end card for Meta, Google Ads App campaigns, AppLovin, Unity Ads, Mintegral, Moloco, Liftoff, TikTok Pangle or any MRAID network. Keywords: playable ad, HTML5 playable, MRAID, FbPlayableAd, ExitApi, crowd runner, merge, sort puzzle, survivor, tower defense, pin pull. Not for a video ad (scenario-game-ua-ads).

Как установить скилл scenario-playable-ads?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл scenario-playable-ads запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить scenario-playable-ads с