Skills: release management, preflight, rejections, originality, compliance, ASO, release notes

- New: review-rejections, portfolio-originality, release-management, store-preflight,
  privacy-manifest, export-compliance, aso-basics, whats-new
- Updated: explicit build numbers, first availability UI fallback, phased + manual release by
  default, IAP versions in review submissions (API 4.4.1, reported, verify), IAP description 45,
  privacy manifest cross-links, tool-neutral CLI instructions
- docs/agents-core.md: shared rules for every agent
This commit is contained in:
CRTkafa 2026-10-10 21:03:10 +08:00
parent 03a95d2c0a
commit 25bc761a53
17 changed files with 427 additions and 22 deletions

21
docs/agents-core.md Normal file
View file

@ -0,0 +1,21 @@
# storebound · rules for AI agents
These rules apply to every AI tool that uses storebound (skills, MCP server or the CLI in a terminal).
1. **The owner decides public and irreversible steps.** Submitting for review, releasing a version, resuming or
completing a rollout, canceling a submission, deleting products or listings, accepting agreements: explain what
will happen and let the owner do it (or run the command only after a clear yes in chat). storebound's MCP server
does not offer these at all.
2. **Dry run first.** Every write command has `--dry` (MCP: `dry_run`, default true). Show the dry run, then run it
for real only after the owner agrees.
3. **Read before you write.** `storebound check` (offline) and `storebound validate` (read-only, both stores) tell you
what is missing and in which order to fix it.
4. **Credentials only from the environment or `.storebound/`** in the project (gitignored). Never ask for keys,
passwords or tokens in chat, never print them, never write them into the config, docs or commits.
5. **Never answer a compliance question you cannot know.** Export compliance, Data safety, App Privacy, age rating,
target audience: ask the owner when the code does not prove the answer. A wrong "no" is worse than a slow "ask".
6. **Pick builds by explicit number.** Use the build number / versionCode you just uploaded, never "the latest".
7. **Long uploads run in the background with a log** (`storebound play images > .storebound/images.log 2>&1 &`) and
you report the progress lines, not guesses.
8. **No manipulative tactics** with reviewers, players or store policies: no fake reviews, no hidden features, no
misleading screenshots, no keyword stuffing.

View file

@ -21,11 +21,13 @@ No CLI needed; these are checks to run and read. Ask the owner before changing d
network setup using exactly those ids). network setup using exactly those ids).
4. **509 "Mediation No fill"** before launch is normal: the LevelPlay app is not live / not linked to store URLs. After 4. **509 "Mediation No fill"** before launch is normal: the LevelPlay app is not live / not linked to store URLs. After
both listings are public, set the store URLs in the LevelPlay dashboard. both listings are public, set the store URLs in the LevelPlay dashboard.
5. **app-ads.txt** on the root of the developer website named in both listings (`https://<domain>/app-ads.txt`): 5. **app-ads.txt** (checked by `storebound validate --play` when `ads.appAdsTxt` lists your lines) on the root of the developer website named in both listings (`https://<domain>/app-ads.txt`):
`OWNERDOMAIN=<domain>`, the LevelPlay DIRECT line with your publisher id, and each network's lines (Unity's `OWNERDOMAIN=<domain>`, the LevelPlay DIRECT line with your publisher id, and each network's lines (Unity's
"App-Ads.txt" doc page lists them). Re-sync now and then. The listing website must match the domain exactly. "App-Ads.txt" doc page lists them). Re-sync now and then. The listing website must match the domain exactly.
6. **iOS**: SKAdNetwork ids of every network in Info.plist (refresh from each network's official list when adding one), 6. **iOS**: SKAdNetwork ids of every network in Info.plist (refresh from each network's official list when adding one),
`NSUserTrackingUsageDescription`, ATT prompt before the ad SDK starts, `-ObjC` linker flag if the SDK requires it. `NSUserTrackingUsageDescription`, ATT prompt before the ad SDK starts, `-ObjC` linker flag if the SDK requires it.
Every network SDK and adapter must ship a privacy manifest (PrivacyInfo.xcprivacy): `storebound privacy-manifest
--ios ios/App` lists SDKs without one (`privacy-manifest` skill); update them before uploading.
7. **Android**: `AD_ID` permission (declared in Play's advertising ID form), network SDKs listed explicitly when the 7. **Android**: `AD_ID` permission (declared in Play's advertising ID form), network SDKs listed explicitly when the
adapter artifacts declare no dependencies. adapter artifacts declare no dependencies.
8. **Privacy**: COPPA "not directed at children" unless the app is for kids; EU / UK / CH consent (CMP) or 8. **Privacy**: COPPA "not directed at children" unless the app is for kids; EU / UK / CH consent (CMP) or

View file

@ -5,7 +5,7 @@ description: Generate every app icon a mobile game needs from one artwork - App
# App icons from one artwork # App icons from one artwork
CLI: `storebound icons` (or `bun ${CLAUDE_PLUGIN_ROOT}/cli/index.ts icons`). Needs `ffmpeg` (`cwebp` optional). CLI: `storebound icons` (or `bunx storebound icons`). Needs `ffmpeg` (`cwebp` optional).
## Inputs (`icons` in storebound.config.ts) ## Inputs (`icons` in storebound.config.ts)
- `composite`: 1024 x 1024 opaque full icon (stores, iOS, web) - `composite`: 1024 x 1024 opaque full icon (stores, iOS, web)

View file

