ad-break
Use when a game integrates rewarded, interstitial or banner ads and needs explicit placement, lifecycle, resume and reward-grant boundaries without…
от jammyfu★ 27 звёзд на GitHub
Установить ad-break в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Ad break
Ask the mode: rewarded, interstitial, banner, none, or existing.
Contract
Publish:
- stable
ad_session_id/ request identity - placement ID and placement-policy revision
- provider/platform capability and availability result
- pre-show game/session state and resume target
- completion / skip / cancel / error outcome
- reward receipt or grant reference when applicable
- fallback when the ad is unavailable, interrupted or duplicated
Ownership
ad-break owns ad placement/lifecycle and resume handoff. game-state-flow / UI skills own the surrounding game state, entitlement-grant owns idempotent rewarded grants, game-monetization owns the product/value policy, and provider/store rules remain live external constraints.
Rules
- Placement eligibility is project data. Ads need a declared safe boundary; "after fail" or "between encounters" are examples, not universal requirements.
- Do not pause or splice an authoritative action/cancel/hit resolution in progress. If an ad request arrives at an unsafe boundary, queue, reject or defer it by policy.
- Rewarded completion produces one grant request keyed by stable receipt/session identity. Duplicate provider callbacks cannot duplicate the grant.
- No-fill, cancel, background/resume, provider error and session loss have explicit outcomes and do not masquerade as completed reward views.
- Banner layout obeys UI/safe-area ownership and does not become gameplay collision or input truth.
- Ads-off / ad-remove behavior is explicit; required game verbs cannot depend on an ad provider being available unless the product intentionally defines that dependency elsewhere.
Acceptance
For the same placement policy and ad_session_id, duplicate lifecycle callbacks settle once, resume returns to the declared valid game state, and rewarded completion maps to at most one entitlement grant. Unavailable or cancelled ads leave the game in a legal non-granted state.
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл ad-break?
Use when a game integrates rewarded, interstitial or banner ads and needs explicit placement, lifecycle, resume and reward-grant boundaries without interrupting authoritative gameplay actions.
Как установить скилл ad-break?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл ad-break запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
docx
AnthropicUse this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
xlsx
AnthropicUse this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
pptx
AnthropicUse this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…