# storebound [![license: MIT](https://img.shields.io/badge/license-MIT-blue)](LICENSE) [![version 0.3.0](https://img.shields.io/badge/version-0.3.0-informational)](CHANGELOG.md) [![runtime: Bun](https://img.shields.io/badge/runtime-Bun%201.1%2B-f9f1e1)](https://bun.sh) [![runtime dependencies: 0](https://img.shields.io/badge/runtime%20dependencies-0-brightgreen)](package.json) [![Agent Skills: 17](https://img.shields.io/badge/Agent%20Skills-17-8a63d2)](skills) [![MCP: stdio](https://img.shields.io/badge/MCP-stdio-black)](#mcp-server) Hey, I'm CRTkafa. This is my toolchain for shipping mobile games to Google Play and the App Store. I built it while getting my own game through both stores, hit every wall on the way (draft apps, edits that die when you touch the 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. 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. ## Showcase Everything below was made by storebound itself from [a tiny demo game](examples/demo-game) ("Prism Puddle", fictional, procedural art): raw frames captured from the web build, captions in 4 languages, every store size, a review gallery and an app preview video. No store account needed to try it. ![Store screenshots rendered by storebound: four scenes in English plus the hero scene in Turkish, Japanese and Arabic](docs/img/showcase.jpg) | Play feature graphic | App preview (App Store, 886 x 1920) | |---|---| | ![Play feature graphic, 1024 x 500](docs/img/feature.jpg) | ![A few seconds of the app preview video](docs/img/preview.gif) | ![The review gallery: every language, size, scene and variant on one local page, store check issues highlighted](docs/img/gallery.jpg)
Contact sheet of one language (every size, packed into a grid) ![Contact sheet: iPhone 6.9" and 6.5", 13" iPad, Play phone, 7" and 10" tablets, feature graphic](docs/img/sheet.jpg)
## 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 cd my-game 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 ``` When the store side is ready, add credentials (below) and: ```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 ``` 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_.p8` (default `~/.appstoreconnect/private_keys/AuthKey_.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 | |---|---| | Claude Code | `/plugin marketplace add https://git.crt.fyi/CRT/storebound.git` then `/plugin install storebound@crtkafa` (skills, MCP server, `storebound` on PATH). Or per project: `bunx storebound install --agent claude` | | OpenAI Codex | `bunx storebound install --agent codex` (skills in `.agents/skills`, MCP in `.codex/config.toml`; Codex reads that file for trusted projects). The repo is also a Codex plugin (`.codex-plugin/plugin.json`, skills only) | | Gemini CLI | `gemini extensions install https://git.crt.fyi/CRT/storebound.git` (skills, MCP server, `GEMINI.md`). Or `bunx storebound install --agent gemini` | | Cursor | `bunx storebound install --agent cursor` (skills in `.agents/skills`, `.cursor/mcp.json`); the repo's `.cursor/rules/storebound.mdc` is an agent-requested rule you can copy | | VS Code / GitHub Copilot | `bunx storebound install --agent copilot` (skills in `.github/skills`, `.vscode/mcp.json`) | | Windsurf (Devin Desktop) | `bunx storebound install --agent windsurf` (skills in `.agents/skills`, MCP in your global `mcp_config.json`) | | OpenCode | `bunx storebound install --agent opencode` (skills in `.opencode/skills`, `opencode.json`) | | 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`, and `--command ""` to choose how the MCP server starts. It only adds or updates the `storebound` entry and its own skill folders; everything else in those files stays as it is, and re-running it is safe. ## Automatic vs manual | | automatic (CLI / API) | still manual (the skills give the exact clicks) | |---|---|---| | **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 | Public or irreversible steps are left to you on purpose (see [Safety model](#safety-model)). ## Commands Every write command takes `--dry`; re-runs are idempotent; output is one timestamped line per step, so long jobs can run in the background with a log (`storebound shots render > .storebound/render.log 2>&1 &`).
Setup and checks | command | kind | what | |---|---|---| | `init` | local | copy the templates, gitignore `.storebound/` | | `install --agent ` | local | skills + MCP entry for an AI tool | | `mcp` | local | stdio MCP server wrapping the commands | | `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 | | `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 ]` | local | draft player-facing release notes from git log into both listing files | | `privacy-manifest --ios ` | local | PrivacyInfo.xcprivacy, required-reason APIs, SDKs without manifests | | `icons` | local | App Store 1024 (no alpha), Play 512, web, Capacitor sources, Android legacy launcher icons |
Google Play | command | kind | what | |---|---|---| | `play listing` | API | app details, title / short / full description per language, promo video URL (`play.video`) | | `play images [--variant b]` | API | icon, feature graphic, phone / 7" / 10" screenshots, one edit per language | | `play products` | API | one-time products: regional prices from `convertRegionPrices` + your overrides, activate | | `play data-safety` | API | Data safety form (CSV import); `--csv` writes the file | | `play release ` | 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 |
App Store | 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 ` |
Screenshots and video | 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 | `/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 |
## 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 | skill | for | |---|---| | `play-first-release` | Google Play from zero to "In review" | | `appstore-first-release` | App Store from API key to "Waiting for review", incl. xcodebuild with the API key | | `release-management` | updates: Apple phased + manual release, Play staged rollout, halt / pause (not a rollback), review wait | | `store-preflight` | run and read `check`, `check --aso`, `validate`, `privacy-manifest` before submitting | | `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 | | `store-iap-setup` | in-app products on both stores, prices, testers, the first-IAP-with-version rule | | `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 | | `store-declarations` | Data safety, App Privacy, IARC, target audience, ads / advertising ID | | `export-compliance` | encryption answer, Info.plist key, declarations; never exempt by default | | `privacy-manifest` | PrivacyInfo.xcprivacy, required-reason APIs, SDK manifests (ITMS-91053 / 91061) | | `privacy-policy` | one studio-wide policy page with a per-game services table | | `aso-basics` | keyword field, subtitle, cross-localization, Play placement without stuffing | | `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 | ## 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.
Agent support: formats and what is not verified 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 fails if a skill adds anything else. - **Claude Code**: plugin manifest + root `.mcp.json` with `${CLAUDE_PLUGIN_ROOT}`; `claude plugin validate .` passes. - **Codex**: `.codex-plugin/plugin.json` with `"skills": "./skills/"`. Not verified: whether Codex starts the root `.mcp.json` from a plugin and expands `${CLAUDE_PLUGIN_ROOT}` there, so use `install --agent codex` for the MCP 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 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). - **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). - **MCP**: built for 2025-11-25 (also answers clients asking for 2025-06-18 / 2025-03-26 / 2024-11-05). - **Apple IAP description**: 45 characters (App Store Connect Help, "In-app purchase information"); an older App Store marketing page says 55. storebound checks 45.
Develop ```sh bun install bun run ci # adapters fresh (gen-adapters --check), tests, typecheck, secrets / personal data scrub bun tools/gen-adapters.ts # after editing skills/*/SKILL.md or docs/agents-core.md ``` `skills/*/SKILL.md` and `docs/agents-core.md` are the single source; `AGENTS.md`, `GEMINI.md`, the plugin manifests, `.github/copilot-instructions.md` and `.cursor/rules/storebound.mdc` are generated and committed, and CI fails when they are stale.
## 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 workflow ideas. - [rshankras/claude-code-apple-skills](https://github.com/rshankras/claude-code-apple-skills) (MIT): Apple platform and App Store topic ideas. 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 with Google or Apple. ## License MIT, see [LICENSE](LICENSE). Copyright (c) 2026 CRTkafa.