@ -5,12 +5,13 @@ description: Step-by-step first (and later) App Store release of a mobile game -
# App Store: first release # App Store: first release
The CLI is `storebound` (on PATH while this plugin is enabled; otherwise `bun ${CLAUDE_PLUGIN_ROOT}/cli/index.ts`). The CLI is `storebound` (on PATH while the plugin is enabled; otherwise `bunx storebound` in a project that has it,
or `bun <toolchain>/cli/index.ts`; agents can also use the `storebound mcp` tools).
Config: `storebound.config.ts`; credentials: `ASC_KEY_ID`, `ASC_ISSUER_ID`, `ASC_P8` (env or Config: `storebound.config.ts`; credentials: `ASC_KEY_ID`, `ASC_ISSUER_ID`, `ASC_P8` (env or
`.storebound/credentials.json`, gitignored). All commands are idempotent and have `--dry`. Run `storebound check` first. `.storebound/credentials.json`, gitignored). All commands are idempotent and have `--dry`. Run `storebound check` first.
**Ask the owner before submitting for review, releasing, or canceling a submission.** The final "Submit for Review" **Ask the owner before submitting for review, releasing, or canceling a submission.** The final "Submit for Review"
of a first version is the owner's click. of a first version is the owner's click. Shared agent rules: `docs/agents-core.md` of the toolchain.
## Steps (API = storebound, UI = App Store Connect / Xcode by hand) ## Steps (API = storebound, UI = App Store Connect / Xcode by hand)
@ -20,7 +21,8 @@ of a first version is the owner's click.
2. **API · Bundle id.** `storebound apple bundle` registers it (Certificates, Identifiers & Profiles). 2. **API · Bundle id.** `storebound apple bundle` registers it (Certificates, Identifiers & Profiles).
3. **UI · App record.** Apps > + > New App: iOS, name, primary language, the bundle id, SKU. **No API for this.** 3. **UI · App record.** Apps > + > New App: iOS, name, primary language, the bundle id, SKU. **No API for this.**
Then `storebound apple status` finds it (put the Apple ID in `apple.appId` to skip the lookup). Then `storebound apple status` finds it (put the Apple ID in `apple.appId` to skip the lookup).
4. **Local · Info.plist.** `ITSAppUsesNonExemptEncryption = NO` (HTTPS only) so builds skip export compliance; 4. **Local · Info.plist.** `ITSAppUsesNonExemptEncryption` with the true answer (`export-compliance` skill; `NO` only
when the game uses nothing beyond OS / HTTPS encryption) so builds arrive answered;
`NSUserTrackingUsageDescription` if ads use the IDFA; privacy policy reachable inside the app (guideline 5.1.1). `NSUserTrackingUsageDescription` if ads use the IDFA; privacy policy reachable inside the app (guideline 5.1.1).
5. **Local · Build + upload** (Mac, no Xcode account login needed, the API key does signing): 5. **Local · Build + upload** (Mac, no Xcode account login needed, the API key does signing):
```sh ```sh
@ -30,23 +32,30 @@ of a first version is the owner's click.
xcodebuild -exportArchive -archivePath build/App.xcarchive -exportOptionsPlist ExportOptions.plist -exportPath build/export $K xcodebuild -exportArchive -archivePath build/App.xcarchive -exportOptionsPlist ExportOptions.plist -exportPath build/export $K
``` ```
ExportOptions.plist: `method` app-store-connect, `destination` upload, `teamID` <your team>, `signingStyle` ExportOptions.plist: `method` app-store-connect, `destination` upload, `teamID` <your team>, `signingStyle`
automatic. `MARKETING_VERSION` / `CURRENT_PROJECT_VERSION` overrides beat the project values; the build number must automatic. `MARKETING_VERSION` / `CURRENT_PROJECT_VERSION` overrides beat the project values. Take the build
grow per version. Processing takes 5-30 min (`storebound apple status` shows VALID). number from `storebound apple next-build` right before archiving and **note it**: every later step selects that
exact build, never "the latest". Processing takes 5-30 min (`storebound apple status` shows VALID).
6. **UI · TestFlight.** Create an internal group with "access to all builds" (hasAccessToAllBuilds) once: every new 6. **UI · TestFlight.** Create an internal group with "access to all builds" (hasAccessToAllBuilds) once: every new
build reaches the testers automatically. Sandbox testers: Users and Access > Sandbox. build reaches the testers automatically. Sandbox testers: Users and Access > Sandbox.
7. **API · Version + text.** Fill `store/appstore.md`, then `storebound apple listing --version 1.0.0 --build 3` 7. **API · Version + text.** Fill `store/appstore.md`, then `storebound apple listing --version 1.0.0 --build 3`
(version, copyright, MANUAL release, build, name / subtitle / privacy URL, description / keywords / promo / URLs). (version, copyright, MANUAL release, the build with exactly that number, name / subtitle / privacy URL,
description / keywords / promo / URLs). Then `storebound apple release --phased on`: manual release + phased
release is the default for every version (`release-management`).
8. **API · Screenshots.** `store-screenshots` skill, then 8. **API · Screenshots.** `store-screenshots` skill, then
`storebound apple screenshots > .storebound/asc-shots.log 2>&1 &` (6.9" + 6.5" per locale, MD5-idempotent). `storebound apple screenshots > .storebound/asc-shots.log 2>&1 &` (6.9" + 6.5" per locale, MD5-idempotent).
9. **API · App info.** `storebound apple appinfo`: categories, age rating declaration, content rights, Free price, 9. **API · App info.** `storebound apple appinfo`: categories, age rating declaration, content rights, Free price,
all territories. all territories. The **first** availability record of a new app may be refused by the public API (an error on
POST /v2/appAvailabilities); then set it once in App Store Connect > Pricing and Availability and re-run (later runs only read it).
10. **API · Review details.** `storebound apple review-details` (contact from `.storebound/credentials.json` 10. **API · Review details.** `storebound apple review-details` (contact from `.storebound/credentials.json`
`reviewContact`, or `--contact-from <Apple ID of another app of the team>`; notes from the config). `reviewContact`, or `--contact-from <Apple ID of another app of the team>`; notes from the config).
11. **API + UI · In-app purchases.** `store-iap-setup` skill. First IAPs go to review **with** this version. 11. **API + UI · In-app purchases.** `store-iap-setup` skill. First IAPs go to review **with** this version.
12. **UI · App Privacy.** `store-declarations` skill (nutrition labels), then **Publish**. 12. **UI · App Privacy.** `store-declarations` skill (nutrition labels), then **Publish**.
13. **UI · Submit.** Version page > Add for Review (with the IAPs in the same draft submission) > Submit for Review 13. **Preflight.** `storebound validate --apple` until it shows no blocker (`store-preflight`).
14. **UI · Submit.** Version page > Add for Review (with the IAPs in the same draft submission) > Submit for Review
(owner). Release type MANUAL means the owner presses "Release" after approval. (owner). Release type MANUAL means the owner presses "Release" after approval.
14. **Verify.** `storebound apple status`: version WAITING_FOR_REVIEW, IAPs WAITING_FOR_REVIEW, one review submission. 15. **Verify + wait.** `storebound apple status`: version WAITING_FOR_REVIEW, IAPs WAITING_FOR_REVIEW, one review
submission. `storebound apple status --wait-review` polls until approved (exit 0) or rejected (exit 1,
`review-rejections`). Approved: the owner releases (`release-management`).
## Gotchas ## Gotchas
@ -57,6 +66,8 @@ of a first version is the owner's click.
submission (`storebound apple status --cancel-submission <id>`, PATCH canceled: true), wait a minute, add the IAPs submission (`storebound apple status --cancel-submission <id>`, PATCH canceled: true), wait a minute, add the IAPs
from their page, then resubmit. from their page, then resubmit.
- App Privacy (data types, purposes, linked, tracking) is UI-only and must be **published**, not just saved. - App Privacy (data types, purposes, linked, tracking) is UI-only and must be **published**, not just saved.
- Export compliance unanswered = "Missing Compliance": `storebound apple encryption` (`export-compliance`).
- ITMS-91053 / 91061 privacy manifest emails after upload: `privacy-manifest` skill.
- Screenshot sizes: 6.9" 1320 x 2868 (`APP_IPHONE_67`) is required; 6.5" 1284 x 2778 (`APP_IPHONE_65`) recommended. - Screenshot sizes: 6.9" 1320 x 2868 (`APP_IPHONE_67`) is required; 6.5" 1284 x 2778 (`APP_IPHONE_65`) recommended.
PNG without alpha. Up to 10 per set. Apple processes uploads async; failures show as FAILED later. PNG without alpha. Up to 10 per set. Apple processes uploads async; failures show as FAILED later.
- App Store icon (1024) must have **no alpha channel** (`storebound icons` writes rgb24). - App Store icon (1024) must have **no alpha channel** (`storebound icons` writes rgb24).

