README rewrite: showcase, quick start, automatic vs manual, commands, safety model, FAQ, roadmap; CONTRIBUTING and SECURITY
This commit is contained in:
parent
045c45e3fc
commit
a1910a00bb
3 changed files with 326 additions and 131 deletions
37
CONTRIBUTING.md
Normal file
37
CONTRIBUTING.md
Normal file
|
|
@ -0,0 +1,37 @@
|
||||||
|
# Contributing
|
||||||
|
|
||||||
|
Thanks for wanting to help. storebound is my own toolchain that I open-sourced, so it stays small and opinionated,
|
||||||
|
but fixes, store rule updates and new engines / AI tools are very welcome.
|
||||||
|
|
||||||
|
## Setup
|
||||||
|
|
||||||
|
```sh
|
||||||
|
bun install # Bun 1.1+; playwright is a dev dependency (renders, web capture)
|
||||||
|
bun run ci # adapters fresh, tests, typecheck, secrets / personal data scrub
|
||||||
|
```
|
||||||
|
|
||||||
|
Try the screenshot and video pipeline on the demo game without any store account: see
|
||||||
|
[examples/demo-game/README.md](examples/demo-game/README.md).
|
||||||
|
|
||||||
|
## Rules of the house
|
||||||
|
|
||||||
|
- **Bun + TypeScript strict, zero runtime dependencies.** `fetch` against the official store APIs, `node:` built-ins,
|
||||||
|
external tools (`ffmpeg`, `xcrun`, `adb`) only through argv builders. Playwright is resolved from the user's project.
|
||||||
|
- **Pure where possible.** Rules, argv builders, plans and parsers are pure functions with tests in `tests/`; the IO
|
||||||
|
stays in the command's `run`. Tests never need a store account, a simulator or a network.
|
||||||
|
- **Every write command takes `--dry`** and is idempotent. New MCP write tools default to `dry_run: true`. Nothing
|
||||||
|
public or irreversible (submit, release, rollout resume / complete, cancel, delete) goes into MCP.
|
||||||
|
- **Store facts need a source.** When you change a size, limit or rule, cite the official page in the code comment
|
||||||
|
and the skill (Apple Developer / App Store Connect Help, Play Console Help, API references) with the date you
|
||||||
|
checked it.
|
||||||
|
- **Skills are the single source.** Edit `skills/*/SKILL.md` or `docs/agents-core.md`, then run
|
||||||
|
`bun tools/gen-adapters.ts`; never edit `AGENTS.md`, `GEMINI.md`, the plugin manifests or the Cursor / Copilot files
|
||||||
|
by hand. Frontmatter is `name` + `description` only.
|
||||||
|
- **No secrets, no real ids, no personal data** in code, tests, fixtures or examples: use `com.example.*`,
|
||||||
|
`example.com` and obviously fake values. `bun run ci` runs the scrub.
|
||||||
|
- Plain English in docs and messages, short sentences, no marketing words.
|
||||||
|
|
||||||
|
## Pull requests
|
||||||
|
|
||||||
|
One topic per PR, `bun run ci` green, a line in `CHANGELOG.md` under an "Unreleased" heading, and for anything
|
||||||
|
that talks to a store: how you verified it (`--dry` output, a test app, or "not verified" said plainly).
|
||||||
393
README.md
393
README.md
|
|
@ -1,48 +1,101 @@
|
||||||
# storebound
|
# storebound
|
||||||
|
|
||||||
Hey. This is my toolchain for shipping mobile games to Google Play and the App Store. I built it while getting my
|
[](LICENSE)
|
||||||
own game through both stores, hit every wall on the way (draft apps, edits that die when you touch the Console,
|
[](CHANGELOG.md)
|
||||||
the "first IAP must ship with a version" dance, data safety CSVs that silently need one more question...), and wrote
|
[](https://bun.sh)
|
||||||
each fix down as code or as a checklist. It works for me, so I open-sourced it. Friends, use it too.
|
[](package.json)
|
||||||
|
[](skills)
|
||||||
|
[](#mcp-server)
|
||||||
|
|
||||||
It is not a product. No dashboard, no account, no telemetry. A small Bun CLI that talks to the official store APIs,
|
Hey, I'm CRTkafa. This is my toolchain for shipping mobile games to Google Play and the App Store. I built it while
|
||||||
plus Agent Skills that walk you (or your AI coding tool, whichever it is) through the parts that are still clicks in a
|
getting my own game through both stores, hit every wall on the way (draft apps, edits that die when you touch the
|
||||||
web console, and an MCP server so agents can call the CLI safely.
|
Console, the "first IAP must ship with a version" dance, data safety CSVs that silently need one more answer,
|
||||||
|
screenshots in 7 sizes x 14 languages...) and wrote each fix down as code or as a checklist. It works for me, so I
|
||||||
|
open-sourced it. Use it too.
|
||||||
|
|
||||||
· CRTkafa
|
It is not a product: no dashboard, no account, no telemetry. A small Bun CLI that talks to the official store APIs,
|
||||||
|
Agent Skills that walk you (or your AI coding tool, whichever it is) through the parts that are still clicks, and an
|
||||||
|
MCP server so agents can call the CLI safely.
|
||||||
|
|
||||||
## What is in the box
|
## Showcase
|
||||||
|
|
||||||
- **`storebound` CLI** (Bun + TypeScript, zero runtime dependencies): store listings, in-app products with regional
|
Everything below was made by storebound itself from [a tiny demo game](examples/demo-game) ("Prism Puddle",
|
||||||
prices, Play Data safety, AAB releases and staged rollouts, App Store versions / screenshots / age rating / review
|
fictional, procedural art): raw frames captured from the web build, captions in 4 languages, every store size,
|
||||||
details / phased release / export compliance, readiness reports for both stores, release notes from git, ASO and
|
a review gallery and an app preview video. No store account needed to try it.
|
||||||
privacy manifest checks, icons from one artwork, and a screenshot renderer (captioned scenes, device frames, 14+
|
|
||||||
languages incl. RTL and CJK).
|
|
||||||
- **Agent Skills** (`skills/<name>/SKILL.md`, the open format Claude Code, Codex, Gemini CLI, Cursor, Copilot,
|
|
||||||
Windsurf, OpenCode and others read): ordered steps for each job, which steps are API and which are UI-only (with the
|
|
||||||
exact console navigation), the gotchas, and how to verify.
|
|
||||||
- **MCP server** (`storebound mcp`): the CLI as tools for any MCP-capable AI tool, dry run by default.
|
|
||||||
- **Templates**: config, listing copy, screenshot copy, Data safety CSV, App Privacy answers, Play declarations,
|
|
||||||
a studio-wide privacy policy page.
|
|
||||||
|
|
||||||
It is not tied to one AI tool. The skills are plain Markdown, the CLI is a normal command, and one generator
|

|
||||||
(`tools/gen-adapters.ts`) writes the small adapter files each tool wants from the same sources.
|
|
||||||
|
|
||||||
## Install
|
| Play feature graphic | App preview (App Store, 886 x 1920) |
|
||||||
|
|---|---|
|
||||||
|
|  |  |
|
||||||
|
|
||||||
The CLI in your game repo (needs [Bun](https://bun.sh) 1.1+):
|

|
||||||
|
|
||||||
|
<details>
|
||||||
|
<summary>Contact sheet of one language (every size, packed into a grid)</summary>
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
</details>
|
||||||
|
|
||||||
|
## What it does
|
||||||
|
|
||||||
|
- **Store listings and products**: Play listings and one-time products with regional prices, App Store versions,
|
||||||
|
localizations, in-app purchases, price schedules, age rating, review details, export compliance.
|
||||||
|
- **Releases**: AAB uploads to tracks, staged rollouts (halt / resume / complete), phased release on the App Store,
|
||||||
|
next build numbers, waiting for review, release notes drafted from git.
|
||||||
|
- **Readiness**: `check` (offline: config, copy limits, Data safety, ASO) and `validate` (read-only against both
|
||||||
|
stores: what still blocks a submission, in fix order), privacy manifest scan.
|
||||||
|
- **Screenshots from any engine**: capture raw frames from a web build, the iOS Simulator, an Android emulator or a
|
||||||
|
folder; render captioned scenes with device frames in every store size and language (RTL and CJK included), A/B
|
||||||
|
variants, local store checks, a review gallery, uploads to both stores.
|
||||||
|
- **App previews and promo video**: record gameplay clips, cut App Store previews and a YouTube promo with captions,
|
||||||
|
check them against Apple's rules, upload previews per locale.
|
||||||
|
- **Icons** for both stores and Android launchers from one artwork.
|
||||||
|
- **Agent Skills** for every step, including the ones that are still console clicks (with the exact navigation).
|
||||||
|
- **MCP server** with one tool per command, dry run by default, nothing irreversible exposed.
|
||||||
|
|
||||||
|
## 5-minute quick start
|
||||||
|
|
||||||
|
You need [Bun](https://bun.sh) 1.1+ (and `ffmpeg` for icons, screenshots and video).
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
bun add -d git+https://git.crt.fyi/CRT/storebound.git
|
cd my-game
|
||||||
bunx storebound help
|
bun add -d git+https://git.crt.fyi/CRT/storebound.git playwright
|
||||||
|
bunx storebound init # storebound.config.ts, store/*.md, store/shots/copy.json, privacy policy, .storebound/ (gitignored)
|
||||||
|
# fill in storebound.config.ts and the store/ files
|
||||||
|
bunx storebound check # offline: config, copy limits, data safety, files
|
||||||
|
bunx storebound shots capture --dry && bunx storebound shots capture
|
||||||
|
bunx storebound shots fonts && bunx storebound shots render --lang en
|
||||||
|
bunx storebound shots gallery # open store/renders/index.html
|
||||||
```
|
```
|
||||||
|
|
||||||
Extra tools some commands use: `ffmpeg` (icons, screenshots), `cwebp` (optional), `playwright` in your project for
|
When the store side is ready, add credentials (below) and:
|
||||||
screenshots (`bun add -d playwright`; it uses Playwright's Chromium or your installed Chrome).
|
|
||||||
|
|
||||||
### Your AI tool
|
```sh
|
||||||
|
bunx storebound validate # read-only: what still blocks a submission, per store, in fix order
|
||||||
|
bunx storebound play listing --dry
|
||||||
|
bunx storebound apple iap --dry
|
||||||
|
```
|
||||||
|
|
||||||
Pick yours. Every route gives the agent the same skills and the same MCP tools.
|
Or ask your agent: "ship my game to Google Play", "set up the in-app purchases on both stores", "make store
|
||||||
|
screenshots in 5 languages", "make an app preview", "why was my update rejected". The matching skill takes over.
|
||||||
|
|
||||||
|
### Credentials (never in the repo)
|
||||||
|
|
||||||
|
Read from environment variables, or from `.storebound/credentials.json` in your project (gitignored by `init`):
|
||||||
|
|
||||||
|
| name | what |
|
||||||
|
|---|---|
|
||||||
|
| `PLAY_SERVICE_ACCOUNT` | path to the Google Cloud service account JSON key (or the JSON itself) with access to your app in Play Console |
|
||||||
|
| `ASC_KEY_ID`, `ASC_ISSUER_ID` | App Store Connect API team key (Users and Access > Integrations) |
|
||||||
|
| `ASC_P8` | path to `AuthKey_<id>.p8` (default `~/.appstoreconnect/private_keys/AuthKey_<id>.p8`) |
|
||||||
|
| `reviewContact` | (file only) App Review contact name / phone / email |
|
||||||
|
|
||||||
|
## Install for your AI tool
|
||||||
|
|
||||||
|
Every route gives the agent the same skills and the same MCP tools. Nothing here requires Claude: the skills are
|
||||||
|
plain Markdown and the CLI is a normal command.
|
||||||
|
|
||||||
| tool | install |
|
| tool | install |
|
||||||
|---|---|
|
|---|---|
|
||||||
|
|
@ -56,110 +109,114 @@ Pick yours. Every route gives the agent the same skills and the same MCP tools.
|
||||||
| anything that reads `AGENTS.md` | copy or link `AGENTS.md` (rules + skill index) and use the CLI |
|
| anything that reads `AGENTS.md` | copy or link `AGENTS.md` (rules + skill index) and use the CLI |
|
||||||
|
|
||||||
`install` takes several agents at once (`--agent codex,cursor`), `--dry` to preview, `--no-skills` / `--no-mcp`,
|
`install` takes several agents at once (`--agent codex,cursor`), `--dry` to preview, `--no-skills` / `--no-mcp`,
|
||||||
and `--command "<cmd>"` to choose how the MCP server starts. It only adds or updates the `storebound` entry and our own
|
and `--command "<cmd>"` to choose how the MCP server starts. It only adds or updates the `storebound` entry and its
|
||||||
skill folders; everything else in those files stays as it is, and re-running it is safe.
|
own skill folders; everything else in those files stays as it is, and re-running it is safe.
|
||||||
|
|
||||||
## MCP server
|
## Automatic vs manual
|
||||||
|
|
||||||
`storebound mcp` speaks MCP over stdio (spec revision 2025-11-25; tools only). It runs each tool as a CLI call in the
|
| | automatic (CLI / API) | still manual (the skills give the exact clicks) |
|
||||||
project directory (the server's working directory, or `STOREBOUND_PROJECT`) and returns the output.
|
|---|---|---|
|
||||||
|
| **Google Play** | listing text + promo video URL, graphics and screenshots, one-time products with regional prices, Data safety, AAB upload to tracks, staged rollout, release notes, status, next versionCode, readiness report | creating the app, API access + service account invite, App content declarations (privacy policy, ads, IARC rating, target audience, advertising ID, sign-in details), countries, store listing experiments, **Send for review** on a draft app's first release |
|
||||||
|
| **App Store** | bundle id, version + build, localizations, screenshots (iPhone + iPad), app previews, in-app purchases with prices and review screenshots, categories, age rating, review details, export compliance answer, phased / manual release, status and review wait, readiness report | creating the app record, App Privacy labels (+ Publish), TestFlight groups, adding first IAPs to the submission, Product Page Optimization tests, encryption documents when the answer is "yes", **Submit for Review** |
|
||||||
|
| **Local** | config and copy checks, ASO audit, privacy manifest scan, icons, screenshot capture / render / checks / gallery, clip recording, preview and promo video cutting | uploading the promo video to YouTube, deciding what your screenshots promise |
|
||||||
|
|
||||||
- One tool per command: `check`, `check_aso`, `validate`, `apple_status`, `apple_next_build`, `play_status`,
|
Public or irreversible steps are left to you on purpose (see [Safety model](#safety-model)).
|
||||||
`play_next_version_code`, `privacy_manifest` (read-only), and `whats_new`, `play_listing`, `play_images`,
|
|
||||||
`play_products`, `play_data_safety`, `play_release_testing`, `apple_bundle`, `apple_iap`, `apple_iap_review`,
|
|
||||||
`apple_listing`, `apple_screenshots`, `apple_appinfo`, `apple_review_details`, `apple_encryption`,
|
|
||||||
`apple_phased_release`, `icons` (write).
|
|
||||||
- Every write tool has `dry_run`, **default true**. Annotations say what is read-only, destructive (replaces data),
|
|
||||||
idempotent and network-bound.
|
|
||||||
- **Not exposed, on purpose**: submitting for review, releasing a version, production releases, resuming or completing
|
|
||||||
a rollout or phased release, canceling a submission, deleting anything. Those stay terminal commands that ask for
|
|
||||||
confirmation (`apple release --manual-release`, `play rollout`, `apple status --cancel-submission`).
|
|
||||||
- No MCP SDK: the server is ~150 lines of newline-delimited JSON-RPC (initialize, ping, tools/list, tools/call,
|
|
||||||
cancellation), so storebound keeps zero runtime dependencies.
|
|
||||||
|
|
||||||
Manual config for a tool that `install` does not know: command `bunx` with args `["storebound", "mcp"]` (or the
|
|
||||||
absolute path of `bin/storebound` plus `mcp`).
|
|
||||||
|
|
||||||
## Quick start
|
|
||||||
|
|
||||||
```sh
|
|
||||||
bunx storebound init # storebound.config.ts, store/*.md, store/shots/copy.json, privacy policy, .storebound/ (gitignored)
|
|
||||||
# edit storebound.config.ts and the store/ files
|
|
||||||
bunx storebound check # offline: config, copy limits, data safety, files
|
|
||||||
bunx storebound validate # read-only: what still blocks a submission on each store, in fix order
|
|
||||||
bunx storebound play listing --dry
|
|
||||||
bunx storebound apple iap --dry
|
|
||||||
```
|
|
||||||
|
|
||||||
Or just ask your agent: "ship my game to Google Play" / "set up the in-app purchases on both stores" / "make store
|
|
||||||
screenshots in 5 languages" / "why was my update rejected", and the matching skill kicks in.
|
|
||||||
|
|
||||||
## Credentials (never in the repo)
|
|
||||||
|
|
||||||
Read from environment variables, or from `.storebound/credentials.json` in your project (gitignored by `init`):
|
|
||||||
|
|
||||||
| name | what |
|
|
||||||
|---|---|
|
|
||||||
| `PLAY_SERVICE_ACCOUNT` | path to the Google Cloud service account JSON key (or the JSON itself) with access to your app in Play Console |
|
|
||||||
| `ASC_KEY_ID`, `ASC_ISSUER_ID` | App Store Connect API team key (Users and Access > Integrations) |
|
|
||||||
| `ASC_P8` | path to `AuthKey_<id>.p8` (default `~/.appstoreconnect/private_keys/AuthKey_<id>.p8`) |
|
|
||||||
| `reviewContact` | (file only) App Review contact name / phone / email |
|
|
||||||
|
|
||||||
## Commands
|
## Commands
|
||||||
|
|
||||||
Every write command takes `--dry`; re-runs are idempotent; output is one timestamped line per step, so long uploads
|
Every write command takes `--dry`; re-runs are idempotent; output is one timestamped line per step, so long jobs can
|
||||||
can run in the background with a log (`storebound play images > .storebound/images.log 2>&1 &`).
|
run in the background with a log (`storebound shots render > .storebound/render.log 2>&1 &`).
|
||||||
|
|
||||||
| command | API / local | what |
|
<details>
|
||||||
|
<summary><b>Setup and checks</b></summary>
|
||||||
|
|
||||||
|
| command | kind | what |
|
||||||
|---|---|---|
|
|---|---|---|
|
||||||
| `init` | local | copy the templates, gitignore `.storebound/` |
|
| `init` | local | copy the templates, gitignore `.storebound/` |
|
||||||
| `install --agent <tool>` | local | skills + MCP entry for an AI tool (see above) |
|
| `install --agent <tool>` | local | skills + MCP entry for an AI tool |
|
||||||
| `mcp` | local | stdio MCP server wrapping the commands |
|
| `mcp` | local | stdio MCP server wrapping the commands |
|
||||||
| `check` | local | validate config, copy limits, data safety, products, files; warns on untranslated release notes |
|
| `check` | local | config, copy limits, data safety, products, files; warns on untranslated release notes |
|
||||||
| `check --aso` | local | keyword audit: App Store keyword field rules, Play stuffing / claims (exit 1 on errors) |
|
| `check --aso` | local | keyword audit: App Store keyword field rules, Play stuffing / claims |
|
||||||
| `validate [--apple] [--play]` | API, read-only | readiness report with ordered blockers, plus the local renders checks of `shots check` (`--no-local` skips); exit 1 while any blocker is left |
|
| `validate [--apple] [--play]` | API, read-only | readiness report with ordered blockers plus the local renders checks (`--no-local` skips); exit 1 while any blocker is left |
|
||||||
| `whats-new [--since <tag>]` | local | draft player-facing release notes from git log into both listing files |
|
| `whats-new [--since <tag>]` | local | draft player-facing release notes from git log into both listing files |
|
||||||
| `privacy-manifest --ios <path>` | local | PrivacyInfo.xcprivacy, required-reason APIs, SDKs without manifests |
|
| `privacy-manifest --ios <path>` | local | PrivacyInfo.xcprivacy, required-reason APIs, SDKs without manifests |
|
||||||
| `play products` | API | one-time products via `monetization.onetimeproducts`: regional prices from `convertRegionPrices` + your overrides, activate |
|
|
||||||
| `play listing` | API | app details + title / short / full description per language |
|
|
||||||
| `play images` | API | icon, feature graphic, phone / 7" / 10" screenshots, one edit per language |
|
|
||||||
| `play data-safety` | API | Data safety form (CSV import); `--csv` to write the file |
|
|
||||||
| `play release <aab>` | API | upload + tracks (`--internal completed --production draft`, `--production inProgress --fraction 0.05`), release notes from the listing |
|
|
||||||
| `play rollout` | API | `--fraction x`, `--halt`, `--resume`, `--complete` on a staged rollout (asks first, except halt) |
|
|
||||||
| `play next-version-code` | API, read-only | next free versionCode (prints just the number) |
|
|
||||||
| `play status` | API | tracks, listings, products |
|
|
||||||
| `apple bundle` | API | register the bundle id, find the app record |
|
|
||||||
| `apple iap` | API | IAPs, localizations, price schedules (USA base + overrides), availability |
|
|
||||||
| `apple iap-review` | API | IAP review screenshots + states |
|
|
||||||
| `apple listing --version x.y.z [--build N]` | API | version (manual release), the build with exactly that number, name / subtitle / description / keywords / promo per locale |
|
|
||||||
| `apple screenshots` | API | 6.9" + 6.5" screenshots per locale, 13" iPad with `apple.ipad` (MD5-idempotent) |
|
|
||||||
| `apple appinfo` | API | categories, age rating, content rights, Free, all territories |
|
|
||||||
| `apple review-details` | API | App Review contact + notes |
|
|
||||||
| `apple encryption` | API | export compliance answer for builds, from `apple.usesNonExemptEncryption` (never guessed) |
|
|
||||||
| `apple release --phased on\|pause\|resume\|complete` | API | phased release (resume / complete ask first) |
|
|
||||||
| `apple release --manual-release` | API | release an approved version (asks first) |
|
|
||||||
| `apple next-build` | API, read-only | next safe build number (prints just the number) |
|
|
||||||
| `apple status` | API | versions, builds, IAPs, review submissions; `--wait-review` (exit 0 approved, 1 rejected, 7 timeout); `--cancel-submission <id>` |
|
|
||||||
| `icons` | local | App Store 1024 (no alpha), Play 512, web, Capacitor sources, Android legacy launcher icons |
|
| `icons` | local | App Store 1024 (no alpha), Play 512, web, Capacitor sources, Android legacy launcher icons |
|
||||||
| `shots capture` | local | raw frames from your running game: web build, iOS Simulator, Android emulator / device, or your own folder (`--dry`) |
|
|
||||||
| `shots fonts` | local | font subsets for your copy (Noto for CJK / Arabic / Cyrillic / Devanagari ...) |
|
|
||||||
| `shots render` | local | every store size, every language, contact sheet |
|
|
||||||
| `shots jpeg` | local | JPEG q92 copies for Play (about 4x faster uploads) |
|
|
||||||
| `shots check` | local, read-only | store rules on the renders before upload (size, alpha, counts, text overflow); folder frames |
|
|
||||||
|
|
||||||
## What is API and what stays manual
|
</details>
|
||||||
|
|
||||||
Scripted: almost everything listed above. Still clicks (the skills give the exact path):
|
<details>
|
||||||
|
<summary><b>Google Play</b></summary>
|
||||||
|
|
||||||
- **Google Play**: creating the app, API access + service account invite, the first upload in some cases, App content
|
| command | kind | what |
|
||||||
declarations (privacy policy, ads, IARC content rating, target audience, advertising ID, sign-in details,
|
|---|---|---|
|
||||||
government / financial / health), countries for production, and **Send for review** on a draft app's first release.
|
| `play listing` | API | app details, title / short / full description per language, promo video URL (`play.video`) |
|
||||||
- **App Store**: creating the app record, App Privacy labels (+ Publish), TestFlight group setup, adding first IAPs to
|
| `play images [--variant b]` | API | icon, feature graphic, phone / 7" / 10" screenshots, one edit per language |
|
||||||
the submission ("Add for Review" on the IAP page), encryption declarations when the answer is "yes", sometimes the
|
| `play products` | API | one-time products: regional prices from `convertRegionPrices` + your overrides, activate |
|
||||||
very first availability record, and **Submit for Review**.
|
| `play data-safety` | API | Data safety form (CSV import); `--csv` writes the file |
|
||||||
|
| `play release <aab>` | API | upload + tracks (`--internal completed --production draft`, `--production inProgress --fraction 0.05`), release notes |
|
||||||
|
| `play rollout` | API | `--fraction x`, `--halt`, `--resume`, `--complete` (asks first, except halt) |
|
||||||
|
| `play next-version-code` | API, read-only | next free versionCode |
|
||||||
|
| `play status` | API, read-only | tracks, listings, products |
|
||||||
|
|
||||||
Public or irreversible steps are left to you on purpose. The skills tell every agent to ask before any of them
|
</details>
|
||||||
(`docs/agents-core.md`), and the MCP server does not offer them.
|
|
||||||
|
<details>
|
||||||
|
<summary><b>App Store</b></summary>
|
||||||
|
|
||||||
|
| command | kind | what |
|
||||||
|
|---|---|---|
|
||||||
|
| `apple bundle` | API | register the bundle id, find the app record |
|
||||||
|
| `apple listing --version x.y.z [--build N]` | API | version (manual release), the build with exactly that number, texts per locale |
|
||||||
|
| `apple screenshots [--variant b]` | API | 6.9" + 6.5" (+ 13" iPad with `apple.ipad`) per locale, MD5-idempotent |
|
||||||
|
| `apple previews [--poster 5]` | API | app preview videos per locale, checked first, MD5-idempotent, poster frame |
|
||||||
|
| `apple iap` / `apple iap-review` | API | IAPs, localizations, price schedules, availability / review screenshots |
|
||||||
|
| `apple appinfo` | API | categories, age rating, content rights, Free, territories |
|
||||||
|
| `apple review-details` | API | App Review contact + notes |
|
||||||
|
| `apple encryption` | API | export compliance answer from `apple.usesNonExemptEncryption` (never guessed) |
|
||||||
|
| `apple release --phased on\|pause\|resume\|complete`, `--manual-release` | API | phased release, release an approved version (resume / complete / release ask first) |
|
||||||
|
| `apple next-build` | API, read-only | next safe build number |
|
||||||
|
| `apple status` | API | versions, builds, IAPs, submissions; `--wait-review` (exit 0 / 1 / 7); `--cancel-submission <id>` |
|
||||||
|
|
||||||
|
</details>
|
||||||
|
|
||||||
|
<details>
|
||||||
|
<summary><b>Screenshots and video</b></summary>
|
||||||
|
|
||||||
|
| command | kind | what |
|
||||||
|
|---|---|---|
|
||||||
|
| `shots capture [--source web\|ios-sim\|android-emu\|folder]` | local | raw frames from your running game |
|
||||||
|
| `shots fonts` | network | font subsets for your copy (Noto for CJK / Arabic / Cyrillic / Devanagari ...) |
|
||||||
|
| `shots render [--variant b \| --variants]` | local | every store size and language, feature graphic, contact sheet, overflow report |
|
||||||
|
| `shots jpeg` | local | JPEG q92 copies of the Play renders (about 4x faster uploads) |
|
||||||
|
| `shots check [--variants] [--json]` | local, read-only | store rules: sizes, alpha, format, bytes, counts, overflow, videos, folder frames |
|
||||||
|
| `shots gallery` | local | `<renders>/index.html` review page |
|
||||||
|
| `shots record [--source ...]` | local | gameplay clips: web (Chromium screencast), simulator, emulator, folder |
|
||||||
|
| `shots video [--target iphone,ipad,youtube]` | local | app previews + promo video with captions, poster, checks |
|
||||||
|
|
||||||
|
</details>
|
||||||
|
|
||||||
|
## Screenshots and video
|
||||||
|
|
||||||
|
1. **Frames.** Give your game a few switches (language, fixed seed, no ads, jump to a scene, freeze, autoplay) and
|
||||||
|
let `shots capture` take the frames: Playwright for a web build, `simctl` for anything that runs in the iOS
|
||||||
|
Simulator (Unity, Godot, Flutter, native, Capacitor), `adb` for an Android emulator or device, or bring a folder of
|
||||||
|
your own frames. The status bar is cropped off and redrawn clean (9:41, full battery).
|
||||||
|
2. **Copy.** Per language and scene: eyebrow, two-line title, subtitle, badges. Fonts are subset from Google Fonts to
|
||||||
|
exactly your characters, so Japanese, Chinese, Korean, Arabic (right to left) and Hindi just work.
|
||||||
|
3. **Render.** Every store size at exact pixels: iPhone 6.9" and 6.5", 13" iPad (if your app runs on iPad), Play
|
||||||
|
phone, 7" and 10" tablets, the 1024 x 500 feature graphic. 24-bit RGB, no alpha (both stores reject it).
|
||||||
|
4. **Check and review.** `shots check` applies the store rules locally (sources cited in `cli/shots/spec.ts`);
|
||||||
|
`shots gallery` puts everything on one page with problems outlined. `validate` repeats the checks next to the
|
||||||
|
store state.
|
||||||
|
5. **Variants.** Other first screenshot, order or copy as `shots.variants`, rendered side by side, for a Play store
|
||||||
|
listing experiment or an App Store Product Page Optimization test (set up in the consoles; storebound makes and
|
||||||
|
checks the images).
|
||||||
|
6. **Video.** `shots record` films the autoplay mode, `shots video` cuts 15-30 s App Store previews (886 x 1920,
|
||||||
|
1200 x 1600) and a 9:16 / 16:9 promo for YouTube with captions in every language, `apple previews` uploads them.
|
||||||
|
Play takes a YouTube URL in `play.video`.
|
||||||
|
|
||||||
|
Details: the [store-screenshots](skills/store-screenshots/SKILL.md) and [app-previews](skills/app-previews/SKILL.md)
|
||||||
|
skills.
|
||||||
|
|
||||||
## Skills
|
## Skills
|
||||||
|
|
||||||
|
|
@ -172,7 +229,8 @@ Public or irreversible steps are left to you on purpose. The skills tell every a
|
||||||
| `review-rejections` | triage a rejection (fix / clarify / push back / appeal), reply template, the guidelines games hit |
|
| `review-rejections` | triage a rejection (fix / clarify / push back / appeal), reply template, the guidelines games hit |
|
||||||
| `portfolio-originality` | Guideline 4.3 gate for studios shipping many similar games |
|
| `portfolio-originality` | Guideline 4.3 gate for studios shipping many similar games |
|
||||||
| `store-iap-setup` | in-app products on both stores, prices, testers, the first-IAP-with-version rule |
|
| `store-iap-setup` | in-app products on both stores, prices, testers, the first-IAP-with-version rule |
|
||||||
| `store-screenshots` | capture, copy, fonts, render, upload |
|
| `store-screenshots` | capture from any engine, copy, fonts, render, checks, gallery, variants and store experiments, upload |
|
||||||
|
| `app-previews` | gameplay clips, App Store previews, Play promo video, checks, upload |
|
||||||
| `app-icons` | one artwork to every icon, adaptive / legacy launcher pitfalls |
|
| `app-icons` | one artwork to every icon, adaptive / legacy launcher pitfalls |
|
||||||
| `store-declarations` | Data safety, App Privacy, IARC, target audience, ads / advertising ID |
|
| `store-declarations` | Data safety, App Privacy, IARC, target audience, ads / advertising ID |
|
||||||
| `export-compliance` | encryption answer, Info.plist key, declarations; never exempt by default |
|
| `export-compliance` | encryption answer, Info.plist key, declarations; never exempt by default |
|
||||||
|
|
@ -182,28 +240,103 @@ Public or irreversible steps are left to you on purpose. The skills tell every a
|
||||||
| `whats-new` | player-facing release notes from git, localized, within store limits |
|
| `whats-new` | player-facing release notes from git, localized, within store limits |
|
||||||
| `ads-levelplay-checks` | LevelPlay / Unity Ads ids, adapters, app-ads.txt, SKAdNetwork, no-fill |
|
| `ads-levelplay-checks` | LevelPlay / Unity Ads ids, adapters, app-ads.txt, SKAdNetwork, no-fill |
|
||||||
|
|
||||||
## Agent support: formats and what is not verified
|
## MCP server
|
||||||
|
|
||||||
|
`storebound mcp` speaks MCP over stdio (spec revision 2025-11-25; tools only). It runs each tool as a CLI call in the
|
||||||
|
project directory (the server's working directory, or `STOREBOUND_PROJECT`) and returns the output.
|
||||||
|
|
||||||
|
- One tool per command. Read-only: `check`, `check_aso`, `validate`, `apple_status`, `apple_next_build`,
|
||||||
|
`play_status`, `play_next_version_code`, `privacy_manifest`, `shots_check`. Local writes: `whats_new`, `icons`,
|
||||||
|
`shots_capture`, `shots_render`, `shots_gallery`, `shots_record`, `shots_video`. Store writes: `play_listing`,
|
||||||
|
`play_images`, `play_products`, `play_data_safety`, `play_release_testing`, `apple_bundle`, `apple_iap`,
|
||||||
|
`apple_iap_review`, `apple_listing`, `apple_screenshots`, `apple_previews`, `apple_appinfo`,
|
||||||
|
`apple_review_details`, `apple_encryption`, `apple_phased_release`.
|
||||||
|
- Annotations say what is read-only, destructive (replaces data), idempotent and network-bound.
|
||||||
|
- No MCP SDK: about 150 lines of newline-delimited JSON-RPC (initialize, ping, tools/list, tools/call, cancellation),
|
||||||
|
so storebound keeps zero runtime dependencies.
|
||||||
|
|
||||||
|
Manual config for a tool that `install` does not know: command `bunx` with args `["storebound", "mcp"]` (or the
|
||||||
|
absolute path of `bin/storebound` plus `mcp`).
|
||||||
|
|
||||||
|
## Safety model
|
||||||
|
|
||||||
|
- **Credentials** live in env vars or the gitignored `.storebound/credentials.json`, never in the config or the repo.
|
||||||
|
storebound only talks to the official store APIs (plus Google Fonts and your own URLs); see [SECURITY.md](SECURITY.md).
|
||||||
|
- **Dry run everywhere.** Every write command takes `--dry`; every MCP write tool has `dry_run`, **default true**.
|
||||||
|
- **Nothing public or irreversible through an agent.** Submitting for review, releasing a version, production
|
||||||
|
releases, resuming or completing a rollout or phased release, canceling a submission and deleting are not MCP
|
||||||
|
tools. They stay terminal commands that ask for confirmation, and the skills tell every agent to ask the owner
|
||||||
|
first ([docs/agents-core.md](docs/agents-core.md)).
|
||||||
|
- **Idempotent writes.** Re-running a command converges (MD5 checks for screenshots and previews, one Play edit per
|
||||||
|
language), so a failed upload is fixed by running it again.
|
||||||
|
- **Simulators and emulators**: storebound shuts down only a simulator it booted itself and never boots, wipes or
|
||||||
|
reboots an Android emulator or device.
|
||||||
|
|
||||||
|
## FAQ
|
||||||
|
|
||||||
|
**Do I need Claude (or any AI tool)?** No. The CLI is a normal command and the skills are Markdown checklists you can
|
||||||
|
read yourself. The AI integrations are optional adapters generated from the same files.
|
||||||
|
|
||||||
|
**My game is Unity / Godot / Flutter / native, not web.** Screenshots and clips come from the iOS Simulator
|
||||||
|
(`ios-sim`), an Android emulator or device (`android-emu`) or a folder you fill with any tool; only the rendering of
|
||||||
|
the store images uses a headless browser. The store commands do not care about the engine at all: they work on
|
||||||
|
your AAB / build numbers and listing files.
|
||||||
|
|
||||||
|
**Is my store account safe?** storebound uses the official APIs with keys you create and can revoke, never your
|
||||||
|
password. Store writes are dry runs until you say otherwise, and the public steps (submit, release) stay with you.
|
||||||
|
Use an App Store Connect key with the App Manager role and a Play service account limited to your app.
|
||||||
|
|
||||||
|
**Why Bun?** One fast runtime with TypeScript, `fetch`, a test runner and a static server built in: no build step and
|
||||||
|
zero runtime dependencies. It needs Bun installed (it does not run on plain Node).
|
||||||
|
|
||||||
|
**Does it upload my video to YouTube?** No. Play only takes a YouTube URL, and uploading to YouTube needs your Google
|
||||||
|
account; `shots video` makes the file, you upload it and paste the URL into `play.video`.
|
||||||
|
|
||||||
|
**Can it run store experiments for me?** Not yet. It renders and checks the variant images; Play store listing
|
||||||
|
experiments are Console-only, and App Store Product Page Optimization tests are set up in App Store Connect.
|
||||||
|
|
||||||
|
## Roadmap
|
||||||
|
|
||||||
|
Wave 2, roughly in this order:
|
||||||
|
|
||||||
|
- TestFlight through the API: beta groups, testers, build distribution, "What to Test".
|
||||||
|
- Crash and vitals reports: Play Android vitals, App Store Connect diagnostics, in `validate` and a weekly summary.
|
||||||
|
- Review replies on both stores, drafted by the agent, sent only after you approve.
|
||||||
|
- Prices from a CSV for many products and regions at once.
|
||||||
|
- Store analytics snapshots (installs, conversion) next to the listing changes and experiments.
|
||||||
|
- MCP 2026-07-28 (stateless revision: `server/discover`, per-request `_meta`).
|
||||||
|
- Product Page Optimization through the App Store Connect API, and a medium iPhone size key if Apple starts to
|
||||||
|
require it strictly.
|
||||||
|
|
||||||
|
## Contributing
|
||||||
|
|
||||||
|
Issues and pull requests are welcome: store rule updates (with a source), new capture sources, adapters for more AI
|
||||||
|
tools. See [CONTRIBUTING.md](CONTRIBUTING.md); `bun run ci` must be green.
|
||||||
|
|
||||||
|
<details>
|
||||||
|
<summary><b>Agent support: formats and what is not verified</b></summary>
|
||||||
|
|
||||||
Checked against each tool's own docs in October 2026:
|
Checked against each tool's own docs in October 2026:
|
||||||
|
|
||||||
- **Agent Skills**: frontmatter is only `name` (lowercase-hyphen, equals the folder) and `description`; the generator
|
- **Agent Skills**: frontmatter is only `name` (lowercase-hyphen, equals the folder) and `description`; the generator
|
||||||
fails if a skill adds anything else.
|
fails if a skill adds anything else.
|
||||||
- **Claude Code**: plugin manifest + root `.mcp.json` with `${CLAUDE_PLUGIN_ROOT}`; `claude plugin validate .` passes.
|
- **Claude Code**: plugin manifest + root `.mcp.json` with `${CLAUDE_PLUGIN_ROOT}`; `claude plugin validate .` passes.
|
||||||
- **Codex**: `.codex-plugin/plugin.json` with `"skills": "./skills/"` (Codex's scaffold format). Not verified: whether
|
- **Codex**: `.codex-plugin/plugin.json` with `"skills": "./skills/"`. Not verified: whether Codex starts the root
|
||||||
Codex starts the root `.mcp.json` from a plugin and expands `${CLAUDE_PLUGIN_ROOT}` there, so use
|
`.mcp.json` from a plugin and expands `${CLAUDE_PLUGIN_ROOT}` there, so use `install --agent codex` for the MCP
|
||||||
`install --agent codex` for the MCP server. OpenAI also documents a newer portable root `plugin.json`; not shipped yet.
|
server. OpenAI also documents a newer portable root `plugin.json`; not shipped yet.
|
||||||
- **Gemini CLI**: `gemini-extension.json` with `${extensionPath}${/}`, `GEMINI.md` as context, `skills/` inside the
|
- **Gemini CLI**: `gemini-extension.json` with `${extensionPath}${/}`, `GEMINI.md` as context, `skills/` inside the
|
||||||
extension. Google now points unpaid users to Antigravity CLI; not tested there. The `.gemini/skills` folder used by
|
extension. Google now points unpaid users to Antigravity CLI; not tested there. The `.gemini/skills` folder used by
|
||||||
`install --agent gemini` is not verified (the extension route is).
|
`install --agent gemini` is not verified (the extension route is).
|
||||||
- **Windsurf**: the current docs name `~/.config/devin/mcp_config.json`; `install` keeps using
|
- **Windsurf**: the current docs name `~/.config/devin/mcp_config.json`; `install` keeps using
|
||||||
`~/.codeium/windsurf/mcp_config.json` when that file already exists (older installs).
|
`~/.codeium/windsurf/mcp_config.json` when that file already exists (older installs).
|
||||||
- **MCP**: built for 2025-11-25 (also answers clients asking for 2025-06-18 / 2025-03-26 / 2024-11-05). The newer
|
- **MCP**: built for 2025-11-25 (also answers clients asking for 2025-06-18 / 2025-03-26 / 2024-11-05).
|
||||||
stateless 2026-07-28 revision (`server/discover`, per-request `_meta`) is not implemented yet; clients that speak
|
|
||||||
both still work with a 2025-11-25 server.
|
|
||||||
- **Apple IAP description**: 45 characters (App Store Connect Help, "In-app purchase information"); an older App Store
|
- **Apple IAP description**: 45 characters (App Store Connect Help, "In-app purchase information"); an older App Store
|
||||||
marketing page says 55. storebound checks 45.
|
marketing page says 55. storebound checks 45.
|
||||||
|
|
||||||
## Develop
|
</details>
|
||||||
|
|
||||||
|
<details>
|
||||||
|
<summary><b>Develop</b></summary>
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
bun install
|
bun install
|
||||||
|
|
@ -215,17 +348,17 @@ bun tools/gen-adapters.ts # after editing skills/*/SKILL.md or docs/agents-cor
|
||||||
`.github/copilot-instructions.md` and `.cursor/rules/storebound.mdc` are generated and committed, and CI fails when
|
`.github/copilot-instructions.md` and `.cursor/rules/storebound.mdc` are generated and committed, and CI fails when
|
||||||
they are stale.
|
they are stale.
|
||||||
|
|
||||||
## Thanks / idea sources
|
</details>
|
||||||
|
|
||||||
Some of the new skills were sparked by other people's open work. I wrote my own text; the ideas deserve the credit:
|
## Thanks and idea sources
|
||||||
|
|
||||||
|
Some skills were sparked by other people's open work. I wrote my own text; the ideas deserve the credit:
|
||||||
|
|
||||||
- [rorkai/app-store-connect-cli-skills](https://github.com/rorkai/app-store-connect-cli-skills) (MIT): App Store Connect
|
- [rorkai/app-store-connect-cli-skills](https://github.com/rorkai/app-store-connect-cli-skills) (MIT): App Store Connect
|
||||||
workflow ideas.
|
workflow ideas.
|
||||||
- [rshankras/claude-code-apple-skills](https://github.com/rshankras/claude-code-apple-skills) (MIT): Apple platform and
|
- [rshankras/claude-code-apple-skills](https://github.com/rshankras/claude-code-apple-skills) (MIT): Apple platform and
|
||||||
App Store topic ideas.
|
App Store topic ideas.
|
||||||
|
|
||||||
## Credits
|
|
||||||
|
|
||||||
Built with Bun and plain `fetch` against the Google Play Developer API v3 and the App Store Connect API. Screenshot
|
Built with Bun and plain `fetch` against the Google Play Developer API v3 and the App Store Connect API. Screenshot
|
||||||
fonts come from Google Fonts at render time (Noto, Lilita One, Montserrat; SIL Open Font License 1.1). Not affiliated
|
fonts come from Google Fonts at render time (Noto, Lilita One, Montserrat; SIL Open Font License 1.1). Not affiliated
|
||||||
with Google or Apple.
|
with Google or Apple.
|
||||||
|
|
|
||||||
25
SECURITY.md
Normal file
25
SECURITY.md
Normal file
|
|
@ -0,0 +1,25 @@
|
||||||
|
# Security
|
||||||
|
|
||||||
|
storebound handles store credentials (a Google Play service account key and an App Store Connect API key) and can
|
||||||
|
change live store listings, so security reports matter to me.
|
||||||
|
|
||||||
|
## Reporting
|
||||||
|
|
||||||
|
Please do not put details in a public issue. Open an issue titled "security contact" without details, and I will get
|
||||||
|
in touch to receive the report privately. I aim to answer within a week and to ship a fix before anything is
|
||||||
|
published.
|
||||||
|
|
||||||
|
## How storebound treats credentials
|
||||||
|
|
||||||
|
- Credentials come only from environment variables or `.storebound/credentials.json` in your project; `init` adds
|
||||||
|
`.storebound/` to `.gitignore`. storebound does not print them or copy them anywhere.
|
||||||
|
- The CLI talks to the official store endpoints (`androidpublisher.googleapis.com` and `www.googleapis.com` uploads,
|
||||||
|
`oauth2.googleapis.com`, `api.appstoreconnect.apple.com` and the upload URLs it hands out), Google Fonts for
|
||||||
|
`shots fonts`, your own game URL for capture / record, and your own website when `validate` checks the privacy policy URL and `app-ads.txt`.
|
||||||
|
- The MCP server exposes no tool that submits for review, releases, resumes or completes a rollout, cancels a
|
||||||
|
submission or deletes anything; every write tool is a dry run unless `dry_run: false` is passed.
|
||||||
|
- `bun run ci` scrubs the repository for keys, issuer ids, emails and private names before every release.
|
||||||
|
|
||||||
|
## Supported versions
|
||||||
|
|
||||||
|
Only the latest release gets fixes.
|
||||||
Loading…
Add table
Add a link
Reference in a new issue