- cli/serve.ts: session.hello with a per-session secret, typed methods per tool, project.inspect, portfolio.status over many project folders, progress notifications, cancellation - cli/lib/confirm-token.ts: single-use HMAC tokens bound to method + canonical params + expiry; writes are dry runs without one; no submit / release / publish method exists - cli/lib/runner.ts: shared child runner for mcp and serve, works from a compiled binary - --json on check, testflight / ppo status, next-build, next-version-code, analytics compare, prices import; inspect command; confirm() always answers no under serve - tools/build-sidecars.ts: bun build --compile for five targets, ad-hoc re-sign on macOS, path leak check - tests/serve.test.ts: methods, token binding / expiry / replay, shared vector, stdio and compiled smoke
547 lines
44 KiB
Markdown
547 lines
44 KiB
Markdown
# storebound
|
|
|
|
**Website: [storebound.dev](https://storebound.dev)**
|
|
|
|
[](LICENSE)
|
|
[](CHANGELOG.md)
|
|
[](https://bun.sh)
|
|
[](package.json)
|
|
[](skills)
|
|
[](#mcp-server)
|
|
|
|
**Take a mobile app or game from nothing to "Submit for review" on Google Play and the App Store: app records,
|
|
listings in every language, in-app products and subscriptions with regional prices, every questionnaire, account
|
|
deletion and review access, privacy, icons, screenshots and previews, with one config and your AI coding agent.**
|
|
|
|
Hey, I'm CRTkafa. I built this while getting my own game through both stores and 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, an IARC questionnaire, target audience, App Privacy labels that are saved but not
|
|
published, screenshots in 7 sizes x 14 languages... I wrote each fix down as code or as a checklist. None of those
|
|
walls is game-only: a to-do app with accounts and a subscription hits the same ones, plus a few of its own (a demo
|
|
account for the reviewer, account deletion, subscription disclosures), so storebound covers apps and games alike. It
|
|
works for me, so I open-sourced it. Use it too.
|
|
|
|
No account, no sign-up, no telemetry. A small Bun CLI that talks to the official store APIs,
|
|
Agent Skills that walk your AI coding tool (or you) through the parts that are still console clicks, and an MCP server
|
|
so agents can call the CLI safely. **storebound never presses Submit, Release or Publish for you.**
|
|
|
|
Pick a profile and start from honest templates: `init --profile app` (utility / productivity app, optional account,
|
|
analytics, no ads; the default), `--profile subscription-app` (accounts + auto-renewable subscriptions) or
|
|
`--profile game` (free-to-play with ads and IAP).
|
|
|
|
It keeps going after launch: TestFlight groups and testers, crash and ANR vitals against the store thresholds, review
|
|
replies you approve before they go out, prices for many products and regions from one CSV, store analytics next to
|
|
your listing changes, and App Store product page tests from your screenshot variants.
|
|
|
|

|
|
|
|
## The journey
|
|
|
|
Everything an app or game needs before review, in the order I do it. For each step: what storebound does through the store
|
|
APIs (or on your machine), what the skill walks your agent through where the stores have no public API, and what stays
|
|
your own click.
|
|
|
|
- **storebound**: a CLI command (also an MCP tool). Every write has `--dry`; MCP write tools default to a dry run.
|
|
- **skill + agent (UI)**: no public API exists for it. The named skill has the exact navigation and the prepared
|
|
answers. An agent with browser tools (a Chrome extension, computer use, a Playwright MCP ...) can click through it
|
|
while you watch; without one, you click with the skill as your checklist.
|
|
- **you**: public, legal or money steps. The skills tell every agent to stop and hand these to you.
|
|
|
|
| # | step | storebound (API / local) | skill + agent (UI) | you |
|
|
|---|---|---|---|---|
|
|
| 1 | **Set up** | `init --profile app\|game\|subscription-app` (config, `store/*.md`, declarations, App Privacy and privacy templates per profile), `install --agent <tool>`, `check` | Play: service account + API access invite; App Store: API team key (`play-first-release`, `appstore-first-release`) | developer accounts; Paid Applications agreement, banking and tax; Play payments profile |
|
|
| 2 | **App records and bundle id** | `apple bundle` registers the bundle id, `apple status` finds the app record | App Store Connect > New App (no API); Play Console > Create app; the very first AAB upload when Play needs it from the Console | the declarations you accept when creating the Play app |
|
|
| 3 | **Builds and testers** | `play next-version-code`, `play release app.aab` (internal track), `apple next-build`, `xcodebuild` archive + upload with the API key (the skill has the commands), `apple encryption`, `apple testflight groups / what-to-test / info / distribute` (internal groups) | Play internal testers list, Apple sandbox testers (`play-first-release`, `testflight`) | `apple testflight testers` (Apple emails the invitations), external groups and Beta App Review (`distribute --submit-review`) |
|
|
| 4 | **In-app products and subscriptions** | `play products` (regional prices from USD + your overrides, activated), `apple iap` (consumable, non-consumable, non-renewing; localizations, price schedule, availability), `apple iap-review`, `apple subscriptions` (groups, levels, equalized prices, intro and promotional offers, offer codes), `play subscriptions` (base plans, regional prices, offers), `catalog diff` (both stores against one catalog) | Play license testers, Apple sandbox testers, "Add for Review" of the first IAPs and subscriptions into the version's submission, Play promo codes (`store-iap-setup`, `store-subscriptions`) | custom offer codes (`apple subscriptions --codes` asks first) |
|
|
| 5 | **Store listings, every language** | `play listing` (title, short / full description, contact email + website, promo video URL), `apple listing --version x --build N` (name, subtitle, description, keywords, promo text, URLs, privacy URL, manual release), `whats-new`, `check` (limits), `check --aso` | Play store settings: category and tags (`play-first-release`) | |
|
|
| 6 | **Play questionnaires** | `play data-safety`: the whole Data safety form from `dataSafety` in the config (CSV import through the API) | Policy and programs > App content, answers prepared in `store/declarations.md` (`store-declarations`): privacy policy, app access with the demo account (`review-access`), delete-account URL (`account-deletion`), ads, content rating (IARC), target audience and content, advertising ID, news, government, financial and health features; Data safety summary check | the answers themselves are your statements: the agent asks when the code does not prove them |
|
|
| 7 | **App Store questionnaires** | `apple appinfo` (categories, age rating declaration, content rights, Free price, availability), `apple encryption` (export compliance from `apple.usesNonExemptEncryption`, never guessed), `apple review-details` (contact, demo account from `.storebound/`, notes) | App Privacy nutrition labels from `store/app-privacy.md`, then **Publish** (`store-declarations`); encryption documentation when the answer is yes (`export-compliance`); the first availability record if the API refuses it | the export compliance answer (a legal statement, set once in the config) |
|
|
| 8 | **Privacy and accounts** | privacy policy page template (`init`), `privacy-manifest --ios <path>` (PrivacyInfo.xcprivacy, required-reason APIs, SDK manifests), `validate` checks the policy, delete-account and terms URLs answer | host the pages, link them in both consoles and inside the app; in-app account deletion (`privacy-policy`, `privacy-manifest`, `account-deletion`) | |
|
|
| 9 | **Icons** | `icons`: App Store 1024 without alpha, Play 512, adaptive + legacy Android launcher icons, web icons, Capacitor sources | | |
|
|
| 10 | **Screenshots and previews** | `shots capture / render / check / gallery`, `play images`, `apple screenshots`, `shots record / video`, `apple previews`, `apple ppo create / upload` (App Store product page tests from `shots` variants; see [Store art](#store-art)) | Play store listing experiments (optional, `store-screenshots`) | uploading the promo video to YouTube; `apple ppo start / stop` |
|
|
| 11 | **Validate** | `check` (offline) and `validate` (read-only on both stores: every blocker in fix order, plus the local renders) | the UI-only items `validate` cannot see (`store-preflight` lists them) | |
|
|
| 12 | **Submit** | `play release --version-code N --production draft`, `apple status` | Play: countries / regions, open the production draft and save it (`play-first-release`) | **Play: Send changes for review. App Store: Submit for Review.** |
|
|
| 13 | **After review** | `apple status --wait-review`, `apple release --phased on / pause`, `play rollout --halt`, reply drafts (`review-rejections`) | | releasing the approved version, resuming or completing a phased release or rollout (terminal commands that ask first, `release-management`) |
|
|
| 14 | **Live app** | `health [--weekly]` (crash / ANR vitals vs Play's thresholds, App Store diagnostics; also in `validate`), `reviews list / draft`, `analytics snapshot / compare`, `prices export`, `prices import --dry`, `apple ppo status` | `store-health`, `review-replies`, `store-analytics`; Play statistics come from the reports bucket (no API) | `reviews send` (approved drafts only), `prices import` (asks first) |
|
|
|
|
New personal Play developer accounts also need a closed test with 12+ testers for 14 days before production; the
|
|
`play-first-release` skill covers it.
|
|
|
|
### API or console, honestly
|
|
|
|
- **Through the API** (storebound does it): bundle id, builds on tracks, versions and build selection, listings in
|
|
every language, graphics, screenshots, app previews, in-app products and prices (also from one CSV), Play Data
|
|
safety, Apple age rating, categories, content rights, price and availability, export compliance answer, App Review
|
|
details with the demo account, subscriptions (Apple groups, levels, prices, introductory and promotional offers,
|
|
offer codes; Play base plans, regional prices, offers), phased release and staged rollout, TestFlight groups / testers / What to Test / Test Information, crash and
|
|
ANR vitals and App Store diagnostics, review replies, App Store analytics reports, App Store Product Page
|
|
Optimization tests.
|
|
- **Console only** (no public API; the skill + your agent's browser, or you): creating the App Store Connect app record
|
|
and the Play app, Play App content (IARC content rating, target audience, ads, advertising ID, app access,
|
|
government / financial / health / news, app access with the demo account), Play category and tags, Play countries,
|
|
App Privacy labels and their Publish, adding first IAPs and subscriptions to the submission, Play promo codes, Play store listing experiments, test results of both stores' experiments.
|
|
Play store statistics have no API either: storebound reads the monthly exports from your Play reports bucket.
|
|
- **Only you**: agreements, banking and tax, and the final Send for review / Submit for Review. Releases and
|
|
rollouts after approval, Beta App Review, tester invitations, sending review replies, applying price changes and
|
|
starting / stopping a product page test too. None of these is an MCP tool; the terminal commands ask first.
|
|
|
|
## 5-minute quick start
|
|
|
|
You need [Bun](https://bun.sh) 1.1+ (and `ffmpeg` for icons, screenshots and video).
|
|
|
|
```sh
|
|
cd my-app
|
|
bun add -d storebound playwright # or: bun add -d git+https://git.crt.fyi/CRT/storebound.git playwright
|
|
bunx storebound init # --profile app (default) | subscription-app | game: config, store/*.md, declarations, privacy policy, .storebound/ (gitignored)
|
|
# fill in storebound.config.ts and the store/ files
|
|
bunx storebound check # offline: config, copy limits, Data safety answers, products, files
|
|
```
|
|
|
|
Add credentials (below), then walk the journey with dry runs first:
|
|
|
|
```sh
|
|
bunx storebound apple bundle --dry
|
|
bunx storebound play listing --dry
|
|
bunx storebound play products --dry && bunx storebound apple iap --dry
|
|
bunx storebound apple subscriptions --dry && bunx storebound play subscriptions --dry
|
|
bunx storebound apple review-details --dry # contact + demo account from .storebound/ (masked) + notes
|
|
bunx storebound play data-safety --dry --csv store/data-safety.csv
|
|
bunx storebound apple appinfo --dry
|
|
bunx storebound icons --dry
|
|
bunx storebound shots capture && bunx storebound shots render && bunx storebound shots gallery
|
|
bunx storebound validate # read-only: what still blocks a submission, per store, in fix order
|
|
bunx storebound catalog diff # read-only: products + subscriptions on both stores vs the config, prices per region
|
|
```
|
|
|
|
After launch:
|
|
|
|
```sh
|
|
bunx storebound apple testflight what-to-test --build 42 --dry # then distribute --build 42 --group Team
|
|
bunx storebound health --weekly # vitals + diagnostics, .storebound/health/<date>.md
|
|
bunx storebound reviews draft # reply drafts in .storebound/replies/, then reviews send
|
|
bunx storebound prices export && bunx storebound prices import --dry
|
|
bunx storebound analytics snapshot && bunx storebound analytics compare
|
|
```
|
|
|
|
Or ask your agent: "take my app to Google Play and the App Store", "fill in the store questionnaires", "set up the
|
|
in-app purchases and a yearly subscription with a free trial on both stores", "do both stores sell the same
|
|
catalog", "the reviewer could not sign in", "make store screenshots in 5 languages", "is my app ready to submit", "why was my
|
|
update rejected", "put build 42 on TestFlight", "how are our crash rates", "answer the new reviews", "did the new
|
|
screenshots help". 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 |
|
|
| `reviewDemoAccount` / `REVIEW_DEMO_USER`, `REVIEW_DEMO_PASSWORD` | demo account for App Review (`reviewAccess.signInRequired`); never in the config or the repo, masked in logs |
|
|
|
|
## 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 "<cmd>"` 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.
|
|
|
|
## 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 &`).
|
|
|
|
<details>
|
|
<summary><b>Setup and checks</b></summary>
|
|
|
|
| command | kind | what |
|
|
|---|---|---|
|
|
| `init [--profile app\|game\|subscription-app]` | local | copy the templates of a profile (default app), gitignore `.storebound/` |
|
|
| `install --agent <tool>` | local | skills + MCP entry for an AI tool |
|
|
| `mcp` | local | stdio MCP server wrapping the commands |
|
|
| `serve --stdio` | local | JSON-RPC session for the storebound desktop app (see [Desktop machine interface](#desktop-machine-interface)) |
|
|
| `inspect [--json]` | local | offline summary of the config: name, store ids, languages, products |
|
|
| `check` | local | config, copy limits, data safety, products, subscriptions, profile (delete-account URL, demo account, terms URL), files; warns on untranslated release notes |
|
|
| `catalog diff [--store] [--threshold 10]` | API, read-only | one catalog vs both stores: missing / extra / mismatched products and subscriptions, US and override prices, locales, offers, per-region price differences between the stores; exit 1 on mismatches |
|
|
| `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 <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 |
|
|
| `icons` | local | App Store 1024 (no alpha), Play 512, web, Capacitor sources, Android legacy launcher icons |
|
|
|
|
</details>
|
|
|
|
<details>
|
|
<summary><b>Google Play</b></summary>
|
|
|
|
| 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 subscriptions [--csv]` | API | subscriptions: listings + benefits, one auto-renewing base plan, regional prices, intro and extra offers, activate (plan first, asks) |
|
|
| `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 |
|
|
|
|
</details>
|
|
|
|
<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`, + 6.3" with `apple.iphoneMedium`) 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 (consumable, non-consumable, non-renewing), localizations, price schedules, availability / review screenshots |
|
|
| `apple subscriptions [--csv] [--codes]` | API | groups, subscriptions, levels, localizations, availability, equalized prices + overrides + CSV (scheduled changes), introductory and promotional offers, offer code campaigns, review screenshots (plan first, asks; custom codes only with `--codes`) |
|
|
| `apple appinfo` | API | categories, age rating, content rights, Free, territories |
|
|
| `apple review-details` | API | App Review contact, demo account (from `.storebound/`, masked), notes (+ sign-in steps, where account deletion is) |
|
|
| `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>` |
|
|
| `apple ppo status \| create --variant b \| upload --variant b` | API | Product Page Optimization test from `shots` variants: treatments, localizations, screenshot sets |
|
|
| `apple ppo start \| stop` | API | start / stop the test (asks first; a stopped test cannot be restarted) |
|
|
|
|
</details>
|
|
|
|
<details>
|
|
<summary><b>TestFlight</b></summary>
|
|
|
|
| command | kind | what |
|
|
|---|---|---|
|
|
| `apple testflight status` | API, read-only | groups, testers and builds per group, recent builds with internal / external beta states |
|
|
| `apple testflight groups` | API | create the groups of `apple.testflight.groups` that are missing |
|
|
| `apple testflight testers [--csv f] [--remove] [--invite]` | API | testers from a CSV in `.storebound/` into their groups (asks first; emails masked) |
|
|
| `apple testflight what-to-test --build N` | API | "What to Test" per locale from `store/appstore.md` (`whatToTest`, else `whatsNew`) |
|
|
| `apple testflight info` | API | Beta App Description, feedback email, URLs, Beta App Review contact and notes |
|
|
| `apple testflight distribute --build N --group a,b [--submit-review]` | API | the build to groups; external groups and Beta App Review ask first |
|
|
|
|
</details>
|
|
|
|
<details>
|
|
<summary><b>After launch</b></summary>
|
|
|
|
| command | kind | what |
|
|
|---|---|---|
|
|
| `health [--weekly] [--days 7]` | API, read-only | Play vitals (user-perceived crash / ANR vs 1.09 % / 0.47 %, devices, top issues), App Store metrics, diagnostics, TestFlight crashes; `--weekly` writes a Markdown report |
|
|
| `reviews list [--unanswered]` | API, read-only | recent reviews of both stores |
|
|
| `reviews draft` | API + local | one reply draft per unanswered review in `.storebound/replies/` |
|
|
| `reviews send` | API | sends drafts with `approved: true` (checks length and incentives, asks first) |
|
|
| `prices export` | API + local | current prices of every product, both stores, as `store/prices.csv` |
|
|
| `prices import [--reconvert]` | API | diff table, then (asks first) Apple price schedules incl. future-dated changes and Play regional prices |
|
|
| `analytics setup` | API | App Store analytics report request (once, Admin key) |
|
|
| `analytics snapshot [--days 28]` | API + local | impressions, page views, downloads (App Store), visitors, acquisitions, installs (Play reports bucket) -> `.storebound/analytics/` |
|
|
| `analytics compare` | local | snapshots vs the git history of the store files: before / after each listing change |
|
|
|
|
</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 app or 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 in the game or app style, 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 | app or gameplay clips: web (Chromium screencast), simulator, emulator, folder |
|
|
| `shots video [--target iphone,ipad,youtube]` | local | app previews + promo video with captions, poster, checks |
|
|
|
|
</details>
|
|
|
|
## Store art
|
|
|
|
Screenshots and previews are one step of the journey, but the one that takes the longest by hand, so storebound
|
|
does a lot here. Two looks: `shots.style: 'game'` (sunburst, sparkles, badges) and `shots.style: 'app'` (calm
|
|
gradient, a clean device frame, headline + subline). Everything below was made by storebound itself from two tiny
|
|
fictional demos: [a game](examples/demo-game) ("Prism Puddle", procedural art) and [an app](examples/demo-app)
|
|
("Tidy Lists", one static page with sample data): raw frames captured from the web build, captions in several
|
|
languages, every store size, a review gallery and an app preview video. No store account needed to try it.
|
|
|
|

|
|
|
|

|
|
|
|
| Play feature graphic | App preview (App Store, 886 x 1920) |
|
|
|---|---|
|
|
|  |  |
|
|
|
|

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

|
|
|
|
</details>
|
|
|
|
### How it works
|
|
|
|
1. **Frames.** Give your app or game a few switches (language, demo data or a fixed seed, no ads, jump to a screen,
|
|
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, React Native, 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
|
|
|
|
In journey order. Each one says which steps are API (storebound) and which are console clicks, with the exact
|
|
navigation.
|
|
|
|
| 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 |
|
|
| `testflight` | beta groups, testers from a CSV that never enters git, What to Test, Test Information, Beta App Review |
|
|
| `store-iap-setup` | in-app products on both stores (consumable, non-consumable, non-renewing), prices and the price sheet CSV, catalog diff, testers, the first-IAP-with-version rule |
|
|
| `store-subscriptions` | subscription groups, levels, base plans, prices, intro and promotional offers, offer codes, disclosure and Terms (3.1.2), first submission |
|
|
| `review-access` | demo account for reviewers (App Review fields, Play App access), never committed |
|
|
| `account-deletion` | Apple 5.1.1(v) in-app deletion, Play delete-account web page and Data safety |
|
|
| `aso-basics` | keyword field, subtitle, cross-localization, Play placement without stuffing |
|
|
| `store-declarations` | every questionnaire: Play Data safety (API) and App content (IARC, target audience, ads, advertising ID, app access, government / financial / health), Apple App Privacy labels and age rating |
|
|
| `export-compliance` | encryption answer, Info.plist key, declarations; never exempt by default |
|
|
| `privacy-policy` | one policy page for all your apps with a per-app services table (templates per profile) |
|
|
| `privacy-manifest` | PrivacyInfo.xcprivacy, required-reason APIs, SDK manifests (ITMS-91053 / 91061) |
|
|
| `app-icons` | one artwork to every icon, adaptive / legacy launcher pitfalls |
|
|
| `store-screenshots` | capture from any engine, copy, fonts, render, checks, gallery, variants, App Store product page tests, Play experiments, upload |
|
|
| `app-previews` | app or gameplay clips, App Store previews, Play promo video, checks, upload |
|
|
| `store-preflight` | run and read `check`, `check --aso`, `validate`, `privacy-manifest` before submitting |
|
|
| `release-management` | updates: Apple phased + manual release, Play staged rollout, halt / pause (not a rollback), review wait |
|
|
| `store-health` | crash / ANR vitals vs Play's bad behavior thresholds, App Store diagnostics, weekly report |
|
|
| `review-replies` | reply drafts, tone, no incentives, store limits, the owner approves and sends |
|
|
| `store-analytics` | App Store analytics reports, Play reports bucket, before / after listing changes |
|
|
| `whats-new` | player-facing release notes from git, localized, within store limits |
|
|
| `review-rejections` | triage a rejection (fix / clarify / push back / appeal), reply template, the guidelines apps and games hit |
|
|
| `ads-mediation-checks` | AdMob, AppLovin MAX and LevelPlay: ids, debug tools, adapters, app-ads.txt, SKAdNetwork, no-fill (`ads-levelplay-checks` stays as a pointer) |
|
|
| `portfolio-originality` | Guideline 4.3 gate for developers shipping many similar apps or games |
|
|
|
|
## MCP server
|
|
|
|
`storebound mcp` speaks MCP over stdio, tools only: spec revision **2026-07-28** (stateless: `server/discover`,
|
|
per-request `_meta`, `resultType`, cacheable `tools/list`) and, on the same process, clients that still open with
|
|
`initialize` (2025-11-25, 2025-06-18, 2025-03-26, 2024-11-05). 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`, `catalog_diff`, `health`, `reviews_list`, `prices_diff`,
|
|
`analytics_compare`, `apple_status`, `apple_next_build`, `apple_testflight_status`, `apple_ppo_status`,
|
|
`play_status`, `play_next_version_code`, `privacy_manifest`, `shots_check`. Local writes: `whats_new`, `icons`,
|
|
`health_report`, `reviews_draft`, `prices_export`, `analytics_snapshot`, `shots_capture`, `shots_render`,
|
|
`shots_gallery`, `shots_record`, `shots_video`. Store writes: `play_listing`, `play_images`, `play_products`,
|
|
`play_data_safety`, `play_subscriptions`, `play_release_testing`, `apple_bundle`, `apple_iap`, `apple_iap_review`,
|
|
`apple_subscriptions`, `apple_listing`,
|
|
`apple_screenshots`, `apple_previews`, `apple_appinfo`, `apple_review_details`, `apple_encryption`,
|
|
`apple_phased_release`, `apple_testflight_groups`, `apple_testflight_what_to_test`, `apple_testflight_info`,
|
|
`apple_testflight_distribute` (internal groups only), `apple_ppo_create`, `apple_ppo_upload`, `analytics_setup`.
|
|
- Annotations say what is read-only, destructive (replaces data), idempotent and network-bound.
|
|
- No MCP SDK: a small newline-delimited JSON-RPC server (server/discover, 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`).
|
|
|
|
### Desktop machine interface
|
|
|
|
`storebound serve --stdio` is what the desktop app (`apps/desktop`, in progress) runs as its sidecar: newline-delimited
|
|
JSON-RPC on the same core as the MCP server (tool list, validation, forbidden flags, child-process runner), with typed
|
|
methods (`check`, `validate`, `apple.status`, `play.listing`, ... plus `project.inspect` and `portfolio.status` over
|
|
many project folders), structured results (the commands' `--json` output), progress notifications and cancellation.
|
|
The first request is `session.hello` with a per-session secret only the host knows. Write methods are dry runs unless
|
|
the call carries a single-use confirm token (HMAC over method, arguments and expiry) that the host mints after the
|
|
owner confirmed a native dialog showing that dry run. There is no method that submits, releases or publishes; Play
|
|
testing releases and phased release changes stay out of the desktop profile too. Types: `cli/lib/desktop-protocol.ts`.
|
|
`bun tools/build-sidecars.ts` compiles the CLI for macOS, Linux and Windows (`bun build --compile`).
|
|
|
|
## 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, your own Play reports bucket 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 (App Review and Beta App Review),
|
|
releasing a version, production releases, resuming or completing a rollout or phased release, canceling a
|
|
submission, deleting, inviting or removing testers, sending review replies, applying prices and starting or
|
|
stopping a product page test and creating custom offer codes are not MCP tools. Subscription syncs through MCP only
|
|
create what is new; price changes of live subscriptions wait for a terminal run. 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)).
|
|
- **Personal data stays local.** Tester lists, the App Review demo account, reply drafts, health reports and analytics
|
|
snapshots live in the gitignored `.storebound/` (the demo account is masked in every log line); tester emails are masked in every log line, and the config refuses a tester CSV path
|
|
outside `.storebound/`.
|
|
- **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
|
|
|
|
**Is it only for games?** No. It started with my game, but every command is about store records, not engines or
|
|
genres. `init --profile app` and `--profile subscription-app` give you templates for a utility app with accounts and
|
|
for a subscription app (Data safety, App Privacy, declarations, listing and screenshot copy), the `app` screenshot
|
|
style, account deletion and demo account checks, and subscriptions on both stores. Game-only advice (IARC game
|
|
questions, gameplay footage, ad mediation) is marked as such in the skills.
|
|
|
|
**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.
|
|
|
|
**Does it fill the questionnaires?** The ones with an API, yes: Play Data safety (the whole form from `dataSafety` in
|
|
the config; the import replaces the form, so the config is the single truth), Apple age rating, content rights,
|
|
categories, price and availability, the export compliance answer and the App Review details. The stores have no
|
|
public API for Play's App content cards (IARC content rating, target audience, ads, advertising ID, app access,
|
|
government / financial / health / news) or for Apple's App Privacy labels. For those, `init` gives you prepared
|
|
answers (`store/declarations.md`, `store/app-privacy.md`, per profile: a utility app with an account, a subscription
|
|
app, or a free-to-play game with ads and IAP),
|
|
and the `store-declarations` skill has the exact clicks: an agent with browser tools can fill them in while you
|
|
watch, or you copy them in yourself. Either way the answers are your statements to the stores: change what does not
|
|
match your app, and the agent asks you whenever the code does not prove an answer. `validate` cannot see these
|
|
forms, so `store-preflight` lists them as a manual check.
|
|
|
|
**My app or game is Unity / Godot / Flutter / React Native / 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?** On the App Store, mostly: `apple ppo create / upload` builds a Product Page
|
|
Optimization test from your `shots` variants (treatments, locales, screenshots) and you start it (`apple ppo start`
|
|
asks first). Results per treatment are only shown in App Store Connect. Play store listing experiments have no API:
|
|
storebound renders and checks the variant images, you set the experiment up in Play Console.
|
|
|
|
**Does it answer reviews by itself?** No. It drafts one file per review, your agent helps write the replies, and only
|
|
the drafts you mark `approved: true` are sent, by you, after a confirmation. Replies that offer something for a rating
|
|
are refused.
|
|
|
|
## Roadmap
|
|
|
|
Wave 2 (TestFlight, vitals, review replies, price sheets, analytics, MCP 2026-07-28, Product Page Optimization) shipped
|
|
in 0.4.0. 0.5.0 made storebound app-first (profiles, app screenshot style, account deletion, review access) and
|
|
brought the full in-app catalog: subscriptions on both stores with offers and offer codes, non-renewing products and
|
|
the cross-store `catalog diff`. Next, roughly in this order:
|
|
|
|
- Offer codes for one-time products (`inAppPurchaseOfferCodes`), Play prepaid base plans for `non_renewing`, win-back
|
|
offers, and a `prices export` that includes subscriptions.
|
|
- App Store custom product pages and in-app events from the same copy and renders.
|
|
- Play store listing experiments and their results, as soon as Google offers an API.
|
|
- App preview treatments and alternate icons in Product Page Optimization tests.
|
|
- The iPhone Duo screenshot classes Apple lists for apps built with the iOS 27.1 SDK (required from April 2027).
|
|
|
|
## 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:
|
|
|
|
- **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 2026-07-28 (final, modelcontextprotocol.io) and dual-era: `initialize` clients get 2025-11-25
|
|
(or 2025-06-18 / 2025-03-26 / 2024-11-05). Tested with both handshakes on one stdio process, not yet against every
|
|
client listed above.
|
|
- **Not verified against a live account yet** (no credentials during development; request builders are tested with
|
|
fixtures from the official docs): the scale of the Play Reporting API rates (read as fractions, 0.0109 = 1.09 %),
|
|
the App Store review reply limit (5970 characters is commonly reported; Apple documents none, storebound only
|
|
warns), the TestFlight "What to Test" limit (4000 assumed), whether an analytics segment checksum covers the gzip
|
|
file or its content (both are accepted), that a new App Store price schedule replaces the old one (Apple's example
|
|
implies it), stopping a Product Page Optimization test with `started: false`, and `APP_IPHONE_61` for the 6.3"
|
|
iPhone set. From 0.5.0 (request bodies follow Apple's and Google's published schemas, tested with fixtures, not
|
|
yet run against a live account): free promotional offers and offer codes sent with territories but no price point,
|
|
subscription prices and introductory offers created inline through `PATCH /v1/subscriptions/{id}`, Play
|
|
pay-as-you-go offers as a `relativeDiscount`, Play "developer determined" offers as offers without targeting plus an
|
|
offer tag, the ISO 8601 strings for Play billing periods (Google lists them only in words), the Play subscription
|
|
benefit length (40, from Play Console), the Data safety sign-up method ids (`PSL_ACM_*`, Google publishes none:
|
|
compare with a Console export) and the delete-account URL question id (use `dataSafety.extra`).
|
|
- **Apple IAP description**: 45 characters (App Store Connect Help, "In-app purchase information"); an older App Store
|
|
marketing page says 55. storebound checks 45.
|
|
|
|
</details>
|
|
|
|
<details>
|
|
<summary><b>Develop</b></summary>
|
|
|
|
```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.
|
|
|
|
</details>
|
|
|
|
## 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, the Play Developer Reporting API 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.
|