View file

@ -0,0 +1,43 @@
---
name: aso-basics
description: App store optimization basics for a mobile game's text - App Store keyword field rules (100 characters, commas without spaces, no repeats of name / subtitle words, fill 90%+), subtitle and name, cross-localization keyword room per storefront, screenshot captions with real keywords, Google Play title / short / full description keyword placement without stuffing. Use when the user writes or improves store listing text, keywords, or asks why the game is not found in store search.
---
# ASO basics
Audit: `storebound check --aso` (offline, over `store/appstore.md` + `store/listing.md`; errors exit 1). Keep claims
true; never use competitor or other games' names, "best / #1", or unrelated popular terms (both stores reject it).
## App Store
- **Indexed fields**: app name (30), subtitle (30), keyword field (100). The description is **not** indexed for search.
- **Keyword field**: comma separated, **no spaces** around commas (they cost characters), singular or plural not both,
no words already in the name or subtitle (they are indexed anyway), no "app" / "game" / category names, no
duplicates. Use at least 90 of the 100 characters. Single words combine on their own ("match,puzzle" also finds
"match puzzle"), so prefer words over phrases.
- **Name and subtitle**: the strongest words; the name is the brand plus at most one core term, the subtitle is the
promise in plain words.
- **Localizations and storefronts**: each storefront supports several localizations (Apple's "App Store localizations"
table; the US storefront lists English (US), Spanish (Mexico), Portuguese (Brazil), French, Korean, Chinese
Simplified and Traditional, Arabic, Russian, Vietnamese). Apple states a localization's keywords are searchable in
every storefront that supports its language. That the keyword fields of several localizations **stack** in one
storefront (e.g. extra English words in the es-MX field for US search) is community ASO knowledge, not an Apple
statement: if you use it, the localization must still be a real translation for its own users.
- **Screenshot captions**: write them with the words players search for ("Match 3 puzzles offline", not "Fun awaits").
Claims that Apple reads caption text for search ranking are unverified; good captions help conversion either way.
- Changing keywords needs a new version (submitted with it); promotional text (170) changes any time but is not indexed.
## Google Play
- **Indexed**: title (30), short description (80), full description (4000). There is no keyword field.
- Put the core phrase in the title (brand + term), again in the short description, and in the first lines of the full
description where it reads naturally. Repeat important terms a few times across the full text, not in every line.
- **No stuffing**: a word in more than ~3 % of the full description, keyword lists, ALL CAPS titles, emoji in the
title, or "best / top / #1" break the metadata policy. `check --aso` warns on these.
- Localize every listing you can; Play machine-translates otherwise, which ranks and converts worse.
## Workflow
1. List 20-30 candidate terms with the owner: what players would type to find this game (genre, mechanic, theme,
setting, mood). No paid tool needed to start; store search suggestions are a free signal.
2. Put the best 1-2 in name / title and subtitle / short description; the rest in the keyword field per locale.
3. `storebound check --aso`, fix errors, read warnings.
4. Push with `apple listing` / `play listing`; measure after a few weeks (App Store Connect / Play Console acquisition
by search term) and change a few terms per release, not all at once.

View file

@ -0,0 +1,41 @@
---
name: export-compliance
description: Answer App Store export compliance (encryption) for a mobile game correctly - ITSAppUsesNonExemptEncryption in Info.plist, the per-build usesNonExemptEncryption answer and encryption declarations through the App Store Connect API (storebound apple encryption), French declaration, and what counts as exempt. Use when a build shows "Missing Compliance", App Store Connect asks about encryption, or before the first TestFlight / App Store upload.
---
# Export compliance (App Store)
Every build needs an answer to "does the app use non-exempt encryption". Without it the build waits in "Missing
Compliance" and cannot go to TestFlight testers or review. The answer is a legal statement under US export rules:
**never declare exempt to get past the question**. When the code does not prove the answer, ask the owner.
## Decide
Usually exempt (answer `false`), when the game only uses encryption through the OS or standard protocols:
- HTTPS / TLS through URLSession, WKWebView, the engine's HTTP client using the system TLS
- Apple frameworks (Keychain, CryptoKit used only for authentication / integrity), StoreKit, Game Center
- Ad, analytics, crash SDKs that talk HTTPS
Not exempt or needs a closer look (answer `true`, then a declaration / documents):
- Your own or a bundled crypto library used for something beyond authentication (e.g. encrypting user content,
custom VPN, end-to-end chat encryption)
- Proprietary or non-standard algorithms
Apple's "Complying with Encryption Export Regulations" page and the questions in App Store Connect are the reference.
## Set it once
1. Put the answer in the config: `apple.usesNonExemptEncryption: false` (or `true`) in `storebound.config.ts`.
storebound refuses to answer while it is unset.
2. Put the same answer in Info.plist so every new build arrives answered:
`ITSAppUsesNonExemptEncryption` = `NO` (Boolean). For `true` also `ITSEncryptionExportComplianceCode` once you
have an approved declaration's code.
3. Builds already uploaded without the key: `storebound apple encryption --dry`, then `storebound apple encryption`
(sets the answer on every unanswered build, or `--build N`).
4. `true`: create the encryption declaration in App Store Connect > App Information > App Encryption Documentation
(upload the documents it asks for, including the French declaration when distributing in France). After it is
APPROVED, `storebound apple encryption` links it to the builds. storebound never creates a declaration or claims
an exemption on its own.
5. Check: `storebound validate --apple` shows "export compliance answered".
## Gotchas
- Answering once in the UI only covers that build; the Info.plist key covers all future builds.
- Changing an SDK (e.g. adding an end-to-end encrypted chat) can change the answer: re-check on every new SDK.
- Play has no equivalent question; this is App Store only.

