price-synclisted
Install: claude install-skill yybd/app-factory
# Price sync — one price, many files
A price in this studio is written in more than fifty files across four repos. Every
rise so far has reached App Store Connect and one profile and left the rest behind:
when this skill was written, three of four direct prices and five `.storekit` files
were stale, some by a year.
**`$APP_HUB/prices.json` is the source of truth.** Everything else quotes
it. When a document disagrees, the document is wrong — unless reality moved, in
which case `prices.json` is updated first and everything follows from there.
This file is the method. What running it taught — the runs behind each rule — is in
[LESSONS.md](LESSONS.md).
## Prerequisites
- **Tools:** Python 3 (stdlib) for `verify_prices.py`; `fastlane`
(`brew install fastlane`) or spaceship only to read a live App Store price by hand.
- **Credentials:** none for the file scan. `--stores` resolves an App Store Connect
API key through apple-track's shared credential resolver (`ASC_KEY_ID` /
`ASC_ISSUER_ID` / `ASC_KEY_PATH`, or `credentials.json` under `$KEYS_ROOT`).
Lemon Squeezy is a dashboard edit; no key is used.
- **Hub (`$APP_HUB`):** optional — `prices.json` is the source of truth and lives at the
hub root when there is one; `--prices <file>` points at it anywhere else. `$SITE` and `$DEV_ROOT` locate the site pages and the `.storekit` files.
- **Other tracks:** `app-store-deliver` and `appstore-media` (apple-track); the
`--stores` check imports apple-track's shared credential