ShelfReady

v0.3.0
io.github.halfbatch-studio/shelfready Checked 4 hours ago Published 1 day ago

Get iOS apps App Store ready: privacy policy, App Privacy answers, Impressum, go-live checklist.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

scan Scan an iOS repo

Read the app repository without changing it: Xcode projects, bundle IDs, display names, permission texts (NS…UsageDescription), privacy manifests (PrivacyInfo.xcprivacy) and third-party packages (SwiftPM, CocoaPods, Carthage).

ParameterTypeDescription
pathstringApp repository folder. Default: the server's working directory.

init Create shelfready.yaml

Scan the repo and write shelfready.yaml, the single source of truth for the pages. Ask the developer for country, email, brand, legal name and trader status first; don't guess them. Refuses to overwrite an existing file unless force is true.

ParameterTypeDescription
country *stringPublisher country, ISO 3166-1 alpha-2 (e.g. DE). Decides which pages are required.
email *stringPublic contact email shown on the pages.
agentsNotebooleanAlso add a short ShelfReady note to AGENTS.md (or CLAUDE.md, if the repo uses that) so coding agents run the checks before a release. Ask the developer first.
baseUrlstringWhere the pages will live, e.g. https://example.com/myapp/
brandstringBrand or studio name shown on the pages.
forcebooleanOverwrite an existing shelfready.yaml.
pathstringApp repository folder. Default: the server's working directory.
phonestringSecond contact channel for DE/AT traders.
publisherstringLegal name. Required for traders.
traderbooleanEU trader status: true if the app or in-app purchases cost money.
voicestringHow pages speak: I (solo developer) or we (team).

check Preflight check

Compare shelfready.yaml with the repo: new SDKs or data types the pages don't mention, missing privacy manifests, placeholder permission texts, missing trader or Impressum details, outdated schema. online: true also fetches the live pages and checks they show the YAML's date, email and FAQ.

ParameterTypeDescription
onlinebooleanAlso check the live pages over the network.
pathstringApp repository folder. Default: the server's working directory.

checklist Go-live checklist

The go-live checklist: automatic items computed from check, and manual items (trademark search, App Store Connect steps…) the developer ticks with the tick tool. Each open item says how to do it.

ParameterTypeDescription
onlinebooleanAlso verify the live pages over the network.
pathstringApp repository folder. Default: the server's working directory.

tick Tick checklist items

Mark manual checklist items as done (or undo them) in shelfready.yaml, keeping its comments. Only tick an item when the developer says they did it. Automatic items can't be ticked; fix the repo instead.

ParameterTypeDescription
ids *arrayManual item IDs, e.g. ["trademark", "testflight"].
donebooleanfalse to untick. Default true.
pathstringApp repository folder. Default: the server's working directory.

pages Generate legal pages

Generate the privacy policy, support page and (for DE/AT) Impressum as Markdown from shelfready.yaml. write: false returns the pages without writing files. swiftui writes a SwiftUI LegalView with the Impressum for the in-app requirement. The pages are drafts, not legal advice.

ParameterTypeDescription
frontMatterstringFront matter for static site generators. Default jekyll.
outstringOutput folder inside the repo. Default shelfready/pages.
pathstringApp repository folder. Default: the server's working directory.
swiftuistringAlso write LegalView.swift to this path inside the repo.
writebooleanfalse to only return the pages. Default true.

app_privacy App Privacy answers

Derive the App Store Connect App Privacy answers from shelfready.yaml, in fastlane's app_privacy_details.json format. Lists data types that can't be mapped automatically; those must be answered by hand, never guessed. Pass write to save the JSON.

ParameterTypeDescription
pathstringApp repository folder. Default: the server's working directory.
writestringSave the JSON to this path inside the repo, e.g. fastlane/app_privacy_details.json.

sdk_info What an SDK collects

Look up a third-party iOS SDK in ShelfReady's knowledge base, built from each SDK's own privacy manifest: what it collects, whether it tracks, and where that's declared. Without name, lists the SDKs covered.

ParameterTypeDescription
namestringSwift package identity, CocoaPods or Carthage name, e.g. sentry-cocoa, firebase-ios-sdk, Alamofire.

listing Check a live App Store listing

Check an app that is already on the App Store, without its repo: privacy policy and support page load, the policy has a contact and a date, EU trader details are complete, German/Austrian traders link an Impressum, and the App Privacy label covers the SDKs the policy names. Takes an App Store link or numeric ID. Read-only; fetches public pages.

ParameterTypeDescription
app *stringApp Store link (apps.apple.com/…/id123456789) or numeric app ID.

migrate Migrate shelfready.yaml

Update shelfready.yaml to the current schema (v2), keeping comments and wording. dryRun: true shows the changes without writing.

ParameterTypeDescription
dryRunbooleanShow what would change without writing.
pathstringApp repository folder. Default: the server's working directory.