View file

@ -5,7 +5,8 @@ description: Step-by-step first (and later) Google Play release of a mobile game
# Google Play: first release # Google Play: first release
The CLI is `storebound` (on PATH while this plugin is enabled; otherwise `bun ${CLAUDE_PLUGIN_ROOT}/cli/index.ts`). The CLI is `storebound` (on PATH while the plugin is enabled; otherwise `bunx storebound` in a project that has it,
or `bun <toolchain>/cli/index.ts`; agents can also use the `storebound mcp` tools).
It reads `storebound.config.ts` in the project (create with `storebound init`) and credentials from env or It reads `storebound.config.ts` in the project (create with `storebound init`) and credentials from env or
`.storebound/credentials.json` (gitignored). Every write command has `--dry`. Run `storebound check` first. `.storebound/credentials.json` (gitignored). Every write command has `--dry`. Run `storebound check` first.
@ -25,7 +26,8 @@ deleting products. Sending a first release for review is the owner's action in t
-alias upload -keyalg RSA -keysize 4096 -validity 10950`), keep keystore + passwords out of git and back them up -alias upload -keyalg RSA -keysize 4096 -validity 10950`), keep keystore + passwords out of git and back them up
(encrypted, two places). Play App Signing holds the real app key; a lost upload key can be reset via the Console. (encrypted, two places). Play App Signing holds the real app key; a lost upload key can be reset via the Console.
Check the AAB signer before uploading: `keytool -printcert -jarfile app-release.aab`. Check the AAB signer before uploading: `keytool -printcert -jarfile app-release.aab`.
4. **Local · Version.** versionName (e.g. 1.0.0) and a versionCode that always increases. Capacitor: set them in 4. **Local · Version.** versionName (e.g. 1.0.0) and a versionCode that always increases
(`storebound play next-version-code` prints the next free one; use exactly that code in later steps). Capacitor: set them in
`android/app/build.gradle` (or env-driven) before `./gradlew bundleRelease`. `android/app/build.gradle` (or env-driven) before `./gradlew bundleRelease`.
5. **UI or API · First upload.** The very first AAB may need the Console (Testing > Internal testing > Create new 5. **UI or API · First upload.** The very first AAB may need the Console (Testing > Internal testing > Create new
release) so Play links the package name; after that: `storebound play release app-release.aab` (internal, completed). release) so Play links the package name; after that: `storebound play release app-release.aab` (internal, completed).
@ -44,11 +46,13 @@ deleting products. Sending a first release for review is the owner's action in t
12. **API + UI · Production.** `storebound play release --version-code N --production draft`, then in the Console: 12. **API + UI · Production.** `storebound play release --version-code N --production draft`, then in the Console:
Production > Countries/regions > Add countries > select all > Save; Production > the draft release > Edit > Production > Countries/regions > Add countries > select all > Save; Production > the draft release > Edit >
Next > Save; Publishing overview > **Send changes for review** (owner). Next > Save; Publishing overview > **Send changes for review** (owner).
13. **Verify.** `storebound play status` (tracks, listings, products), Console dashboard has no open tasks, 13. **Verify.** `storebound validate --play` (no blockers), `storebound play status` (tracks, listings, products), Console dashboard has no open tasks,
Publishing overview shows "In review". Publishing overview shows "In review".
## Gotchas ## Gotchas
- Updates after the first release: staged rollout with `release-management` (`play rollout`).
- **Draft app**: until the first release is reviewed, the API only accepts `status: draft` ("Only releases with - **Draft app**: until the first release is reviewed, the API only accepts `status: draft` ("Only releases with
status draft may be created on draft app"). Create the production draft via API, finish in the Console (step 12). status draft may be created on draft app"). Create the production draft via API, finish in the Console (step 12).
- **"A change was made to the application outside of this Edit"**: any Console save or other edit commit invalidates - **"A change was made to the application outside of this Edit"**: any Console save or other edit commit invalidates

View file

@ -0,0 +1,41 @@
---
name: portfolio-originality
description: Originality gate for studios that ship many similar mobile games - score a planned or finished game against the studio's own catalogue (mechanic, content, art, metadata, screenshots), require a clear differentiator, and suggest merging thin ideas, to avoid App Store Guideline 4.3 (spam) and Play repetitive content rejections. Use before starting a new game, before submitting one, or after a 4.3 / "repetitive content" rejection.
---
# Portfolio originality (Guideline 4.3 gate)
Apple 4.3 and Play's repetitive content policy reject apps that are near-copies of other apps, **including your own**.
Studios with a template engine hit this first. Run this gate twice: before building (idea stage) and before submitting.
## Inputs
- The new game: one-paragraph pitch, core loop, controls, progression, art direction, the planned listing (name,
subtitle, short description, keywords, screenshot captions).
- The catalogue: the same for every game the studio has published or submitted (store links are fine).
## Score each pair (new game vs each catalogue game), 0 = identical, 2 = clearly different
| axis | 0 | 1 | 2 |
|---|---|---|---|
| core mechanic | same verb, same rules | same verb, new rule that changes decisions | different verb / goal |
| content | same levels / items reskinned | new content, same structure | different structure (modes, progression) |
| art and audio | same assets / palette / UI kit | same kit, new theme | own visual identity |
| metadata | same description pattern / keywords | rewritten, same promises | different promise and audience |
| screenshots | same layout and captions | same layout, new captions | different scenes and message |
Total 0-10 per pair. **Below 6 against any catalogue game: stop.** 6-7: ship only with a differentiator a player can
see in the first screenshot. 8+: fine.
## Differentiator test
Write one sentence: "Unlike <our other game>, in <new game> the player <does something they cannot do there>."
If the sentence needs the words "theme", "skin", "colours" or "levels" to work, it is not a differentiator.
## When the score is low
- **Merge** the idea into the existing game as a mode, world or event instead of a new app.
- **Deepen** one axis until it scores 2 (usually mechanic or progression), not five axes a little.
- Never vary only the name, icon and keywords: reviewers compare binaries and screenshots, and that is the pattern
4.3 describes.
- After a 4.3 rejection: list the concrete differences in the reply (`review-rejections`); if there are none, merge.
## Output for the owner
A table per catalogue game with the five scores, the total, the differentiator sentence, and a recommendation:
ship / ship after <change> / merge into <game>.

