ShelfReady
v0.3.0Get 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).
| Parameter | Type | Description |
|---|---|---|
path | string | App 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.
| Parameter | Type | Description |
|---|---|---|
country * | string | Publisher country, ISO 3166-1 alpha-2 (e.g. DE). Decides which pages are required. |
email * | string | Public contact email shown on the pages. |
agentsNote | boolean | Also 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. |
baseUrl | string | Where the pages will live, e.g. https://example.com/myapp/ |
brand | string | Brand or studio name shown on the pages. |
force | boolean | Overwrite an existing shelfready.yaml. |
path | string | App repository folder. Default: the server's working directory. |
phone | string | Second contact channel for DE/AT traders. |
publisher | string | Legal name. Required for traders. |
trader | boolean | EU trader status: true if the app or in-app purchases cost money. |
voice | string | How 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.
| Parameter | Type | Description |
|---|---|---|
online | boolean | Also check the live pages over the network. |
path | string | App 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.
| Parameter | Type | Description |
|---|---|---|
online | boolean | Also verify the live pages over the network. |
path | string | App 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.
| Parameter | Type | Description |
|---|---|---|
ids * | array | Manual item IDs, e.g. ["trademark", "testflight"]. |
done | boolean | false to untick. Default true. |
path | string | App 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.
| Parameter | Type | Description |
|---|---|---|
frontMatter | string | Front matter for static site generators. Default jekyll. |
out | string | Output folder inside the repo. Default shelfready/pages. |
path | string | App repository folder. Default: the server's working directory. |
swiftui | string | Also write LegalView.swift to this path inside the repo. |
write | boolean | false 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.
| Parameter | Type | Description |
|---|---|---|
path | string | App repository folder. Default: the server's working directory. |
write | string | Save 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.
| Parameter | Type | Description |
|---|---|---|
name | string | Swift 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.
| Parameter | Type | Description |
|---|---|---|
app * | string | App 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.
| Parameter | Type | Description |
|---|---|---|
dryRun | boolean | Show what would change without writing. |
path | string | App repository folder. Default: the server's working directory. |