View file

@ -0,0 +1,42 @@
---
name: privacy-manifest
description: Add and check Apple privacy manifests (PrivacyInfo.xcprivacy) for an iOS game - required-reason API categories (UserDefaults, file timestamps, system boot time, disk space, active keyboards) with approved reason codes, tracking flag and domains, collected data types, and third-party SDK manifests (ad networks, analytics, Firebase, Unity, Capacitor plugins). Use when App Store Connect sends ITMS-91053 "Missing API declaration" or ITMS-91061 "Missing privacy manifest", or before submitting an iOS build.
---
# Privacy manifest (iOS)
Scan: `storebound privacy-manifest --ios ios/App` (local, no credentials). Capacitor / Cordova plugins live outside
the iOS folder: add `--sdk-dirs node_modules/@capacitor,node_modules/<plugin>`. Exit 1 when something blocks upload.
## What Apple checks at upload
- **ITMS-91053 Missing API declaration**: the binary uses a required-reason API and no manifest in the app or in the
SDK that calls it declares the category with a reason.
- **ITMS-91061 Missing privacy manifest**: an SDK from Apple's list of commonly used SDKs (Firebase, Google utilities,
Alamofire, OneSignal, Unity framework, Capacitor, Flutter ...) is linked without its own manifest (and signature for
binary SDKs). Fix by updating the SDK, not by declaring it in your app's manifest.
## Steps
1. Xcode > File > New > File > App Privacy (PrivacyInfo.xcprivacy), target = the app.
2. Run the scan. For each used category add `NSPrivacyAccessedAPITypes` > item with `NSPrivacyAccessedAPIType` and
`NSPrivacyAccessedAPITypeReasons`. Typical for games:
- `NSPrivacyAccessedAPICategoryUserDefaults` + `CA92.1` (settings / saves read and written by the app itself;
Capacitor Preferences and most engines use UserDefaults)
- `NSPrivacyAccessedAPICategoryFileTimestamp` + `C617.1` (timestamps of files in the app container)
- `NSPrivacyAccessedAPICategorySystemBootTime` + `35F9.1` (elapsed time between events)
- `NSPrivacyAccessedAPICategoryDiskSpace` + `E174.1` (check space before writing)
Pick the reason that is true; read Apple's reason list ("Describing use of required reason API") if unsure.
3. Tracking: `NSPrivacyTracking` true only if the game tracks (ad SDK with IDFA after ATT); then list
`NSPrivacyTrackingDomains` the SDK docs name. Keep it consistent with App Privacy "used for tracking" and the ATT
prompt (`store-declarations`).
4. `NSPrivacyCollectedDataTypes`: what the app itself collects; SDK manifests cover their own collection. Xcode's
Privacy Report (Product > Archive > Generate Privacy Report) merges all manifests; compare it with App Privacy.
5. SDKs flagged "ships no PrivacyInfo.xcprivacy": update to a version that has one (ad networks and mediation
adapters added manifests in 2024 releases; see `ads-levelplay-checks` for adapter / SDK version pairs).
6. Re-run the scan, archive, upload; Apple's email lists any remaining ITMS-910xx issue per framework.
## Gotchas
- The scan is a text search: it can miss calls inside binary frameworks (their manifest must cover them) and flag a
harmless symbol name; confirm before adding a category you do not use.
- A manifest must be in the **app target's** Copy Bundle Resources, not only in the project.
- Static libraries cannot carry a manifest bundle by themselves; the vendor ships a resource bundle or you merge their
declarations into the app's manifest as their docs say.

View file

@ -1,11 +1,11 @@
--- ---
name: privacy-policy name: privacy-policy
description: Write and host one studio-wide privacy policy page for all of a developer's mobile games, with a per-game services table (analytics, ads, server, purchases), children, retention and contact sections, linked from both store listings and inside each game. Use when the user needs a privacy policy, privacy URL for Google Play / App Store, or must update the policy after adding an SDK. description: Write and host one studio-wide privacy policy page for all of a developer's mobile games - a per-game services table (analytics, ads, server, purchases), children, retention and contact sections, linked from both store listings and inside each game. Use when the user needs a privacy policy, privacy URL for Google Play / App Store, or must update the policy after adding an SDK.
--- ---
# Studio-wide privacy policy # Studio-wide privacy policy
Template: `store/privacy-policy.html` (from `storebound init`, or `${CLAUDE_PLUGIN_ROOT}/templates/privacy-policy.html`). Template: `store/privacy-policy.html` (from `storebound init`, or `templates/privacy-policy.html` in the toolchain).
A single static page, light/dark, mobile friendly, English + a second language section. A single static page, light/dark, mobile friendly, English + a second language section.
## Steps ## Steps

View file

@ -0,0 +1,50 @@
---
name: release-management
description: Ship updates safely after the first release - App Store phased release (on, pause, resume, complete) with manual release by default, Google Play staged rollout (fraction, halt, resume, complete), waiting for review, picking build numbers, and what to do when a release goes wrong (pausing is not a rollback). Use when the user releases an update, wants a gradual rollout, needs to stop a bad release, or asks how long review takes.
---
# Release management (updates on both stores)
CLI: `storebound` (on PATH as a plugin; or `bunx storebound` / `bun <toolchain>/cli/index.ts`). Rules: the owner
presses release; you prepare, dry-run and report. `storebound mcp` deliberately offers only "phased on" and "pause".
## Defaults
- **App Store**: release type **manual** (storebound sets `MANUAL` on every version it touches) and **phased release
on**. Never choose "reset ratings" when releasing an update (storebound never sets it); only an owner who really
wants the rating summary wiped does that in the UI.
- **Play**: production updates as a **staged rollout** starting at 5-10 %.
## App Store
1. Build numbers: `storebound apple next-build` before archiving, then attach exactly that build:
`storebound apple listing --version 1.3.0 --build <that number>`. Never pick "the latest build": a CI or a
teammate may have uploaded another one meanwhile.
2. `storebound apple release --phased on --dry`, then without `--dry` (works while the version is being prepared).
3. Submit (owner, UI). Wait: `storebound apple status --wait-review` (polls with backoff, exit 0 approved, 1 rejected,
7 timeout; `--timeout 72h`). Rejected: `review-rejections` skill.
4. Approved = PENDING_DEVELOPER_RELEASE. Owner releases: `storebound apple release --manual-release` (asks to confirm)
or the "Release This Version" button. With phased release on, automatic updates reach 1 %, 2 %, 5 %, 10 %, 20 %,
50 %, 100 % over 7 days; anyone can still update manually from the store.
5. During the rollout watch crashes / reviews. Problem: `storebound apple release --phased pause` (up to 30 days in
total). Pausing stops automatic updates only; it is **not a rollback**: users who updated keep the build, and new
users still get the new version. The fix is a new build (expedited review is possible for critical bugs).
6. All good early: `storebound apple release --phased resume` / `--phased complete` (owner; asks to confirm).
## Google Play
1. `storebound play next-version-code` before building; the versionCode must be higher than every uploaded one.
2. Upload and start the rollout (owner confirms): `storebound play release app.aab --production inProgress --fraction 0.05`.
Draft apps cannot do this until the first release is reviewed (`play-first-release`).
3. Increase: `storebound play rollout --fraction 0.2` (then 0.5, ...). Play never lowers a fraction.
4. Problem: `storebound play rollout --halt` (no confirmation needed; stops new installs of the update). Like Apple's
pause it is **not a rollback**: updated users keep it. Ship a fixed build with a higher versionCode; resume with
`--resume [--fraction x]` only if the halted build is fine after all.
5. Done: `storebound play rollout --complete` (100 %).
6. Every rollout command runs in an edit: a Console save at the same time makes it retry once.
## Review wait
- Apple: most reviews finish within a day or two; holidays and big OS launches are slower. Expedited review is for
critical fixes, not deadlines.
- Play: updates usually take hours to a few days; new apps and policy-sensitive changes longer.
- Do not resubmit or cancel to "jump the queue": it puts you at the back.
## Release notes
`whats-new` skill (`storebound whats-new`), then `apple listing` / `play release` push them.

View file

@ -0,0 +1,69 @@
---
name: review-rejections
description: Triage and answer an App Store or Google Play rejection, policy warning or strike for a mobile game - decide fix / clarify / push back / appeal, write a short Resolution Center reply, and map the message to the usual guidelines (Apple 2.1, 2.3, 3.1.1, 4.2, 4.3, 5.1.1, 5.1.2, privacy label mismatch; Play Data safety mismatch, disruptive ads, Families, strikes and appeals). Use when the user pastes a rejection or policy email, an update is "Rejected" / "Metadata Rejected", or Play Console shows a policy issue.
---
# Review rejections and policy issues
Read the full message first (App Store Connect > the app > App Review > the submission; Play Console > Policy status /
Inbox). Quote the guideline number and the reviewer's exact sentence back to the owner before proposing anything.
Never suggest hiding behaviour from reviewers, different builds for review, fake accounts or other manipulative tactics:
they turn a rejection into an account termination.
## 1. Triage (pick one, say why)
| route | when | what you do |
|---|---|---|
| **Fix** | the reviewer is right (crash, missing restore button, wrong label) | change the game / metadata, resubmit, reply what changed |
| **Clarify** | the feature exists but the reviewer did not find it, or misread it | reply with exact steps / a video link; no new build if nothing changed |
| **Push back** | the guideline does not apply, with a concrete reason | short factual reply quoting the guideline text; offer a call |
| **Appeal** | a clarification was rejected and you still believe it complies | Apple: App Review Board appeal form; Play: the appeal form linked from the notice |
Start with Fix or Clarify; Push back only with evidence; Appeal last. Always ask the owner before sending anything.
## 2. Reply template (Resolution Center / appeal, under 200 words)
```
Hello, thank you for the review.
Regarding Guideline <n> (<reviewer's point in one line>):
<What we changed in build <number>> | <Where the feature is: Home > Settings > Restore Purchases>
<One sentence of evidence: screenshot / video link, or the guideline sentence that applies>
<If a new build:> Build <number> is attached to this submission.
Happy to clarify anything else.
```
Plain, polite, specific; one guideline per paragraph; no blame, no threats, no "other apps do it".
## 3. Apple guidelines games hit most
- **2.1 App completeness**: crash on launch / during review (check the crash log in the message, test the review
device class and OS), placeholder text or art, broken links, IAPs not working in the sandbox (Paid Apps agreement
active? products READY_TO_SUBMIT and in the same submission?), features behind a login without a demo account.
- **2.3 Accurate metadata**: screenshots must show the real game; no prices, no "free" claims for paid items, no other
platforms' UI; keywords without competitor names; age rating answers that match the content.
- **3.1.1 In-app purchase**: digital goods only through IAP; a visible **Restore Purchases** for non-consumables;
no links to outside payment; loot boxes must show odds.
- **4.2 Minimum functionality**: a thin game (one screen, a tutorial-level loop) or a web wrapper. Add depth: levels,
progression, offline play, native feel. Explain what the player does in the notes.
- **4.3 Spam**: too similar to your own or others' apps (same template, reskins). See `portfolio-originality`; merge
ideas instead of shipping near-duplicates. Hard to appeal without real differences.
- **5.1.1 Data collection**: privacy policy link in the listing **and inside the game**; only collect what you need;
account deletion in-app if you have accounts.
- **5.1.2 Data use / ATT**: the App Tracking Transparency prompt before any tracking SDK reads the IDFA, a purpose string
that says why, no incentive or pressure to allow, no tracking when denied.
- **Privacy label mismatch**: App Privacy must match what the SDKs really collect (ads / analytics SDK docs list it).
Update the label in App Store Connect (UI) and Publish; no new build needed for label-only fixes.
## 4. Google Play
- **Data safety mismatch**: Play scans the SDKs in your AAB. Fix the form (`storebound play data-safety`) to include
what the SDKs collect, or remove the SDK; then resubmit from Publishing overview.
- **Ads policy / disruptive ads**: no interstitials at launch, on exit or mid-gameplay; close buttons visible; rewarded
ads only opt-in. Ads must not imitate system UI.
- **Families**: if the target audience includes children, only Families-certified ad SDKs, no ad id, teacher-approved
rules. If the game is not for children, make sure store art and the target audience form say so.
- **Metadata**: no keyword stuffing, no "best/#1", no unrelated keywords (`aso-basics`).
- **Strikes and suspensions**: one policy strike affects the account; repeated strikes can terminate it. Fix first,
then appeal from the notice with the change described. Do not upload the same app under a new package to dodge it.
- **Rejected updates**: the previous version stays live; fix and send changes for review again.
## 5. After sending
- `storebound apple status --wait-review` (exit 0 approved, 1 rejected, 7 timeout) or `storebound play status`.
- Write down guideline, cause and fix in the project's docs so the next game does not repeat it.

View file

@ -7,7 +7,7 @@ description: Answer the store compliance forms for a mobile game - Google Play D
Templates: `store/declarations.md` (Play App content + IARC answers), `store/app-privacy.md` (Apple labels), both Templates: `store/declarations.md` (Play App content + IARC answers), `store/app-privacy.md` (Apple labels), both
from `storebound init`. Data safety answers live in `dataSafety` of `storebound.config.ts`. from `storebound init`. Data safety answers live in `dataSafety` of `storebound.config.ts`.
CLI: `storebound` (or `bun ${CLAUDE_PLUGIN_ROOT}/cli/index.ts`). CLI: `storebound` (or `bunx storebound` in a project that has it, or `bun <toolchain>/cli/index.ts`).
## Order ## Order
1. **Inventory first.** List every SDK and server call: what leaves the device, who receives it, can the player turn 1. **Inventory first.** List every SDK and server call: what leaves the device, who receives it, can the player turn
@ -22,7 +22,8 @@ CLI: `storebound` (or `bun ${CLAUDE_PLUGIN_ROOT}/cli/index.ts`).
4. **Apple age rating (API).** `storebound apple appinfo` (all NONE except your overrides, e.g. `advertising: true`). 4. **Apple age rating (API).** `storebound apple appinfo` (all NONE except your overrides, e.g. `advertising: true`).
5. **Apple App Privacy (UI only).** App Store Connect > the app > App Privacy > Get Started / Edit, from 5. **Apple App Privacy (UI only).** App Store Connect > the app > App Privacy > Get Started / Edit, from
`store/app-privacy.md`; per data type: purposes > linked to identity > used for tracking. Then **Publish**. `store/app-privacy.md`; per data type: purposes > linked to identity > used for tracking. Then **Publish**.
6. **Export compliance.** `ITSAppUsesNonExemptEncryption = NO` in Info.plist (standard HTTPS only). 6. **Export compliance.** `export-compliance` skill (`ITSAppUsesNonExemptEncryption` in Info.plist, `apple encryption`).
7. **Privacy manifest (iOS).** `privacy-manifest` skill; keep it consistent with App Privacy.
## Typical F2P game with ads + IAP (no accounts) ## Typical F2P game with ads + IAP (no accounts)
Data safety: approximate location (IP country; shared, analytics + ads + fraud), app interactions (shared, analytics + Data safety: approximate location (IP country; shared, analytics + ads + fraud), app interactions (shared, analytics +

View file

@ -5,9 +5,9 @@ description: Create and price in-app purchases (consumables, non-consumables lik
# In-app purchases on both stores # In-app purchases on both stores
CLI: `storebound` (or `bun ${CLAUDE_PLUGIN_ROOT}/cli/index.ts`). One list in `storebound.config.ts` `products[]` drives CLI: `storebound` (or `bunx storebound` in a project that has it, or `bun <toolchain>/cli/index.ts`). One list in `storebound.config.ts` `products[]` drives
both stores: `id` (same on both), `type` (consumable | non_consumable), `usd` base price, optional `overrides` both stores: `id` (same on both), `type` (consumable | non_consumable), `usd` base price, optional `overrides`
(`{ region: 'TR', currency: 'TRY', price: 99.99 }`), `listings` per language (title <= 30, description <= 55 for (`{ region: 'TR', currency: 'TRY', price: 99.99 }`), `listings` per language (title <= 30, description <= 45 for
Apple), `reviewScreenshot`. Apple), `reviewScreenshot`.
## Prerequisites ## Prerequisites
@ -44,8 +44,13 @@ Apple), `reviewScreenshot`.
- Apple: first IAPs must ship with an app version ("FIRST_*_MUST_BE_SUBMITTED_ON_VERSION" from - Apple: first IAPs must ship with an app version ("FIRST_*_MUST_BE_SUBMITTED_ON_VERSION" from
inAppPurchaseSubmissions). If the version is already in review without them: cancel the review submission inAppPurchaseSubmissions). If the version is already in review without them: cancel the review submission
(`storebound apple status --cancel-submission <id>`, ask the owner), re-add via "Add for Review", resubmit. (`storebound apple status --cancel-submission <id>`, ask the owner), re-add via "Add for Review", resubmit.
- Reported, **verify** before relying on it: App Store Connect API 4.4.1 manages IAPs as versions
(`inAppPurchaseVersions`) and its release notes say a review submission item can take an `inAppPurchaseVersion`.
That should let **later** IAP versions be added to `reviewSubmissions` through the API; the **first** attachment of
a new app's first IAPs still needed the UI "Add for Review" in our runs. storebound does not automate either yet.
- Apple needs an exact existing price point for each manual price; the error lists the nearest ones. - Apple needs an exact existing price point for each manual price; the error lists the nearest ones.
- Apple IAP description max 55 characters, display name max 30. - Apple IAP display name 2-30 characters, description max **45** (App Store Connect Help > Reference > "In-app
purchase information"; an older App Store marketing page says 55, but App Store Connect enforces 45).
- Product ids can never be reused after deletion on either store. Never delete without the owner. - Product ids can never be reused after deletion on either store. Never delete without the owner.
- Do not put prices or product names in store descriptions; say "offers optional in-app purchases". - Do not put prices or product names in store descriptions; say "offers optional in-app purchases".
- If the game ships without real billing yet, hide every purchase surface in store builds (review rejects mock - If the game ships without real billing yet, hide every purchase surface in store builds (review rejects mock

View file

@ -0,0 +1,42 @@
---
name: store-preflight
description: Run and read the storebound readiness checks before submitting a mobile game - `storebound check` (offline config, copy limits, files), `storebound check --aso`, `storebound validate` (read-only App Store Connect + Google Play report with ordered blockers) and `storebound privacy-manifest`. Use before every submission, when the user asks "is my app ready to submit", or after changing listings, builds, IAPs or SDKs.
---
# Store preflight
CLI: `storebound` (or the MCP tools `check`, `check_aso`, `validate`, `privacy_manifest`). All four are read-only on
the stores; run them freely.
## Order
1. `storebound check`: config, both listing files (limits are checked locally: title 30, subtitle 30, keywords 100
bytes, Play short 80, notes 500 ...), screenshot copy, Data safety answers, IAP texts (Apple description 45),
files the config points at, `.storebound/` gitignored. Fix everything it lists; it exits 1 on problems.
2. `storebound check --aso`: keyword field use, repeats, stuffing (`aso-basics`). Errors exit 1, warnings are advice.
3. `storebound privacy-manifest --ios ios/App` (iOS): app manifest, required-reason APIs, SDKs without manifests
(`privacy-manifest` skill).
4. `storebound validate` (or `--apple` / `--play`): talks to both APIs read-only and prints findings in fix order.
Exit 1 while there is a blocker. `--json` for scripts.
## Reading `validate`
Each line: number, level (`BLOCKER`, `warn`, `ok`), store, message, and a `fix:` with the command or skill.
| finding | means | fix |
|---|---|---|
| no build attached / build PROCESSING | the version has no usable binary | wait for VALID, then `apple listing --version x --build N` (explicit number) |
| export compliance not answered | the build has no encryption answer | `export-compliance` skill |
| `<locale>`: missing description / keywords / subtitle | text not pushed for a locale | edit `store/appstore.md`, `apple listing` |
| no APP_IPHONE_67 screenshots | 6.9" set missing (required) | `apple screenshots`; iPad apps add the 13" type to `apple.screenshotTypes` |
| review contact missing | App Review information incomplete | `apple review-details` |
| age rating unanswered | new questions Apple added | `apple appinfo` |
| no app price schedule / availability | pricing never set | `apple appinfo`; if the API refuses the first availability record, set it once in App Store Connect > Pricing and Availability |
| IAP MISSING_METADATA / no review screenshot | product incomplete | `apple iap`, `apple iap-review` |
| privacy policy HTTP 404 / unreachable | URL broken | `privacy-policy` skill |
| Play `<lang>`: phoneScreenshots 1/2 | graphics missing | `shots render`, `play images` |
| app-ads.txt lacks lines / 404 | ad networks cannot verify you | `ads-levelplay-checks`; the file lives at the root of the developer website |
| no release on any track | nothing uploaded | `play release <aab>` |
| product purchase option DRAFT | not active | `play products` |
## What validate cannot see (UI-only, check by hand)
App Privacy labels published, Play App content declarations (ads, target audience, content rating, advertising ID),
agreements / tax / banking, TestFlight groups, countries for production on Play. Tell the owner which are still open.

View file

@ -5,7 +5,7 @@ description: Produce store screenshots and the Play feature graphic for a mobile
# Store screenshots # Store screenshots
CLI: `storebound` (or `bun ${CLAUDE_PLUGIN_ROOT}/cli/index.ts`). Needs `ffmpeg`, and `playwright` in the project CLI: `storebound` (or `bunx storebound` in a project that has it, or `bun <toolchain>/cli/index.ts`). Needs `ffmpeg`, and `playwright` in the project
(`bun add -d playwright`; it uses Playwright's Chromium or an installed Google Chrome). (`bun add -d playwright`; it uses Playwright's Chromium or an installed Google Chrome).
## Sizes (what each store wants) ## Sizes (what each store wants)

33
skills/whats-new/SKILL.md Normal file
View file

@ -0,0 +1,33 @@
---
name: whats-new
description: Write player-facing release notes ("What's new") for a mobile game update from the git log since the last tag - hook in the first line, plain player language, localized into every listing language, within store limits (Google Play 500, App Store 4000 characters). Use when preparing an update, when the user asks for release notes / changelog for the stores, or before play release / apple listing for a new version.
---
# What's new (release notes)
CLI: `storebound whats-new [--since v1.2.0] [--dry]`. It reads `git log <tag>..HEAD`, drops housekeeping commits
(chore, ci, docs, refactor, test, merges, version bumps), turns `feat:` / `fix:` / `perf:` subjects into bullets and
writes a draft into the default language of `store/listing.md` (Play "What's new") and `store/appstore.md`
(`whatsNew`). Nothing is sent to a store. `--all` writes the draft into every language as a starting point for
translation; `storebound check` warns while a translation is still identical to the source.
## Write it for players
1. Run `storebound whats-new --dry`, read the draft with the owner.
2. Rewrite:
- **First line = hook** (the stores show roughly the first 170 characters before "more"): the most exciting
change in player words ("New: 20 desert levels and a daily challenge!").
- Then 2-5 bullets, most visible first. Player words, not code words: "Levels load faster" not "refactor asset
loader"; never internal ids, branch names or ticket numbers.
- Fixes in one line unless a fix was a known player complaint.
- No promises of future features, no prices, no other platforms.
3. Translate into **every listing language** (natural tone, the game's own terms, same meaning; not word by word).
Arabic stays RTL; keep numbers and product names as they are.
4. Limits: Google Play **500** characters per language, App Store **4000**; `storebound check` enforces both. A first
App Store version has no "What's new" (storebound leaves it empty there).
5. Push: `storebound play release ...` uses the Play notes; `storebound apple listing --version x --build N` the
App Store ones.
## Gotchas
- Squash-merged repos: the PR titles are the subjects; keep them in conventional form (`feat: ...`) to get clean drafts.
- Commits marked `[skip notes]` or `[internal]` are left out.
- Release notes are public: nothing about cheats, exploits, unreleased content or private names.